|
|
|
#1
|
||||
|
||||
|
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 enjoy v3 and hope you suggest more to go
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45. Last edited by panker1992; 18-03-2019 at 23:25. |
| The Following User Says Thank You to panker1992 For This Useful Post: | ||
oltjon (27-04-2019) | ||
| Sponsored Links |
|
#2
|
||||
|
||||
|
Coding Style
Quote:
![]() 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;
Code:
if not FreearcExtract(30, '{src}\Data1.bin', '{app}', 'yourPassword') then break;
Last edited by Carldric Clement; 06-06-2019 at 05:48. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best Compression Format | DRAGoN.X | Chit Chat | 11 | 07-09-2017 23:13 |
| Dragon Age: Origins Ultimate Edition 3xDVD5 [CIU 2.0.2] | NamelessOne | PC Games - CD/DVD Conversions | 16 | 03-03-2017 11:38 |
| compression -msrep+rep+delta+nzip | Danik1B9 | Conversion Tutorials | 11 | 21-12-2014 08:13 |
| Borderlands 2: Ultimate Vault Hunter Edition - 3xDVD5 [ALL DLCs + CIU V2] | REV0 | PC Games - CD/DVD Conversions | 7 | 06-07-2013 03:14 |
| Fallout New Vegas Ultimate Edition 3xDVD9 to 2xDVD5 1LANGUAGE | senseman | PC Games - CD/DVD Conversions | 29 | 04-06-2013 10:36 |