FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   MCM Compressor :p (https://fileforums.com/showthread.php?t=99213)

1234567890123 20-05-2017 14:38

MCM Compressor :p
 
3 Attachment(s)
-I have been found a compressor named mcm.It's good on text files but maybe someone use it for some games.
-I have a compressor and can someone edit wpi lite to extract files which compressed by this compressor?? It'll be grateful for me :rolleyes:

Venipa 21-05-2017 04:44

Code:

H:\Games\NieR - Automata>mcm -x ./ ../data.biyori
======================================================================
mcm compressor v0.83, by Mathieu Chartier (c)2015 Google Inc.
Experimental, may contain bugs. Contact mathieu.a.chartier********com
Special thanks to: Matt Mahoney, Stephan Busch, Christopher Mattern.
======================================================================
Error opening: ./ (UNIMPLEMENTED)

not recursive

1234567890123 21-05-2017 07:16

[External compressor:mcm]
packcmd = mcm -x9 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = mcm d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

-x command is not using for decompress, use d command. it is decompressing well at me.x command is for freearc to decompress not mcm
Quote:

Usage: mcm.exe [command] [options] <infile> <outfile>
Options: d for decompress
-{t|f|m|h|x}{1 .. 11} compression option
t is turbo, f is fast, m is mid, h is high, x is max (default mid)
0 .. 11 specifies memory with 32mb .. 5gb per thread (default 6)
10 and 11 are only supported on 64 bits
-test tests the file after compression is done


H:\Games\NieR - Automata>mcm -x ./ ../data.biyori must be H:\Games\NieR - Automata>mcm d ./ ../data.biyori

example is in the decompress.bat. you can just run to extract that data.bin

zouzouni 21-05-2017 07:23

1 Attachment(s)
Quote:

Originally Posted by Venipa (Post 459000)
Code:

H:\Games\NieR - Automata>mcm -x ./ ../data.biyori
======================================================================
mcm compressor v0.83, by Mathieu Chartier (c)2015 Google Inc.
Experimental, may contain bugs. Contact mathieu.a.chartier********com
Special thanks to: Matt Mahoney, Stephan Busch, Christopher Mattern.
======================================================================
Error opening: ./ (UNIMPLEMENTED)

not recursive

yes it is ...set up like this!
I can run it no problem with srep and freearc
I can even make it decomp with wpi ...but main problem with this compressor is that it doesn't work with stdin / stdout thus it is pretty useless : (
it does show % progress and time remaing only when temp files are finished to decomp ...ratio is pretty good but piped with srep and freearc it is not as fast as advertised at both comp and decomp

it will probably needs a cls.dll to be faster and fully compatible with inno

1234567890123 21-05-2017 07:31

it may not show progress with the cls too like nanozip or zcm :d . at least it can be faster.

zouzouni 21-05-2017 07:38

Quote:

Originally Posted by 1234567890123 (Post 459009)
it may not show progress with the cls too like nanozip or zcm :d . at least it can be faster.

faster than zcm for sure but freearc/fazip/xz and other zlib tools are still very much faster at decomp ...

btw there is a zcm+cls available on this forum ...it has a great compression ratio but it is so slow with big files (1mb/s on a x3440 8 threads CPU) at decomp that I gave up using it !

Chayan Manna 22-05-2017 00:30

WPI mcm Mod
 
2 Attachment(s)
Here's The WPI script (with update 3 & uninstall bug removed) which can Extract files compressed by mcm compressor. But it takes some time first and then shows progress because of compressing Technics of mcm.:)

Here's the fix. Just download the fix and replace the script named "WindowsPhone" with the previous. It fixes the cancellation after clicking the cancel button and also deletes the files after cancellation.

danswano 14-11-2017 02:01

The installer freeze a long time then suddenly the progress start and finish quickly.
Is it possible to show the progress from the beginning?

Jiva newstone 21-11-2017 06:25

I think a modified version of mcm and zcm is known tool of fitgirl's lolzi

78372 21-11-2017 06:41

MCM is good, much better than zcm if you ask me. I would have created a cls already, but I would like to create mt which takes time and not possible when my exam is running, and st cls isn't that fast.

ravencrow 21-11-2017 22:04

For compression, create input and output files, write 8 empty bytes in output, use CM::Compress using input size and compress input, after compression finishes seek back to start, write output size - 8 in first 8 bytes.

In decompression, create stdin and stdout, read 8 bytes to get output size, CM::Decompress with size to decompress into stdout and you're done.

No need of CLS, MCM code w/o it's detection and stuff is compatible with stdio.

Gupta 22-11-2017 00:53

Quote:

Originally Posted by 78372 (Post 464258)
MCM is good, much better than zcm if you ask me. I would have created a cls already, but I would like to create mt which takes time and not possible when my exam is running, and st cls isn't that fast.

Okay let me share how i implemented it some months back, it's very very easy if you ask me
Createprocess creates its own threads, run n processes as required, wait first one to finish(have to maintain sequence), push result into output stream,now second one is you first
Repeat until input.eof
One more tip, use any FIFO data structure to easy maintain the sequence.

This is how i implemented this without any one's help

FitGirl 22-11-2017 14:31

Quote:

Originally Posted by JIvisPC (Post 464257)
I think a modified version of mcm and zcm is known tool of fitgirl's lolzi

lolzi (and newer versions - lolzx, lolly and lollypop) have nothing in common with mcm or zcm. It has better compression ratio and much faster decompression speed now.

oltjon 23-11-2017 03:56

Quote:

Originally Posted by FitGirl (Post 464289)
lolzi (and newer versions - lolzx, lolly and lollypop) have nothing in common with mcm or zcm. It has better compression ratio and much faster decompression speed now.

even if they have something in common you will not ever tell. and when you do you have to repack to thank Aluigi occasionally ;)

Gupta 23-11-2017 20:41

Quote:

Originally Posted by FitGirl (Post 464289)
lolzi (and newer versions - lolzx, lolly and lollypop) have nothing in common with mcm or zcm. It has better compression ratio and much faster decompression speed now.

Does it has lzma origin, may be lzma with rANS?

Andu21 24-11-2017 04:51

Call it a hunch but i believe it's from rolz origin.

Gupta 24-11-2017 05:24

Can be rolz, but there is not much interest in rolz then something new as rANS,, Many people find it close to razor but i think razor has upper hand becoz of dedup

oltjon 24-11-2017 08:20

I downloaded some figirl games and compressed them and they were smaller with pzlib + srep + razor, but sometimes the ones of fitgirls are much but much smaller that makes me think of some recode


All times are GMT -7. The time now is 14:31.

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