Opened 11 years ago

Closed 11 years ago

#3877 closed defect (fixed)

FW: Assert during demo (regression)

Reported by: Kirben Owned by: SF/buddha_
Priority: normal Component: Engine: Cine
Keywords: Cc:
Game: Future Wars

Description

ScummVM 0.12.0pre (Aug 18 2008 10:08:07) ScummVM 0.13.0svn (Aug 18 2008 10:20:36) Compiled under mingw with GCC 4.2.1-dw2 Running on Windows XP Media Center 2005 Edition Amiga demo of Future Wars

The following assert is triggered during the spinning logo part of the demo (ScummVM 0.13.0svn): Assertion failed: foundFileIdx >= 0 && foundFileIdx < (int32)partBuffer.size(), file engines/cine/part.cpp, line 221

This problem occurred sometime between ScummVM 0.10.0 and ScummVM 0.11.0.

Ticket imported from: #2057656. Ticket imported from: bugs/3877.

Attachments (1)

fw-amiga-demo-demo_file_unpacking_log.txt (5.6 KB ) - added by SF/buddha_ 11 years ago.
File listing of the files inside Future Wars's Amiga demo's DEMO-file

Download all attachments as: .zip

Change History (3)

by SF/buddha_, 11 years ago

File listing of the files inside Future Wars's Amiga demo's DEMO-file

comment:1 by SF/buddha_, 11 years ago

Resolution: fixed
Status: newclosed

comment:2 by SF/buddha_, 11 years ago

Fixed in the trunk in revision 34036: http://scummvm.svn.sourceforge.net/scummvm/?rev=34036&view=rev

Fixed in the branch-0-12-0 in revision 34037: http://scummvm.svn.sourceforge.net/scummvm/?rev=34037&view=rev

The collision data loading routine loadCtFW is trying to load file 'L8_MK.NEO' right after the tunnel part where the spaceship rotates around and around. A bit later loadCtFW also tries to load 'L23_MK.NEO'. These files aren't supplied with the demo at all so that's why the routine previously crashed. Now I changed the routine to give a warning if it can't load a file instead of crashing.

So there should be these two warnings added to the demo now: WARNING: loadCtFW: Unable to find collision data file 'L8_MK.NEO'! WARNING: loadCtFW: Unable to find collision data file 'L23_MK.NEO'!

I've attached a file that shows what files are inside the Future Wars's Amiga demo's DEMO-file. File Added: fw-amiga-demo-demo_file_unpacking_log.txt

Note: See TracTickets for help on using tickets.