Opened 5 months ago

Last modified 4 weeks ago

#14873 new defect

AGS: Save games are always ordered by saveslot instead of last save date

Reported by: ZsKokos Owned by:
Priority: low Component: Engine: AGS
Version: Keywords: Heroine's Quest, save order
Cc: Game:

Description

ScummVM version: 2.8.0
Game language: English
Game version: 1.2.9 (Steam)

Reproduction steps: Start a new game, create three savegames, save over the second savegame, then open loadgame screen.

Expected result: save games are listed in order of latest save date
Observed result: save games are listed in order of first save date (that is, creation date)

Additional note: Quest for Glory games do not exhibit this issue.

Attachments (4)

scummvm-heroinesquest-load.png (57.6 KB ) - added by ZsKokos 5 months ago.
scummvm-qfg1vga-load-ingame.png (58.9 KB ) - added by ZsKokos 5 months ago.
steam-heroinesquest-load-ingame.png (53.1 KB ) - added by ZsKokos 5 months ago.
scummvm-heroinesquest-load-ingame.png (53.4 KB ) - added by ZsKokos 5 months ago.

Download all attachments as: .zip

Change History (14)

by ZsKokos, 5 months ago

by ZsKokos, 5 months ago

comment:1 by tag2015, 5 months ago

Summary: Heroine's Quest - Save games are ordered by creation date instead of last save dateAGS: Heroine's Quest - Save games are ordered by creation date instead of last save date

comment:2 by ZsKokos, 5 months ago

ScummVM behavior is not Sierra-like, which makes it difficult for the player to track which save games include the latest in-game progress. (Although Heroine's Quest is a non-Sierra game, it employs the same logic)

ScummVM works as intended with Sierra engines (notably Quest for Glory series).

Native Steam version:

Steam version played via ScummVM:

comment:3 by tag2015, 5 months ago

Thanks for the report.
This is not strictly related to Heroine's Quest, it's a shortcoming of the AGS implementation in ScummVM.
When using the in-game interface the saves are generally sorted following the saveslot number (in reverse), to accomodate the fact that a user can also save using the Global Main Menu (opened using CTRL-F5) which is always sorted by saveslot.
The saves are sorted in reverse so that newly generated saves appear at the top, of course, this does not happen if you overwrite an existing slot, like you noticed.

The behavior could be changed, but should be carefully planned as this could make matters worse in other games.

comment:4 by ZsKokos, 5 months ago

Thanks for the answer.
For now, could we implement a hack only for Heroine's Quest, please? Later the evolution of AGS implementation eventually will make it unnecessary.

comment:5 by tag2015, 4 months ago

While working on #12335 i also had a look at this but unfortunately it's not a simple change (since we can't check the file modification date), and doing so for just one game is not really viable.

Sorry! maybe in the future

comment:6 by tag2015, 4 months ago

Keywords: Heroine's Quest save order → Heroine's Quest, save order
Priority: normallow
Summary: AGS: Heroine's Quest - Save games are ordered by creation date instead of last save dateAGS: Save games are always ordered by saveslot instead of last save date

comment:7 by ZsKokos, 4 months ago

since we can't check the file modification date

I believe the original game neither checks the file metadata, but stores this information in "hqrecord.dat" found in the same directory as the save files.

comment:8 by ZsKokos, 4 months ago

since we can't check the file modification date

I need to correct my latest statement, you're indeed right. The original game does perform sorting based on file modification date. I've just tested this by changing the file metadata.

comment:9 by ZsKokos, 4 months ago

Replying to tag2015:

Sorry! maybe in the future

No worries, I still thank you for your amazing work on ScummVM.

Last edited 4 months ago by ZsKokos (previous) (diff)

in reply to:  7 comment:10 by Crystal-Shard, 4 weeks ago

Replying to ZsKokos:

I believe the original game neither checks the file metadata, but stores this information in "hqrecord.dat" found in the same directory as the save files.

No, this file has another purpose. The saved game ordering is part of the AGS engine (or its ScummVM implementation); the hqrecord.dat file is exclusive to Heroine's Quest and unrelated to this issue.

Note: See TracTickets for help on using tickets.