Open kirill-dunko opened 2 years ago
Linux? You just set the PATH environment variable:
$ PATH=/path/to/your/mednafen /path/to/mednaffe
Thanks. Add how to save mednaffe settings near the main file? Like export MEDNAFEN_HOME?
Mednaffe uses XDG_CONFIG_HOME environment variable to get the directory where to save settings.
So this should work:
$ export XDG_CONFIG_HOME=/path/to/some/folder
How about the win ver? Right now it seems to go based on being in the same dir, this causes issues if you create a shortcut on the desktop that is stored on drive 0 and have mednafen wit mednaffe on drive 1.
Mednaffe uses g_find_program_in_path function from GLib library. Documentation says:
On Windows, it looks for the file in the same way as CreateProcess() would. This means first in the directory where the executing program was loaded from, then in the current directory, then in the Windows 32-bit system directory, then in the Windows directory, and finally in the directories in the PATH environment variable.
So you can use PATH environment variable to find the mednafen executable.
Old version had BIN argument in the .ini Please re-add. I like my folders tidy and clear. For now I will revert to version 0.8.8 Otherwise great tool, thanks!
How can I set path to alternative place to mednafen? Thanks. I want to compile portable version.