DakkJaniels / DevilutionX-MiddleEarthMod

Recreation of V&K's Middle Earth Mod for Diablo 1.07, utilizing Devilution X
The Unlicense
8 stars 3 forks source link

Loading assets do not work on Linux #21

Closed sixcy closed 1 year ago

sixcy commented 2 years ago

The following problem is found when executing the mod on linux:

Couldn't open /home/csix/diablo/DevilutionX-MiddleEarthMod/build/assets/Objects/Urn.CEL

This is because the actual file is called OBJECTS/URN.CEL In Linux, the casing of file names matter; so this results in an error.

I think the solution is to either turn to lowercase all the files of the assets archive, or write all paths as uppercase in the program

sixcy commented 2 years ago

Actually it's not as simple as turning to lowercase, because some names are written in CamelCase, some others in lowercase, and some file extensions in UPPERCASE