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)

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

TTimer error
 
I get this error:
Compiler error
Line 379
Column 8:
Unknown type 'TTimer'

Pls help

panker1992 27-04-2019 13:25

Quote:

Originally Posted by TECPlayz (Post 480813)
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

Coding Style
 
Quote:

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

Code:

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

Code:

if not FreearcExtract(30, '{src}\Data1.bin', '{app}', 'yourPassword') then break;

NickX700K 05-06-2019 20:24

Problem
 
1 Attachment(s)
When I tried Compressing A Game I Got This Error.
How To Fix It?
Please Help

panker1992 06-06-2019 02:49

Quote:

Originally Posted by NickX700K (Post 481255)
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

Quote:

Originally Posted by panker1992 (Post 481260)
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/1...936d0f1a75.png

arg9244 05-02-2020 23:45

how to split archive into parts?

shazzla 03-06-2020 06:56

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

shazzla 05-06-2020 04:05

No idea?!

KaktoR 05-06-2020 05:24

Try with $Default on beginning of arc.groups

Btw, what game? Maybe I can test too.

shazzla 05-06-2020 07:31

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 !

pathum 01-02-2021 15:02

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


All times are GMT -7. The time now is 16:03.

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