Page 1 of 1

keep ship settings in user directory (SVN)

Posted: Tue Feb 26, 2008 9:08 pm
by thawn
I wasn't sure if this is a bug or a feature request, so I posted it here. please move the thread if appropriate.
I just updated my SVN version the hard way (deleting and reinstalling) because I had some persistent crashing errors.
after reinstallation I realized that my ship (the llama from the beginning) was reset to default in all my save games. I figured that this happens when I delete the file vegastrike.xpm in the data.4.x directory. so apparently the ship's upgrades get stored there instead of the save games.

I think that all user specific settings should be stored in the user directory (~/.vegastrike in linux) as is customary for all linux, OS X and most windows programs (see also this thread).
This is especially important for the SVN versions since it makes updating and testing easier, since that way wiping out the ~/.vegastrike directory will reset all settings to default and make reinstalling the SVN version the hard way unnecessary :wink: .

Posted: Tue Feb 26, 2008 11:19 pm
by loki1950
That is because we are running in userland right after you modify vegastrike.config with the vssetup open .vegastrike rename vegastrike.config.temp (drop the .temp) it now becomes the active version of vegastrike.config vssetup works properly when the data tree is installed in systemland.Hope this gets around some of your problem that xpm file is just the icon :wink: your saves are in the save folder while your ships are under serialized_xml/yoursavename

Enjoy the Choice :)

Posted: Wed Feb 27, 2008 4:28 pm
by thawn
loki1950 wrote:That is because we are running in userland right after you modify vegastrike.config with the vssetup open .vegastrike rename vegastrike.config.temp (drop the .temp) it now becomes the active version of vegastrike.config
I did that but I had the impression that the game gets unstable when I do that. but this could also just be a coincidence...
vssetup works properly when the data tree is installed in systemland.
under what path should I put the vegastrike and the data.4.x folders? (maybe /usr/share/vegastrike/data4.x)
Hope this gets around some of your problem
i'll try renaming vegastrike.config.temp :)
that xpm file is just the icon :wink: your saves are in the save folder while your ships are under serialized_xml/yoursavename
Oops :oops:
Enjoy the Choice :)

I am! (a lot :D )