Иконка ресурса

CLS Universal Accelerator - cls-mtx MTX 2023

Нет прав для скачивания
1. Created MTX2023 from scratch and optimized for speed and efficiency.
- As a result, it isn't compatible with any previous versions.

2. The bugs experienced in previous versions have been addressed and fixed.

3. MTX can handle scenarios where the #userThreads > #compressionThreads.

4. Simultaneous reading and writing of data takes place.
- Previous versions required extra waiting time that's no longer necessary in this version.
- Make sure to specify the '-ds' parameter with the 'arc.exe a'. (arc.exe a -ds ...)

Remark:

1. '--TempPath=' parameter has been removed.
- Tmp files will now be created in the freearc temp dir instead.

2. '%' sign has been removed from threads (100%).
3. Support for "MTX32.ini" and "MTX64.ini" files has been discontinued.
4. There won't be a 32-bit version of MTX.


1. Recommended setting (stdio mode) but no info will be displayed.

packcmd = MTX64.exe a -mNz64 -c32m {options} - - <stdin> <stdout>
unpackcmd = MTX64.exe x -mNz64 {options} - - <stdin> <stdout>


2. Info will only be displayed for packing.

packcmd = MTX64.exe a -mNz64 -c32m {options} - $$arcpackedfile$$.tmp <stdin>
unpackcmd = MTX64.exe x -mNz64 {options} - - <stdin> <stdout>


3. Info will only be displayed for unpacking.

packcmd = MTX64.exe a -mNz64 -c32m {options} - - <stdin> <stdout>
unpackcmd = MTX64.exe x -mNz64 {options} - $$arcdatafile$$.tmp <stdin>


4. Info will be displayed for both packing and unpacking.

packcmd = MTX64.exe a -mNz64 -c32m {options} - $$arcpackedfile$$.tmp <stdin>
unpackcmd = MTX64.exe x -mNz64 {options} - $$arcdatafile$$.tmp <stdin>
  • MTX.ini

Код:
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

Код:
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

Код:
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

Код:
 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.
What's New:
  • Some improvements.
  • Minor issues fixed.
  • Not case sensitive as before.
and i was able to reduce the final size from "191 kb" to "100 kb".
  • Like
Реакции: Welder05
What's New:
  • "{Compressor}" is no longer required.
  • Can use more than one name.
  • Known issues have been resolved.
  • Please use (") for directories with spaces.

New Arc.ini (or any config.ini):


[External compressor:mtx_rz, mtx_razor, mtxrz]
header = 0
packcmd = "Res\Rz Compressor\rz64.exe" a -d 128m $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = "Res\Rz Compressor\rz64.exe" e -y $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

Inputs: (that supports)

1. $$arcdatafile$$.tmp
2. <stdin>

Outputs:
(that supports)

1. $$arcpackedfile$$.tmp
2. <stdout>
Changes:

✪ Dll file can be renamed to a another name.
-- cls-mtx.dll --> cls-rzx.dll.

✪ The mtx allows tools to be executed from a sub-folder.

Quote:
before
...
packcmd = {compressor} -cn -intense0 -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
...

now
...
packcmd = Resources\Precomp\{compressor} -cn -intense0 -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
...


✪ Users can use a custom configuration file instead of "arc.ini"
-- If you use a custom configuration file (config0.ini) for compression / decompression commands instead of "arc.ini", the new update will allow you to define that file as the default config file.

-- to define a new config file, (check the example in .rar file)

Quote:
step1:
Create an "ini" file and name it the same as the "dll" file name.
(cls-mtx.dll --> cls-mtx.ini), (cls-rzx.dll --> cls-rzx.ini).

step2:
Add the following section to it.

--------------------------------------------------------------------------
; if dll file is cls-mtx.dll then
[mtx]
cfgFile=config0.ini

--------------------------------------------------------------------------
; if dll file is cls-rzx.dll then
[rzx]
cfgFile=config0.ini
--------------------------------------------------------------------------

✪ The section name of "Cls.ini" should be the same as the file name "dll".

(check the example in .rar file)

Quote:
--------------------------------------------------------------------------
; if dll file is cls-mtx.dll then section name in the cls.ini should be as the same.
[mtx]
Threads=50p

--------------------------------------------------------------------------
; if dll file is cls-rzx.dll then section name in the cls.ini should be as the same.
[rzx]
Threads=4
--------------------------------------------------------------------------

✪ Now it is possible to change TmpPath in decompression using cls.ini.

Code:
cls.ini

[mtx]
Threads=4
TmpPath=D:\Games\TmpTest
Changes:

✪ Improved the processing speed.

-- some implementations has been changed.

✪ Dll file can be renamed to a another name.
-- cls-mtx.dll --> cls-rzx.dll.

✪ The new update allows tools to be executed from a sub-folder.

Quote:
before
...
packcmd = {compressor} -cn -intense0 -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
...

now
...
packcmd = Resources\Precomp\{compressor} -cn -intense0 -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
...


✪ Users can use a custom configuration file instead of "arc.ini"
-- If you use a custom configuration file (config0.ini) for compression / decompression commands instead of "arc.ini", the new update will allow you to define that file as the default config file.

-- to define a new config file, (check the example in .rar file)

Quote:
step1:
Create an "ini" file and name it the same as the "dll" file name.
(cls-mtx.dll --> cls-mtx.ini), (cls-rzx.dll --> cls-rzx.ini).

step2:
Add the following section to it.

--------------------------------------------------------------------------
; if dll file is cls-mtx.dll then
[mtx]
cfgFile=config0.ini

--------------------------------------------------------------------------
; if dll file is cls-rzx.dll then
[rzx]
cfgFile=config0.ini
--------------------------------------------------------------------------

✪ The section name of "Cls.ini" should be the same as the file name "dll".

(check the example in .rar file)

Quote:
--------------------------------------------------------------------------
; if dll file is cls-mtx.dll then section name in the cls.ini should be as the same.
[mtx]
Threads=50p

--------------------------------------------------------------------------
; if dll file is cls-rzx.dll then section name in the cls.ini should be as the same.
[rzx]
Threads=4
--------------------------------------------------------------------------
  • Added the ability to select a number of threads as a percentage.

Compression: Pack.bat

Quote:
arc.exe a -ep1 -r -ed -s; -w.\temp -m=mtx:c64m:t8:precomp Packed\Data0.bf "Pack\*"

or

arc.exe a -ep1 -r -ed -s; -w.\temp -m=mtx:c64m:t100p:precomp Packed\Data0.bf "Pack\*"

Decompression: cls.ini

Quote:
[mtx]
Threads=4

or

[mtx]
Threads=50p
cls-mtx.dll - update 2

what's new:

  • cls-mtx is re-coded.
  • Fixed some bugs for Razor Archive.
  • Optimized some performance.
Сверху