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

Reply
 
Thread Tools Display Modes
  #16  
Old 11-10-2020, 18:38
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 799
Thanks: 1,309
Thanked 1,703 Times in 580 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
first configured file (MTX.ini) then checks the default keys (--mainpath , ...).

means,

If MTX.ini is not configured, it uses the default keys.
Just out of curiosity, if I use it like this:

DiskSpan_x64.ini:
Code:
[External compressor:mpz,MPZ,mpzapi,MPZAPI]
header    = 0
packcmd   = "MEDIA\MPZ\mpzapi.exe" c <stdin> <stdout>
unpackcmd = "MEDIA\MPZ\mpzapi.exe" d <stdin> <stdout>

[External compressor:mpz_mtx,MPZ_MTX,mpzapi_mtx,MPZAPI_MTX]
header    = 0
default   = -c:64m -t:100p --mainpath=".\..\..\..\" --config="%MainPath%\DiskSpan_x64.ini" --tmppath="%MainPath%\..\TEMP"
packcmd   = "OTHERS\MTX\Win64\MTX.exe" a:mpz {options} - - <stdin> <stdout>
unpackcmd = "OTHERS\MTX\Win64\MTX.exe" x:mpz {options} - - <stdin> <stdout>
And add MTX.ini file next to MTX.exe with the config:

MTX.ini
Code:
[MTX]
MainPath=.\..\..\..\
Config=%MainPath%\DiskSpan_x64.ini
TmpPath=%MainPath%\..\TEMP
Question is as follows:
Will the "-c:64m -t:100p" settings be applied to MTX.exe, or will they be ignored?

Thanks!
Reply With Quote
Sponsored Links
  #17  
Old 11-10-2020, 23:32
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 341
Thanks: 269
Thanked 1,047 Times in 239 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
Just out of curiosity, if I use it like this:

DiskSpan_x64.ini:
Code:
[External compressor:mpz,MPZ,mpzapi,MPZAPI]
header    = 0
packcmd   = "MEDIA\MPZ\mpzapi.exe" c <stdin> <stdout>
unpackcmd = "MEDIA\MPZ\mpzapi.exe" d <stdin> <stdout>

[External compressor:mpz_mtx,MPZ_MTX,mpzapi_mtx,MPZAPI_MTX]
header    = 0
default   = -c:64m -t:100p --mainpath=".\..\..\..\" --config="%MainPath%\DiskSpan_x64.ini" --tmppath="%MainPath%\..\TEMP"
packcmd   = "OTHERS\MTX\Win64\MTX.exe" a:mpz {options} - - <stdin> <stdout>
unpackcmd = "OTHERS\MTX\Win64\MTX.exe" x:mpz {options} - - <stdin> <stdout>
And add MTX.ini file next to MTX.exe with the config:

MTX.ini
Code:
[MTX]
MainPath=.\..\..\..\
Config=%MainPath%\DiskSpan_x64.ini
TmpPath=%MainPath%\..\TEMP
Question is as follows:
Will the "-c:64m -t:100p" settings be applied to MTX.exe, or will they be ignored?

Thanks!
those settings are not ignored ( -c:64m -t:100p ).


ok cesar,

we use MTX.ini to define only "MainPath", "ConfigFile" and "TempPath".


let us consider,
if MTX.exe doesn't find any MTX.ini near MTX.exe, it will look for MTX.exe options ( --mainpath, --config and --tmppath). if those options are also not found, it uses its default values.

in your case, there is MTX.ini next to MTX.exe. therefore, the "--mainpath", "--config" and "--tmppath" options will be ignored.

but the only place to set values for "-t:" and "-c:" is the command line. so nothing can ignore those values.


finally, MTX.exe will ignore some options as the code below because you have used MTX.ini. (Marked in red).

Code:
[External compressor:mpz_mtx,MPZ_MTX,mpzapi_mtx,MPZAPI_MTX]
header    = 0
default   = -c:64m -t:100p --mainpath=".\..\..\..\" --config="%MainPath%\DiskSpan_x64.ini" --tmppath="%MainPath%\..\TEMP"
packcmd   = "OTHERS\MTX\Win64\MTX.exe" a:mpz {options} - - <stdin> <stdout>
unpackcmd = "OTHERS\MTX\Win64\MTX.exe" x:mpz {options} - - <stdin> <stdout>


Extra: (not related to the question)

during decompression, MTX.exe doesn't retrieve values for "ChunkSize" from users. therefore it is better to use as follows.

Code:
[External compressor:mpz_mtx,MPZ_MTX,mpzapi_mtx,MPZAPI_MTX]
header    = 0
default   = -t:100p
packcmd   = "OTHERS\MTX\Win64\MTX.exe" a:mpz -c:64m {options} - - <stdin> <stdout>
unpackcmd = "OTHERS\MTX\Win64\MTX.exe" x:mpz {options} - - <stdin> <stdout>

Last edited by BLACKFIRE69; 11-10-2020 at 23:36.
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
Cesar82 (12-10-2020)
  #18  
