MTX v5.0.0.2 New Update
What's new:
Code:
1. Fixed config file parsing bug. (Thanks to @Cesar82)
2. Added support of MTX.ini.
-- When you use MTX.ini next to the EXE file,
the settings "--basePath", "--cfgfile" and "--tmpPath" are overridden.
This simply means that if you use MTX.ini, you no longer need the "--basePath",
"--cfgfile" and "--tmpPath" setting in the commandline.
-- If you use both MTX.ini and the commandline settings, the MTX will ignore
the commandline settings ("--basePath", "--cfgfile" and "--tmpPath").
3. Compatible with the previous version (v5.0.0.1).
MTX.ini
Code:
[MTX64]
MainPath=".\"
Config="$basePath$\arc.ini"
TmpPath="$basePath$\temp64"
Code:
Section name
Filename>> MTX32.exe then [MTX32]
Filename>> MTX64.exe then [MTX64]
Filename>> MTX.exe then [MTX]
Filename>> FileName.exe then [FileName]
MainPath
MainPath="$exePath$" or
MainPath=".\..\..\" or
MainPath="C:\test"
Config
Config="$basePath$\arc.ini" or
Config="$exePath$\arc.ini" or
Config=".\..\..\arc.ini" or
Config="C:\test\arc.ini"
TmpPath
TmpPath="$basePath$\temp" or
TmpPath="$exePath$\temp" or
TmpPath=".\..\..\temp" or
TmpPath="C:\test\temp"