- Download and install GitHub Desktop. LFS must be installed!
- Download and install Visual Studio 2015 Community Edition. The following features must be installed:
- Programming Languages -> Visual C++ -> Common Tools for Visual Studio 2015
- Windows and Web Development -> Windows 8.1 and Windows Phone 8.0/8.1 Tools
- Windows and Web Development -> Windows 8.1 and Windows Phone 8.0/8.1 Tools -> Tools and Windows SDKs
- Download and install [DirectX Redist Jun 2010] (http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe)
- Make sure that DirectX Redist was successfully installed.
Read paragraphYou may skip p.3 and try to install DirectX Redist Jun 2010 later if something goes wrong.3again. It's really crucial!- Checkout https://github.com/demiurghg/IronStar.git.
It's better to use GitHub Desktop:
git clone https://github.com/demiurghg/IronStar.git - Wait. Checkout will take about two minutes.
- Do not forget to initialize LFS.
- Open
IronStar.sln. - Set active solution configuration to
Release, because even debug configuration uses release version of tools. - Go to Configuration Manager and make sure that all projects are included to build.
- Build.
- Make project
IronStaras StartUp Project. - Run project
IronStar. First launch will take several minutes to compile content and will show some warnings. - Push
Launch. - ???
- Profit???
- Yes?
- No!
- Run Editor, open
FirstLevelDraft. - Push
Bake LightmapandCapture LightProbes. - Exit editor.
- Run game, select
FirstLevelDraft. - ...
- Profit???
- YES!!!
-
Problem: I can not even build the project:
error MSB3103: Invalid Resx file. Type in the data at line 123, position 5, cannot be loaded because it threw the following exception during construction: Parameter is not valid. -
Solution: Make sure that GIT LFS is installed.
-
Problem: The program or feature C:\IronStar\SDKs\nvcompress.exe cannot start or run due to incompatibility with x64 version of Windows.
-
Solution: Make sure that GIT LFS is installed.
-
Problem: particles.hlsl: bad combination: 0x00000008: INITIALIZE
-
Solution: Make sure that Tools and Windows SDKs are installed.
-
Problem: Failed to load Microsoft.ConcurrencyVisualizer.Markers
-
Solution: In case of "Strong name validation failed", open the command prompt as administrator and enter following commands:
reg DELETE "HKLM\Software\Microsoft\StrongName\Verification" /freg ADD "HKLM\Software\Microsoft\StrongName\Verification\*,*" /freg DELETE "HKLM\Software\Wow6432Node\Microsoft\StrongName\Verification" /freg ADD "HKLM\Software\Wow6432Node\Microsoft\StrongName\Verification\*,*" /f