[Scummvm-devel] Sword25 save system
Johannes Schickel
lordhoto at scummvm.org
Wed Aug 24 16:33:57 CEST 2011
On 08/24/2011 04:11 PM, Willem Jan Palenstijn wrote:
> On Wed, Aug 24, 2011 at 12:48:29PM +0100, Eugene Sandulenko wrote:
>> So, the question is. Should we rewrite whole save system for Sword25,
>> or claim that the saves are not interchangeable between platform with
>> different pointer size (32bit vs 64bit) and probably with different
>> endianness too.
>>
>> Another possible alternative which could potentially help with the
>> rewrite is to drop Lua state altogether and restore its state with
>> another Lua script which we will inject into the engine.
> I would prefer this last option, although I have no idea how much work it would
> be, or if we even have the sword25 expertise necessary to actually implement it.
> It would free us from (savegame-related) dependencies on any specific LUA version
> and having to fiddle with LUA internals overly much, and guarantee portability.
>
> If the game's LUA scripts aren't written with this type of saving in mind, it
> might be tricky to do, though. Does anybody have any insight into this?
>
+1. I think getting rid of Pluto and the ability to use any LUA version
is great. Of course as wjp I have no idea how much work it is and
whether it is really possible "easily".
// Johannes
More information about the Scummvm-devel
mailing list