Old 16-10-2020, 12:10
Snapppr6 Snapppr6 is offline
Registered User
 
Join Date: Jun 2020
Location: libya
Posts: 32
Thanks: 18
Thanked 16 Times in 14 Posts
Snapppr6 is on a distinguished road
Help BlackFire69

first thing thanks to you for this tool and other cls
i need IS example to unpack compressed data by mtx and thanks
Reply With Quote
  #19  
Old 16-10-2020, 15:31
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 341
Thanks: 269
Thanked 1,047 Times in 239 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Snapppr6 View Post
first thing thanks to you for this tool and other cls
i need IS example to unpack compressed data by mtx and thanks

here is the basic inno example for MTX v5.0.0.0.

note that the two arc.ini files in the "Compressor" folder and the "IS_Example" folder are different.

MTX v5.0.0.0 Inno Example.rar
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
Snapppr6 (16-10-2020)
  #20  
Old 26-10-2020, 08:45
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 341
Thanks: 269
Thanked 1,047 Times in 239 Posts
BLACKFIRE69 is on a distinguished road
Thumbs up MTX v5.1.0.0 New Update Test.

MTX v5.1.0.0 New Update Test

it's time for a new update. you guys, can you do some testing for me?

TESTS:
  • MTX + oo2reck
  • MTX + oo2recm
  • MTX + oo2recs



Arc.ini
Code:
; //================== FreeArc =================\\
[External compressor:oo2reck,oo2recm,oo2recs]
header    = 0
packcmd   = {compressor} e <stdin> <stdout>
unpackcmd = {compressor} d <stdin> <stdout>


; //==================== MTX ====================\\
[External compressor:MTX_oo2reck, oo2reckMTX, oo2reckX]
header = 0
default   = -t:100% --logs
packcmd   = MTX.exe a:oo2reck -c:64m {options} - - <stdin> <stdout>
unpackcmd = MTX.exe x:oo2reck {options} - - <stdin> <stdout>

[External compressor:MTX_oo2recm, oo2recmMTX, oo2recmX]
header = 0
default   = -t:100% --logs
packcmd   = MTX.exe a:oo2recm -c:64m {options} - - <stdin> <stdout>
unpackcmd = MTX.exe x:oo2recm {options} - - <stdin> <stdout>

[External compressor:MTX_oo2recs, oo2recsMTX, oo2recsX]
header = 0
default   = -t:100% --logs
packcmd   = MTX.exe a:oo2recs -c:64m {options} - - <stdin> <stdout>
unpackcmd = MTX.exe x:oo2recs {options} - - <stdin> <stdout>

i'll attach the MTX v5.1.0.0 test files.

thanks @dixen for the idea.

_

Last edited by BLACKFIRE69; 27-10-2020 at 04:36.
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
dixen (26-10-2020)
  #21  
Old 26-10-2020, 09:57
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 3,577
Thanks: 942
Thanked 5,835 Times in 2,153 Posts
KaktoR is on a distinguished road
Code:
MTX
Compressed 1 file, 119,898,862 => 168,186,700 bytes. Ratio 140.27%
Compression time: cpu 0.13 sec/real 8.59 sec = 1%. Speed 13.96 mB/s
All OK

Extracted 1 file, 168,186,700 => 119,898,862 bytes. Ratio 140.27%
Extraction time: cpu 0.19 sec/real 3.90 sec = 5%. Speed 30.74 mB/s
All OK


No MTX
Compressed 1 file, 119,898,862 => 168,186,552 bytes. Ratio 140.27%
Compression time: cpu 0.14 sec/real 10.16 sec = 1%. Speed 11.80 mB/s
All OK

Extracted 1 file, 168,186,552 => 119,898,862 bytes. Ratio 140.27%
Extraction time: cpu 0.17 sec/real 3.84 sec = 4%. Speed 31.26 mB/s
All OK
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
BLACKFIRE69 (26-10-2020)
  #22  
Old 26-10-2020, 10:01
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 295
Thanks: 356
Thanked 332 Times in 152 Posts
dixen is on a distinguished road
Thanks to BLACKFIRE69 for update but...tests..Not particularly impressive

patchpack002\dlc.rpf

MTX+OO2RECK (pack)

Quote:
Compressed 1 file, 1,060,477,032 => 1,820,126,829 bytes. Ratio 171.63%
Compression time: cpu 1.28 sec/real 186.69 sec = 1%. Speed 5.68 mB/s
All OK
MTX+OO2RECK (Unpack)

Quote:
Extracted 1 file, 1,820,126,829 => 1,060,477,032 bytes. Ratio 171.63%
Extraction time: cpu 2.11 sec/real 132.35 sec = 2%. Speed 8.01 mB/s
All OK
Razor's oo2reck (Pack)

Quote:
Compressed 1 file, 1,060,477,032 => 1,820,656,947 bytes. Ratio 171.68%
Compression time: cpu 1.19 sec/real 216.05 sec = 1%. Speed 4.91 mB/s
All OK
Razor's oo2reck (unpack)

