The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Ters on October 24, 2009, 01:53:51 pm

Title: Filename case confusion
Post by: Ters on October 24, 2009, 01:53:51 pm
Not really a graphic error, but I post this here anyway.

When activating the factory_food and/or factory_waste directories in pak64, I get errors about missing files when I try to compile the pakset. The files are there, but their names are in lower case, while the .dat files use mixed case when referencing them. That won't work on many platforms.

I am not sure if these directories are even supposed to work, since they are not activated by default, but I have attached a patch which changes the names to lower case in the .dat files so that it compiles without errors. An alternative is to rename the files to mixed case, but I think lower case filenames are safest. I don't think I can make a patch for that anyway. Asdonkshof.png is in mixed caps in both the file system and the .dat file. Since it works as it is, I have let it be.
Title: Re: Filename case confusion
Post by: prissi on October 26, 2009, 08:53:49 pm
Thank you very much, incorporated.