New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCI: Update Sound:vol in processUpdateCues #1536
Conversation
Sound:vol is updated when updating cues starting in SCI_VERSION_1_MIDDLE. Fixes bug #10244. SQ4 localized floppy versions depend on this when getting in the orange ship, they fade music and wait for the volume to reach zero. Confirmed against asm that this is not in SQ4 floppy (early) but is in LSL1VGA (middle) and SQ4 localized floppies and SQ4CD (late).
Please don't commit yet, I have to verify various interpreters to make sure that everything checks out. |
Any news on this? |
Still on it. |
Hang in there! |
Ping: Any news on this? |
Not yet. Sorry. |
If it helps, the update cues function can be quickly found in most DOS SCI1 interpreters by the unique instruction:
and in mac interpreters:
The function ends with three consecutive calls to the set selector function prior to the change, afterwards there's a fourth for volume. |
I'm going to merge this next week unless there's a reason not to.
That last one is so depressing it's a wonder I don't click merge right now. |
My point is making sure that it's in every single SCI1 MIDDLE interpreter (Leusire Suit Larry 5 Demo, Conquests of the Longbow Demo, Leusire Suit Larry VGA Remake (2.0+2.1+EGA), , Astro Chicken 2, King's Quest 5 Japanese English FM-Towns) and definitely not in any SCI1 EARLY interpreter (King's Quest 5 Floppy versions, Leisure Suit Larry Demo, Mixed-Up Fairy Tales EGA+VGA, XMAS Card 1990 EGA+VGA, Space Quest 4 EGA+1.052+1.1 Floppy, Mixed-Up Mother Goose CD and Mixed-Up Mother Goose FM-Towns). If you have checked all of these, then it's okay to commit. If for example the change was done for the last few games that we consider SCI1 EARLY, then we would have to check on top if the game is accessing that selector at any point and making sure that not setting it will cause no issues. Because if it would, then we would have to add that specific game id too for your fix.
I don't understand. What's do depressing about a fix written in 2017? |
@sluicebox |
I keep forgetting about this. Here are versions I've verified from ye olde notes: Other than the Longbow demo, it cuts cleanly along the SCI_VERSION lines, and Longbow demo doesn't care either way since nothing in it depends on the vol property, which I tested.
|
ANDROID: Implement several features from ScummVM
Sound:vol is updated when updating cues starting in SCI_VERSION_1_MIDDLE.
Fixes bug #10244. SQ4 localized floppy versions depend on this when getting
in the orange ship, they fade music and wait for the volume to reach zero.
Confirmed against asm that this is not in SQ4 floppy (early) but is in
LSL1VGA (middle) and SQ4 localized floppies and SQ4CD (late).