Quote:
Extracted 1 file, 1,820,656,947 => 1,060,477,032 bytes. Ratio 171.68%
Extraction time: cpu 1.77 sec/real 125.85 sec = 1%. Speed 8.43 mB/s
All OK
I'll test this on DOOM Eternal & Horizon Zero Dawn..

Last edited by dixen; 26-10-2020 at 10:13.
Reply With Quote
The Following User Says Thank You to dixen For This Useful Post:
BLACKFIRE69 (26-10-2020)
  #23  
Old 26-10-2020, 16:28
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 341
Thanks: 269
Thanked 1,047 Times in 239 Posts
BLACKFIRE69 is on a distinguished road
Guys, try with more chunk sizes.

-c:128mb
-c:256mb
-c:512mb
Reply With Quote
  #24  
Old 26-10-2020, 23:44
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 295
Thanks: 356
Thanked 332 Times in 152 Posts
dixen is on a distinguished road
Same file, chunk size 256

Unpack

Quote:
Extracted 1 file, 1,820,527,500 => 1,060,477,032 bytes. Ratio 171.67%
Extraction time: cpu 2.06 sec/real 117.64 sec = 2%. Speed 9.01 mB/s
All OK
chunk size 512

Quote:
Extracted 1 file, 1,820,527,500 => 1,060,477,032 bytes. Ratio 171.67%
Extraction time: cpu 2.09 sec/real 123.59 sec = 2%. Speed 8.58 mB/s
All OK
Reply With Quote
  #25  
Old 27-10-2020, 00:26
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 341
Thanks: 269
Thanked 1,047 Times in 239 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by dixen View Post
Same file, chunk size 256

Unpack



chunk size 512

It seems to be MTX is 0.58 mb/s faster than the original version right ? ( for chunk = 256mb )
Reply With Quote
  #26  
Old 27-10-2020, 01:36
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 295
Thanks: 356
Thanked 332 Times in 152 Posts
dixen is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
It seems to be MTX is 0.58 mb/s faster than the original version right ? ( for chunk = 256mb )
Yeah it looks like the idea failed
Reply With Quote
  #27  
Old 27-10-2020, 02:24
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 341
Thanks: 269
Thanked 1,047 Times in 239 Posts
BLACKFIRE69 is on a distinguished road
MTX + Lolz may work well in high chunk sizes.
Reply With Quote
  #28  
Old 27-10-2020, 02:59
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,635
Thanks: 2,012
Thanked 10,339 Times in 2,202 Posts
Razor12911 is on a distinguished road
Isn't the oodle precompressor multi threaded already?

I made the tool in such a way that there no streams being cut off when chunking takes place because the program knows what it is doing and how it should make cuts in the chunks, if for example there is a stream that can be cut off at a certain position, the program self adjusts the position and your chunking method makes no such considerations and gets in the way of how the program should work in the first place which makes it prone to crashes or a drop in ratio.

Multi threading a multi threaded program does not make it faster especially if the main program uses all of the cpu, furthermore your MTX does not prepare chunks in advance which could be the reason it doesn't work very well.

Compare the speeds of MTX vs Freearc's 4x4

I'll also leave this here
197.PNG

I can't believe this community has been reduced to this, I don't know if I should find this funny or be sad that there are no new inventions will be made.

I would totally understand if the community gets excited every time EA Sports releases FIFA every year

Last edited by Razor12911; 27-10-2020 at 03:06.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
78372 (27-10-2020), dixen (27-10-2020)
  #29  
Old 27-10-2020, 04:33
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 341
Thanks: 269
Thanked 1,047 Times in 239 Posts
BLACKFIRE69 is on a distinguished road
no more developments. it doesn't seem to be useful.

@mods, plz delete this thread.
Reply With Quote
  #30  
Old 27-10-2020, 04:53
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,635
Thanks: 2,012
Thanked 10,339 Times in 2,202 Posts
Razor12911 is on a distinguished road
I wonder what makes you cease the development of your project, I just pointed out that using MTX on already multi threaded programs may have such an issue of being slower than when run natively. I wouldn't have said anything if you had figured out a smarter way of making the precompressor making sure it stays at 100% because there are times when it doesn't fully utilize the cpu furthermore there is also overutilization because the precompressor would be using all of the cpu while MTX is also making several instances of the program and now you have the problem of system being unresponsive. Your project has its uses just not handling multi threaded programs, you'd need to come up with a better solution for this.

Last edited by Razor12911; 27-10-2020 at 05:04.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
78372 (27-10-2020), Gehrman (11-12-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
XLolz - Lolz Accelerator BLACKFIRE69 Conversion Tutorials 16 05-10-2020 12:27
Universal Accelerator - cls-mtx.dll BLACKFIRE69 Conversion Tutorials 57 02-10-2020 06:49
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



All times are GMT -7. The time now is 12:19.


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