Overview: Trying to launch Tony Hawk's Pro Skater 2 with DXGL causes the game to instantly turn off after running, leaving only an error in its error log file. Steps to reproduce: Simply launch the game with DXGL. Expected result: The game launching properly with DXGL enabled. Additional Info: The game uses DirectX 7.0a, runs in 640x480x16 screenmode and requires compatibility mode to be set to Windows 95/98, else the game becomes severely unstable. Also, the error log generated by the game: LOG: Mon Jan 26 23:32:23 2015 Compiled: Oct 13 2000 16:50:39 EXE RAN FROM: D:\Gry\THPS2 CDPATH: C: PKRPATH: D:\Gry\THPS2 MUSPATH: D:\Gry\THPS2\Music MOVPATH: D:\Gry\THPS2\Movies Got DD Device: Primary Display Driver RegKey - DisplayDevice found: 0, 0 RegKey - DisplayDevice valid, using 0 instead of 0 DD Device: Primary Display Driver D3D Error: [H:\TonyHawk\Pc2\Pc\WinMain.cpp], line 1840: DDERR_INVALIDDIRECTDRAWGUID (88760231)
Sorry for the late reply. This one will require a lot of work to get working. DirectX7 functionality (which I assume is Direct3D for this game) is very limited right now, and if I add the necessary GUID support the game will very likely either reject the DXGL driver (due to missing D3D caps) or exhibit severe graphical distortion.
Well, I did expect the game to have distorted graphics in D3D mode, especially since the game's got a VERY HACKY support for DX7 thanks to the engine being a near-exact port of the PSX version, albeit using floating point precision for rendering polygons (The biggest problem with PSX GPU is that it doesn't have an FPU), bilinear filtering and higher resolution textures. The game also supports a software rendering mode, which I believe should work well. Anyways, I still appreciate your efforts. Thanks to this program, I can watch demoscene productions made for early Windows, which use DirectX for Software Rendering. They work fantastic and I finally was able to watch Satori's Incyber with a proper framerate in realtime (For some reason it has severe framerate issues on modern systems).
If it is just PS1 class graphics then it should not be that hard for me to implement then. I have Pete's DX7 D3D plugin working quite well, albeit slow.