FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   The calculation of the decompressed data (https://fileforums.com/showthread.php?t=98729)

Realtech_Redux 10-01-2017 13:49

The calculation of the decompressed data
 
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

Quote:

Gupa
The question was about isDone seems to me :rolleyes:

Gupta 13-01-2017 06:00

Quote:

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

Quote:

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

1 Attachment(s)
Code:

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

2 Attachment(s)
Looks like you forgot something.


All times are GMT -7. The time now is 00:50.

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