Guild icon
DDraceNetwork
DDraceNetwork / questions
For newcomers to ask questions and get help. Also check https://wiki.ddnet.org/wiki/FAQ
Between 2023-04-03 00:00:00Z and 2023-04-04 00:00:00Z
Avatar
Avatar
Redha
how to get pic for skins of ddnet?
If you mean rendered tee skin, then you can you TW data skin renderer, if you mean get png file of skin, then go to your_client_folder/data/skins
Avatar
how can i edit gameskin without photoshop?
Avatar
gimp
kek 1
Avatar
thanks (::
Avatar
hello guys i have a problem. i cant save file on appdata/roaming/teeworlds/...
10:49
Has the location of the file changed?
Avatar
Ddnet
10:50
Instead of teeworlds
Avatar
ah i find thank you 🙂
Avatar
any idea why all my folders and assets appear twice? (every category)
15:05
Avatar
Did u change storage. Cfg?
Avatar
i dont believe so, a while ago i symlinked %appdata%\teeworlds to D:\Teeworlds to put it on a new drive, but this bug only started a few days ago
Avatar
Nightly?
Avatar
im on stable rn
Avatar
Mh k
15:13
I guess the only way to reproduce it for a windows dev is doing the exact same
15:13
There was a new release yesterday
15:13
@Robyt3 do u know anything related
Avatar
happens on nightly as well (now that you reminded me to switch back to it ^^)
Avatar
What does your storage.cfg look like?
Avatar
in which directory?
Avatar
Avatar
bencie
in which directory?
Next to the client exe
15:17
Are any of the asset files really duplicate or is this somehow showing the same storage location multiple times?
Avatar
add_path $USERDIR add_path $DATADIR add_path $CURRENTDIR
Avatar
Avatar
Robyt3
Are any of the asset files really duplicate or is this somehow showing the same storage location multiple times?
selecting one also selects the other, same for the demos, its just 1 png in my assets directory that displays twice ingame
Avatar
Avatar
bencie
add_path $USERDIR add_path $DATADIR add_path $CURRENTDIR
on startup, console output: 2023-04-03 17:13:10 I storage: added path '$USERDIR' ('C:\Users\PCNAME\AppData\Roaming/Teeworlds') 2023-04-03 17:13:10 I storage: added path '$DATADIR' ('C:\SteamLibrary\steamapps\common\DDraceNetwork\ddnet/data') 2023-04-03 17:13:10 I storage: added path '$CURRENTDIR' ('D:\Teeworlds') (edited)
Avatar
That's weird. And this happens every time?
15:20
Avatar
Do you still have any symlinks for teeworlds/ddnet?
15:22
%appdata%\Teeworlds -> D:\Teeworlds (edited)
Avatar
I don't think we changed anything about this recently though
15:22
Hm, so your config data is in D:\Teeworlds?
Avatar
CURRENTDIR should be the steam one, no? Where the client exe resides. (edited)
Avatar
Then this location is in there twice
Avatar
Avatar
Robyt3
Hm, so your config data is in D:\Teeworlds?
yeah
Avatar
Avatar
murpi
CURRENTDIR should be the steam one, no? Where the client exe resides. (edited)
Yeah, it should be the folder where the DDNet.exe is
15:23
Did you somehow change the launch options in Steam?
Avatar
its empty
15:24
Avatar
Where is DDNet.exe? Is it in the Steam folder?
Avatar
yes, at C:\SteamLibrary\steamapps\common\DDraceNetwork\ddnet\
15:25
i only symlinked config directory so that all the demos dont fill up my C drive
Avatar
Doesn't make sense that $CURRENTDIR (the current working directory) is resolved to D:\Teeworlds
15:26
This should be resolved to C:\SteamLibrary\steamapps\common\DDraceNetwork\ddnet\
15:27
If you want to solve the issue, then just remove or comment out the line add_path $CURRENTDIR in your storage.cfg
Avatar
Does he maybe have another storage.cfg in the $USERDIR which overwrites the one in $CURRENTDIR?
Avatar
Not sure if we can detect in the storage implementation that two paths are identical when they have different names
Avatar
Avatar
murpi
Does he maybe have another storage.cfg in the $USERDIR which overwrites the one in $CURRENTDIR?
my $USERDIR should be C:\Users\PCNAME\AppData\Roaming/Teeworlds which i symlinked to D:\Teeworlds (edited)
15:28
and that directory doesnt have storage.cfg
Avatar
Then update the storage.cfg that you do have
15:29
I don't think you can put storage.cfg in your user dir, it's only loaded from the current folder and from any folder specified on the command line
15:34
You could also change your storage.cfg to add_path "D:\Teeworlds" add_path $DATADIR and remove the symlink.
Avatar
Avatar
Robyt3
If you want to solve the issue, then just remove or comment out the line add_path $CURRENTDIR in your storage.cfg
this fixed it
15:36
thank you! :D
15:39
makes alot of sense now, i did have my config directory added to path twice
Avatar
mh weird bug tho
15:50
i wonder why the client assumes it wrong
Avatar
this is kinda offtopic question, but do you know how i can remove the symlink while also keeping my config directory on the D drive as it is now? ^^
Avatar
Avatar
bencie
this is kinda offtopic question, but do you know how i can remove the symlink while also keeping my config directory on the D drive as it is now? ^^
See my reply above
Avatar
without modifying storage.cfg?
Avatar
Avatar
Robyt3
You could also change your storage.cfg to add_path "D:\Teeworlds" add_path $DATADIR and remove the symlink.
This
Avatar
yea but i assume if i remove the symlink then itll put my config directory back to %appdata%\Teeworlds, on the C drive that i might not have enough space on, so i guess i can just make a backup and place it on my D drive? (edited)
Avatar
what robyte suggests is using d
15:56
anyway, i'd say its a bug in the client anyway
Avatar
You can change storage.cfg so it uses D:\Teeworlds first and then the Steam data dir. That completely removes the AppData folder. (edited)
15:57
A bug in the client is that files from multiple storages are shown duplicated, but that's hard to solve correctly everywhere
Avatar
Avatar
bencie
on startup, console output: 2023-04-03 17:13:10 I storage: added path '$USERDIR' ('C:\Users\PCNAME\AppData\Roaming/Teeworlds') 2023-04-03 17:13:10 I storage: added path '$DATADIR' ('C:\SteamLibrary\steamapps\common\DDraceNetwork\ddnet/data') 2023-04-03 17:13:10 I storage: added path '$CURRENTDIR' ('D:\Teeworlds') (edited)
but this looks wrong
Avatar
Yeah, but I don't know if that's a bug in the client
15:58
We just directly call the Windows API, so it returns the wrong path
Avatar
mh weird af, but maybe we simply handle symbolic links incorrectly somehow? (edited)
15:59
from what bencie said, it sounds correct
Avatar
@bencie Can you add back add_path $CURRENTDIR and then start DDNet by double-clicking the DDNet.exe and not from Steam for testing?
Avatar
Avatar
Robyt3
@bencie Can you add back add_path $CURRENTDIR and then start DDNet by double-clicking the DDNet.exe and not from Steam for testing?
thats how i did it previously as well
15:59
but sure
16:00
i can also try steam's play button if that changes anything
Avatar
@bencie Have you added DDNet to the PATH variable for some reason? If you press Win+R, type ddnet and press enter, does it launch DDNet? Or does it shown an error? (edited)
Avatar
Weird. No idea how the current working directory is changed when you start the game.
16:02
Do you use a desktop shortcut?
16:03
If you use a desktop shortcut that Steam created this should not be possible
Avatar
actually, i just noticed something that does change whether it shows as double or correctly, running ddnet.exe works with $CURRENTDIR added, but i use a custom batch script to start ddnet with start /wait C:\SteamLibrary\steamapps\common\DDraceNetwork\ddnet\DDNet.exe, it didnt know that changed something (edited)
Avatar
I guess the batch script is located in D:\Teeworlds\? (edited)
Avatar
yeah (edited)
Avatar
Well, so that changes the local directory to the location of the batch script
Avatar
my bad then
Avatar
But you can probably pass an argument to the start command to change the working directory to the steam game folder
Avatar
sorry for the confusion, had no idea that affected it
16:06
and thanks for the help
Avatar
i also have this, i believe it is because the folders exist in multiple location found in storage.cfg
Avatar
Who can help with the registration?
Avatar
Avatar
Xsayf
Who can help with the registration?
what registration?
Avatar
Avatar
Jupstar ✪
what registration?
on the site
Avatar
Avatar
Xsayf
on the site
forum?
Avatar
Avatar
Jupstar ✪
forum?
yes
Avatar
whats the problem
Avatar
last question in the registration
Avatar
DDraceNetwork?
Avatar
DummyDragRaceNetwork
16:54
one of these
16:54
it's work
Avatar
nice, btw the forum is not very active just that you know
Avatar
Avatar
Jupstar ✪
nice, btw the forum is not very active just that you know
okay
Avatar
what do i need to do to rebind the list of people to spectate to rshift?
Avatar
bind rshift +spectate in f1 (edited)
18:28
or at the "spectator mode" bind in the Controls tab in settings
Avatar
TerrifficSprite 2023-04-03 18:36:52Z
what is the default password for local server?
Avatar
If you dont enter one, a password will be generated and shown in the terminal where you started the server
Avatar
TerrifficSprite 2023-04-03 18:44:43Z
But if I starting server in DDRace main menu?
Avatar
Avatar
TerrifficSprite
But if I starting server in DDRace main menu?
generated by default afair
Avatar
Avatar
TerrifficSprite
But if I starting server in DDRace main menu?
If you started the server from the main menu, a new window should appear where the server logs are being shown. The password is in there. That should be a black window with white letters
Avatar
how can i get the latest version of ddnet? Im using the non steam client and the last 2 updates were just failing for me and i wanna know if theres any way i can make it work
Avatar
just download it from website
Exported 119 message(s)