Dege wrote:Are you sure that the local config file isn't damaged, or sg like that? (Or maybe it's not version 2.54 but an older one and dgVoodoo cannot read that because of a bug?)
I tested and disabling watermark works for me from a local config, so for you, some error must occur when reading the local config file and so dgVoodoo tries the global one.
Best would be to track the CreateFile/ReadFile API calls through APIMonitor or Process Monitor.
I haven't been following closely enough to see that 2.54 was out; I had several games that had performance issues with 2.53 so I'd reverted back to 2.50.
Trying Army Men with v2.54 (and making no changes to the config file) solved the issue. By trying previous versions, this bug seems as though it was fixed in v2.53; v2.52 fails to read the config file.
I had just noticed the same problem with Gothic 2 today, and v2.54 fixed the issue. So this bug affected more than one game, it appears. I had also thought it caused Gothic 2 to crash, but that turned out to be because the config file had Fast Video Memory turned on, and the older versions weren't reading it. Turning Fast Video Memory back off allowed Gothic 2 to work just fine with v2.54.
I can't, however, get Gothic 1 to work, it gives me an error with dgVoodoo 2.54 (and just crashes with 2.50). It's not a vanilla install, Gothic 1 won't work at all on my system unless I install the PlayerKit (v1.08k) and the SystemPack (v1.1.7). Error is below:
======================================= UNHANDLED EXCEPTION OCCURED ======================================================
======================================= CRASH INFOS: =====================================================================
Startup Options:
=============================================== CALLSTACK : ==============================================================
0023:1000A7AC (0x0070DE70 0x00000000 0x7EF20040 0x0070E514) DDRAW.dll, DirectDrawCreateEx
0023:1000A8D3 (0x0070DE70 0x00000000 0x007D06E8 0x00713741) DDRAW.dll, DirectDrawEnumerateA()+14 byte(s)
0023:0070E514 (0xFFFFFFFF 0x007D06E8 0x00000001 0x00000000) GothicMod.exe, zCRnd_D3D::XD3D_EnumerateModes()+36 byte(s), D:\dev\gothic\current_work\ZenGin\_Kurt\zRndD3D_Init.cpp, line 294
0023:00713741 (0x0126FCC4 0x007D06E8 0x00000001 0x00000000) GothicMod.exe, zCRnd_D3D::zCRnd_D3D()+1249 byte(s), D:\dev\gothic\current_work\ZenGin\_Kurt\zRndD3D_Render.cpp, line 187+35 byte(s)
0023:0060168E (0x0126FCC4 0x0126FCBC 0x0126FCBC 0x007D06E8) GothicMod.exe, zDieter_StartUp()+702 byte(s), D:\dev\gothic\current_work\ZenGin\_Dieter\zzDieter.cpp, line 823+376 byte(s)
0023:0054477A (0x0126FCC4 0x00000000 0x0126FCBC 0x029D0068) GothicMod.exe, zCEngine::Init()+1082 byte(s), D:\dev\gothic\current_work\ZenGin\_Dieter\zEngine.cpp, line 153
0023:004259E1 (0x00000000 0x0029283E 0x0126FECC 0x00000000) GothicMod.exe, CGameManager::GameInit()+225 byte(s), D:\dev\gothic\current_work\Gothic\_Bert\oGameManager.cpp, line 885
0023:00424242 (0x0086F4B8 0x007D1078 0x0126FD38 0x002E0764) GothicMod.exe, CGameManager::Init()+386 byte(s), D:\dev\gothic\current_work\Gothic\_Bert\oGameManager.cpp, line 510
0023:006D8672 (0x7EFDE000 0x0000002C 0x00000000 0x00000172) GothicMod.exe, MainProg()+66 byte(s), D:\dev\gothic\current_work\Gothic\_Ulf\Phoenix.cpp, line 114
0023:004F4326 (0x00400000 0x00000000 0x0029283E 0x00000001) GothicMod.exe, HandledWinMain()+966 byte(s), D:\dev\gothic\current_work\ZenGin\_Carsten\zWin32.cpp, line 772
0023:004F3E90 (0x00400000 0x00000000 0x0029283E 0x00000001) GothicMod.exe, WinMain()+128 byte(s), D:\dev\gothic\current_work\ZenGin\_Carsten\zWin32.cpp, line 684+21 byte(s)
0023:0077A9B8 (0x7EFDE000 0x0126FFD4 0x77819902 0x7EFDE000) GothicMod.exe, WinMainCRTStartup()+224 byte(s)
0023:7521336A (0x7EFDE000 0x6BDB6579 0x00000000 0x00000000) kernel32.dll, BaseThreadInitThunk()+18 byte(s)
0023:77819902 (0x0077A8D8 0x7EFDE000 0x00000000 0x00000000) ntdll.dll, RtlInitializeExceptionChain()+99 byte(s)
0023:778198D5 (0x0077A8D8 0x7EFDE000 0x00000000 0x00000000) ntdll.dll, RtlInitializeExceptionChain()+54 byte(s)