I'd like to request including relevate paths where possible.
With a relative path, I refer to the path directed from the mptracker.exe file.
Lets say, you have mptracker in the following directory:
E:\mystuff\music\programs\openmpt\mptracker.exe
and you have your keyboard config file in the following directory:
E:\mystuff\music\programs\openmpt\keyconfigs
and you have your .iti's in the following directory:
E:\mystuff\music\sounds\mpt instruments
The keyconfigs would relativelly stored as .\keyconfigs\default.mkb
the instruments would be stored as ..\..\sounds\mpt instruments\sound.iti
The reason for this request is fairly simple:
If you put mpt on a stick, or for some reason, your drive letter changes, mpt won't find the keyconfig, and any .itp song stops working.
But even better, if the .itp songs store the instruments relativelly, you can distribute the .itp with a structure in tact.
EDIT: this problem has also been found for installed plugins.
Amen to the above
Makes sense
Relative paths are now used when using the "portable mode" INI setting. They are used for almost all settings, but for the time being not for VST plugin paths. This will hopefully be added in the next version.
Anyway... Please confirm that this has been implemented as wished in in OpenMPT 1.18.02.00 (http://forum.openmpt.org/index.php?topic=3951.0). You may close this thread yourself then (edit first post and set the status in the topic title to S=C).
How do I enable portablemode?
Use the "portable mode" in the installer to make a portable installation without registry changes.
Alternatively (when using an existing installation), you can copy mptrack.ini to OpenMPT's folder (it's in %APPDATA%\OpenMPT by default) and add UseAppDataDirectory=0 to the [Paths] section.
Quote from: "LPChip"But even better, if the .itp songs store the instruments relativelly, you can distribute the .itp with a structure in tact.
I'd like to request that part too : if possible, when setting the path to the instrument the right click menu would offer to :
- set absolute path
- set relative path
It would still be good to have the two possible :
1) with an absolute path you can move your itp file on your hd it will still find the instruments.
2) with a relative path you can send an itp file along with its instruments in the same folder to another computer and the itp will load fine.