keep ship settings in user directory (SVN)

For collaboration on developing the mod capabilities of VS; request new features, report bugs, or suggest improvements

Moderator: Mod Contributor

Post Reply
thawn
Explorer
Explorer
Posts: 9
Joined: Sat Feb 23, 2008 5:10 pm

keep ship settings in user directory (SVN)

Post 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: .
loki1950
The Shepherd
Posts: 5799
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post 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 :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
thawn
Explorer
Explorer
Posts: 9
Joined: Sat Feb 23, 2008 5:10 pm

Post 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 )
Post Reply