TODO: Cleanup, improve, support other platforms and such.
- All information in this is a community effort and I do not take credit for any of it.
- SHA256: EA72121D29CE40EBD9F6B5BA2E337CEE02B812BB07ED67797F37E382FE075A85
- Ensure the full path of the src has absolutely no spaces or characters that would need escaping.
- Windows XP 32bit. Must be 32bit due to VS 2002 having a 64bit check which causes installation failure.
- Visual Studio .NET 2002 (https://archive.org/details/en_vs.net_2002_pro)
- Copy all the files from
game/build/win32/Backup
intogame/build/win32
as the non-backup files were messed with and broken. - Open
SRR2.sln
in Visual Studio .NET 2002 and build the solution. - Go to
game/cd/PC
and the newly built game distribution should be there.
The following changes fixes the respective library or project to compile in VS 2019:
radmovie
Properties
C/C++
Code Generation
Smaller Type Check: Change from /RTCc to No
radsound
system.cpp
IID_IDirectSound8 to IID_IDirectSound
Properties
C/C++
General
Additional Include Directories: Add "..\..\src\pch"
Code Generation
Smaller Type Check: Change from /RTCc to No
Pure3D
platform.cpp
#include <fstream.h> -> #include <fstream>
#include <strstrea.h> -> #include <strstream>
Currently problematic libraries or projects:
- pddidx8 won't build because VS is reading the
.vsh
files (shader files) and throwing a syntax error - SRR2 won't build due to the above failing, but also has it's own errors
The pvoid64 stuff is due to an old header that's included in the directx sdk that was moved to the winsdk at some point . Just remove basestd.h from 'game/libs/pure3d/sdks/dx8' and pvoid errors should go away.