View Single Post
  #12  
Old 11-10-2020, 09:04
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow New Update

MTX v.5.0.0.0 - October Update




  • MTX.ini
Code:
Example:=

exefile:  MTX64.exe
ini:      supports both MTX.ini or MTX64.ini    (next to the exe file)
section:  [MTX] or [MTX64]

exefile:  MTX32.exe
ini:      supports both MTX.ini or MTX32.ini    (next to the exe file)
section:  [MTX] or [MTX32]
  • Percentage
Code:
Example:=

packcmd   = "MTX.exe" a:bcm -c:64m -t:100p - - <stdin> <stdout>

   or

packcmd   = "MTX.exe" a:bcm -c:64m -t:100% - - <stdin> <stdout>
  • Supports Custom Input/Output
Code:
Example:=

[External compressor:bcm, bcm32]
header    = 0 
default   = -9

packcmd   = "Bcm\{compressor}" {options} MyInput.in MyOutput.out
unpackcmd = "Bcm\{compressor}" -d MyOutput.out MyInput.in
datafile   = MyInput.in
packedfile = MyOutput.out
  • New Options
Code:
1. --help   (Show long help)
2. --logs   (Generate a log file)
3. --mainpath=< main path >
4. --config=< config file >
5. --tmppath=< temp path >


Example:=  (When not using MTX.ini.)


[External compressor:BscX, BscMTX, bscx]
header = 0
default   = --logs --mainpath=".\..\" --config="%MainPath%\confis\arc.ini" --tmppath="%ExePath%\TEMP"
packcmd   = MTX\MTX.exe a:bsc32 -c:64m -t:100% {options} - - <stdin> <stdout>
unpackcmd = MTX\MTX.exe x:bsc32 -t:100p  {options} - - <stdin> <stdout>
  • MTX.ini Configuration
Code:
 MTX Variables:
    1. %MainPath%
         -- default is the directory that containing MTX.exe.
            ex: C:\Testing\mtxTest\Res\MTX\MTX.exe  then %MainPath% = C:\Testing\mtxTest\Res\MTX\

         -- Users can change manually.

    2. %ExePath%
         -- the directory that containing MTX.exe.
            ex: C:\Testing\mtxTest\Res\MTX\MTX.exe  then %ExePath% = C:\Testing\mtxTest\Res\MTX\


 Other
    1. MainPath
        -- default is 	%ExePath%

        -- Users can change manually.

        -- MainPath = (full path)
            ex:	MainPath=C:\Testing\mtxTest\Res\

        -- MainPath = (short path)
            ex:	MainPath=.\..\
              > MainPath is centered on ExePath. (for short paths)
              > If ExePath = C:\Testing\mtxTest\Res\MTX\  then  MainPath = C:\Testing\mtxTest\Res\  (MainPath=.\..\)

        -- MainPath = (alternatively)
            ex: 	MainPath=%ExePath%


    2. Config
        -- default is	%ExePath%\Arc.ini

        -- Users can change manually.

        -- Config = (full path)
            ex:	Config=C:\Testing\mtxTest\Res\Arc.ini

        -- Config = (short path)
            ex:	Config=.\..\Arc.ini
               > Config is centered on MainPath. (for short paths)
               > If MainPath = C:\Testing\mtxTest\Res\MTX\  then  Config = C:\Testing\mtxTest\Res\Arc.ini  (Config=.\..\Arc.ini)

        -- Config = (alternatively)
            ex:	Config=%MainPath%\Arc.ini
            ex:	Config=%ExePath%\Arc.ini


    3. TmpPath
        -- default is	%ExePath%

        -- Users can change manually.

        -- TmpPath = (full path)
            ex:	TmpPath=C:\Testing\mtxTest\Res\TEMP\

        -- TmpPath = (short path)
            ex:	TmpPath=.\..\TEMP\
               > TmpPath is centered on MainPath. (for short paths)
               > If MainPath = C:\Testing\mtxTest\Res\MTX\  then  Config = C:\Testing\mtxTest\Res\TEMP\  (TmpPath=.\..\TEMP\)

        -- TmpPath = (alternatively)
            ex:	TmpPath=%MainPath%\TEMP\
            ex:	TmpPath=%ExePath%\TEMP\


Will show some errors in nanozip decompression with MTX.exe. therefore it is better to use cls-nzx.dll instead of MTX.exe.


guys, I don't have enough space to upload it here. so use this link....


MTX v5.0.0.0 + Full Examples.rar




_
Attached Images
File Type: png 1.png (25.4 KB, 1175 views)
File Type: png 11.png (51.3 KB, 1184 views)

Last edited by BLACKFIRE69; 11-10-2020 at 09:32.
Reply With Quote