Opened 12 years ago

Closed 12 years ago

#5899 closed defect (fixed)

LOL: Unexpected missing save file

Reported by: raziel- Owned by: lordhoto
Priority: normal Component: Engine: Kyra
Version: Keywords:
Cc: Game: Lands of Lore


ScummVM 1.5.0git (Nov 6 2011 06:42:57) Features compiled in: Vorbis FLAC MP3 RGB zLib Theora AAC + 1.4.0 release from 11.11.11

I got a rather strange error in LOL (reported also by one other user) On trying to save/load or delete with a blank slot 0 (or occupied slot 0 and blank slot 1) i got GUI_LoL::updateSavegameList(): Unexpected missing save file for slot: 1.! (or slot: 0,!)

I can still save and load through CTRL-F5 until both slots have been filled once, then this behaviour goes away and never comes back :-/ Once the ingame disk icon works i can do anything without triggering this error (delete, load, save)

I haven't found anything that is written to the save dir, like a predefined list or something the game reads in before. Neither did i saw anything in the games .ini settings that is created on start or load

Strange behaviour indeed :-(

Lands of Lore (CD/DOS/English)

AmigaOS4 - PPC - SDL - BE gcc version 4.2.4 (adtools build 20090118)

Ticket imported from: #3437647. Ticket imported from: bugs/5899.

Change History (4)

comment:1 by fuzzie, 12 years ago

At a glance: 4eb077dc seems to be pretty confused about the save slots; isn't it indexing _saveGameList by a _saveSlots entry when it shouldn't (since _saveGameList is intended to be dense) and not looking up in _saveSlots when it should, e.g. when calling getSavegameFilename?

comment:2 by wjp, 12 years ago

When anyone fixes this, could you also add comments explaining these savegame-related arrays and their indices and relations?

comment:3 by lordhoto, 12 years ago

Owner: set to lordhoto
Resolution: fixed
Status: newclosed

comment:4 by lordhoto, 12 years ago

Should be fixed with f410480 in master.

Note: See TracTickets for help on using tickets.