Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 10-07-2020, 02:54
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,370 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Talking Universal Accelerator - cls-mtx.dll

Universal Accelerator - cls-mtx 2.0.0.7



A CLS library for speeding up some kind of tool.




Usage:
mtx:<Chunk_size>:<# of Threads>:<Compression_Method>

Example:
Code:
arc.exe a -ep1 -r -ed -s; -w.\temp -mmtx:c64m:t4:precomp Packed\Data0.bf "Pack0\*"

arc.exe a -ep1 -r -ed -s; -w.\temp -mmtx:c64m:t4:precomp+srep Packed\Data1.bf "Pack1\*"

arc.exe a -ep1 -r -ed -s; -w.\temp -mmtx:c64m:t4:bcm Packed\Data2.bf "Pack2\*"

arc.exe a -ep1 -r -ed -s; -w.\temp -mmtx:c64m:t4:bsc Packed\Data3.bf "Pack3\*"

arc.exe a -ep1 -r -ed -s; -w.\temp -mmtx:c64m:t4:mpz Packed\Data4.bf "Pack4\*"

arc.exe a -ep1 -r -ed -s; -w.\temp -mmtx:c64m:t4:rz Packed\Data5.bf "Pack5\*"

arc.exe a -ep1 -r -ed -s; -w.\temp -mmtx:c128m:t4:mcm Packed\Data6.bf "Pack6\*"

or  Number of Threads as a percentage (v2.0.0.2)

arc.exe a -ep1 -r -ed -s; -w.\temp -mmtx:c64m:t75p:precomp Packed\Data0.bf "Pack0\*"
Arc.ini
Code:
[External compressor:rz64, mtxrz, mtx_rz]
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

[External compressor:bcm, mtx_bcm, mtxbcm]
header    = 0 
packcmd   = "Res\Bcm Compressor\bcm.exe" -9 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = "Res\Bcm Compressor\bcm.exe" -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:bsc, mtxbsc, mtx_bsc]
header    = 0
packcmd   = Res\Bsc\bsc.exe e $$arcdatafile$$.tmp $$arcpackedfile$$.tmp -b64 -e2 -cf
unpackcmd = Res\Bsc\bsc.exe d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:precomp, mtxprecomp, mtx_precomp]
header    = 0
packcmd   = Res\Precomp\precomp.exe -cn -intense0 -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = Res\Precomp\precomp.exe -r -o$$arcdatafile$$.tmp $$arcpackedfile$$.tmp

[External compressor:mpz, mtxmpz, mtx_mpz]
header    = 0
packcmd   = Res\Mpz\mpz.exe c <stdin> <stdout>
unpackcmd = Res\Mpz\mpz.exe d <stdin> <stdout>

[External compressor:mcm, mtxmcm, mtx_mcm]
header = 0
packcmd   = Res\Mcm\mcm.exe -x6 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = Res\Mcm\mcm.exe d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
or
Code:
[External compressor:rz64, mtxrz, mtx_rz]
header    = 0
packcmd   = "Res\Rz Compressor\{compressor}" a -d 128m $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = "Res\Rz Compressor\{compressor}" e -y $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:bcm, mtx_bcm, mtxbcm]
header    = 0 
packcmd   = "Res\Bcm Compressor\{compressor}" -9 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = "Res\Bcm Compressor\{compressor}" -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:bsc, mtxbsc, mtx_bsc]
header    = 0
packcmd   = Res\Bsc\{compressor} e $$arcdatafile$$.tmp $$arcpackedfile$$.tmp -b64 -e2 -cf
unpackcmd = Res\Bsc\{compressor} d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:precomp, mtxprecomp, mtx_precomp]
header    = 0
packcmd   = Res\Precomp\{compressor} -cn -intense0 -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = Res\Precomp\{compressor} -r -o$$arcdatafile$$.tmp $$arcpackedfile$$.tmp

[External compressor:mpz, mtxmpz, mtx_mpz]
header    = 0
packcmd   = Res\Mpz\{compressor} c <stdin> <stdout>
unpackcmd = Res\Mpz\{compressor} d <stdin> <stdout>

[External compressor:mcm, mtxmcm, mtx_mcm]
header = 0
packcmd   = Res\Mcm\{compressor} -x6 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = Res\Mcm\{compressor} d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

* cls-mtx supports two methods.

Code:
1: The simple way

[External compressor:precomp, mtxprecomp, mtx_precomp]
header    = 0
packcmd   = "Res\Precomp\precomp.exe" -cn -intense0 -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = "Res\Precomp\precomp.exe" -r -o$$arcdatafile$$.tmp $$arcpackedfile$$.tmp

Code:
2: Alternative method

[External compressor:precomp, mtxprecomp, mtx_precomp]
header    = 0
packcmd   = "Res\Precomp\{compressor}" -cn -intense0 -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = "Res\Precomp\{compressor}" -r -o$$arcdatafile$$.tmp $$arcpackedfile$$.tmp


and the exe name must be "precomp.exe" (similar to the first one in section names.)


For Compression:
arc.ini
cls-mtx.dll


