Page 1 of 2
Folder names cannot contain the character '·'
Posted: Fri Feb 05, 2010 7:53 am
by Serisium
If a folder contains that character, then HLDJ will error out when trying to navigate to the folder containing it.
Re: Folder names cannot contain the character '·'
Posted: Fri Feb 05, 2010 12:41 pm
by Renegade
Thanks, it's actually the game that errors out as HLDJ should work with any characters your OS supports. If you post the exact ASCII code of this character I can try to implement a work around.
Re: Folder names cannot contain the character '·'
Posted: Fri Feb 05, 2010 3:42 pm
by Serisium
I think it's 183.
Re: Folder names cannot contain the character '·'
Posted: Fri Feb 05, 2010 4:38 pm
by Renegade
Try this build and see if it works for you:
- hldj.zip
- (155.67 KiB) Downloaded 2103 times
(unzip and replace your hldj.exe)
Re: Folder names cannot contain the character '·'
Posted: Fri Feb 05, 2010 5:30 pm
by Serisium
Still doesn't work. Here's a part of the error message:
Current: (none) Next: (none)
Directory: C:\Users\Garrett\Documents\HLDJ\Audio\TEST
1. .\ 2. ..\
3.
Unknown command "\"
Unknown command "..."
Host_WriteConfiguration: Wrote cfg/hldj_cmd_r.cfg
done.
It cycles through that error, with a different letter in the hldj_cmd_r.cfg. 3 is a folder with the name "·".
Re: Folder names cannot contain the character '·'
Posted: Fri Feb 05, 2010 5:35 pm
by Renegade
ah, this is probably for a GoldSrc game? brb.
Re: Folder names cannot contain the character '·'
Posted: Fri Feb 05, 2010 5:37 pm
by Serisium
I'm using it on TF2.
Re: Folder names cannot contain the character '·'
Posted: Fri Feb 05, 2010 5:40 pm
by Renegade
Hmm, can you test it with a single file by placing just that character in the file name. You should see it replaced with the '.' instead. I.e. in a folder that normally displays fine, place a file "test.wav" and copy-paste the listaudio output. Then change the filename to "te·st.wav" and paste that output.
Re: Folder names cannot contain the character '·'
Posted: Fri Feb 05, 2010 11:47 pm
by Serisium
Without the character:
Code: Select all
Loading Directory : TEST ...
Host_WriteConfiguration: Wrote cfg/hldj_cmd_e.cfg
done.
Current: (none) Next: test
Directory: C:\Users\Garrett\Documents\HLDJ\Audio\TEST
1. .\ 2. ..\
3. New folder\ 4. test
With the character:
Code: Select all
Loading Directory : TEST ...
Host_WriteConfiguration: Wrote cfg/hldj_cmd_g.cfg
done.
Current: (none) Next: te
Unknown command "st"
Directory: C:\Users\Garrett\Documents\HLDJ\Audio\TEST
1. .\ 2. ..\
3. New folder\ 4. te
Unknown command "st"
Re: Folder names cannot contain the character '·'
Posted: Sat Feb 06, 2010 2:57 am
by Renegade
Okay try this:
- hldj.zip
- (156.11 KiB) Downloaded 1969 times
it should at least filter out the char from the listaudio display
Re: Folder names cannot contain the character '·'
Posted: Sat Feb 06, 2010 10:29 am
by Serisium
Here is the new output:
Code: Select all
] 145
Loading Directory : TEST ...
Host_WriteConfiguration: Wrote cfg/hldj_cmd_d.cfg
done.
Current: (none) Next: te
Unknown command "st"
Directory: C:\Users\Garrett\Documents\HLDJ\Audio\TEST
1. .\ 2. ..\
3. New folder\ 4. te
Unknown command "st"
Unknown command "st"
Just so you know, this problem can be easily fixed by removing the character from the file/folder name. It annoyed me for a while, but then I found the problem and it no longer bothers me.
Re: Folder names cannot contain the character '·'
Posted: Sun Feb 07, 2010 2:03 am
by Renegade
blast I forgot to change the correct line again. Yeah, it's not a biggie, I'll just include it with next update so that every char out of ASCII range is replaced with a '_'
Re: Folder names cannot contain the character '·'
Posted: Sun Feb 14, 2010 10:29 pm
by jfmherokiller
here is a ascii table for you
http://www.asciitable.com/
Re: Folder names cannot contain the character '·'
Posted: Sun Feb 14, 2010 10:39 pm
by jfmherokiller
Serisium wrote:I think it's 183.
this is the char for that code ╖
Re: Folder names cannot contain the character '·'
Posted: Sun Feb 14, 2010 11:07 pm
by jfmherokiller