Menu

#5657 HUGO: Whodunit? and Jungle of Doom don't survive the intro

Hugo
closed-fixed
5
2011-04-24
2011-04-22
No

ScummVM 1.3.0git (Apr 22 2011 19:52:50)
Features compiled in: Vorbis FLAC MP3 RGB zLib Theora

While the intro rolls right after the first character is drawn before the house i get a
Fetched string too long!!
and the console pops up.
Playing is not possible as all the options that wiould restart the game will quit ScummVM instead.

Hugo 2: Whodunit? (DOS/English)

AmigaOS4 - PPC - SDL - BE
gcc (GCC) 4.2.4 (adtools build 20090118)

Discussion

  • digitall

    digitall - 2011-04-22

    Can't replicate on Linux x86_32.

    raziel_ : Could you please repeat this with "./scummvm -d 5 --debugflags=File" and report the last "fetchstring(<value>)" prior to the error exit.

     
  • digitall

    digitall - 2011-04-22
    • assigned_to: nobody --> strangerke
     
  • Willem Jan Palenstijn

    fetchString uses _stringArchive.read((char *)&off1, sizeof(uint32)) to read uint32s, which isn't endian-safe. It should probably be using _stringArchive.readUint32LE().

     
  • Anonymous

    Anonymous - 2011-04-23

    scummvm -d 5--debugflags=File

    ...
    readOverlay(0, ...)
    fetchString(6)
    Fetched string too long!!

     
  • Anonymous

    Anonymous - 2011-04-23
    • summary: HUGO: Whodunit? doesn't survive the intro --> HUGO: Whodunit? and Jungle of Doom don't survive the intro
     
  • Anonymous

    Anonymous - 2011-04-23

    Hugo 3 is affected aswell

    ...
    readOverlay(0, ...)
    fetchString(120)
    Fetched string too long!!

     
  • Strangerke

    Strangerke - 2011-04-23
    • status: open --> open-fixed
     
  • Strangerke

    Strangerke - 2011-04-23

    H2 Dos and H3 Dos are using the same fetchString() function, and wjp most certainly identified the problem. I committed a fix, Could you check if it works properly now?

     
  • Anonymous

    Anonymous - 2011-04-24

    Yes, fixed and working, thanks

     
  • Strangerke

    Strangerke - 2011-04-24

    Fixed in 8651f9739f20c1a3cb70

     
  • Strangerke

    Strangerke - 2011-04-24
    • status: open-fixed --> closed-fixed
     
MongoDB Logo MongoDB