OpenLara
OpenLara copied to clipboard
Linux: case sensitive
Hello,
I just found an issue on Linux (Ubuntu 20.04): OpenLara is case sensitive and for example it can recognize ".TR2" but not ".tr2" extension, it can recognize "level" folder but not "LEVEL"...
Thank you for your help.
The original PC version of Tomb Raider 2 has weird levels naming:
https://github.com/XProger/OpenLara/blob/master/src/gameflow.h#L1084
but I'll add full upper and full lower case support, thanks
More info: I installed Tomb Raider 2 GOG version and OpenLara launches only if I rename "level/2/TITLE.tr2" to "level/2/TITLE.TR2".
Instead of renaming, maybe just create a symlink to the original file so it points to the correct name which should avoid having the case sensitive issue.
TITLE.TR2 -> TITLE.tr.2
level -> LEVEL
Emprtomb.TR2 -> Emprtom.tr2
use the original game folder structure instead of web version style (level/2/...)
Hello, I don't understand why you closed this issue, I just downloaded and compiled latest Openlara git version and it is still case sensitive on Linux. That is a very annoying bug, for example:
- for audio file it asks lowercase
- for png file it asks for uppercase... Please make Openlara case insensitive or only uppercase or only lowercase, but please do not let this mix.
because OpenLara uses the original files naming, so I move this task to features list
original file naming depends on release and on probably language. For example on my original TR1 Italian disc all levels names and .phd extension was lowercase, so I have renamed all in uppercase for run OpenLara.
I try to maintain a Lutris script to install OpenLara easily for Linux users and this case issue is very complicated to manage. Thank you for your help.