Grim Fandango crash on ScummVM 2.5.0

Ask for help with ScummVM problems

Moderator: ScummVM Team

Locked
joseph22
Posts: 2
Joined: Sun Dec 05, 2021 4:05 pm
Location: Germany

Grim Fandango crash on ScummVM 2.5.0

Post by joseph22 »

Hey, I don't really know where to ask, so I'm asking here.

I tried to start my Grim Fandango in ScummVM. The game starts, but in some situations (e.g. when using the hole punch or climbing the rope) the game crashes and the console opens with an error message.

For example, when I use the hole punch, I get this message:

Code: Select all

ERROR: Expected `section: header', got EOF on file ma_holepunch.key!
Or when climbing the rope:

Code: Select all

ERROR: Expected `section: header', got EOF on file ma_jump_to_co.key!
I've only heard from one person so far who also has the problem and they also have the German version of Grim Fandango, so it could be the problem in some German versions of the game. I have also tried to copy all the files needed for the game from the CDs again and still get the same result.

If someone wants to check it, here is the entire log that ScummVM creates when I'm getting the error:

Code: Select all

[2021-12-06 13:57:07] ScummVM 2.5.0 (Oct  8 2021 06:09:48)
[2021-12-06 13:57:07] Vorbis FLAC MP3 ALSA SEQ sndio TiMidity RGB zLib MPEG2 FluidSynth Theora AAC A/52 FreeType2 FriBiDi JPEG PNG GIF taskbar TTS cloud (servers, local) TinyGL OpenGL (with shaders) GLEW 
[2021-12-06 13:57:07] --- Log opened.
[2021-12-06 13:57:15] WARNING: [UnityTaskbarManager::addRecent] Not implemented!
[2021-12-06 13:57:15] INFO: OpenGL Vendor: X.Org
[2021-12-06 13:57:15] INFO: OpenGL Renderer: AMD RAVEN (DRM 3.40.0, 5.11.0-41-generic, LLVM 10.0.0)
[2021-12-06 13:57:15] INFO: OpenGL Version: 4.6 (Compatibility Profile) Mesa 20.0.8
[2021-12-06 13:57:15] INFO: OpenGL Red bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Green bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Blue bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Alpha bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Z buffer depth bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Double Buffer: 0
[2021-12-06 13:57:15] INFO: OpenGL Stencil buffer bits: 0
[2021-12-06 13:57:15] INFO: GLEW Version: 2.0.0
[2021-12-06 13:57:15] INFO: GLSL version: 4.60
[2021-12-06 13:57:15] INFO: OpenGL Vendor: X.Org
[2021-12-06 13:57:15] INFO: OpenGL Renderer: AMD RAVEN (DRM 3.40.0, 5.11.0-41-generic, LLVM 10.0.0)
[2021-12-06 13:57:15] INFO: OpenGL Version: 4.6 (Compatibility Profile) Mesa 20.0.8
[2021-12-06 13:57:15] INFO: OpenGL Red bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Green bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Blue bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Alpha bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Z buffer depth bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Double Buffer: 0
[2021-12-06 13:57:15] INFO: OpenGL Stencil buffer bits: 0
[2021-12-06 13:57:15] INFO: GLEW Version: 2.0.0
[2021-12-06 13:57:15] INFO: GLSL version: 4.60
[2021-12-06 13:57:15] INFO: OpenGL Vendor: X.Org
[2021-12-06 13:57:15] INFO: OpenGL Renderer: AMD RAVEN (DRM 3.40.0, 5.11.0-41-generic, LLVM 10.0.0)
[2021-12-06 13:57:15] INFO: OpenGL Version: 4.6 (Compatibility Profile) Mesa 20.0.8
[2021-12-06 13:57:15] INFO: OpenGL Red bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Green bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Blue bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Alpha bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Z buffer depth bits: 0
[2021-12-06 13:57:15] INFO: OpenGL Double Buffer: 0
[2021-12-06 13:57:15] INFO: OpenGL Stencil buffer bits: 0
[2021-12-06 13:57:15] INFO: GLEW Version: 2.0.0
[2021-12-06 13:57:15] INFO: GLSL version: 4.60
[2021-12-06 13:57:15] WARNING: Lua_V1::SetGamma, implement opcode, level: 0.000000!
[2021-12-06 13:57:15] WARNING: !!!! Trying to call MakeSectorActive without a scene!
[2021-12-06 13:57:15] WARNING: !!!! Trying to call MakeSectorActive without a scene!
[2021-12-06 13:57:16] WARNING: !!!! Trying to call MakeSectorActive without a scene!
[2021-12-06 13:57:16] WARNING: !!!! Trying to call MakeSectorActive without a scene!
[2021-12-06 13:57:16] WARNING: !!!! Trying to call MakeSectorActive without a scene!
[2021-12-06 13:57:16] WARNING: Play video intro.snm!
[2021-12-06 13:57:37] WARNING: Could not find bitmap ha_6_overhead.bm!
[2021-12-06 13:57:37] WARNING: Could not find bitmap ha_6_overhead.zbm!
[2021-12-06 13:57:49] WARNING: Unable to find track 'fsrugwl4.wav' to change volume!
[2021-12-06 13:57:49] WARNING: Unable to find track 'fsrugwl4.wav' to change pan!
[2021-12-06 13:57:50] WARNING: Unable to find track 'fsrugwl4.wav' to change volume!
[2021-12-06 13:57:50] WARNING: Unable to find track 'fsrugwl4.wav' to change pan!
[2021-12-06 13:58:01] Expected `section: header', got EOF on file ma_holepunch.key!
[2021-12-06 13:58:01] Debugger started, type 'exit' to return to the game.
[2021-12-06 13:58:01] Type 'help' to see a little list of commands and variables.
[2021-12-06 13:58:01] ERROR: Expected `section: header', got EOF on file ma_holepunch.key!
I think the problem isn't caused by ScummVM but I would still be happy if someone could help me. Thanks in advance! ~joseph22
Screenshot when the error occurs and the console is opened
Screenshot when the error occurs and the console is opened
screenshot (175).png (566.88 KiB) Viewed 1122 times
joseph22
Posts: 2
Joined: Sun Dec 05, 2021 4:05 pm
Location: Germany

