FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Masked Compression (Ultimate compression in one go) (https://fileforums.com/showthread.php?t=97530)

Gupta 04-09-2016 04:27

Quote:

Originally Posted by romulus_ut3 (Post 451301)
What I wanna know is, what did you all do to Panker? :D

What do you think?;):D:D;)

SAM2712 04-09-2016 05:13

Quote:

Originally Posted by kenzo34 (Post 450993)
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 :(

kenzo34 04-09-2016 07:12

1 Attachment(s)
Quote:

Originally Posted by SAM2712 (Post 451308)
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

SAM2712 04-09-2016 09:11

Quote:

Originally Posted by kenzo34 (Post 451315)
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:

kenzo34 04-09-2016 10:06

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;

kenzo34 04-09-2016 10:23

4 Attachment(s)
Attachment 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

SAM2712 04-09-2016 19:41

@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

LuzhinE 09-09-2016 08:56

Update it to try Mad Max

http://www.fileforums.com/showpost.p...7&postcount=27

Amsal 09-09-2016 09:07

Quote:

Originally Posted by panker1992 (Post 451458)
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

kenzo34 10-09-2016 23:20

Hello panker1992.
Your update will be welcome.
nice to see you on your post

Scanno 18-09-2016 05:28

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 :)

Gupta 18-09-2016 05:52

Quote:

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...&postcount=541
http://fileforums.com/showpost.php?p...&postcount=553

Quote:

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

Scanno 18-09-2016 07:24

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 :)

Scanno 24-09-2016 06:25

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

sunnygb 11-10-2016 07:09

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 :)

MCWRX 27-11-2016 05:35

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?

Code:

[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>


Gupta 27-11-2016 06:03

Quote:

Originally Posted by MCWRX (Post 454070)
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?

Code:

[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.

MCWRX 27-11-2016 06:40

Quote:

Originally Posted by PrinceGupta2000 (Post 454071)
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

Code:

-msrep:m3f:a1:l512+delta+xz
And arc.ini

Code:

[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

Code:

#define XZ

#ifdef XZ
Source: ISDone\dec.exe; DestDir: {tmp}; Flags: dontcopy
#endif

#ifdef XZ
    ExtractTemporaryFile('dec.exe');
#endif

Thanks in advance.

Gupta 27-11-2016 06:45

Quote:

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

MCWRX 27-11-2016 10:55

Quote:

Originally Posted by PrinceGupta2000 (Post 454075)
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 !

aswadd 12-12-2016 10:09

Quote:

Originally Posted by MCWRX (Post 454074)
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

Code:

-msrep:m3f:a1:l512+delta+xz
And arc.ini

Code:

[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

Code:

#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 And Replace In Masked Compression

SRXII 20-02-2017 02:13

ISDone.dll error
 
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:

rinaldo 20-02-2017 06:42

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

TWOELV 03-04-2017 13:21

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

TWOELV 03-04-2017 17:40

but if i extract them then is it possible to put it back to .minizip format again ?

FD_RLT 03-04-2017 19:52

Quote:

Originally Posted by TWOELV (Post 457772)
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.

TWOELV 04-04-2017 04:36

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

TWOELV 05-04-2017 17:21

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

:/

FD_RLT 06-04-2017 02:06

^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.

TWOELV 06-04-2017 04:25

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


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

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