Game-compatibility: Silent Hill 4 [Silent Hill 4: The Room] [KN-031] [1.02]

Created on 10 Sep 2017  路  7Comments  路  Source: Cxbx-Reloaded/game-compatibility

Silent Hill 4: The Room

Description

Game boots and show some splash screens.
The intro shows only a black screen and the sound is distorted.
Main menu is also a bit darker than it should be.
When you start a new game, it only shows a black screen and some menu items, if in wireframe mode. After a while it crashes with this error:

Cxbx-Reloaded
---------------------------
Received Fatal Message:

* CreateSoundBuffer Failed!

---------------------------
OK   
---------------------------

Dumps

1.02: Xbe.txt
KrnlDebug_97b7a2e9.txt
Silent Hill 4-hlecache.txt

Status

Previous behavior:

Current behavior:

  • Reaches main menu
  • Crashes when starting new game
  • FMVs display black

Screenshots

2018-03-07 21_27_53-cxbx-reloaded 97b7a2e9 mar 6 2018 _ emulating silent hill 4
2018-03-07 21_28_11-cxbx-reloaded 97b7a2e9 mar 6 2018 _ emulating silent hill 4
2018-03-07 21_28_58-cxbx-reloaded 97b7a2e9 mar 6 2018 _ emulating silent hill 4

Additional Information

Tested on Cxbx-Reloaded/Cxbx-Reloaded@97b7a2e9

region-other state-working type-retail xdk-5849

All 7 comments

Checked current state with build 984e2bd5
Game crashes when it start playing the Intro:

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

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

Right before this exception, this warning is shown in the log:

[0x28E0] WARN: Out of physical memory!

KrnlDebug_984e2bd5.txt

That message comes from the manager and indicates it has exhausted the main memory.

Running out of physical memory so early in, is a clear sign that our HLE code is leaking memory like crazy

for the sake of completeness, a log from the debug build:
KrnlDebug_dbg.zip

@PatrickvL Indeed, the last attempted allocation comes from D3DTexture_GetSurfaceLevel2 which calls EmuNewD3DSurface and then g_VMManager.AllocateZeroed

Tested on https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/commit/d03151cb5c99de010107e2f2eb14cfca088a6604
1.01: Xbe.txt
KrnlDebugHLE.txt
KrnlDebugLLE.txt

With HLE disc error, with LLE in-game with low fps and the emulation stops after some minutes or a CreateSoundBuffer error
hl
LLE
00
01
02
03
05

Ingame now with HLE.

silent

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeltaqq picture jeltaqq  路  3Comments

PatrickvL picture PatrickvL  路  4Comments

kennethedmonds picture kennethedmonds  路  3Comments

ghost picture ghost  路  3Comments

Voxel9 picture Voxel9  路  3Comments