Page 1 of 1

spring data dir paths

Posted: 24 May 2009, 07:00
by probzorun
Hello. I installed Spring using spring-installer_790_5-19-2009_i386.run . Now spring does not see my data (config,maps,mods,etc.) which are located in $HOME/.spring
How can i setup things so that spring/springlobby will keep "user files" in user dir instead of trying to use the dir in which it was installed?
I tried various configuration options and it just does not work. I tried searching forums but did not find any working solution.
TIA

Re: spring data dir paths

Posted: 24 May 2009, 07:10
by lurker
Adjusted your .springrc?

Re: spring data dir paths

Posted: 24 May 2009, 07:32
by probzorun
lurker wrote:Adjusted your .springrc?
I adjusted it but it didn't seem to work for springlobby. Which entries should i use?

Re: spring data dir paths

Posted: 24 May 2009, 13:36
by Nemoder
A bit dirty but it should work how you want:

Code: Select all

rmdir ~/Spring/maps
rmdir ~/Spring/mods
ln -s ~/.spring/maps ~/Spring/maps
ln -s ~/.spring/mods ~/Spring/mods

Re: spring data dir paths

Posted: 24 May 2009, 13:48
by onezeno
Maybe try this....

Code: Select all

sudo pico /etc/spring/datadir
make sure there is a line that says:

Code: Select all

$HOME/.spring

Re: spring data dir paths

Posted: 24 May 2009, 14:08
by koshi
also note that (afaik) there's no variable substitution nor ~ expansion when reading from .springrc

Re: spring data dir paths

Posted: 24 May 2009, 14:34
by Tobi
There is. Unless someone broke/removed it of course :-)

(Only variable substitution though; ~ isn't interpreted specially at all.)

Re: spring data dir paths

Posted: 24 May 2009, 14:48
by koshi
come to think of it, wouldn't have made much sense to have var substitution in the global file and not the user one...
i'll use today being sunday as an excuse for not thinking before speaking :wink: