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)
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.
fetchString uses _stringArchive.read((char *)&off1, sizeof(uint32)) to read uint32s, which isn't endian-safe. It should probably be using _stringArchive.readUint32LE().
scummvm -d 5--debugflags=File
...
readOverlay(0, ...)
fetchString(6)
Fetched string too long!!
Hugo 3 is affected aswell
...
readOverlay(0, ...)
fetchString(120)
Fetched string too long!!
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?
Yes, fixed and working, thanks
Fixed in 8651f9739f20c1a3cb70