Open IssMneur opened 10 years ago
From zekesula...@gmail.com on August 21, 2012 15:50:33
Going a bit farther, if you have your data directory in i.e. /opt/fs2_open where your user cannot write, fs2_open will happily create and use ~/.fs2_open, whereas wxLauncher will fail with "can't open file '/opt/fs2_open/data/cmdline_fso.cfg' (error 13: Permission denied)".
wxlauncher should ideally react in the same way as fs2_open, using ~/.fs2_open for it's saves/configs/etc.
From issmn...@gmail.com on August 21, 2012 21:15:14
The reason that fs2_open.ini is detected as being an wxLauncher uses a very hacky and error prone method of finding the binaries. File name globbing. This is addressed by 22b44732bb2c.
As it is right now, SCP does not (officially) support fs2_open binaries outside of the game data folder. However, this is known to work (as you presumably already know). See SCP Mantis numbers [ http://scp.indiegames.us/mantis/view.php?id=2118 2118] and [ http://scp.indiegames.us/mantis/view.php?id=2119 2119].
zekesulastin, please file a separate ticket for that issue. It is a different (though related problem) that will likely be fixed sooner than this (as it is supported SCP behavior).
Status: Accepted
Labels: Severity-Medium
From joedavis...@gmail.com on August 20, 2012 21:05:25
I have fs2_open installed in Arch Linux; there is are two binaries in /usr/bin (fs2_open and fs2_open_r). By default, fs2_open on Linux looks in the user's home folder (~/.fs2_open) for datafiles.
So, I choose ~/.fs2_open as my root path. The executable chooser automatically detects fs2_open.ini as a binary for some reason, which obviously won't work.
I could symlink /usr/bin/fs2_open, but a more ideal approach would be to allow me to simply set /usr/bin/fs2_open as the binary, even though it isn't in the root path.
Original issue: http://code.google.com/p/wxlauncher/issues/detail?id=92