Hello, I’m trying to use a custom executable for scummvm but I have a problem with the option passed to that executable by lutris:
Running /home/tony/src/scummvm/scummvm --extrapath=/home/tony/src/share/scummvm --themepath=/home/tony/src/share/scummvm --aspect-ratio --no-fullscreen --gfx-mode=3x --path=~/Games/GK2 ITA gk2
Initial process has started with pid 80178
Game is considered started.
scummvm: Non-existent extra path '/home/tony/src/share/scummvm'
Usage: scummvm [OPTIONS]... [GAME]
Try 'scummvm --help' for more options.
I don’t understand how lutris choose the paths for --extrapath and --themepath (they are wrong) and I can’t find an option to specify them.
If I try to run scummvm from a terminal everything is fine because extrapath and themepath are set in my ~/.config/scummvm/scummvm.ini but when running scummvm via lutris they are superseded by the wrong command line options lutris use.
To summarize, it looks at the scummvm binary, goes up a directory, then goes to share/scummvm. That only works if it’s organized into bin/ and share/ directories, which is how it is if you use the system-installed scummvm. A quick and dirty solution would be to organize your copy of scummvm that way. Probably the runner should allow you to pick the right directory.
Thank you, as you said I should just install scummvm into the usual /usr(/local) path. Maybe a configuration option for these extras and themes path could still make sense? Maybe I’ll try to implement that. Thanks again.
EDIT: oh wow, you are fast! checking the changes, will get back to you soon