game-compatibility icon indicating copy to clipboard operation
game-compatibility copied to clipboard

Project Gotham Racing 2 [MS-075] [1.02]

Open hinksta47 opened this issue 7 years ago • 9 comments

Description

The game hangs on boot, however there is about half a second of the intro that plays repeatedly.

---------------------------
Cxbx-Reloaded
---------------------------
Received Exception Code 0xC0000005 @ EIP := 0x6B27D1DC

  Press "OK" to terminate emulation.
  Press "Cancel" to debug.
---------------------------
OK   Cancel   
---------------------------

Dumps

KrnlDebug.txt Xbe.txt

Status

Previous behavior:

None reported

Current behavior:

Intro replays the first half second of sound, no video.

Screenshots

capture

Additional Information

One time it displayed the loading screen without playing any intros, when the HLE cache had not been cleared (after testing another game). I have not been able to replicate this @though.

hinksta47 avatar Nov 08 '17 04:11 hinksta47

Actually, if you smash the "Start" and "A" buttons very fast and repetitively, you can skip the video (like blinx) and then reach the loading screen (but it crash after a couple of seconds).

This both work on the retail and demo of the game.

sdds

zaykho avatar Nov 08 '17 12:11 zaykho

Now hangs on dirty disc error screen.

capture

KrnlDebug.txt

hinksta47 avatar Nov 19 '17 09:11 hinksta47

Project Gotham Racing 2 PAL [4d53004b] [Region 4] [XDK-5659] [Booting]

Cxbx-Reloaded Version 97b7a2e9 (Mar 6 2018)


Description

Regression ? Right now, the game just show a black screen and loop indefinitively ( LED and FPS still running, so not frozen), there is also no error box being thrown at us.

In the Kernel Debug Console we can see this :

[0x16E0] WARN: NtQueryFullAttributesFile failed! (0xC0000034)
  Org:"\Device\Hardd"
  New:"$XbePath\Device\Hardd"
[0x16E0] WARN: KRNL: IoCreateFile Failed! (STATUS_OBJECT_PATH_NOT_FOUND)

Screenshot

pgr2


Dumps

Xbe.txt CxbxDebug.txt KrnlDebug.txt

Project Gotham Racing 2-86bd25ef.txt


Status

Previous behavior: Hangs on dirty disc error screen.

Current behavior: Regression ? The game show a black screen and loop indefinitively with no error box.

zaykho avatar Mar 06 '18 16:03 zaykho

Project Gotham Racing 2 PAL Cxbx-Reloaded Version 221ff3ae (May 25 2018)

Description

Compared to the previous issue, It stopped at executing IoCreateFile at Partition5 when creating Version.12 file, which it manages now. image

Though the issue of IoCreateFile and NtSetEvent still persist, which caused the game to never load. I tried copy/pasting the data to other partitions since the directory path seems to be relatively the same, though im not sure what $XbePath directs to so I'm able to test that accurately.

Dumps

Xbe.txt CxbxDebug.txt KrnlDebug.txt

Reproduction

Start from blank and emulate the default.xbe without LLE emulation. It will hang on the loading sequence (though constantly resetting itself).

popcron avatar May 25 '18 19:05 popcron

The intro sounds play, then the game hangs. All you see is a black screen.

pgr2_1

1.01(???): Xbe.txt

If anyone wants me to log anything specific, please let me know.

Insan1ty0ne avatar Jan 05 '19 05:01 Insan1ty0ne

We getting places with PGR2! I'm so hype right now. The sound plays and you can finally see the game trying to load. But it hangs on to the Loading Screen, as you can see.

image

Dumps

CxbxDebug.txt Kernel.txt 1.05: Xbe.txt

SonicAdventureX avatar Jul 08 '19 23:07 SonicAdventureX

Related to RadWolfie's investigations with DSound, I decided to try and remove "Silence.wma" from the in game files, as this is known to cause a lock up when the game attempts to load. With this fix, and as of Patrickvl's latest PR merge, the game now boots into the menus.

pgr2start pgr2main

However after selecting any of the options from the menu the controller stops responding.

pgr2options

Waiting at the main menu results in the game loading an in-game demo, however this also freezes. (sometimes with a Black screen, other times you can see the loading screen - using AMD so this could be the cause) but the frame-rate drops to 30fps indicating that perhaps a file access issue is preventing it from loading.

pgr2ingame

I should also note that this only works with cached files generated from previous builds, if EmuDisk is wiped then that game fails to even boot with a similar error message in the console.

This error message "std::filesystem failed with message: recursive_directory_iterator::operator++: The system cannot find the path specified" appears to be causing a lot of issues in the PGR games, and manually copying all the game files (including the cache folder in the game files) does not fix them.

1.02: KrnlDebug.txt

hinksta47 avatar Dec 28 '19 22:12 hinksta47

It's been years that PGR2 does this.

One CXBX-R version was reaching in-game at some point (garage fully working, real race was extremely slow with graphical glitch), but then, this issue happened and never got fixed.

zaykho avatar Dec 29 '19 01:12 zaykho

I just tested this on 811f173, it now crashes on the loading screen just after the intro movies.

KrnlDebug.txt

rozniak avatar May 06 '21 14:05 rozniak