[Scummvm-devel] SCI: Some more TODOs
Willem Jan Palenstijn
wjp at usecode.org
Sat Feb 21 10:42:34 CET 2009
On Fri, Feb 20, 2009 at 09:50:16PM -0500, Max Horn wrote:
>
> Am 20.02.2009 um 18:52 schrieb Willem Jan Palenstijn:
>
> > On Fri, Feb 20, 2009 at 11:51:02AM -0500, Max Horn wrote:
> >> * I just made a big commit where I started to overhaul the file
> >> handling in SCI. It's incomplete, and may cause regressions, but it
> >> is
> >> a start. The biggest chunk left to take care of is engine/kfile.cpp,
> >> and in there mostly handling of savegames (and possibly of writing to
> >> other files -- if SCI ever does that?).
> >
> > Recapping a discussion on IRC:
> >
> > This is used for things like character exports and imports in the QfG
> > series,
>
> And.. how? I.e. why does a savegame have to be a directory to allow
> exporting a character? Some details would be nice :-)
I meant reading/writing from/to other files than savegames is used for that.
> > FreeSCI stored the files that were written to in ~/.freesci , possibly
> > copying files from the resources first. I suggest we do the same
> > thing
> > in ~/.scummvm , and possibly prefix the names with the game target
> > name.
>
> That's not really possible in general. What is ~/.scummvm on a
> Nintendo DS, or on a PSP? The only portable place to store files is in
> the savepath.
I was a bit hasty in writing that down. I of course meant the savpath
when I said ~/.scummvm.
> > One thing to worry about in the future: this makes it relatively
> > hard to import exported characters in QfG. We may be able to fake a
> > directory structure with different games in different (fake)
> > directories.
> Again, I'd appreciate if somebody could elaborate on this. I don't
> have QfG. How does this character import/export stuff work, and why
> does it require directories?
It doesn't require directories.
In Quest for Glory, your character has statistics (name, class
[fighter/wizard/thief/paladin], strength, endurance, etc...) that you
improve through training. After completing the game, you are giving the
option of exporting your character. This creates a single file.
In a later game in the series, you can then import a character from this
file, to start with better stats than when you start that game from
scratch.
-Willem Jan
More information about the Scummvm-devel
mailing list