FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Reflate (https://fileforums.com/showthread.php?t=97339)

ShadowEagle 04-03-2016 10:14

Quote:

Originally Posted by AHMED SAMI (Post 447830)
Act of Aggression

From 15.13 GB To 4.19 Excellent work Bilawal

How Can Decompression Using Inno Setup Bro ?

Waiting For Answer

The only way is using a bat file after installing. Cheers

AHMED SAMI 04-03-2016 17:20

Can you Attach A Bat File This For Me If Possible Bro ?

ShadowEagle 05-03-2016 03:38

Use "unpack.bat" for extracting. It`s included in the main download.

AHMED SAMI 08-03-2016 11:11

Ryse Son of Rome

From 24.11 GB To 4.90 Excellent work Bilawal

How Can Decompression Using Inno Setup Bro ?

Waiting For Answer

Bilawal 09-03-2016 00:38

Quote:

Originally Posted by AHMED SAMI (Post 447974)
Ryse Son of Rome

From 24.11 GB To 4.90 Excellent work Bilawal

How Can Decompression Using Inno Setup Bro ?

Waiting For Answer

Use CLS-reflate.dll, Put it in Include and Add it to script in appropriate places. And It will decompress automatically except it will take time to start.

Simorq 09-03-2016 03:53

1 Attachment(s)
Bilawal Reflate ISdone test

danswano 14-03-2016 01:28

Dear razor,
I've tried to figure out how to unpack using ISDone and CLS but i'm unable to find what to add to my Inno project
Can you guide me please?
Thanks :)

Bilawal 12-05-2016 22:12

update
Quote:

-1.00
progress showing done
optimized compressor
no more cls

ShadowEagle 13-05-2016 23:53

How to decompress using inno setup?

Razor12911 14-05-2016 00:20

Quote:

Originally Posted by ShadowEagle (Post 448998)
How to decompress using inno setup?

How lazy can some people get,

just add arc.ini and reflate.exe under [Files] then extracttemporaryfile, done.

ShadowEagle 14-05-2016 02:49

Sorry Razor12911, i`m not lazy ;) But i didn`t thought it`s so easy. Focused on "show progress while reflating" - this was what i thought, it`s not possible without CLS.

Razor12911 14-05-2016 03:18

It is, as long as there is stdin and stdout in arc.ini, cls is not really needed, srep itself can work without cls.

AHMED SAMI 21-05-2016 13:41

Test Is Done But Very Slow In Inno Setup !

danswano 27-05-2016 03:49

@AHMED SAMI
What did you use other than reflate and srep to get such low size with "Act of Agression"? did you add msc or precomp?
can you provide your compression bat please?
Thanks.

danswano 27-05-2016 03:51

@Bilawal
The CLS-reflate.dll is not working with the new refalte version Refl8v100.rar
Do you have an updated dll for Inno?
Thanks.

Razor12911 27-05-2016 04:35

Quote:

Originally Posted by danswano (Post 449221)
@Bilawal
The CLS-reflate.dll is not working with the new refalte version Refl8v100.rar
Do you have an updated dll for Inno?
Thanks.

Quote:

Originally Posted by Bilawal (Post 448975)
update

Quote:

Originally Posted by Razor12911 (Post 449009)
It is, as long as there is stdin and stdout in arc.ini, cls is not really needed, srep itself can work without cls.



CLS is not needed.

danswano 27-05-2016 04:50

Thanks razor for you kind reply.
I've added this to my arc.ini
"[External compressor:reflate]
packcmd = reflate -c $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = reflate -d - - <stdin> <stdout>"
but i'm getting unknown method error.

Can you please give a proper arc.ini to include in my inno output.

Razor12911 27-05-2016 04:56

This is the arc.ini

Quote:

[External compressor:reflate]
header = 0
packcmd = reflate -c $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = reflate -d - - <stdin> <stdout>
From your end, make sure:
arc.ini, reflate.exe are extracted to the setup's temp directory.
All your IsArcExtract, must all have:
if not ISArcExtract (Component, Progress, ArchiveSource, Destination, '', false, Password, ExpandConstant('{tmp}\arc.ini'), True/False) then break;

danswano 27-05-2016 05:02

Thanks razor, i did the missing part but got new error:
"Unable to write data to the disk" although theres a space and the setup.exe is run as admin :/

ShadowEagle 28-05-2016 06:02

I`m using recent script from Yener90.

