dalerank / Akhenaten

Pharaoh (1999, open source engine)
GNU Affero General Public License v3.0
185 stars 12 forks source link

Search for file case-insensitive #144

Closed tintou closed 3 months ago

tintou commented 6 months ago

I'm using Linux and here the filesystem is case-sensitive, so doing fopen(Pharaoh_MM.eng) won't work if the file is named Pharaoh_mm.eng (which is the case here). There are several resources that are also missing because of this issue. It would be nice to implement a case-insensitive loading of resources.

dalerank commented 6 months ago

Thanks, nice idea

dalerank commented 6 months ago

@tintou can you create fix for this? I have no Linux, and some fixes hard to implement

dalerank commented 6 months ago

@tintou I saw you prepared flatpack commit for augustus, could you please do the same here?

dalerank commented 3 months ago

@tintou can you check last changes with content path cache? it automatically scanned files in game directory and should use correct path, event you call sound.MP3 instead Sound.mp3

tintou commented 3 months ago

I just tested and it loading the files fine, thank you!