Opened 5 months ago

Closed 2 days ago

#15193 closed defect (fixed)

DRASCULA: Crash with the DS port when playing cutscenes

Reported by: ccawley2011 Owned by: sev-
Priority: high Component: Engine: Drascula
Version: Keywords:
Cc: Game: Drascula

Description

When running Drascula with the DS port it crashes during the opening cutscene. It may be a side effect of the ARJ unpacker working mostly in RAM and running out when loading large files.

Skipping the cutscene allows getting to gameplay.

Change History (3)

comment:1 by sev-, 2 days ago

Is there a way to obtain a backtrace?

comment:2 by sev-, 2 days ago

In e8ca26f:

DRASCULA: Do not crash when there is not enough memory for cutscenes. Bug #15193

At least now the game is possible to play. There is unfortunately no
easy way to make our Arj unpacker streamable.

comment:3 by sev-, 2 days ago

Owner: set to sev-
Resolution: fixed
Status: newclosed

And indeed, the intro is 3.9MB, and we fully unpack that into memory. It will not fit into memory, and the biggest file is 4.1MB.

I implemented more graceful processing of this situation, which will simulate the ESC key and print a couple of warnings to the log.

Of course, this could potentially follow with a bugreport that "cutscenes are not played on DS". If this is the case, then I will implement an on-screen message.

Until then, closing this as fixed.

Note: See TracTickets for help on using tickets.