Hello,
The Problem i have seen is, that i have the file in the res file named as:
Sack.wav
and when i than force an client command like: play Sack.wav
the client says that this file isnt found... becouse the file on the disc
now is lower case...
The same is on the directorys :(
I built an server plugin what loads the files automatical and force it
playing about
there name but this dont goes with the lower case funktion.
I nead lower and upper case becouse i splitt the file name for an list on
the server on
there upper case like: YouAreAnBitch.wav its than shown as: You Are An Bitch
You know what i mean ?
----- Original Message -----
From: "Steven Guy" <[EMAIL PROTECTED]>
To: <hlcoders@list.valvesoftware.com>
Sent: Monday, March 21, 2005 11:14 PM
Subject: Re: [hlcoders] Resource File Bug?
This is rather odd. To my knowledge case really shouldn't matter that much
ie: MyMod = mymod and Sack.wav = sack.wav
I don't see a problem with the file being all lowercase. It's still is the
same file and reguardless of it being Sack.wav or sack.wav Win32 systems
will load them all the same.
I'm sure that when the file is created on the client the engine forces the
file name to all lowercase. Why I don't know but it shouldn't affect
anything.
From: "Ratman2000" <[EMAIL PROTECTED]>
Reply-To: hlcoders@list.valvesoftware.com
To: <hlcoders@list.valvesoftware.com>
Subject: Re: [hlcoders] Resource File Bug?
Date: Mon, 21 Mar 2005 22:22:37 +0100
Hi,
Thanks for the replay!
The Server is on Linux.
The Problem what i mean is, that in the res file the file has the name:
Sack.wav
and when the Client (win32) has downloaded the file has the name:
sack.wav
Why its not the same name ?
And why we cant use folders with uppercase ?
When i add in the res file an file with the folder: MyMod
the file in this folder were not found.. becouse the server searches in
"mymod" :(
Its there a way to add recources without an resource file by an plugin ?
THANKS !
----- Original Message -----
From: "Jeffrey "botman" Broome" <[EMAIL PROTECTED]>
To: <hlcoders@list.valvesoftware.com>
Sent: Monday, March 21, 2005 9:22 PM
Subject: Re: [hlcoders] Resource File Bug?
Ratman2000 wrote:
But when i than look in my Sounds folder is see, that all File Names are
all
small type
Are you running a Linux dedicated server or Win32 server?
Linux servers preserve the case of filenames, Win32 servers do not.
On Linux "Sack.mp3" and "sack.mp3" are 2 different files. On Win32 they
are the same file.
You should have the .res file entries match whatever the filename is on
your server and shouldn't have to worry about the name on the client
(since the client's will be Win32 anyway).
If it really bothers, you, you can rename the server version of the file
to all lowercase, then it will be the same regardless of whether the
server is Linux or Win32.
--
Jeffrey "botman" Broome
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders