mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 04:23:20 +01:00
Updated Building OpenRCT2 on Windows (markdown)
@@ -1,15 +1,16 @@
|
||||
#Requirements
|
||||
|
||||
Windows Vista or Newer;
|
||||
Visual Studio 2015 Update 2;
|
||||
An Active Internet Connection (For the first Build);
|
||||
- Windows 7 SP1 or newer
|
||||
- Visual Studio 2015 Update 2 (Enterprise / Professional / [Community (Free)](https://www.visualstudio.com/products/visual-studio-community-vs))
|
||||
- [Powershell 4.0](http://social.technet.microsoft.com/wiki/contents/articles/21016.how-to-install-windows-powershell-4-0.aspx)
|
||||
- An active internet connection (for the first build)
|
||||
|
||||
#Building
|
||||
1. Check out the repository. This can be done using [GitHub Windows](https://windows.github.com/) or [other tools](https://help.github.com/articles/which-remote-url-should-i-use).
|
||||
2. Open a new PowerShell window and navigate to the repository.
|
||||
3. Run the setenv.ps1 script in the repository to setup your PowerShell environment for OpenRCT2 development. This will warn you of any missing applications required to build OpenRCT2.
|
||||
2. Open a new Developer Command Prompt for VS2015, run PowerShell and then navigate to the repository.
|
||||
3. Run the ```setenv.ps1``` script in the repository to setup your PowerShell environment for OpenRCT2 development. This will warn you of any missing applications required to build OpenRCT2.
|
||||
4. Run ```install``` to download the required dependencies to build OpenRCT2.
|
||||
5. Run ```build all``` to build all the required components for OpenRCT2.
|
||||
6. Run ```run``` to run OpenRCT2.
|
||||
|
||||
These PowerShell scripts are stored in ```.\scripts\ps``` and have parameters. Once you have use the build script once, further development can be done within Visual Studio by opening ```openrct2.sln```. The build scripts have several commands allowing you to rebuild certain components such g2.dat or language files.
|
||||
These PowerShell scripts are stored in ```.\scripts\ps``` and have parameters. Once you have use the build script once, further development can be done within Visual Studio by opening ```openrct2.sln```. The build scripts have several commands allowing you to rebuild certain components such ```g2.dat``` or language files.
|
||||
Reference in New Issue
Block a user