Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search for file case-insensitive #144

Closed
tintou opened this issue Mar 17, 2024 · 5 comments
Closed

Search for file case-insensitive #144

tintou opened this issue Mar 17, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@tintou
Copy link

tintou commented Mar 17, 2024

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.

@tintou tintou added the bug Something isn't working label Mar 17, 2024
@dalerank
Copy link
Owner

Thanks, nice idea

@dalerank
Copy link
Owner

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

@dalerank
Copy link
Owner

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

kamaradclimber added a commit to kamaradclimber/Akhenaten that referenced this issue Jun 16, 2024
On case sensitive filesystems (on Linux at least), access to sound was
broken for some assets.

This commit fixes all errors similar to:
> Sound: cant find audio AUDIO/Wavs/DOCK1.wav
that happen when opening the game

This is related to dalerank#144
@dalerank
Copy link
Owner

@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
Copy link
Author

tintou commented Jun 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants