15 Days

15 Days

cyanic Aug 28, 2017 @ 9:41pm
Patches for issues
Just poking at the game, trying to make it crash... less.

Ryzoom search
If you search for terms like "museum" or "id", the game may crash. This patch will fix the issue.

Download[www.dropbox.com]
  1. Download the patch. Unzip it to the game's installation directory, and ensure that patch.cmd, bspatch.exe, and rng_patch.patch are in the same directory as rhc.exe.
  2. Run patch.cmd. Click Yes when Windows asks if you want to run bspatch.exe.
  3. The game is now patched for this issue. You may delete patch.cmd, bspatch.exe, and rng_patch.patch.

Technical details
The RNG used for generating the text in Ryzoom has a range of [-1, max). Unfortunately, someone's using this to index an array, and negative indexing isn't exactly proper, leading to the crash. This patch changes the range to [0, max).

Entering catacomb passageway
This is a subtle buffer overrun bug. It may or may not help prevent crashes, but it's here for correctness.

Download[www.dropbox.com]
  1. Download the file. Move it inside the "updates" folder where you have the game installed.

Technical details
The game, when loading the data file for the catacombs maze, treats the contents as a standard C string. Unfortunately, it's just a plain text file, not null-terminated, so string functions will overrun the buffer. It's probably mostly harmless, but the game will crash if full heap verification is enabled. The updated file has a null byte appended to make the data into a C string.

Unresolved issues
  • Bad memory access when transitioning between character turning animation and walking animation. It's a wonder the game works at all with this happening constantly. Technical details: looks like some object's being deleted and references to said object were not updated elsewhere.
  • Bad memory access when transitioning between character animations within a cutscene. Probably related to above, but crashes in a different location. Particularly bad when first visiting the third room in the catacombs and when opening the door to Robert's and Jack's cell.
Last edited by cyanic; Aug 29, 2017 @ 7:18pm
< >
Showing 1-6 of 6 comments
1stCheater Sep 11, 2017 @ 4:30am 
Still crashing in Ryzoom
󠁳Bakhtosh Sep 17, 2017 @ 10:13am 
Does this work-around (Link) work for you?
cyanic Sep 17, 2017 @ 10:23am 
IIRC, the game generates a crash log, doesn't it? I think there was another issue when generated texts are too short.
Nerwen Vardamir Nov 4, 2017 @ 2:21pm 
The patch for the catacombs issue didn't work. Is there really no solution to this problem?
cyanic Nov 4, 2017 @ 2:23pm 
The game's really broken, in that the memory corruption issues are so bad that the game is supposed to crash when any character starts walking. It's all down to luck.
Faudraline Feb 26, 2018 @ 5:00am 
Patch for catacombs doesn't work for me either. Will try it on an older system.
< >
Showing 1-6 of 6 comments
Per page: 1530 50