#14259 closed defect (fixed)

CRYOMNI3D: Versailles 1685 - Can't pick up important item

Reported by: Tailszefox Owned by: lephilousophe
Priority: high Component: Engine: Cryomni3D
Version: Keywords:
Cc: Game: Versailles 1685

Description (last modified by Tailszefox)

I've been playing Versailles 1685 (French version, Windows) and have encountered a bug making the game impossible to complete.

At one point in Chapter 3 you need to pick up a sheet music, which you then give to a character in the same room to advance the plot.

I've tested multiple versions of ScummVM and I think I was able to identify the particular commit which introduced the bug.

From commit 8254524 onward (specifically changes made to engines/cryomni3d/versailles/engine.cpp), it becomes impossible to pick up that sheet, meaning you cannot progress further.

This is how things go before that commit:
You can pick up the sheet with no issue

This is what happens after the commit:
You can't pick up the sheet anymore. In fact clicking anywhere on the screen does nothing. You have to press Escape to go back to the previous screen, leaving the sheet there.

To make sure this wasn't an issue with my version of the game I installed and tested it using Dosbox; the issue was not present and I was able to pick up the sheet.

I've also attached a save file just before the bug. Once loaded, click on the notebook in front of you with the music sheets. Click the pages a few times to turn them, until the game zooms in on one of them. From there you will be able/not be able to pick it up depending on the version of ScummVM running.

Hopefully this is enough info to be able to solve the bug. If you need any further testing done please let me know.

Attachments (1)

versailles-win-fr.0014 (158 bytes ) - added by Tailszefox 14 months ago.

Download all attachments as: .zip

Change History (8)

by Tailszefox, 14 months ago

Attachment: versailles-win-fr.0014 added

comment:1 by Tailszefox, 14 months ago

Description: modified (diff)

comment:2 by lephilousophe, 14 months ago

Owner: set to lephilousophe
Resolution: assigned
Status: newpending

Hello, thanks for the bug report.
Indeed there is a problem here. The engine picks up the file for level 5 instead of using the level 3 one where you are.
I have to think about a proper fix.

comment:3 by lephilousophe, 14 months ago

Priority: normalhigh

comment:4 by lephilousophe, 14 months ago

I think I have a fix but before pushing it, I will need to do a full playthrough of the game.
You can find the code here: https://github.com/lephilousophe/scummvm/tree/fix-cryomni3d
Please let me know if you find any bug with it.

comment:5 by Tailszefox, 14 months ago

Thank you for the quick fix! I can confirm I'm now able to pick up the sheet using the branch you've provided.
I'll try and do a full playthrough of the game as well when I can. I'll let you know if I find any issue.

comment:6 by lotharsm, 13 months ago

Summary: Versailles 1685 - Can't pick up important itemCRYOMNI3D: Versailles 1685 - Can't pick up important item

comment:7 by lephilousophe, 13 months ago

Resolution: assignedfixed
Status: pendingclosed

This is now fixed by 52999549333f3df90b6c867ead4df42b0c375208 and 0584b5d56fa595d5cc4905dc5500f5bd62f29713 in master and 2.7.x branch.


Note: See TracTickets for help on using tickets.