I only found these lines:

Code:

if (GetValStrES('FreeArcFile' + IntToStr(i)) <> '') and (MyError = False) then begin
            repeat
              Arcs:=ArcDecode(GetValStrES('FreeArcFile' + IntToStr(i)))
              if ((Arcs[4] = '') or (UpperCaser(Arcs[4]) = ActLangShort)) and (ComponentsCheckFA(Arcs[5])) then begin
                if not FileExists(PathEdit.Text + '\' + Arcs[0]) then
                  ShowRDForm;
                if MyError = False then begin
                  if Arcs[3] = '0' then begin
                    if not ISArcExtract ( 0, 0, PathEdit.Text + '\' + Arcs[0], Arcs[1], '', false, Arcs[6], ExpandConstant('{tmp}\arc.ini'), Arcs[1], false) then MyError := True;
                  end else begin
                    if not ISArcExtract ( 0, 0, PathEdit.Text + '\' + Arcs[0], Arcs[1], '', false, Arcs[6], '', Arcs[1], false) then MyError := True;
                    if MyError = True then break;
                    if not ISSRepExtract  ( 0, 0, Arcs[1] + '\' + Copy (ExtractFileName(PathEdit.Text + '\' + Arcs[0]), 0, Pos('.', ExtractFileName(PathEdit.Text + '\' + Arcs[0]))) + 'srep',Arcs[1] + '\' + Copy (ExtractFileName(PathEdit.Text + '\' + Arcs[0]), 0, Pos('.', ExtractFileName(PathEdit.Text + '\' + Arcs[0]))) + 'pcf', true) then  MyError := True ;
                    if MyError = True then break;
                    if not ISPrecompExtract( 0, 0, Arcs[1] + '\' + Copy (ExtractFileName(PathEdit.Text + '\' + Arcs[0]), 0, Pos('.', ExtractFileName(PathEdit.Text + '\' + Arcs[0]))) + 'pcf',Arcs[1] + '\' + Copy (ExtractFileName(PathEdit.Text + '\' + Arcs[0]), 0, Pos('.', ExtractFileName(PathEdit.Text + '\' + Arcs[0]))) + 'arc', true) then MyError := True ;
                    if MyError = True then break;
                    if not ISArcExtract ( 0, 0,  Arcs[1] + '\'  + Copy (ExtractFileName(PathEdit.Text + '\' + Arcs[0]), 0, Pos('.', ExtractFileName(PathEdit.Text + '\' + Arcs[0]))) + 'arc', Arcs[1], '', true, Arcs[6], '', Arcs[1], false) then MyError := True;
                  end;
                end;
              end;
              if MyError = True then break ;
              i:= i + 1
            until GetValStrES('FreeArcFile' + IntToStr(i)) = ''
          end;

How to modify these to get relfate working? Thanks in advance Razor.

AHMED SAMI 28-05-2016 13:03

Quote:

@AHMED SAMI
What did you use other than reflate and srep to get such low size with "Act of Agression"? did you add msc or precomp?
can you provide your compression bat please?
Thanks.
arc.exe a -ep1 -r -ed -s; -w.\ -mreflate+srep+lzma "Test.cab" "D:\Act of Agression\*"

And Greetings

chum 29-05-2016 12:48

How to unpack with bat? I tried but it give me CRC error. The compression speed and ratio is very good but i cant find a way to unpack files with bat.

Someone can share?

danswano 30-05-2016 01:23

Quote:

Originally Posted by AHMED SAMI (Post 449259)
arc.exe a -ep1 -r -ed -s; -w.\ -mreflate+srep+lzma "Test.cab" "D:\Act of Agression\*"

And Greetings

It's impossible to go from 15 to 4 g.b with such compression
can you show me the info if the arc file?

pakrat2k2 08-08-2016 14:34

topic closed at OP's request. Will create new topic if/when they decide to.
Will leave this here for reading purposes only.


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

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