[Scummvm-devel] save, theme and extra paths!

sunmax at libero.it sunmax at libero.it
Mon Feb 23 21:28:32 CET 2009


Hi there,

what's the correct way of handling misc paths?

I mean "save", "theme", "extra" that you can set
from Launcher->Options->Paths.

On PS2 they default to "/foo/bar", "None", "None"
which I see it's happening cause whem the button
is created their key in ConfMan in not set.

Now:

a) if I try to set them from the GUI (eg. push on
   "Save Path:", select the path from the filebrowser
    and then "Choose") I can see the path selected.

   But then if I push on "OK" (which takes me out of
   the "Paths" dialog), and then get back to Paths,
   I see it has been discarded. Ditto for "Theme"
   and "Extra"

b) if I try to set them in the code, eg.

   ConfMan.registerDefault("themepath", "host:themes/");
   
   They are disregarded as well.

Am I missing something?

Thanks!
 -max





More information about the Scummvm-devel mailing list