[Scummvm-tracker] [ScummVM :: Bugs] #12390: AGS: Quest for Glory II Remake: Saving from the game's save screen, overwrites 2nd slot
ScummVM :: Bugs
trac at scummvm.org
Tue Apr 13 10:31:39 UTC 2021
#12390: AGS: Quest for Glory II Remake: Saving from the game's save screen,
overwrites 2nd slot
-------------------------------------------+-------------------------------
Reporter: OmerMor | Owner: (none)
Type: defect | Status: new
Priority: blocker | Component: Engine: AGS
Version: | Resolution:
Keywords: ags qfg2agdi qfg2vga qfg2 save | Game: Quest for Glory
| 2
-------------------------------------------+-------------------------------
Comment (by criezy):
I might have an idea about what is wrong.
The AGS engines lists the savegames from most recent to older. In ScummVM
we don't actually have access to the files modification dates, so we don't
do this sorting. That means they are sorted with the ScummVM default
sorting, which is by increasing slot number (which usually means from
oldest to most recent). We could try to parse the save date string from
the save, but an easy change I can make is to at least sort by decreasing
slot numbers rather than increasing slot numbers.
It is possible that QFG II Remake uses this savegame list and assumes the
most recent is also the higher slot and thus always use the slot from the
first savegame in the list + 1. That would explain why it always overwrite
the second savegame. And sorting by decreasing slot number would solve
that. I will make some tests tonight to validate this hypothesis and try
to fix the issue.
--
Ticket URL: <https://bugs.scummvm.org/ticket/12390#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list