[ scummvm-Bugs-884568 ] BS2: Cutscene problems in demo verison

SourceForge.net noreply at sourceforge.net
Mon Jan 26 07:01:33 CET 2004


Bugs item #884568, was opened at 2004-01-26 17:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=884568&group_id=37116

Category: Graphics
Group: Broken Sword 2
Status: Open
Resolution: None
Priority: 5
Submitted By: Travis Howell (kirben)
Assigned to: Nobody/Anonymous (nobody)
Summary: BS2: Cutscene problems in demo verison

Initial Comment:
Latest ScummVM cvs version.
English version of Broken Sword 2 demo
Compiled under mingw with GCC 3.2.3 and running under
Windows XP.

The Broken Sword 2 demo attempts to load the eye and 
intro cutscenes, even though they aren't part of demo.

The Broken Sword 2 demo crashes when it tries to play 
the final cutscene. The final cutscene (enddemo) uses a 
resolution of 640 x 480 which might be related. A gdb 
back trace:
Program received signal SIGSEGV, Segmentation fault.
0x00544184 in Sword2::AnimationState::plotYUV(short*, 
int, int, unsigned char* const*) (
    this=0x31fd6f0, lut=0xed13c0, width=640, 
height=480, dat=0x32343d0)
    at sword2/driver/animation.cpp:279
279                             ptr[RENDERWIDE + linepos++] 
= lut[i + dat[0][width + ypos++]];
(gdb) bt
#0  0x00544184 in Sword2::AnimationState::plotYUV
(short*, int, int, unsigned char* const*) (
    this=0x31fd6f0, lut=0xed13c0, width=640, 
height=480, dat=0x32343d0)
    at sword2/driver/animation.cpp:279
#1  0x0054441e in 
Sword2::AnimationState::decodeFrame() 
(this=0x31fd6f0)
    at sword2/driver/animation.cpp:375
#2  0x00544804 in Sword2::MoviePlayer::play(char 
const*, Sword2::MovieTextObject**, unsigned char*)
    (this=0x22f7a8, filename=0x22fbf0 "enddemo", 
text=0x0, musicOut=0x0)
    at sword2/driver/animation.cpp:501
#3  0x0053fcd1 in Sword2::Logic::fnPlaySequence(int*) 
(this=0x24c7f70, params=0x22fc80)
    at sword2/anims.cpp:679
#4  0x0052bd9a in Sword2::Logic::runScript(char*, 
char*, unsigned*) (this=0x24c7f70, 
    scriptData=0x3ad307c "\t", 
objectData=0x372af40 "\003", offset=0x372af90)
    at sword2/interpreter.cpp:496
#5  0x00531e37 in Sword2::Logic::processSession() 
(this=0x24c7f70) at sword2/logic.cpp:138
#6  0x0051dcf3 in Sword2::Sword2Engine::gameCycle() 
(this=0x2408eb0) at sword2/sword2.cpp:276
#7  0x0051df98 in Sword2::Sword2Engine::go() 
(this=0x2408eb0) at sword2/sword2.cpp:385
#8  0x004066c6 in runGame(GameDetector&, OSystem*) 
(detector=@0x22ff28, system=0x23fbe80)
    at base/main.cpp:225
#9  0x00406aa1 in main (argc=2, argv=0x3f2510) at 
base/main.cpp:313


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=884568&group_id=37116




More information about the Scummvm-tracker mailing list