Bug 43 - Tony Hawk's Pro Skater 2 doesn't launch with DXGL
Summary: Tony Hawk's Pro Skater 2 doesn't launch with DXGL
Status: UNCONFIRMED
Alias: None
Product: DXGL
Classification: Unclassified
Component: ddraw (show other bugs)
Version: 0.5.7
Hardware: PC Windows 7 (64-bit)
: Normal normal
Target Milestone: ---
Assignee: William Feely
URL: DXGL
Depends on:
Blocks:
 
Reported: 2015-01-26 14:38 EST by tomoalien
Modified: 2015-02-12 10:36 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomoalien 2015-01-26 14:38:36 EST
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)
Comment 1 William Feely 2015-02-11 19:03:42 EST
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.
Comment 2 tomoalien 2015-02-12 10:25:47 EST
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).
Comment 3 William Feely 2015-02-12 10:36:35 EST
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.