View Full Version : Use MPZ with Trick's
Carldric Clement
30-07-2021, 07:58
When someone fails to compress with mpz stdio, This tool can actually help you to find out.
Making CLS with Universal CLS (by 78372), rename from cls-mpz.dll to arc-mpz.dll.
And then use with CLS Wrapper (by 78372) to make it work compress for mp3 file.
And now it works without having trouble.
I don't get it. What are the "tricks"?
Carldric Clement
30-07-2021, 08:36
I don't get it. What are the "tricks"?
First, I've tried so many times to used mpzapi with stdio. But when I try to compress with a few mp3 files (including my own song), I got stuck like 10% of FreeArc. So I've made another one with a few things that I figure out without having a problem. Making CLS with Universal CLS (78372) and rename the DLL file, using with CLS Wrapper (78372) and turns out, it works. You can see the screenshot that I upload on the first thread. :)
Joe Forster/STA
30-07-2021, 08:59
Are you sure it's not a version mismatch between the main program and the DLL? We've already run into something like that in another thread.
Carldric Clement
30-07-2021, 09:03
Are you sure it's not a version mismatch between the main program and the DLL? We've already run into something like that in another thread.
Nah I mean the cls dll file that I create for mpz. Rename from cls-mpz.dll to arc-mpz.dll to make it work for CLS Wrapper. Even though the configuration inside on arc.ini, It's not necessary to get compress all mp3 files. :)
Masquerade
30-07-2021, 12:44
But mpz already supports stdio? :)
[External compressor:mpz]
header = 0
packcmd = {compressor} c <stdin> <stdout>
unpackcmd = {compressor} d <stdin> <stdout>
Carldric Clement
30-07-2021, 19:20
But mpz already supports stdio? :)
[External compressor:mpz]
header = 0
packcmd = {compressor} c <stdin> <stdout>
unpackcmd = {compressor} d <stdin> <stdout>
It doesn't work for me then. Stuck compressing at 3%.
Masquerade
31-07-2021, 12:09
My MPZ is 46kb, try this one instead: https://anonfiles.com/h4J9M992u6/
My mpz is 46kb too. But mine is named mpzapi.exe
PS: I got a virus warning from your file with WinDefender :D
Masquerade
31-07-2021, 13:53
My mpz is 46kb too. But mine is named mpzapi.exe
PS: I got a virus warning from your file with WinDefender :D
What's the CRC of your mpz? I just renamed the exe. If yours doesn't trigger defender, please upload it. I do not know why mine triggers defender, you know I wouldn't upload malware anywhere.
I know that you wouldn't do shit here :D ;)
https://i.imgur.com/j8CHfed.png
Masquerade
31-07-2021, 14:33
@KaktoR
The reason our file do not match, my copy of MPZ comes from the upload "Mpz Accelerator" by BLACKFIRE69. He packed mpz.exe with upx, so when I decompresed the file using upx, it failed to restore the file perfectly, so some bytes are imperfect.
This doesn't seem to have affected operation for me since I've been using that MPZ exe for a while now with no issue (both in stdio and $$arc$$).
I'll be switching to the correct exe now :D
Carldric Clement
31-07-2021, 22:12
My MPZ is 46kb, try this one instead: https://anonfiles.com/h4J9M992u6/
I know that you wouldn't do shit here :D ;)
https://i.imgur.com/j8CHfed.png
both of them still don't work. :)
Masquerade
01-08-2021, 00:20
Why have you put "- - <stdin> <stdout>"?
It's just <stdin> <stdout> likeI posted above.
Carldric Clement
01-08-2021, 01:51
Why have you put "- - <stdin> <stdout>"?
It's just <stdin> <stdout> likeI posted above.
same. :)
:( Sad8669
01-08-2021, 01:59
Maybe check the Freearc version and match the hash with Masquerade one.
Edit : Works for me too.
Compressed 1 file, 6,344,494 => 6,254,687 bytes. Ratio 98.58%
Compression time: cpu 0.02 sec/real 1.38 sec = 1%. Speed 4.59 mB/s
All OK
[External compressor:mpz]
header = 0
packcmd = mpzapi c <stdin> <stdout>
unpackcmd = mpzapi d <stdin> <stdout>
Carldric Clement
01-08-2021, 02:30
Maybe check the Freearc version and match the hash with Masquerade one.
Edit : Works for me too.
Compressed 1 file, 6,344,494 => 6,254,687 bytes. Ratio 98.58%
Compression time: cpu 0.02 sec/real 1.38 sec = 1%. Speed 4.59 mB/s
All OK
[External compressor:mpz]
header = 0
packcmd = mpzapi c <stdin> <stdout>
unpackcmd = mpzapi d <stdin> <stdout>
I have latest of FreeArc 0.67 (March 15 2014) - Alpha version.
It only works with 1 file that I've made before.
But I wanted to pack with 4 files and yeah, still don't work. :)
:( Sad8669
01-08-2021, 02:36
When you start pack.bat, do you see circle around your cursor? and also observe task manager while starting pack.bat, you will see that it starts and then disappears.
Looks like it crashes on multiple files.
Edit : When started as Administrator, the probability of crashing decreases drastically, and it will work on 2~3 tries.
Carldric Clement
01-08-2021, 06:39
When you start pack.bat, do you see circle around your cursor? and also observe task manager while starting pack.bat, you will see that it starts and then disappears.
Looks like it crashes on multiple files.
Edit : When started as Administrator, the probability of crashing decreases drastically, and it will work on 2~3 tries.
No. My pc was set to administrator on user. It automatically open cmd with admin. Because I turn on TPM and Secure Boot on BIOS. :D
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.