[Scummvm-devel] Savefiles question
Johannes Schickel
lordhoto at gmail.com
Wed Jul 4 15:21:05 CEST 2012
On 07/04/2012 12:05 PM, Einar Johan Trøan Sømåen wrote:
> As for your question, a recording would require that SPECIFIC savegame
> to be loaded anyway, which means that
> the savegame should really be part of the recording (as if it is
> replaced, the recording would be invalid). What you would
> need in that case, is an interface that allows you to stream that
> savegame into the engine on load.
>
It is true, that with the current save system this is not easily
possible, since the engine API works on slot numbers.
> AFAIK, the Launcher only knows about slots when loading anyhow, which
> means that the filename that was stored is
> identified by the slot anyhow, with an engine-dependent filename-scheme.
>
Yes, the save and load dialog purely works on the slot numbers. The
engine does all the (virtual) filename creation based on the slot.
// Johannes
More information about the Scummvm-devel
mailing list