Would be nice to be able to install and run the game in portable mode, i.e. keeping the save files and Dune Legacy.ini withing the game directory. A small game like this is convenient to keep on a cloud synced folder to have everything accessible from various computers you use.
Suggest either an option when installing to install in portable mode, i.e. store everything in the game directory. Or provide a command line option to point to a different user directory, e.g. dunelegacy.exe --user-dir .
to point to the same directory as the exe.
I've worked around this by starting the game from a batch file that creates a symbolic link pointing to the game directory instead, so I can keep everything in there. The batch file is also in the game directory. Whatever the path is to the game directory and whatever the path is to the user data directory, the batch file recreates the symlink on each start to point from and to the correct places.
@echo off cd /d %~dp0 rd %appdata%\dunelegacy mklink /j %appdata%\dunelegacy . start dunelegacy.exe
(start.exe
is not required but allows the batch script to end gracefully while the game is running)