View Single Post
  #45  
Old 04-03-2021, 04:03
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 343
Thanks: 272
Thanked 1,054 Times in 241 Posts
BLACKFIRE69 is on a distinguished road
Thumbs up MTX v5.0.0.2 New Update

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"
Attached Images
File Type: png MTX 5.0.0.2.png (12.7 KB, 91 views)
Attached Files
File Type: rar MTX v5.0.0.2 + Example for MTX.ini (No UPX).rar (2.71 MB, 39 views)
Reply With Quote
The Following 5 Users Say Thank You to BLACKFIRE69 For This Useful Post:
Cesar82 (07-03-2021), dixen (04-03-2021), Ele (04-03-2021), ffmla (04-03-2021), vint56 (04-03-2021)