For Decompression:
cls.ini
arc.ini
cls-mtx.dll



More About cls-mtx.dll v.2.0.0.5 Update
More About cls-mtx.dll v.2.0.0.6 Update
More About cls-mtx.dll v.2.0.0.6 Update - New
More About cls-mtx.dll v.2.0.0.7 Update


Testing:

Attached Files
File Type: rar cls-mtx v2.0.0.7.rar (3.57 MB, 216 views)

Last edited by BLACKFIRE69; 02-10-2020 at 06:51. Reason: cls-mtx v.2.0.0.7 uploaded
Reply With Quote
The Following 24 Users Say Thank You to BLACKFIRE69 For This Useful Post:
AlBlade1111 (11-07-2020), alexachu (10-07-2020), allgravy (03-12-2022), Andu21 (12-07-2020), Balaji007 (01-10-2020), COPyCAT (23-08-2020), dixen (10-07-2020), doofoo24 (15-07-2020), ffmla (12-07-2020), Gehrman (05-12-2022), giothothan (29-07-2020), Harsh ojha (10-07-2020), Illume (26-07-2020), Jiva newstone (10-07-2020), kenzo34 (10-07-2020), L0v3craft (10-07-2020), Masquerade (10-07-2020), rambohazard (10-07-2020), Razor12911 (10-07-2020), ScOOt3r (07-06-2022), shazzla (10-07-2020), vint56 (10-07-2020), Welder05 (27-09-2020), ZAZA4EVER (10-07-2020)
Sponsored Links
  #2  
Old 10-07-2020, 16:25
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,092 Times in 2,295 Posts
Razor12911 is on a distinguished road


download (30).png
Reply With Quote
The Following 18 Users Say Thank You to Razor12911 For This Useful Post:
78372 (11-07-2020), Andu21 (12-07-2020), BLACKFIRE69 (10-07-2020), Carldric Clement (05-08-2020), Cesar82 (11-07-2020), COPyCAT (23-08-2020), Entai44 (26-07-2020), felice2011 (11-07-2020), ffmla (12-07-2020), FitGirl (10-07-2020), Gehrman (17-07-2020), Gupta (10-07-2020), Harsh ojha (11-07-2020), L0v3craft (11-07-2020), Mortal Lord (16-07-2020), PsYcHo_RaGE (10-07-2020), rambohazard (13-07-2020), shazzla (11-07-2020)
  #3  
Old 10-07-2020, 22:58
darkwolves's Avatar
darkwolves darkwolves is offline
Registered User
 
Join Date: Oct 2016
Location: North Eastern,, USA
Posts: 482
Thanks: 49
Thanked 278 Times in 166 Posts
darkwolves is on a distinguished road
another one? lol
__________________
Ideas are bulletproof...
Reply With Quote
  #4  
Old 11-07-2020, 07:51
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,370 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Wink Universal Accelerator - cls-mtx.dll 2

Universal Accelerator - cls-mtx.dll 2 - New Update

cls-mtx.dll - update 2

what's new:
  • cls-mtx is re-coded.
  • Fixed some bugs for Razor Archive.
  • Optimized some performance.


ckeck the first post....
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
Harsh ojha (11-07-2020), Masquerade (11-07-2020)
  #5  
Old 13-07-2020, 08:02
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,370 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Post cls-mtx New Example Script

cls-mtx New Example Script
Attached Images
File Type: png mtxnew.png (9.7 KB, 609 views)
Attached Files
File Type: rar cls-mtx - New Example Script.rar (608.2 KB, 74 views)
Reply With Quote
The Following 6 Users Say Thank You to BLACKFIRE69 For This Useful Post:
COPyCAT (23-08-2020), ffmla (14-07-2020), Harsh ojha (13-07-2020), L0v3craft (15-07-2020), shazzla (13-07-2020), vint56 (13-07-2020)
  #6  
Old 15-07-2020, 08:22
L0v3craft's Avatar
L0v3craft L0v3craft is offline
Registered User
 
Join Date: Dec 2015
Location: Rome
Posts: 90
Thanks: 373
Thanked 24 Times in 15 Posts
L0v3craft is on a distinguished road
Hi BLACKFIRE69. For razor only is more stable this tools or razorx? I want use the more stable tool (and bug free), thanks.
Reply With Quote
  #7  
Old 15-07-2020, 10:15
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,370 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by L0v3craft View Post
Hi BLACKFIRE69. For razor only is more stable this tools or razorx? I want use the more stable tool (and bug free), thanks.
@L0v3craft, both are stable. cls-mtx is the latest. you can use this instead of razorx.
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
L0v3craft (15-07-2020)
  #8  
Old 16-07-2020, 01:58
L0v3craft's Avatar
L0v3craft L0v3craft is offline
Registered User
 
Join Date: Dec 2015
Location: Rome
Posts: 90
Thanks: 373
Thanked 24 Times in 15 Posts
L0v3craft is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
@L0v3craft, both are stable. cls-mtx is the latest. you can use this instead of razorx.
This one has the same limitation of razorx that we can't use for decompression a number of threads higher that the threads used for compression?

