I am Baas wrote:Tiny Hexer Small Edition does not require a launcher. It's natively portable.
Not exactly. The "Small Edition" saves settings to mpth.dat in the %TEMP% folder. This portable launcher persists those settings by copying that .dat file from %TEMP%.
(From Help File mpth.chm):
Code: Select all
Tiny Hexer Small Edition:
How can i use preconfigured settings in Tiny Hexer SE on BartPE?
As of version 1.7, Tiny Hexer does not use the registry any longer to store its settings. They are stored in a "mpth.dat" database file (located in the temporary directory in the Small Edition). To be able to preconfigure Tiny Hexer Small Edition, it looks for a file "mpth_small.ini" in its program folder and stores the settings from this file in the mpth.dat settings database if the database file does not yet exist. To create such a preconfiguration .ini file, use the "Options/Save settings" command in Tiny Hexer and select the .ini file type.
Note that it only LOADS from mpth_small.ini for "preconfiguration". If you change settings and then exit - it will not write back to mpth_small.ini. Changed settings are rather written to %TEMP%\mpth.dat.
I am Baas wrote:Btw, did you test the other editions?
Yes. Medium and Full editions by default save settings in "%APPDATA%\mirkes.de\Tiny Hexer\1.8\settings.dat" as well as saving that path in "HKEY_CURRENT_USER\Software\mirkes.de". However, the Medium and Full versions support the /u3 switch (from Help File mpth.chm):
Code: Select all
/u3: If this option is specified, Tiny Hexer avoids writing values to the registry and tries to use the path specified in the %U3_APP_DATA_PATH% environment variable (or, if this fails, the program directory) for its configuration database.