Save demos in a external directory

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
User avatar
Ñı©Ø
Posts: 1927
Joined: Sat Sep 06, 2014 5:22 pm
Location: Italy
Player profile: http://ddnet.org/players/-209--305--169--216-/
Mapper profile: http://ddnet.tw/mappers/-209--305--169--216-/

Save demos in a external directory

Post by Ñı©Ø »

Hi,
I'm using ubuntu-linux and I'd like to know if there is a way to record and save demos not in .teeworlds/demos but in another directory or just move the main game folder (.teeworlds) in another location... is it possible? :mrgreen:
User avatar
deen
TECHNICAL Team
Posts: 3579
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Save demos in a external directory

Post by deen »

Edit your storage.cfg, the first entry is where all files are stored.

Alternatively you could remove ~/.teeworlds and symlink it to another directory.
User avatar
Ñı©Ø
Posts: 1927
Joined: Sat Sep 06, 2014 5:22 pm
Location: Italy
Player profile: http://ddnet.org/players/-209--305--169--216-/
Mapper profile: http://ddnet.tw/mappers/-209--305--169--216-/

Re: Save demos in a external directory

Post by Ñı©Ø »

Thanks...
I tried it like this:

add_path media/(myname)/(mydevice)/App/.teeworlds
add_path $DATADIR
add_path $CURRENTDIR


but it doesn't work... am I doing something wrong?
Chairn
Posts: 399
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.org/players/Chairn/
Clan: QuintessenZ

Re: Save demos in a external directory

Post by Chairn »

I think you forgot the first / or C:/ on windows.
User avatar
Ñı©Ø
Posts: 1927
Joined: Sat Sep 06, 2014 5:22 pm
Location: Italy
Player profile: http://ddnet.org/players/-209--305--169--216-/
Mapper profile: http://ddnet.tw/mappers/-209--305--169--216-/

Re: Save demos in a external directory

Post by Ñı©Ø »

Thanks! I did ./ and then I created a folder inside DDNet(versionname)

So now my .teeworlds folder is in the DDNet folder (the one I download from the website)

Thanks for help, just what I needed!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests