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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13-09-2020, 12:35
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,077
Thanks: 1,828
Thanked 2,311 Times in 789 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
any suggestions for the next update of "cls-mtx"?
If you are not going to increase the size of your library a lot, even if it does not serve to increase performance, it could include support for all the most used methods that would dispense with the use of other CLS.


Does your cls-mtx.dll library allow me to extract using executables in folders?
I want to include a mode with decompressors in folders in the CIU and I think that the other CLS don't work the way I need.

Creating folder structures as:
Code:
Compressors\PRECOMP\<precomp files>
Compressors\MPZAPI\<mpz files>
Compressors\RAZOR\<rz files>
In the Arc.ini file informing the folder containing the executables, like this:
Code:
[External compressor:precomp]
header    = 0
unpackcmd = "PRECOMP\{compressor}" -r -o$$arcdatafile$$.tmp $$arcpackedfile$$.tmp

[External compressor:mpz]
header    = 0
unpackcmd = "MPZAPI\{compressor}" d <stdin> <stdout>

[External compressor:rz]
header    = 0
unpackcmd = "RAZOR\{compressor}" e -y $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
Using in the Inno Setup script like this:
Code:
[Files]
Source: cls-mtx.dll; Flags: dontcopy;
Source: CLS.ini; Flags: dontcopy;
Source: Arc.ini; Flags: dontcopy;
Source: UnARC.dll; Flags: dontcopy;
Source: ISDone.dll; Flags: dontcopy;
Source: "Compressors\*"; Flags: dontcopy createallsubdirs recursesubdirs;

[code ]
function InitializeSetup(): Boolean;
begin
   ExtractTemporaryFile('cls-mtx.dll');
   ExtractTemporaryFile('CLS.ini');
   ExtractTemporaryFile('Arc.ini');
   ExtractTemporaryFile('UnARC.dll');
   ExtractTemporaryFile('ISDone.dll');

   ExtractTemporaryFiles('{tmp}\Compressors\*');
end;
Reply With Quote
Sponsored Links
  #2  
Old 13-09-2020, 20:37
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 701
Thanks: 486
Thanked 2,611 Times in 574 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
If you are not going to increase the size of your library a lot, even if it does not serve to increase performance, it could include support for all the most used methods that would dispense with the use of other CLS.


Does your cls-mtx.dll library allow me to extract using executables in folders?
I want to include a mode with decompressors in folders in the CIU and I think that the other CLS don't work the way I need.

Creating folder structures as:
Code:
Compressors\PRECOMP\<precomp files>
Compressors\MPZAPI\<mpz files>
Compressors\RAZOR\<rz files>
In the Arc.ini file informing the folder containing the executables, like this:
Code:
[External compressor:precomp]
header    = 0
unpackcmd = "PRECOMP\{compressor}" -r -o$$arcdatafile$$.tmp $$arcpackedfile$$.tmp

[External compressor:mpz]
header    = 0
unpackcmd = "MPZAPI\{compressor}" d <stdin> <stdout>

[External compressor:rz]
header    = 0
unpackcmd = "RAZOR\{compressor}" e -y $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
Using in the Inno Setup script like this:
Code:
[Files]
Source: cls-mtx.dll; Flags: dontcopy;
Source: CLS.ini; Flags: dontcopy;
Source: Arc.ini; Flags: dontcopy;
Source: UnARC.dll; Flags: dontcopy;
Source: ISDone.dll; Flags: dontcopy;
Source: "Compressors\*"; Flags: dontcopy createallsubdirs recursesubdirs;

[code ]
function InitializeSetup(): Boolean;
begin
   ExtractTemporaryFile('cls-mtx.dll');
   ExtractTemporaryFile('CLS.ini');
   ExtractTemporaryFile('Arc.ini');
   ExtractTemporaryFile('UnARC.dll');
   ExtractTemporaryFile('ISDone.dll');

   ExtractTemporaryFiles('{tmp}\Compressors\*');
end;


Cesar,
"cls-mtx.dll" supports this feature, since v2.0.0.3.

and unpackcmd should be like, ( without inverted commas (") ) (i'll fix this issue in the next update.)
Code:
[External compressor:bcm]
header    = 0 
unpackcmd = Res\Bcm\{compressor} -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

not

unpackcmd = "Res\Bcm\{compressor}" -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

here is the full example,

cls-mtx Example - Cesar.rar
Reply With Quote
  #3  
Old 13-09-2020, 21:36
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,077
Thanks: 1,828
Thanked 2,311 Times in 789 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
Cesar,
"cls-mtx.dll" supports this feature, since v2.0.0.3.

and unpackcmd should be like, ( without inverted commas (") ) (i'll fix this issue in the next update.)
Code:
not

unpackcmd = "Res\Bcm\{compressor}" -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
Without double quotes (") in the path names, if the path has spaces then I think it will detect the path to the space and the rest will be interpreted as another parameter causing errors.
Code:
[External compressor:bcm]
header    = 0 
unpackcmd = Res\Bcm Compressor\{compressor} -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
I will look forward to future updates.
Thank you.
Reply With Quote
  #4  
Old 13-09-2020, 22:51
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 701
Thanks: 486
Thanked 2,611 Times in 574 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
Without double quotes (") in the path names, if the path has spaces then I think it will detect the path to the space and the rest will be interpreted as another parameter causing errors.
Code:
[External compressor:bcm]
header    = 0 
unpackcmd = Res\Bcm Compressor\{compressor} -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
I will look forward to future updates.
Thank you.

that's not a problem. you can set the path without ("). (note that: for cls-mtx )


like this..

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

works well....

Last edited by BLACKFIRE69; 13-09-2020 at 22:56.
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
Cesar82 (14-09-2020)
  #5  
Old 13-09-2020, 23:19
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,077
Thanks: 1,828
Thanked 2,311 Times in 789 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
that's not a problem. you can set the path without ("). (note that: for cls-mtx )


like this..

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

works well....
Thank you!
But if the path was something like that, would it work too?
Code:
[External compressor:bcm]
header    = 0 
packcmd   = Res\Bcm compressor\bcm -9 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = Res\Bcm -decompressor\bcm -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
Reply With Quote
  #6  
Old 14-09-2020, 01:48
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 701
Thanks: 486
Thanked 2,611 Times in 574 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
Thank you!
But if the path was something like that, would it work too?
Code:
[External compressor:bcm]
header    = 0 
packcmd   = Res\Bcm compressor\bcm -9 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = Res\Bcm -decompressor\bcm -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

yup, of course .
those characters must be valid characters.


but this is wrong.
Code:
packcmd   = Res\Bcm compressor\bcm -9 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

for cls-mtx:

[External compressor:bcm]
header    = 0
packcmd   = Res\Bcm compressor\{compressor} -9 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

Last edited by BLACKFIRE69; 14-09-2020 at 02:01.
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
Cesar82 (14-09-2020)
  #7  
Old 14-09-2020, 09:21
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,077
Thanks: 1,828
Thanked 2,311 Times in 789 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
for cls-mtx:

[External compressor:bcm]
header = 0
packcmd = Res\Bcm compressor\{compressor} -9 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp[/CODE]
I understand what you said, but it would be useful to be able to use it as used in arc.ini for other compressors that do not use CLS-MTX.dll.

Currently in CIU it uses this configuration mode that allows the user to inform the command in more than one way.
Code:
[External compressor:rz,RZ,razor,RAZOR]
header    = 0
packcmd   = "RAZOR\RZ_x64" a -y -d {option} $stdio$ <stdin> <stdout>
unpackcmd = "RAZOR\RZ_x64" e -y $stdio$ <stdin> <stdout>
For 32-bit version the executables are "RZ_x86.exe"

If possible, it would be very useful to be able to configure this way (in the next update of CLS-MTX.dll).
It also needed to allow the use of compressors without the CLS-MTX, such as using for mtx: [External compressor: mtxrz, mtxrazor, mtx_razor, mtx_rz]
and for RAZOR norml to use [External compressor:rz,RZ,razor,RAZOR]
This same name variation would be used for other executables like mpzapi and perhaps some others.
Reply With Quote
  #8  
Old 16-09-2020, 13:01
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,218
Thanks: 294
Thanked 1,407 Times in 637 Posts
Masquerade is on a distinguished road
@BLACKFIRE69

Thank you for the update, however a huge bug has been introduced. Nothing has changed in my arc.ini since I added the new version to my compressor:

Code:
Compressed 119 files, 13,245,186,961 => 1,672 bytes. Ratio 0.00%
Compression time: cpu 14.33 sec/real 483.57 sec = 3%. Speed 27.39 mB/s
All OK
Using method: mtx:c64m:t16:rz

The folder being compressed is ~700MB and sometimes it says all 700MB becomes 1kb, other times like the above it only recognises some of the data.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 00:35.


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