Opened 12 years ago
Last modified 3 years ago
#5745 new defect
SAGA: ITE (Floppy) - Audio loops and game stops responding
|Reported by:||SF/andrea2054||Owned by:||sev-|
|Cc:||Game:||Inherit the Earth|
Towards the end of the game, when you are in Shiala's room and try to open the door placing the strange triangular device in the iron hatch, the door opens and you hear its sound. But the audio sample never stops (in fact it loops), and the game stops responding and the cursor disappears. The animations are active and you can also open the load/save screen (but it is inoperative).
I tried with all the ScummVM version from 1.0.0 to the last 1.3.0 (Windows version, running on XP 32-bit) and all have this problem.
Strangely, the PocketPC port works (1.1.1 version), so I can continue playing.
Ticket imported from: #3313697. Ticket imported from: bugs/5745.
Change History (16)
by , 12 years ago
comment:1 by , 12 years ago
|Summary:||Audio loops and game stops responding → ITE: Audio loops and game stops responding|
comment:2 by , 12 years ago
It happens only when the option "Reading Speed" from the Game Options screen is set to "Slow". The others settings works fine (the sound of the opening door stops and you can continue)
comment:3 by , 12 years ago
It happens also on the PocketPC port when the "Reading Speed" is set to "Slow".
comment:4 by , 12 years ago
Er... what is the "Reading Speed" setting? I suppose it only exists in the PocketPC port?
comment:5 by , 12 years ago
This setting is an in-game option. Open the ITE Game Option screen (it's also the ingame Load/Save screen) using the disk icon under the game area or press F5.
comment:6 by , 12 years ago
|Summary:||ITE: Audio loops and game stops responding → ITE Floppy: Audio loops and game stops responding|
comment:7 by , 12 years ago
Ah, sorry, now I remembered - it's a setting that's only present in the Floppy version (I was trying this out with the CD version). Updating description
comment:8 by , 12 years ago
This is a SAGA script thread issue. Specifically, there is a racing situation between the thread that is responsible for showing the actor dialog lines, and the thread that is responsible for stopping the looped door sound.
With the slow reading speed setting, the dialog between Rif, Eeah and Okk finishes AFTER the door sound is supposed to stop. This leads to a situation where the dialog thread is still running, disallowing the door sound thread from running. The door sound thread calls sfPlayLoopedSound() to start the sound, and then calls it again to stop it. However, with the dialog thread up, the door sound thread is never executed, thus there is a livelock between the two threads and the game effectively gets stuck.
With the faster reading speed settings (or if you just click some of the dialog lines to bypass them), this never occurs, as the dialog thread stops before the door sound thread stops
comment:9 by , 12 years ago
Perhaps the SVN revisions r35670 and r38581 (git commits 7886aedebb0e09ebfec6 and 32f73fd34cfbae2c80ab) are related (though it's unlikely). I couldn't test this with version 0.12.0 (which doesn't have his change), as the savegame is too new and the triangular key is not given when opening the magic hat at that location... :/ So I'm not sure if this a regression or a long-standing bug
comment:10 by , 12 years ago
The bug is still present in version 1.3,1
comment:11 by , 12 years ago
This bug is nice to get fixed before the release. Raising priority for keeping the track.
comment:12 by , 12 years ago
|Priority:||normal → high|
comment:13 by , 10 years ago
comment:14 by , 10 years ago
|Priority:||high → normal|
comment:15 by , 3 years ago
|Summary:||ITE Floppy: Audio loops and game stops responding → SAGA: ITE (Floppy) - Audio loops and game stops responding|
Savegame to reproduce the problem. Use the triangular device on the door