#14962 closed defect (fixed)

M4: Orion Burger: Demo crashes when using the gun on the ice cube in any floor other than the bottom floor

Reported by: antoniou79 Owned by: dreammaster
Priority: normal Component: Engine: M4
Version: Keywords:
Cc: Game: Orion Burger

Description

This is on Windows 10, with ScummVM 2.9.0git, build from master HEAD in release mode with msys2/mingw-w64.

When using the gun from the inventory on the ice cube (also in the inventory) in any floor of the gerbil cage other than the bottom floor, ScummVM crashes with a message on the debugger.

Depending on the floor the message is slightly different:

  • On the top floor it says: ERROR: get_file - getting 604melts!
  • On the middle floor it says: ERROR: get_file - getting 603melts!

I've tried a naive way of fixing this, by disabling the shadows for Wilbur (clearing the WITH_SHADOW bit of the flags) for these specific animations (so the engine won't try to get the animations with an "s" suffix), and that works, but it's not what the original game is doing.

When playing the demo with DosBox, Wilbur does have a shadow in both of these animations (top floor and middle floor).

I am unsure if this is also an issue for the full game.

Attachments (2)

burger-demo.009 (20.5 KB ) - added by antoniou79 10 months ago.
burger-demo.010 (20.8 KB ) - added by antoniou79 10 months ago.

Download all attachments as: .zip

Change History (3)

by antoniou79, 10 months ago

Attachment: burger-demo.009 added

by antoniou79, 10 months ago

Attachment: burger-demo.010 added

comment:1 by dreammaster, 10 months ago

Owner: set to dreammaster
Resolution: fixed
Status: newclosed

I checked, and no it's not an issue with the full game. It has a 604melts. Unfortunately, I've had trouble trying to do a disassembly of the demo executable to do a comparison with that of the full game.

For now, like you, I'm just going to do a conditional check not to pass WITH_SHADOWS to the break method call, so at least it won't crash. The only downside, apart from the shadow, is that Wilbur briefly disappears at the end of it on all three flooors, but only in the demo.

Note: See TracTickets for help on using tickets.