Last edited by L0v3craft; 16-07-2020 at 02:16.
Reply With Quote
  #9  
Old 16-07-2020, 03:51
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,370 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by L0v3craft View Post
This one has the same limitation of razorx that we can't use for decompression a number of threads higher that the threads used for compression?
yes, the number of threads for decompression should be the same or less than that used in compression.

ex:
Compression: Threads = 8
Decompression: Threads = 8, 4 , 2 ….

Last edited by BLACKFIRE69; 16-07-2020 at 03:56.
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
L0v3craft (16-07-2020)
  #10  
Old 16-07-2020, 20:36
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,370 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Wink cls-mtx renaming

it's possible that rename "mtx" to another file name.

ex:
  • cls-mtx.dll --> cls-rzx.dll
  • cls-mtx.dll --> cls-precompx.dll

file renaming must have both compression and decompression. and Pack.bat should be changed as follows.

ex:
Code:
arc.exe a -ep1 -r -ed -s; -w.\temp -m=mtx:c64m:t4:precomp+srep _Packed0\Data1.bf "Pack1\*"

change to

arc.exe a -ep1 -r -ed -s; -w.\temp -m=precompx:c64m:t4:precomp+srep _Packed0\Data1.bf "Pack1\*"

Code:
arc.exe a -ep1 -r -ed -s; -w.\temp -m=mtx:c64m:t4:rz _Packed0\Data1.bf "Pack1\*"

change to

arc.exe a -ep1 -r -ed -s; -w.\temp -m=rzx:c64m:t4:rz _Packed0\Data1.bf "Pack1\*"
Reply With Quote
  #11  
Old 16-07-2020, 22:10
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 384
Thanks: 444
Thanked 430 Times in 197 Posts
dixen is on a distinguished road
Hmm..In my pack.bat

Quote:
Compressing 2 files, 178,957,280 bytes
Compressing road_beach_tracks_45_3_3.dds
0%cls-mtx
Unknown compression method: rz
0%

Compressing road_concrete_stripes_new_3_2.dds
Compressed 2 files, 178,957,280 => 40 bytes. Ratio 0.00%
Compression time: cpu 0.20 sec/real 8.28 sec = 2%. Speed 21.62 mB/s
All OK
rename cls not help
In .bat from topic - all work

Last edited by dixen; 16-07-2020 at 22:13.
Reply With Quote
  #12  
Old 16-07-2020, 23:13
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,155
Thanks: 284
Thanked 1,346 Times in 610 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by dixen View Post
Hmm..In my pack.bat

rename cls not help
In .bat from topic - all work
This happens for me too, the bat has to be executed from the same folder as arc.exe + cls-mtx.dll otherwise you get the unknown method error.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
BLACKFIRE69 (17-07-2020)
  #13  
Old 17-07-2020, 00:09
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,370 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Post cls-mtx explanation

guys, arc.exe and cls-mtx.dll must be in the same folder. it's not from me, it's from the FreeArc.
Reply With Quote
  #14  
Old 17-07-2020, 00:36
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,370 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Post

Quote:
Originally Posted by dixen View Post
Hmm..In my pack.bat

rename cls not help
In .bat from topic - all work
@dixen, no you can rename it and, just rename only the cls-mtx.dll file. don't put it in another folder.
Attached Images
File Type: jpg 1.jpg (12.0 KB, 554 views)
File Type: jpg 1B.jpg (26.3 KB, 552 views)
File Type: jpg 2.jpg (26.2 KB, 559 views)
Reply With Quote
  #15  
Old 18-07-2020, 01:23
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,155
Thanks: 284
Thanked 1,346 Times in 610 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
guys, arc.exe and cls-mtx.dll must be in the same folder. it's not from me, it's from the FreeArc.
Yes, I already know this.

I have it this way, let me show an example:

Code:
Folder
---------> Binaries
|                    - - - - - - - - ->Arc.exe
|                    - - - - - - - - ->Arc.ini
|                    - - - - - - - - ->cls-mtx.dll
|                    - - - - - - - - ->rz.exe
|                    - - - - - - - - ->Pack.bat
|
----------> Alt
                 - - - - - - - - - ->Pack2.bat
Now, Pack2.bat is set to run arc.exe inside the binaries folder:

Code:
@echo off
..\Binaries\Arc a -wTemp -mmtx:c64m:t16:rz (as well as the input output files)
But if we run this, we get uknown method error from mtx.

If we run pack.bat inside the binaries folder, it runs normally. Arc.ini is written correctly. Other cls based compressors like bpk work just fine.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
BLACKFIRE69 (18-07-2020)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Universal Extractor By DLG felice2011 Conversion Tutorials 5 30-12-2018 04:16
Universal CLS Generator 78372 Conversion Tutorials 57 30-01-2018 04:04
CheatEngine Universal Game Cracker All Games 2014 sillywalks PC Games 1 01-12-2014 12:24
HELP: Universal Backup Instructions [RAW Mode] Rocha PC Games 3 30-06-2004 05:11
Universal Combat RCxxx CyKlone71 PC Games 0 03-03-2004 19:02



All times are GMT -7. The time now is 06:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com