Feb 25, 2020 #1 M Mulligun Still Mildly Glowing I'd like to compile SFall in MS Visual Studio 2019. How can i download all the files in one package? Is there a solution just to open it in VS?
I'd like to compile SFall in MS Visual Studio 2019. How can i download all the files in one package? Is there a solution just to open it in VS?
Feb 25, 2020 #2 Samira Random is god TL;DR https://github.com/rotators/sfall/blob/rotators/.github/workflows/Build.yml Complete VS2019 build from scratch; assumes you have all required VS components (everything related to v140/WinXP support) already installed. Link above isn't exactly perfect example (due to various customizations), so here's must-have list: Get DX2010, extract Include/ and Lib/x86/ to SomeDirectory/ See https://github.com/rotators/sfall/b...aefb649c4/.github/workflows/Build.yml#L52-L55 Get DX2007, extract Lib/x86/dinput.lib to SomeDirectory/Lib/x86/ See https://github.com/rotators/sfall/b...aefb649c4/.github/workflows/Build.yml#L59-L62 Create sfall/PostBuild.cmd file; it must be present, even if it's empty See https://github.com/rotators/sfall/b...f522aefb649c4/.github/workflows/Build.yml#L77 Create environment variable DXSDK_DIR=SomeDirectory/ Alternative: change DXSDK_DIR to SomeDirecty/ in project settings, wherever you see it See https://github.com/rotators/sfall/b...f522aefb649c4/.github/workflows/Build.yml#L27 Build ddraw.sln with Configuration=ReleaseXP, Platform=Win32 See https://github.com/rotators/sfall/b...522aefb649c4/.github/workflows/Build.yml#L101 ----- Note that if you have problems with v140 build, you can use v142 after small edit to ddraw.vcxproj; this is close enough solution for testing your changes, but not good enough if you want to distribute dll with your mod. Replace this... Code: <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet> ...with this Code: <EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet> See https://github.com/rotators/sfall/b...f522aefb649c4/.github/workflows/Build.yml#L88 ----- Setup is based on some old threads and extra help from NovaRain; it just works.
TL;DR https://github.com/rotators/sfall/blob/rotators/.github/workflows/Build.yml Complete VS2019 build from scratch; assumes you have all required VS components (everything related to v140/WinXP support) already installed. Link above isn't exactly perfect example (due to various customizations), so here's must-have list: Get DX2010, extract Include/ and Lib/x86/ to SomeDirectory/ See https://github.com/rotators/sfall/b...aefb649c4/.github/workflows/Build.yml#L52-L55 Get DX2007, extract Lib/x86/dinput.lib to SomeDirectory/Lib/x86/ See https://github.com/rotators/sfall/b...aefb649c4/.github/workflows/Build.yml#L59-L62 Create sfall/PostBuild.cmd file; it must be present, even if it's empty See https://github.com/rotators/sfall/b...f522aefb649c4/.github/workflows/Build.yml#L77 Create environment variable DXSDK_DIR=SomeDirectory/ Alternative: change DXSDK_DIR to SomeDirecty/ in project settings, wherever you see it See https://github.com/rotators/sfall/b...f522aefb649c4/.github/workflows/Build.yml#L27 Build ddraw.sln with Configuration=ReleaseXP, Platform=Win32 See https://github.com/rotators/sfall/b...522aefb649c4/.github/workflows/Build.yml#L101 ----- Note that if you have problems with v140 build, you can use v142 after small edit to ddraw.vcxproj; this is close enough solution for testing your changes, but not good enough if you want to distribute dll with your mod. Replace this... Code: <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet> ...with this Code: <EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet> See https://github.com/rotators/sfall/b...f522aefb649c4/.github/workflows/Build.yml#L88 ----- Setup is based on some old threads and extra help from NovaRain; it just works.