View Full Version : Masked Compression (Ultimate compression in one go)
Thanks' for the bink compressor. I used it to compress a non bik file(.ogv video file from Metro Last Light) of size 238 and to my surprise, it was able to compressor it to around 116mb. Though I have to say that the compression produced a somewhat lower quality video. Thanks a lot”9ý5
felice2011
18-04-2016, 23:44
Thanks' for the bink compressor. I used it to compress a non bik file(.ogv video file from Metro Last Light) of size 238 and to my surprise, it was able to compressor it to around 116mb. Though I have to say that the compression produced a somewhat lower quality video. Thanks a lot”9ý5
I think it is an obvious thing since the compression in use and with loss, and not lossless.
hi panker1992 there fp8v3 speed ratio and optimize
recently there is even the v4 version of FP8 whith antiz inside
encode.ru source.I can provide fp8v3 and v4 if interested
thank you
I think it is an obvious thing since the compression in use and with loss, and not lossless.
The output quality isn't that bad, seemed 720p(original quality 1080p) to me. 😊 Wish it were a lossless compressor 😁
panker1992
19-04-2016, 04:15
Kenzo thanks provide with link to fp8 v4 and i will put it into 2.6 with efficiency in mind :D
Stained video re encoding is lossy, its up to you and your mathematical skills to preserve and find balance between how lossy and small you want it or how big and with extreme quality :D
Its also up to the video itself, if the video has much of the same colour for example credits which black and white everywhere it will be able to reduce much without almost no quality loss :D
when i update bink re encoder i will provide a documentation too. or write it into manual itself.
I am also pleased to announce that i opened a video channel on youtube in which i will show you how to encode, compress with effieciency and i will also show you how capable reflate me and Zee have made :D
this is link for fp8v4
http://encode.ru/attachment.php?attachmentid=4154&d=1457802709
Hey bro, whats up, can i ask that when masked compression v2.6 coming and what are its features ;)
panker1992
23-04-2016, 11:32
Hello Amsal :D
i am putting together features, because 2.5 was a big improvement or at least it was bugless.
never heard or seen any complains. i assumed there is no reason to update if something good drops.
i will add fp8 per request. and i try to collect some more maybe i will add some precompressor features as well.
any ideas ??
It should be great if precomp 0.4.4 or 0.4.5 will be there with working decompressing also! And I thought one more idea, why not you made a one line method instructions for repacking different games. It will be amazing!! And slowly slowly complete it, first some games then later some games etc.
@Amsal there is no real one line method to repacking different games.different files type compress differently to others.you cant expect the same results from one game to another.even with reflate you will get varied results.the trick is understanding and learning about different file types and how they compress and finding the most optimal method for compression.Optimal compression could be awesome compression but 12 hours install.For me that is not worth waiting 12 hours for a install i rather loose some compression and install in 40mins.But thats just me.I suggest reading up and learning on different file types and compression.that way when it comes to repacking your games you can make the right decision on how you would like to move forward in repacking your very next game... :-)
panker1992
24-04-2016, 09:49
like mikey said, i would make a video to show you how to compress a game from start to finish.
you need to search files of the game for precompressability, then if they are indeed recompressable they go under deflate mask. if not they go in normal or if non compressable they go to void.
this think can be done by a video easily. :D there are repackers out there that prefer to absolutely squeeze a game and take 3 hours 50 minutes to decompress.
i have made Dragon Age Inquisition unpack in 40 minutes using 4 threads vs a repacker on net did it in 4 hours almost..... learn to be efficient along the way, this is where masks kick in...
panker1992
It would be kind enough to make a video tutorial to learn how to compress, it would be very helpful for those who walk lost
I got this error , Used it on Windows 10
ISDone.dll
An error Occured when unpacking!
Unarc.dll returned error code:-1
And another error
i tried your Masked Compression v2.5
advanced Data Comp
an error occured while unpacking: Unknown compression method!
Unarc.dll returened error code:-2
ERROR: unsupported compression method msr
On arc.ini i use optimal. \data1.bin -moptimal
toxinburn
19-05-2016, 16:10
howdy panker I am using the 2.5 version and all is well I have just one small issue after the install is finished it is leaving the freearctmp folder and inside is freearc.tmp file left behind which is basically same size as the data.bin any pointer on how to make it delete the files once install is complete?
toxinburn
19-05-2016, 16:11
I got this error , Used it on Windows 10
ISDone.dll
An error Occured when unpacking!
Unarc.dll returned error code:-1
And another error
i tried your Masked Compression v2.5
advanced Data Comp
an error occured while unpacking: Unknown compression method!
Unarc.dll returened error code:-2
ERROR: unsupported compression method msr
On arc.ini i use optimal. \data1.bin -moptimal
I had the exact same error on his older compressor but so far 2.5 is working fine for me on win 10 but I am curious as to the solution on this myself as I have searched high and low and found nothing to correct it. However I still have tmp files and folders left behind from the repack and the install :(
panker1992
20-05-2016, 11:59
i am under exams right now guys :D
I will long when i get free time to fix your windows 10 problem :D
Vivekkumar07032003
21-05-2016, 21:51
I am using win 10 pro 64bit in no 5.5.9
I am getting an an error code 14 while installing pls help
toxinburn
22-05-2016, 12:15
Hey panker thanks for everything I was able to get perfect results just using -moptimal or placebo nothing left over, but I am now trying to compress the hearts of stone expansion on witcher 3 but what I have found is for some reason once the decompression gets to two files in particular which are of the .blobs variety I continue to get Unarc.dll error 11 with this however I can compress the installer for this hearts of stone without a problem except for the fact it does not actually compress it at all I guess because the format then is one .exe and a couple of .bin files. So unless I can figure out exactly why the .blobs wont extract then their is nothing else I can do beside include the installer separately from the game repack vs the already extracted and placed expansion in the game folder.
panker1992
22-05-2016, 12:54
this sounds strange ...
can yo utry again ??? maybe post some pics with the problem ?
check crc, i have done witcher 3 before and it had no problems try zstd for it
toxinburn
22-05-2016, 18:22
this sounds strange ...
can yo utry again ??? maybe post some pics with the problem ?
check crc, i have done witcher 3 before and it had no problems try zstd for it
okay i will try ztsd and report back I removed the expansion and repacked again and I had the same issue so its something else although with the expansion included it decompressed fine until it got to the ep1 folder in which it failed but lemme try with that and I will def report back.
toxinburn
22-05-2016, 19:59
Okay so I had same results with ztsd except that the failure happens alot sooner than with optimal, I am going to try one last thing for now and that is to totally delete the masked compressor 2.5 and remove, then redownload it and start from scratch again, although I do not recall changing anything of importance I do not know what else it could be, Could I get this problem possibly from the source folder being on an external usb hard drive by chance? I am also going to move the entire folder to the same drive I ran the repacker from and finally if that all fails as well then what screenshots should i try to get? I would like to make sure you are able to see what is going on as well if nothing else just to help improve your project I may also run a vm of win 7 just to see if it makes any difference or not. I am currently on win 10 x64 I repacked ghostbusters using optimal with zero probs success from the start but for some reason this one is perplexing. You recommended doing a md5 check could you possibly point me in right direction for this I was not aware their was a md5 checker for witcher 3.
panker1992
22-05-2016, 23:29
what you describe aint exactly a mask problem but some exe with bugs that is causing this ???
can you find what possibly gives this error ??
also use this
-msrep+xz
just to make sure that it packs and unpacks
EDIT: will give you an update soon ...checking some stuff here
toxinburn
23-05-2016, 15:59
ok just got home going to try packing again with -msrep+xz also the version of witcher is latest release as well if that makes any difference at all 1.12 with all dlc and expansion, I am basically wanting to get this working before the blood and wine drops so that I can get it all ready do you think it would make a difference if I tried to pack more than one .bin or do you think it would still fail using more than one data.bin?
I may also try to install it using blackbox installer vs the corepack just to see if result differs unless you think that is a lost cause.
toxinburn
23-05-2016, 16:47
what you describe aint exactly a mask problem but some exe with bugs that is causing this ???
can you find what possibly gives this error ??
also use this
-msrep+xz
just to make sure that it packs and unpacks
EDIT: will give you an update soon ...checking some stuff here
************************************************** ************************
* Welcome to Masked Compression v_2.5 By Panker1992 *
* For More info about the modes provided search inside arc.ini *
* *
* you can always find me here: *
* vhttp://fileforums.com/showthread.php?t=97530 *
* *
************************************************** ************************
Press any key to continue . . .
Recompressing Data...
FreeArc 0.67 (December 12 2012) Creating archive: Data\data1.bin using srep+xz
Memory for compression 0b, decompression 0b, cache 16mb
Compressing 2,360 files, 37,282,128,822 bytes. Processed 10.5%
Compressing 37,282,128,822 bytes with srep -m3f -a1 $$arcdatafile$$.tmp $$arcpac
kedfile$$.tmp
10.5%
ERROR! Can't allocate memory: 2323 mb required (-l64k -a- -ia- options may hel
p)
Errorlevel=5
10.5%
ERROR: general (de)compression error in srep
************************************************** *****************************
Compressing is Completed
************************************************** *****************************
Install Started - 18:28:33.46
Install Finished - 18:42:21.50
this is what it is producing for me so is my srep somehow bad? I mean it is the same one that I downloaded from your files have not edited it or changed at all.
toxinburn
23-05-2016, 17:04
trying -msrep64+xz seems to be working so far but so did optimal and placebo etc until decompression which would fail with error -11. So perhaps srep.exe has a prob although not totally certain of that yet without another full pack and unpack using a different srep.
toxinburn
23-05-2016, 19:22
Okay so I think at least this time I figured out which file is failing a crc check so now my issue is how would i address this problem?
http://i899.photobucket.com/albums/ac196/toxinburn/ISDONEERROR_zpsqntgbunh.jpg (http://s899.photobucket.com/user/toxinburn/media/ISDONEERROR_zpsqntgbunh.jpg.html)
I do have a backup of the original gog installer so i will install to a new folder then see if possibly by moving this file to the repack folder maybe it will fix the problem I think this is the best I can hope for or find a way to make the installer ignore the mismatch which could ultimately be problematic.
toxinburn
24-05-2016, 08:11
Solved by replacing the file that was giving crc mismatch movies.bundle so looks like your script etc all still working good will have to remember to use msrep64+xz in future if i have problems to id the problematic files. Thanks for ideas etc as usual.
toxinburn
24-05-2016, 18:18
I did want to ask, if you have time to explain panker, how would I include registry keys and also how can I use more than one .bin file for the installer? I am going to also look around the net to see if I can figure out how its done as I do recall a video about the subject before but I want to make sure it works with your particular .iss.
EDIT: Okay so i figured out how to add reg keys and such, but one more important question I guess would be how do I know which keys are needed on a game and if they even are needed in the first place?
Andrey167
01-06-2016, 11:13
how can it accelerate decompression nz?
very slowly, the program handles about 1 mb seconds in 8 threads
Can someone help me?
How to disable start menu folder?
Thanks
Hello Panker ! Are u free from exams :rolleyes: Now I am :D
So I want to know :rolleyes:
Please panker ! how to add music and button in WPI script :confused:
panker1992
11-06-2016, 07:06
i am to finish at 30 of june and then in july i plan to release a huge update on this project with certain bug fixes and new features :D
Okay panker ;) Waiting for that :D
Repacking Stuff!
there are problems installing with reflate
Panker, any update, I seen/heard that u made masked compression v2.6 and currently beta testing :p
panker1992
20-07-2016, 05:34
I will update it soon, as i have said before masks 2.5 work like a charm.
Also i am planning to update some bug fixes for those temps left in the game folder after installation.
nothing major i pressume, people dont post tools nowadays even Freearc will not take updates so its futile to change masks over and over
I will update it soon, as i have said before masks 2.5 work like a charm.
Also i am planning to update some bug fixes for those temps left in the game folder after installation.
nothing major i pressume, people dont post tools nowadays even Freearc will not take updates so its futile to change masks over and over
Woah, really i am very happy that you found the fix for those temps folder! And again thanks for this great update!
panker1992
20-07-2016, 14:22
its nothing i will post it soon :D no bugs thankfully
panker1992
waiting for version 2.6
http://fileforums.com/showpost.php?p=450117&postcount=27
......
Hey guys here is Maked Data Compression 2.5.1
Not many big changes, jst added all the new cls support that is done by RAZOR12911, pzlib by RAZOR12911 too, latest zstd and some little improvement that i always wanted.
new compression methods
Fast,mediuml1,mediuml2,ultral1,ultral2,ultral3
rest explains their name
one more thing no need to open bat file with text editor and edit it, simply run it, fill the queries and u r done.
@Razor can u update pzlib restoration module, i mean recompression is pretty fast and good bt many times restoration is slower than recompression, even when using 4 cores.. PLZ:D
Here is Black Box Script Supporting Maked Data Compression 2.5.1
You can find Maked Data Compression 2.5.1 here (http://fileforums.com/showpost.php?p=450687&postcount=540)
Use Routune MaskedExt(PctOfTotal:double; InName, OutPath,Password:AnsiString) For Extraction where {
PCtofToal is the part of total percentage u want to assigned to that particular file
Note := Total Sum of all MaskedExt's PctofTotal should be hundred;
InName is The Name of the File u want to extract Example- ExpandConstant('{src}\data1.bin')
outPath is the destination folder Example - ExpandConstant('{app}')
Password is the password of ur file
Example
MaskedExt(100,ExpandConstand('{src}\myfilename'),E xpandConstant('{app}'),YourPassword);
}
hi PrinceGupta2000 nice update compressor works perfect, but have error blackbox unpack.
hi PrinceGupta2000 nice update compressor works perfect, but have error blackbox unpack.
which level are u using?
try using unpacking section then report back
Razor12911
14-08-2016, 01:02
hi PrinceGupta2000 nice update compressor works perfect, but have error blackbox unpack.
Incompatible unarc.dll and arc.exe used for compression and decompression.
Incompatible unarc.dll and arc.exe used for compression and decompression.
may be not, i have provided the same version of unarc.dll and rest depends upon him
I use the method ultral3 your parameter and arc.ini no touched.
error also with unpacking section
Can u open the output.arc with freearc and go to info then on solidblock
and paste the image of it
meanwhile try to use this unarcdll
thank you
I'll test it unarc.dll.
edited capture
stretch the form a little bit more so that i can see the method section
toxinburn
14-08-2016, 20:36
Hey guys here is Maked Data Compression 2.5.1
Not many big changes, jst added all the new cls support that is done by RAZOR12911, pzlib by RAZOR12911 too, latest zstd and some little improvement that i always wanted.
new compression methods
Fast,mediuml1,mediuml2,ultral1,ultral2,ultral3
rest explains their name
one more thing no need to open bat file with text editor and edit it, simply run it, fill the queries and u r done.
@Razor can u update pzlib restoration module, i mean recompression is pretty fast and good bt many times restoration is slower than recompression, even when using 4 cores.. PLZ:D
Does this get rid of the temp files left behind when using -mmax etc?
Does this get rid of the temp files left behind when using -mmax etc?
it has its own methods and if u using MaskedExt routine(function) in the blackbox script i provided then u r not going to have the tempfiles any more
1234567890123
18-08-2016, 01:26
can you edit wpi script for masked 2.5.1? problem is in unarc.dll.But there is no problem in unpacking section (unarc.exe) and arc.exe
can you edit wpi script for masked 2.5.1? Problem is in unarc.dll.but there is no problem in unpacking section (unarc.exe) and arc.exe
here it is wpi inno 2.5.1
toxinburn
23-08-2016, 23:47
Hey guys here is Maked Data Compression 2.5.1
Not many big changes, jst added all the new cls support that is done by RAZOR12911, pzlib by RAZOR12911 too, latest zstd and some little improvement that i always wanted.
new compression methods
Fast,mediuml1,mediuml2,ultral1,ultral2,ultral3
rest explains their name
one more thing no need to open bat file with text editor and edit it, simply run it, fill the queries and u r done.
@Razor can u update pzlib restoration module, i mean recompression is pretty fast and good bt many times restoration is slower than recompression, even when using 4 cores.. PLZ:D
So how could i get that to work with the windows installer version? as far as not leaving the temp files?
@toxinburn
you're talking about WPI or the default installer that comes with inno setup
@kenzo34
IS your problem is fixed?
Hello PrinceGupta2000
yes everything works
My problem was arc.ini. solved!
thank you for these updates and your work
toxinburn
24-08-2016, 15:24
here it is wpi inno 2.5.1
howdy and i am having issue on my test pc with the isdone.dll i get error code 11 with unarc.dll when i start the install on my other pc but on this one i had no problem until close to the end the install popups and says ISDone.dll Unarc.dll returned error code :-12 ERROR: file D:\Deus Ex Mankind Divided\runtime\Game.layer.0.all.archive failed CRC check, so any idea how that would happen considering it uses the same .dll on both computer?
The error code 11 says the archive is corrupted on the one pc but then on this one it is -12.
The method used was ultral3
howdy and i am having issue on my test pc with the isdone.dll i get error code 11 with unarc.dll when i start the install on my other pc but on this one i had no problem until close to the end the install popups and says ISDone.dll Unarc.dll returned error code :-12 ERROR: file D:\Deus Ex Mankind Divided\runtime\Game.layer.0.all.archive failed CRC check, so any idea how that would happen considering it uses the same .dll on both computer?
The error code 11 says the archive is corrupted on the one pc but then on this one it is -12.
The method used was ultral3
May be this one is because of reflate, it has been seen that even the razor's reflate can't restore the genuine "reflateble" files means the files which works only with reflate and as far as bilawal's reflate is concernd it too can't.
trying disable reflate and recompress it
toxinburn
25-08-2016, 14:47
May be this one is because of reflate, it has been seen that even the razor's reflate can't restore the genuine "reflateble" files means the files which works only with reflate and as far as bilawal's reflate is concernd it too can't.
trying disable reflate and recompress it
Okay will do it and also princegupta is their any temp files left using the wpi script you uploaded for inno? I do not see anything so far as i run the installer so I am assuming you added the same functionality in this as with your blackbox version and thanks alot for your modifications I like what you have put together.
romulus_ut3
04-09-2016, 04:06
What I wanna know is, what did you all do to Panker? :D
What I wanna know is, what did you all do to Panker? :D
What do you think?;):D:D;)
Hello PrinceGupta2000
yes everything works
My problem was arc.ini. solved!
thank you for these updates and your work
Hey PrinceGupta & kenzo ! How to solve the unarc.dll problem :(
Hey PrinceGupta & kenzo ! How to solve the unarc.dll problem :(
hi! try with the changes I made
name your archive: data1.bin
here is the script
hi! try with the changes I made
name your archive: data1.bin
here is the script
Thanks for that !
But how to modify script to change the password for bin files :confused:
1) I mean what should be the default password for bin files to extract by setup ?
I think its "password" ? yes or not ?
if yes then how to made changes in script to extract archive having different password Becoz SETUP shows incorrect password of bin files :confused:
2) And What to do if i have Many bin files :confused:
look for the following lines in your script and change what you want:
if not MaskedExt(100,ExpandConstant('{src}\Data1.bin'),Ex pandConstant('{app}'),'Yourpassword') then break;
// if not MaskedExt(50,ExpandConstant('{src}\Data1.bin'),Exp andConstant('{app}'),'YourPassword') then break;
// if not MaskedExt(25,ExpandConstant('{src}\Data2.bin'),Exp andConstant('{app}'),'YourPassword') then break;
// if not MaskedExt(25,ExpandConstant('{src}\Data3.bin'),Exp andConstant('{app}'),'YourPassword') then break;
for example if you want 2 bin file the script will be:
if not MaskedExt(50,ExpandConstant('{src}\Data1.bin'),Exp andConstant('{app}'),'Yourpassword') then break;
if not MaskedExt(50,ExpandConstant('{src}\Data2.bin'),Exp andConstant('{app}'),'YourPassword') then break;
// if not MaskedExt(25,ExpandConstant('{src}\Data2.bin'),Exp andConstant('{app}'),'YourPassword') then break;
// if not MaskedExt(25,ExpandConstant('{src}\Data3.bin'),Exp andConstant('{app}'),'YourPassword') then break;
15214if you want the installer requires no password.
you must remove your compressor the area surrounded by red.
to customize your password change in this same area
example: -hp -p%your chosen password here%
or try bat without password in the link
@kenzo Thanks Buddy !
Now thats the solution :)
BTW I will stick to pics method :D
panker1992
09-09-2016, 08:50
high time i threw an update here ?? :D
or not ??
hello everyone
Update it to try Mad Max
http://www.fileforums.com/showpost.php?p=450117&postcount=27
high time i threw an update here ?? :D
or not ??
hello everyone
hey matey, long time no see, and there no updates to masked ;P waiting for your updates
panker1992
10-09-2016, 20:26
its not the masks that yield problems its tools that arent updated,
precomp refuses to see headerless zlib streams and mad max has them.
you need to use brute force for that to happen :D
Hello Amsal
Hello panker1992.
Your update will be welcome.
nice to see you on your post
Hi, sorry to do a useless post for many of you but i'm a little confused by so many corrections and fixes that were posted along in this thread :)
Dunno where in this thread, at some point somebody posted a compressor using this string:
ultral3 = msc_frog+srep+delta+lz77:d800m:fb=273:mf=bt4:mc=10 00000:lc=4:lp=0/$void=srep+zstd/$deflate=reflate+srep+delta+lz77:d800m:fb=273:mf=b t4:mc=1000000:lc=4:lp=0
It went all well, but i could not unpack it because of some msc_frog error.
Also couldn't see which installer package would have worked with that algorithm, noone works from the ones i tested :(
And then i downloaded from the first post the archive v2.5, but my question is which one is the more updated (first post, or page X for example)?
How many installer scripts are made to support this compression methods?
Thank you Panker1992, you sure made it simple, and i'm eager to start doing my backups :D
P.S.: I'm beginning this journey to pack games in italian like my steam drm free games to have a backup which doesn't involve any drm...
I also extracted and understood the inner working of many repacking releases like c***x, c**epacks, fitg*** (these are the most complex, and the ones that makes sense among all, i was impressed by bedlam redux release that involved some custom made executables). I'm a first timer, learning for personal scopes, i wish i had some knowledge to share but you all know it better than me :)
It went all well, but i could not unpack it because of some msc_frog error.
Also couldn't see which installer package would have worked with that algorithm, noone works from the ones i tested
You can use this:
http://fileforums.com/showpost.php?p=450691&postcount=541
http://fileforums.com/showpost.php?p=450899&postcount=553
P.S.: I'm beginning this journey to pack games in italian like my steam drm free games to have a backup which doesn't involve any drm...
I also extracted and understood the inner working of many repacking releases like codex, corepacks, fitgirl (these are the most complex, and the ones that makes sense among all, i was impressed by bedlam redux release that involved some custom made executables). I'm a first timer, learning for personal scopes, i wish i had some knowledge to share but you all know it better than me
Don't take names of warez group, u may get banned, Forum rules
Oh okay, sorry will never do that again... thanks for the advice :)
I named them not for the illegal content, rather was curious about what people use most, and i'm of course centered about knowledge in compression and packaging, not warez ;)
I will read those links now :)
Hi, sorry to bother again, but i'm unsure if it is a well known bug or just my inexperience with InnoSetup.
I used the blackbox script you suggested me some post before and i found that for some reason if i put some spaces in {#AppName} the window wpSelectDir (with the folder selection) just skips to Tasks selection.
Then i used a name that has no spaces in it, and everything went well...
Then i started to translate the script in italian, and suddenly start skipping again...
To me is unknown why, i started debugging with breakpoints here:
//-------- Second Page --------\\
if CurPageID=wpSelectDir then begin
Then it seems that the pointer CurPageID >SKIPS< the constant wpSelectDir without any good reason (since there no compilation errors).
Are there any requirements that has to be met in order to NOT skip the folder selection screen by default?
Is there any other script released compatible with Masked Compression that use a more linear approach in the windows rather than a stupid pointer and some "if cycle" to hide or show controls?
Or someone has ideas about why this is happening?
NEVERMIND: Using Inno Setup 5 Enhanced Unicode somewhere in this forum seems to have fixed all the problems... thank you for reading anyway :)
marwenho
25-09-2016, 05:49
The compress is done successfully, I built the setup.exe
and move the data1.bin to the "output" directory ... when I run the setup
the game installs without any problem, when i checkout the installation folder
I found all the files of the game + two temp folders ... when i delete them
the game continues to work without any problem ... i want them to not be in the installation folder , so I deleted them from "Mask Data Compression" after moving the data1.bin to output folder (Windows Phone Skin) , now when i install the game , the installation doesn't complete and it shows me an error ' data unpacking error...' something like that
It is my first time using this, I followed the steps mentioned in your video
but it seems there are some parts not mentions and are important
Help!
EzzEldin16
06-10-2016, 23:36
panker and razor and fitgirl i learned almost everything about compression and data packaging THANK YOU
Thank you @panker1992 for this wonderful tool, I a beginner and this has solved a lot of my compression problems,
The only Thing now that bothers me is File Splitting so that i can put in my media Discs.
Can you help me with Data.bin splitting using Your Mask Compression or Inno Setup Disk Spanning or some other tool? I will be very thankful to you :)
Hi. When using lc / lp / pb parameters I get "write error (disk full?)"
When I remove them from arc.ini, it is OK. Any ideas?
[External compressor:xz]
header = 0
packcmd = xz a -txz -an -mcrc=0 -m1=lzma2:d400m:fb=273:mf=bt4:mc=1000000:lc=8:lp=0 -mmt=4 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>
Hi. When using lc / lp / pb parameters I get "write error (disk full?)"
When I remove them from arc.ini, it is OK. Any ideas?
[External compressor:xz]
header = 0
packcmd = xz a -txz -an -mcrc=0 -m1=lzma2:d400m:fb=273:mf=bt4:mc=1000000:lc=8:lp=0 -mmt=4 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>
for lzma2, lc+lp cannot be larger then 4.
for lzma2, lc+lp cannot be larger then 4.
thank you.
One more thing, when I try to unpack the archive, I get "Unsupported compression method srep:m3f:a1:l512"
This is my .bat file
-msrep:m3f:a1:l512+delta+xz
And arc.ini
[External compressor:srep]
;options = l%d (minimal match length, default=512)
header = 0
packcmd = srep64 {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
[External compressor:xz]
header = 0
packcmd = xz a -txz -an -mcrc=0 -m1=lzma2:d200m:fb=273:mf=bt4:mc=1000000 -mmt=4 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>
I copied dec.exe (for unpacking) to my script folder and defined it inside the script
#define XZ
#ifdef XZ
Source: ISDone\dec.exe; DestDir: {tmp}; Flags: dontcopy
#endif
#ifdef XZ
ExtractTemporaryFile('dec.exe');
#endif
Thanks in advance.
One more thing, when I try to unpack the archive, I get "Unsupported compression method srep:m3f:a1:l512"
Copy and extract cls-srep.dll instead
Copy and extract cls-srep.dll instead
it is there from the beginning. It is not the first time I use srep. :(
L0v3craft
12-12-2016, 09:10
Hi guys, I downloaded the BlackBox_2.5.1 from page 38. It works but there is a little bug in the script !
It creates the desktop shortcut in both these cases:
1. If you don't check the box "Create Desktop Shortcut"
2. If you check the box "Create Desktop Shortcut"
And obviously it must creates the icon only in case number "2." . Can someone solve this bug/problem ? Thanks !
thank you.
One more thing, when I try to unpack the archive, I get "Unsupported compression method srep:m3f:a1:l512"
This is my .bat file
-msrep:m3f:a1:l512+delta+xz
And arc.ini
[External compressor:srep]
;options = l%d (minimal match length, default=512)
header = 0
packcmd = srep64 {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
[External compressor:xz]
header = 0
packcmd = xz a -txz -an -mcrc=0 -m1=lzma2:d200m:fb=273:mf=bt4:mc=1000000 -mmt=4 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>
I copied dec.exe (for unpacking) to my script folder and defined it inside the script
#define XZ
#ifdef XZ
Source: ISDone\dec.exe; DestDir: {tmp}; Flags: dontcopy
#endif
#ifdef XZ
ExtractTemporaryFile('dec.exe');
#endif
Thanks in advance.
{-option } u forgot - this will make the whole srep options don't work
packcmd = srep {-option } $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
user123456
18-01-2017, 09:50
try this is comprass 60mb to 7.5mb ----> 30gb to 7gb or 15gb
Download This arc.ini (http://www.mediafire.com/file/1cpobf9dc65xjpl/arc.ini)And Replace In Masked Compression
Everything works fine but when i open the installer it shows a error with tittle "ISDone.dll" and says 'Failed to open the archive in the module IS7zipExtract!'.
Please Help!!:confused:
IS7zipExtract work only 7zip not working to Arc or masked
romulus_ut3
02-04-2017, 06:13
I believe some of the tools included in this have been surpassed by newer iteration/implementations.
Would the author be so kind as to accommodate the changes?
panker1992
03-04-2017, 05:35
IS7ZIPEXTRACT function isn't needed at all since 7zip is merely an internal compressor used by arc
Arc exe has it in ini so long that is true that function is useless
any idea why .minizip files are not compressing at all i tried almost all methods like ultral1,ultral2,ultral3 and medium l2 and none of them compresses the file at all :/
i am using masked data 2.5.1 and yes i have also tried 2.5 but still the same problem
panker1992
03-04-2017, 13:27
High entropy of some files negate their ability to be compressed this is why bik and other video files are incompressible , it's because they are already compressed once . You need to extract them first
but if i extract them then is it possible to put it back to .minizip format again ?
but if i extract them then is it possible to put it back to .minizip format again ?
or you could use pzlib on them and save time ? minizip files are very much recompressible with pzlib.
in masked data one of the methods has pzlib in it but oh well i will try just pzlib but is there like a pzlib compressor like masked data ? cause i really don't know how to use pzlib :p
so first i used only pzlib and it went from 5gb to 9gb then i used pzlib+srep+lzma that gave me this result
http://i.imgur.com/OIimzby.png
:/
^So what's wrong with it ? PZLIB inflates your zlib/deflate input so you get larger output, using a stronger compression on that output makes it smaller.
as you can see in the picture the ratio was 85.84% i wanted it to go lower than that :/
panker1992
07-04-2017, 08:33
pzlib makes file bigger, because it find precompressed streams and extract them. thus allowing for better compression to be implemented
yes i totally understand that but what i am saying is that when i tried pzlib+srep+lzma it didn't give me good results because the file is 5.51gb and after compression i got 4.46gb
felice2011
08-04-2017, 00:42
@TWOELV....Initially 5.51gb, after the comp 4.46gb, you have a reduction of 19.05% and a ratio of 80.95%.
You have scanned the level of entropy file to realize of the compression threshold that you get it's to the limit, or you can do more with different compressors.
As this example with Data Smoke by Bulat Ziganshin.
https://i.imgsafe.org/898d62900b.jpg
ah i see i will try that and report back
pzlib actually gave me good results now the problem is the files that i am trying to compress doesn't really work with pzlib i mean i get errors when trying to unpack :'/
felice2011
09-04-2017, 00:08
pzlib actually gave me good results now the problem is the files that i am trying to compress doesn't really work with pzlib i mean i get errors when trying to unpack :'/
The file in question after packed with pzlib gives you error during an installation script or from the command line?
yes when i am trying to unpack with windows phone installer i get -11 error i have added proper support in the script but still i get error maybe you can take a look at my script and see if there is anything wrong
felice2011
09-04-2017, 09:30
@TWOELV .... If I have to fix, send me the complete script, even in private if you do not want to post it in a public way, so that I can test it.;)
P.S: Here we are in the wrong thread, we continue here http://www.fileforums.com/showthread.php?t=96242&page=32 if you send me the source.
gotitpakn
30-08-2017, 06:56
i have been plagued with general (de) compression errors in xz , any ideas where i should look to correct this ?
appears to have to do with the low amount of ram i have,on win7x64 4gb ram of which 2.25gb is reserved, so 1.75gb available ram. could some one help me with the info i need to mod the file or upload a version of arc.ini optimized for my low ram system. tottal noob to this so not sure what proper amount of ram to alot in the arc.ini
msr gives me error but cannot figure where to adjust ram used for it in the arc.ini, then last run . would like to get it figured out
vinay sawan
26-09-2017, 20:34
how to change size of bk2 video
how to change size of bk2 video
Bink Pack
panker1992
10-02-2018, 02:40
i am thinking of Popping Masks 2.8 around this time, new compressors new ways to pack stuff and i havent updated in a while
i am putting a lil teaser .... and hope for replys
felice2011
10-02-2018, 03:24
WOOO something new, Great Panker, everything to test.;)
doofoo24
10-02-2018, 04:26
Long time no see panker1992..
jack1505
11-02-2018, 10:33
Good News , we are waiting for the update
Waiting too :)
Good to see you back
panker1992
16-02-2018, 18:09
there you go :D
finally updated
They Feature all-out-compression on multidata
from Backing up mp3 or ogg libraries, photo albums to the biggest games
panker1992
16-02-2018, 19:04
I Will also upload another masked option soon, though it will be beta
romulus_ut3
16-02-2018, 19:44
My favorite compressor :D
Thank you!
panker1992
16-02-2018, 22:10
Let me check :D
here works fine
Side Note : You need at least 8 GB Ram for those settings .....
felice2011
17-02-2018, 00:09
@Panker, because 2 arc, 2012 and 2014, in what situation it needs, I always work with arc 2014, and I have never had problems.
panker1992
17-02-2018, 00:18
The difference is simple felice, Arc.exe 2012 edition has stronger dis-order it can pack 3 custom masks + 1 the default, Arc.2014 on the other hand doesnt do that it can pack 2 custom masks and 1 the default :D
you can pack with 2012 edition and of course unpack using 2014 edition !!
felice2011
17-02-2018, 00:28
mmm...sure...ok
https://image.ibb.co/gaZoO7/4m.png
but I prefer to stay with the 2014 edition ;)
panker1992
17-02-2018, 01:26
I didnt say it doesnt even try to create them but still, its buggy you end up data mixed in between masks :D
it may pack videos with precomp and text files with precomp :D
how many times you think i tried !!! before posting it
felice2011
17-02-2018, 01:46
oh yes, the image posted was only a test with the 2014 version, your great work I still have to test, as you know the choice of masks is not simple, and it's all based on the "arc.groups", the use default of your "arc.ini" and the various options can give the right idea, but I always recommend to scan the folder to be compressed, to check and know the various file formats, and use the right chain of masks.:D
Already existing scanning files utility, in this forum section. :D
ZakirAhmad
17-02-2018, 09:32
how can i set srep memory usage during decompression.
jack1505
18-02-2018, 03:25
Thank you for the updated version but could anyone do a tutorial for how 2.8 version works please? I want to repack a game
panker1992
18-02-2018, 11:08
i will pop up a video on youtube, it will be named compressing with masks original :D
jack1505
19-02-2018, 11:51
Thank you :)
Webster17
22-02-2018, 18:58
any solution to use Masked Compression on 4gb ram?
panker1992
23-02-2018, 01:07
Webster17,
Sorry but 4 GB ram means that you are low on "FREE" Ram, if you have around 2 ~ 2.2 GB ram free you cannot run most of the compressors with efficiency however i am willing to share some info on what to change at least to have some usability
1)change srep:m3f:a1 to srep:m2f:a1
2)change lzma2:d256m to lzma2:d50m
3)use zstd with level 19 and below
4)change lolz:d256m:mt2 to lolz:d64m:mt1
5) change pzlib:high:ct75p:st:1:c250m to pzlib:high:ct75p:st:1:c32m
felice2011
24-02-2018, 06:36
Panker, Dispack070 (exe2) generates me decompression error only with your new masks you have a fast solution, it works perfectly with the classic masked methods.
https://image.ibb.co/gHxfFx/p.png
jack1505
26-02-2018, 11:01
Please I want help with compression . I want to repack a game and I don't know what to change from files (Masked Data Compression 2.8 files) . All I know is to set up my game's location
I have 8gb Ram
panker1992
26-02-2018, 15:27
Felice simply dont use dispack :P its not something anyways :P
and Jack, just add the path and use it :D it will auto compress
jack1505
27-02-2018, 13:37
Felice simply dont use dispack :P its not something anyways :P
and Jack, just add the path and use it :D it will auto compress
I have this problem 21151
panker1992
28-02-2018, 10:23
Updated this and its fixed :D
Visit my other thread to find The New Unified Data Compression
I have this problem 21151
@jack1505, change dispack070 to exe2 or exe
dispack070 = exe2 (you can ask Bulat Ziganshin what's causing error?)
felice2011
21-04-2018, 03:55
With FreeArc, srep paired with lolz in decompression full repellency, with the same errors now known.
Jarod1337
11-09-2018, 19:09
Hello everyone,
I come to you by this message you ask a little question, I wonder what is called "Masked method"?
Is it because one method calls another ?
Example:
static=srep64+exe2+delta
sonido=static+zstd/$msrsolid=msr
Or because the method contains one or more groups ?
Example:
msc+srep+delta+exe2+4x4:lzma:max:250m/$text=dictionary/$deflate=precomp+srep+delta+4x4:lzma:max:250m
As I try to find documentation on this but I did not find, anyway thanks for your work!
felice2011
12-09-2018, 03:22
Hello everyone,
I come to you by this message you ask a little question, I wonder what is called "Masked method"?
Is it because one method calls another ?
Example:
static=srep64+exe2+delta
sonido=static+zstd/$msrsolid=msr
Or because the method contains one or more groups ?
Example:
msc+srep+delta+exe2+4x4:lzma:max:250m/$text=dictionary/$deflate=precomp+srep+delta+4x4:lzma:max:250m
As I try to find documentation on this but I did not find, anyway thanks for your work!
A pre-scan of the data folder selects one or more file formats to be compressed with one or more external compressors indicated in the masked method, in order to create a compressed archive with the use of different compressors for each file format.
You can also better understand the concept by opening the "arc.groups" file.;)
Jarod1337
12-09-2018, 10:04
Thank you for your answer, so it's because the method includes groups of extensions, I could not be sure that a method can call another made me doubt, thank you very much, have a good day! ;)
sirshi007
18-12-2018, 02:51
ERROR: general (de)compression error in reflate
help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
its not given in the manual
arc: user error (Unsupported compression method or error in parameters: xz/$msrsolid=msr/$void=srep64/$deflate=brute)
help!!!!!!!!!!
Ganji949
14-02-2019, 07:44
how to change colour in Windows Phone Skin
IgorKolesnik
14-03-2019, 04:47
Can I update the version with the addition of xtool, lolz, rz? Or how can I add it myself? Thank.
panker1992
16-03-2019, 01:53
maybe i need to update tools at some point, although you might have them updated already :D
and show you how to use a 3 way compression .....
sirshi007
18-03-2019, 00:39
heyy panker1992,
how to mention time for unpacking??
i suck @ inno scripting!!!!!!
jus provide me the script to mention percentage & time taken for installing & time remaining.
i would be thankful!!
panker1992
18-03-2019, 15:40
I am working at the moment making masks v3 + 3 ways compression with Inno support.
Method 1
With that said, Inno setup has isdone.dll which has these parameters,
""
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\Setup-1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break; ""
the second 0 is the progress bar, if you leave it to 0 the setup will create a records.inf which you can then use to smoothen out your progress bar.
Method 2
if you have 3 Freearc files however and you want to manually put a progress bar here is how
if not ISArcExtract ( 0, 30, ExpandConstant('{src}\data1.bin'), ExpandConstant('{app}'), '', false, 'yourpassword', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISArcExtract ( 0, 30, ExpandConstant('{src}\data2.bin'), ExpandConstant('{app}'), '', false, 'yourpassword', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISArcExtract ( 0, 40, ExpandConstant('{src}\data3.bin'), ExpandConstant('{app}'), '', false, 'yourpassword', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
the sum of all second column must be 100!!!!
I officially MOVE here: https://fileforums.com/showthread.php?t=102689
This is no longer a valid space to talk about Masks :D enjoy v3 and hope you suggest more to go
TECPlayz
27-04-2019, 09:21
I get this error:
Compiler error
Line 379
Column 8:
Unknown type 'TTimer'
Pls help
panker1992
27-04-2019, 13:25
I get this error:
Compiler error
Line 379
Column 8:
Unknown type 'TTimer'
Pls help
Use the nchanced edition of Inno setup, you can search forum and find it :D
Carldric Clement
29-05-2019, 07:36
I am working at the moment making masks v3 + 3 ways compression with Inno support.
Method 1
With that said, Inno setup has isdone.dll which has these parameters,
""
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\Setup-1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break; ""
the second 0 is the progress bar, if you leave it to 0 the setup will create a records.inf which you can then use to smoothen out your progress bar.
Method 2
if you have 3 Freearc files however and you want to manually put a progress bar here is how
if not ISArcExtract ( 0, 30, ExpandConstant('{src}\data1.bin'), ExpandConstant('{app}'), '', false, 'yourpassword', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISArcExtract ( 0, 30, ExpandConstant('{src}\data2.bin'), ExpandConstant('{app}'), '', false, 'yourpassword', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISArcExtract ( 0, 40, ExpandConstant('{src}\data3.bin'), ExpandConstant('{app}'), '', false, 'yourpassword', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
the sum of all second column must be 100!!!!
I officially MOVE here: https://fileforums.com/showthread.php?t=102689
This is no longer a valid space to talk about Masks :D enjoy v3 and hope you suggest more to go
Here's what I have done to make a code where people to get confused. :D
function FreearcExtract(PercentToFinish: double; Source, Output, Password: string): Boolean;
begin
Result:= ISArcExtract(0, PercentToFinish, ExpandConstant(Source), ExpandConstant(Output), '', false,
Password, ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False);
end;
How to use??
if not FreearcExtract(30, '{src}\Data1.bin', '{app}', 'yourPassword') then break;
NickX700K
05-06-2019, 20:24
When I tried Compressing A Game I Got This Error.
How To Fix It?
Please Help
panker1992
06-06-2019, 02:49
When I tried Compressing A Game I Got This Error.
How To Fix It?
Please Help
Ram related or you didnt define dictionary.
NickX700K
06-06-2019, 11:29
Ram related or you didnt define dictionary.
both is okay.
And I don't think its about windows. my windows is win 7 x64
mehenuf06
28-11-2019, 07:16
The temp files remains in the folder after installation completion
https://extraimage.net/images/2019/11/28/c3e788301b811e32172f05936d0f1a75.png (https://extraimage.net/image/qm2F)
how to split archive into parts?
Hi !
I know its funny ,but this is the first time i try to use masked compression.
And i run into the following problem :
In ARC.GROUPS i defined the followings :
$bink
*.bik
*.bk2
$bin
*.exe
*.dll
$audio
*.wav
$misc
*.asset
*.dat
My chain : -mzstd/$bink=bpk/$bin=razor:8m/$misc=srep+lolz:d256m:mt2/$audio=tak
AFAIK it means zstd used to compress those files are not defined in ARC.GROUPS.
But in my case zsdt is NOT USED on remaining files,instead compressed using TAK! (those files are renamed BINK movies)
what is the problem ? I dont understand....
Any help will be appreciated!
Thanks in advance!
ATM im away from my rig....
Try with $Default on beginning of arc.groups
Btw, what game? Maybe I can test too.
Im far away from my rig. For days.
Btw its mixed dataset.
Thanks for your tip,i will try ASAP.
If it doesnt work ,im pretty sure i will be back!:)
@KaktoR : Adding $default to the first line of groups-file looks like solved the problem !
Thank you very much !
please help me to fix isdone.dll error while unpacking the repack
MarioFiglio
12-06-2023, 13:39
I also often have problems when unpacking the repack
__________________________________________________ _____________________
https://betscommesseonline.com (https://betscommesseonline.com)
to add 2 files in one file ?
bincat is very simple and usefull
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.