Re: Grim Fandango crash on ScummVM 2.5.0

Post by joseph22 »

Small Update

Someone told me to check a few things:
  • It won't work on ResidualVM either, not matter what version.
  • When i type exit the game (or at least the game music) will resume for less than a second, but then the window just closes.
Regards
joseph22
User avatar
Praetorian
ScummVM Developer
Posts: 787
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: Grim Fandango crash on ScummVM 2.5.0

Post by Praetorian »

joseph22 wrote: Tue Dec 14, 2021 10:25 am Small Update

Someone told me to check a few things:
  • It won't work on ResidualVM either, not matter what version.
  • When i type exit the game (or at least the game music) will resume for less than a second, but then the window just closes.
Regards
joseph22
The "exit" debugger command exiting the game, when there's a game-stopping error, is expected behavior, and the sound being heard for a brief interval in this case is something that happens in other engines too, so it's not related to this issue.

Is your Grim Fandango version patched with the 1.01 official patch? (I believe the one linked in our wiki page for Grim Fandango should work with the German version of the game, but I am not sure, since I've not tested it. I haven't been able to find a different patch specific for the German version).

A few things to test/check:
- Try a recent daily development build (2.6.0git) from the buildbot (column "ScummVM latest
Branch master")
- Can you use the Resource File Creator and Dumper from quickandeasysoftware on the game's DATA001.LAB? Load the lab file and dump the contents in a temporary folder. Does that process complete without errors? If so, then look for the "ma_holepunch.key" file in the temporary folder where you extracted the LAB file.
---- Does the "ma_holepunch.key" file exist in the temp folder?
---- Does it have a valid size?
---- If you open it with a hex editor (eg. HxD), are the first bytes "FYEK" ?
- (btw) fsrugwl4.wav is in DATA000.LAB. You could try and load & dump that lab file and check for this file. Does this file exist in there? In the English version I don't get this missing track warning that I see in your log. Maybe the file is named somewhat differently in the German version?
User avatar
sev
ScummVM Lead
Posts: 2273
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Re: Grim Fandango crash on ScummVM 2.5.0

Post by sev »

joseph22 wrote: Mon Dec 06, 2021 1:49 pm Hey, I don't really know where to ask, so I'm asking here.
Actually, it is mentioned in Forum Rule #3a.


Eugene
Locked