Page 1 of 1

Question from Windows user on case sensitivity.

Posted: Wed Mar 28, 2007 6:01 pm
by LittleBear
I know some of my OXPs contain dat files with this bug ('cos playtesters have had to fix them :oops: ). I'm trying to fix this with an update patch. This is probabley a silly question, but:

If the texture is :-

bb1_mainhull do i have it as bb1_mainhull.png or mainhull.PNG ?

When I look at the texture in Windows it describes as PNG (in caps).

On Davfaci's list of the textures eg:-

DWCobra3_flf.png WaspLrgBooster.png
hitsplanet11.PNG

Does this mean I need in the dat file hitsplanet11.PNG and hitsplanet11.png would cause the bug?

Posted: Wed Mar 28, 2007 6:16 pm
by JensAyton
Depends what it says in the .dat file (which is a human-readable text file).

Posted: Wed Mar 28, 2007 7:21 pm
by TGHC
Ahruman wrote:
Depends what it says in the .dat file (which is a human-readable text file).
I love that! :)

Posted: Fri May 11, 2007 7:29 pm
by davcefai
I hadn't seen this thread before.

In all the *nix OSes you get strict case sensitivity. So the filename searched for to be loaded must be an exact match.

If you build up a filename from a number of strings then (if you're as forgetful as I am) then you could easily get into a case sensitivity problem when naming files. Generally I find that the smart thing is to always use lower case for the extensions. Windows doesn't care and it is easier to keep things straight.

Posted: Fri May 11, 2007 9:34 pm
by JensAyton
davcefai wrote:
In all the *nix OSes you get strict case sensitivity. So the filename searched for to be loaded must be an exact match.
Actually, on UNIX systems it depends on the file system. Mac OS X, for instance, is a UNIX system, but uses a case-insensetive file system by default.