From ea2e5f3273391293472a5317fbf08e96c72af0fb Mon Sep 17 00:00:00 2001 From: Ted John Date: Thu, 25 Aug 2016 23:58:43 +0100 Subject: [PATCH] Update readme.md [ciskip] --- readme.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/readme.md b/readme.md index 8598256e73..93d8a1d139 100644 --- a/readme.md +++ b/readme.md @@ -48,7 +48,8 @@ OpenRCT2 requires original files of RollerCoaster Tycoon 2 to play. It can be bo ### Windows: - Vista / 7 / 8 / 10 - 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). +- [7-Zip](http://www.7-zip.org/) (for deployment only) +- [NSIS](http://nsis.sourceforge.net/) (for deployment only) ### Mac: - [Homebrew](http://brew.sh) @@ -66,13 +67,18 @@ All libs listed here (bar cmake) required in 32 bit variants. ## 3.2 Compiling and running ### Windows: 1. Check out the repository. This can be done using [GitHub Desktop](https://desktop.github.com) or [other tools](https://help.github.com/articles/which-remote-url-should-i-use). -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 set up 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. +2. Open a new Developer Command Prompt for VS2015, then navigate to the repository (e.g. `cd C:\GitHub\OpenRCT2`). +3. Run `msbuild openrct2.proj /t:build`. -These PowerShell scripts are stored in ```.\scripts\ps``` and have parameters. Once you have used 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. +Once you have ran msbuild once, further development can be done within Visual Studio by opening `openrct2.sln`. + +Other examples: +``` +msbuild openrct2.proj /t:clean +msbuild openrct2.proj /t:rebuild /p:configuration=release /p:platform=x64 +msbuild openrct2.proj /t:g2 +msbuild openrct2.proj /t:PublishPortable +``` ### Mac: We support native builds for macOS (limited to i386 only for now).