Opened 10 months ago

Closed 12 days ago

Last modified 12 days ago

#15946 closed defect (fixed)

NANCY: nancy7: WALDO tiles slower with different sound

Reported by: tunnelsociety Owned by: flipkick
Priority: low Component: Engine: Nancy
Version: Keywords:
Cc: Game: Nancy Drew: Ghost Dogs of Moon Lake

Description

At the WALDO puzzle (e.g. scene 4414) the tiles spin slower and make a different sound than in the original. Saves and recording attached.

I do *not* notice a difference for the puzzle of the same type near the end of the game. Maybe it has to do with the animation, just guessing.

Attachments (8)

NANDOG6.SAV (90.1 KB ) - added by tunnelsociety 10 months ago.
nancy7.006 (43.2 KB ) - added by tunnelsociety 10 months ago.
dog-baldo-slow-differentsound.mp4 (694.3 KB ) - added by tunnelsociety 10 months ago.
nancy7.234 (43.2 KB ) - added by tunnelsociety 2 weeks ago.
nancy5-S4402-comparison.mp4 (1.7 MB ) - added by flipkick 12 days ago.
nancy5-S3244-comparison.mp4 (1.4 MB ) - added by flipkick 12 days ago.
nancy6-S3859-comparison.mp4 (1.9 MB ) - added by flipkick 12 days ago.
nancy7-S4414-comparison.mp4 (1.1 MB ) - added by flipkick 12 days ago.

Change History (17)

by tunnelsociety, 10 months ago

Attachment: NANDOG6.SAV added

by tunnelsociety, 10 months ago

Attachment: nancy7.006 added

by tunnelsociety, 10 months ago

comment:1 by flipkick, 2 weeks ago

I've created a PR which fixes this bug: https://github.com/scummvm/scummvm/pull/7264

comment:2 by flipkick, 2 weeks ago

Additionally to this bug, loading the attached nancy7.006 the puzzle starts with no visible letters for me. Can someone please confirm the behaviour? Maybe it's just a problem with my version of the game.

Running the original game and loading the attached NANDOG6.sav works just fine.

comment:3 by flipkick, 2 weeks ago

Owner: set to flipkick
Resolution: fixed
Status: newclosed

fixed by f6b26a538d1d2544ab76f3632e997f9c0b253443 and 70961eec15e32bae620e303cb8464de6a9edca72

Closing this as fixed, but please feel free to comment if you have thoughts on my question.

comment:4 by tunnelsociety, 2 weeks ago

Resolution: fixed
Status: closednew

With this change, the tiles spin extremely fast, much faster than they should. The audio is still different as it was in the video recording previously attached.

comment:5 by tunnelsociety, 2 weeks ago

I reproduced the black-tiles issue. I will bisect and file a new ticket, unless they are also black with the commit of the opening date of this ticket, in which case I consider it a corrupt file or something... /shrug

by tunnelsociety, 2 weeks ago

Attachment: nancy7.234 added

comment:6 by tunnelsociety, 2 weeks ago

Here is a proper save file where the tiles work. Maybe I saved that first one specifically because of the black-tiles issue, intending to report it someday, then accidentally picked it for this ticket!

comment:7 by flipkick, 2 weeks ago

I overlooked that the current ScummVM code already divides the _solveDelayBetweenTurns by _currentOrder.size(). The decompiled original code doesn't do this. It just divides by the _numFramesPerTurn. This is likely the reason for the animation being too fast now. I also noticed that ScummVM adds an initial delay that I can't find in the original code.

After removing the divison I'll try to compare the animation and audio with the original game before opening another PR.

comment:8 by flipkick, 12 days ago

Resolution: fixed
Status: newclosed

I created a fix which removes the division by _currentOrder.size() and then I compared some turning puzzles in Nancy 5, 6 and 7. They now match the original game. The animation delay between animation frames is often subtle, though. For example, the delay for scene 4402 in Nancy 5 is now 250ms instead of 200ms before. For scene 3244 in Nancy 5 it's more obvious: now 500ms instead of 111ms before. Scene 4414 in nancy 7 had a 200ms delay, now it's 250ms. Scene 3859 in Nancy 6 has only one frame per turn, so the change in the delay calculation isn't visible at all.

PR: https://github.com/scummvm/scummvm/pull/7277

Last edited 12 days ago by flipkick (previous) (diff)

by flipkick, 12 days ago

Attachment: nancy5-S4402-comparison.mp4 added

by flipkick, 12 days ago

Attachment: nancy5-S3244-comparison.mp4 added

by flipkick, 12 days ago

Attachment: nancy6-S3859-comparison.mp4 added

by flipkick, 12 days ago

Attachment: nancy7-S4414-comparison.mp4 added

comment:9 by flipkick, 12 days ago

The sound issue is a separate problem with the vorbis decoder, so I created a new ticket for it: https://bugs.scummvm.org/ticket/16584

Note: See TracTickets for help on using tickets.