Custom 32bit build has some issues
I have been trying to port Quake4Doom back to Win32. The sort of "goal" here is to run it on period correct hardware (not 64bit). Being a sort of "side project" to Quake4Doom I realize this is maybe not really an issue here, but, it would be interesting to at least know why things no longer work. Potentially it can make Quake4Doom great again (on Win32).
There were some minor issues that I had to fix and the game now loads, but, loading a map (game/core2 for example) it will always end up allocating a lot of RAM and eventually it crashes (see stack trace below).
You can find my port and the exact commit I used here: https://github.com/Kasreyn/Quake4Doom/tree/topic/VS10 https://github.com/Kasreyn/Quake4Doom/commit/e439fe763c2095e2e0666894a5e1952899cac4c6
Stack trace:
atioglxx.dll!69644b8c() [Frames below may be incorrect and/or missing, no symbols loaded for atioglxx.dll] atioglxx.dll!69642b96() atioglxx.dll!69646953() atioglxx.dll!69668104() atioglxx.dll!691cb5a5() atioglxx.dll!691cc4fd() atioglxx.dll!6945f310() q4dQuake4-DEBUG.exe!idImage::AllocImage() Line 448 + 0x1b bytes C++ 049ce488() q4dQuake4-DEBUG.exe!idSessionLocal::MoveToNewMap(const char * mapName=0x049cf4fc) Line 1235 C++ q4dQuake4-DEBUG.exe!idSessionLocal::StartNewGame(const char * mapName=0x049cf4fc, bool devmap=true) Line 1206 C++ q4dQuake4-DEBUG.exe!Session_DevMap_f(const idCmdArgs & args={...}) Line 162 C++ q4dQuake4-DEBUG.exe!idCmdSystemLocal::ExecuteTokenizedString(const idCmdArgs & args={...}) Line 493 + 0xe bytes C++ q4dQuake4-DEBUG.exe!idCmdSystemLocal::ExecuteCommandBuffer() Line 675 C++ q4dQuake4-DEBUG.exe!idEventLoop::RunEventLoop(bool commandExecution=true) Line 181 + 0x15 bytes C++ q4dQuake4-DEBUG.exe!idCommonLocal::Frame() Line 2425 C++ q4dQuake4-DEBUG.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00051f25, int nCmdShow=1) Line 1452 + 0x15 bytes C++ q4dQuake4-DEBUG.exe!__tmainCRTStartup() Line 275 + 0x2c bytes C q4dQuake4-DEBUG.exe!WinMainCRTStartup() Line 189 C kernel32.dll!7c817067()