#3511 closed defect (fixed)
LURE Spanish: Crashes at the start
Reported by: | SF/mirir | Owned by: | dreammaster |
---|---|---|---|
Priority: | normal | Component: | Engine: Lure |
Version: | Keywords: | ||
Cc: | Game: | Lure of the Temptress |
Description
* Version: ScummVM 0.11.0 SVN (Dec 14 2007 10:32:58) * Language: Spanish * Platform: Win32
Game crashes at the start when the Skorl comes to see the fire.
Savegame attached.
Ticket imported from: #1851063. Ticket imported from: bugs/3511.
Attachments (4)
Change History (16)
by , 17 years ago
comment:1 by , 17 years ago
Summary: | LURE Spanish: → LURE Spanish: Crashes at the start |
---|
comment:2 by , 17 years ago
Owner: | set to |
---|
comment:3 by , 17 years ago
Could you please give the error message that is generated, and also run the game with the following flags, and upload the result: --debuglevel=3 --debugflags=animations,scripts,hotspots,strings lure
comment:4 by , 17 years ago
The command line does not report any error message. Although I say the game crashes, perhaps is better described as "freezes".
When trying the game with the flags, the command line is constanly generating lines and when the skol enters it stops; being the last line:
string data 767h/08h val=00h EOS
Screenshot of the command line window added.
When playing forcing Adlib sound, at the moment the game freezes the music continues playing. File Added: LURE_Spa_Debug.PNG
comment:5 by , 17 years ago
Thanks for the screenshot, but it would be more useful if I could get a full log trace. If you could open up a Windows command prompt and run ScummVM via: scummvm --debuglevel=3 --debugflags=animations,scripts,hotspots,strings lure > debug.txt
If you could upload the debug.txt file after the game freezes (and you exit the program), it may give me a better idea of why it's happening
comment:7 by , 17 years ago
I'm still not able to replicate the problem - are you using the Spanish version available for download? Nevertheless, the most likely next place a freeze could occur is in the word wrapping code, so I've committed in some extra debug statements. If I could get you to either compile or grab a fresh version, repeat the process and upload the result? Thanks.
comment:8 by , 17 years ago
Yep, I used the spanish version avariable for download. I've also tried it with another two computers (Same OS: XP SP2) and all three freezes at the same point.
Here it is the log with the last SVN. Looks like the game keeps looking for the word "est™pido" in order of "estúpido". File Added: debug_2.txt
comment:9 by , 17 years ago
Okay. I think I've finally tracked down what the problem could be - the game maintains an array of the size of each font character starting at ASCII 32 (space), and in the font size calculation an expression of result += fontSize[*s++ - ' '] could evaluate the character as a signed char and result in a negative index for ASCII characters > 128.
Could you try the fix and see whether it resolves your problem before I close this?
comment:12 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Savegame