PDA

View Full Version : The calculation of the decompressed data


Realtech_Redux
10-01-2017, 13:49
For English-speaking users:
Hello, you can implement the calculation of the decompressed data in megabytes. Example (238 MB Uncompressed from 9405 MB)?

P.S I know that my English is very bad. Don't hurt me please! :)

(IsDone 0.6 Final)

rinaldo
12-01-2017, 22:23
yes! but you have to create a freearc .dll to do it :p

Gupta
12-01-2017, 23:52
you can use this instead:
http://freearc.org/InnoSetup.aspx
it got feature build in.

or if u want, you can use
total size * current progress / 1000 // under Progresscallback, variable names may be wrong
and u will get the uncompressed size

rinaldo
13-01-2017, 05:33
Gupa
The question was about isDone seems to me :rolleyes:

Gupta
13-01-2017, 06:00
RINA

May Be it should be "Gupta" , " Prince Gupta". :rolleyes:

and ProgressCallback is isdone function and i think, CurrentPct of total size will give u current uncompressed size, i think

rinaldo
13-01-2017, 06:18
May Be it should be "Gupta" , " Prince Gupta". :rolleyes:

and ProgressCallback is isdone function and i think, CurrentPct of total size will give u current uncompressed size, i think


ok Gupa you're right http://fileforums.com/images/icons/icon14.gif

Gupta
13-01-2017, 06:27
Its Guppppppppp"t"a

felice2011
13-01-2017, 07:08
Ha Ha Ha..what a mess I hope ye have agreed.:p

rinaldo
13-01-2017, 07:48
ma chi la sciolto :eek:

ok ok PrinceGupta2000 sorry ahah!

Razor12911
16-01-2017, 00:07
function GetCompressedSize(Archive: String): Integer;
external 'GetCompressedSize@files:arcsize.dll cdecl';
function GetOriginalSize(Archive: String): Integer;
external 'GetOriginalSize@files:arcsize.dll cdecl';

rinaldo
16-01-2017, 00:57
or as said, needed a library http://fileforums.com/images/icons/icon14.gif

Realtech_Redux
16-01-2017, 06:00
Error
http://i.imgur.com/fjm3WUO.png

Razor12911
16-01-2017, 07:24
Looks like you forgot something.