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

keep ship settings in user directory (SVN)

Postby thawn » Tue Feb 26, 2008 2:08 pm

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: .
thawn
Explorer
Explorer
 
Posts: 9
Topics: 2
Joined: Sat Feb 23, 2008 10:10 am

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Postby loki1950 » Tue Feb 26, 2008 4:19 pm

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 18/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 DELL E6400 4GB ram/100 GB HD Mint 17.3 6
User avatar
loki1950
The Shepherd
 
Posts: 5705
Topics: 51
Joined: Fri May 13, 2005 1:37 pm
Location: Ottawa

Postby thawn » Wed Feb 27, 2008 9:28 am

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 )
thawn
Explorer
Explorer
 
Posts: 9
Topics: 2
Joined: Sat Feb 23, 2008 10:10 am


Return to Modding Engine Room

Who is online

Users browsing this forum: No registered users and 4 guests

cron