Menu

#5113 SCI Fanmade - Circus Quest: Crash when starting

SCI Fanmade
closed-fixed
5
2010-11-09
2010-08-03
Scarlatti
No

Crashes right away, when loading the game. The console spews out:

[VM] Stack index 4180 out of valid range [0..4095]!

Game Version: DOS/English
ScummVM Version: 1.2.0SVN51672
Operating System: Win32 (XP SP2)

Discussion

  • clone2727

    clone2727 - 2010-08-03

    The game enters a seemingly infinite recursion. The same happens with The Farm Nightmare.

     
  • Filippos Karapetis

    • status: open --> closed-fixed
     
  • Filippos Karapetis

    Fixed by lskovlun in rev 54150. From his comments on the issue:

    "This is an interesting bug indeed. I'd say it's a compiler bug; it
    happens because SCI Companion generates pushSelf instructions with the
    low bit set. In some SCI versions this is a debug marker (the .file
    "opcode") so we skip ahead until the next NUL byte in that case. But
    in the SCI Companion case, the instruction is an actual pushSelf
    instruction.

    The fix is easy, but I've marked it fanmade only as this variant is
    only generated by non-Sierra compilers. I'd say our interpretation is
    "right" as there are other SCI tools that also fail to work with these
    two games (try looking at the Circus script 999 in SCI Viewer, for
    example)."

    Closing

     
  • Filippos Karapetis

    • labels: --> Script bugs
    • assigned_to: nobody --> lskovlun