FileForums

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

Razor12911 26-01-2016 16:55

Reflate (Compatible with ISDone)
 
1 Attachment(s)
Here's reflate that is compatible with Inno Setup, it shows correct progress during decompression (optional), very few bugs with it. This does not deploy a large number of files during decompression so that a bonus.

Compression files:
rawdet.exe
reflate.exe

Decompression files:
raw2hif.exe
reflate.exe

Compression command line:
reflate -process input output

Decompression command lines:
reflate -restore input output
reflate -restore - - //for stdin and stdout

Arc.ini
Code:

[External compressor:reflate]
header = 0
packcmd  = reflate -process $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = reflate -restore - - <stdin> <stdout>


panker1992 26-01-2016 17:27

I will test this and tomorrow you will get my results in details :)

Let me know if you want me to put this update on masked volumes :) will only do so only if you approve

Amsal 26-01-2016 17:32

Bro I done the tests, it is working awesomely, it progress bar is working good with reflate, I added it to masked and it works amazingly, you can add it in your masked, I have done already that!! I used <stdin> <stdout> in the arc.ini, I tested with 115mb file and it compressed to 34mb and it decompress well


AND THANKS A LOT RAZOR12911 again!!!

coveiro 26-01-2016 17:38

Works correctly in inno setup, Thank you: D

Razor12911 26-01-2016 18:35

Quote:

Originally Posted by panker1992 (Post 446458)
I will test this and tomorrow you will get my results in details :)

Let me know if you want me to put this update on masked volumes :) will only do so only if you approve

Go ahead dude.

RamiroCruzo 26-01-2016 18:50

Testing done:
~~~~~~~~~

Avg. Decompression Speed 5mbps
Inno Support Perfect
Game tested Max Payne 2

ZakirAhmad 26-01-2016 19:19

there is no CLS reflate... how to make it work for wpi

NBB 26-01-2016 20:09

E:\0\Reflate_1400>arc.exe a -ep1 -r -ed -s; -mreflate data.arc pack\*"
FreeArc 0.67 (March 15 2014) creating archive: data.arc
Compressing 2 files, 23,367,114 bytes. Processed 0%
Compressing 23,367,114 bytes with reflate -process $$arcdatafile$$.tmp $$arcpack
edfile$$.tmp

Errorlevel=1

ERROR: general (de)compression error in reflate

felice2011 26-01-2016 23:45

Great Update Bro...;)

Mini 26-01-2016 23:48

Quote:

Originally Posted by NBB (Post 446468)

Errorlevel=1

ERROR: general (de)compression error in reflate

yes, error, please fix it

Mini 26-01-2016 23:54

make please control of level of compression!

example:
[External compressor:reflate]
header = 0
packcmd = reflate -l9 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

panker1992 27-01-2016 03:01

4 Tests using multiple file types and various methods
 
Test 1 = Steam Folder (no games just steam)

Total size = 545 MB

Total Size compressed = 275 MB

Method Used = reflate+srep64+exe2+delta+xz

Pack = Success

Unpack = Failed (= Stuck at around 65% waited for it 15 Minutes then aborded)

************************************************** *********************************************
************************************************** *********************************************

Test 2 = Counter strike 1.6

Total size = 699 MB

Total Size compressed = 241 MB

Method Used = reflate+srep64+exe2+delta+xz

Pack = Success

Unpack = Success (very smooth)

************************************************** *********************************************
************************************************** *********************************************

Test 3 = Random Cas Files from Dragon Age Inquisition

Total size = 3100 MB

Total Size compressed = --- MB

Method Used = reflate+srep64+exe2+delta+xz (second =precomp:fast+reflate+srep64+exe2+delta+xz )

Pack = Failed (Errorlevel=1 ERROR: general (de)compression error in reflate )

Unpack = ------

************************************************** *********************************************
************************************************** *********************************************

Test 4 = Random Files, Including mp3, jpg, mp4, game files,text

Total size = 935 MB

Total Size compressed = 711 MB // Second try with precomp = 711 MB

Method Used = reflate+msc+srep64+delta+exe2+zstd/$msrsolid=msr+zstd/$void=srep64+zstd

Second try Method Used = reflate+precomp:fast+msc+srep64+delta+exe2+zstd/$msrsolid=msr+zstd/$void=srep64+zstd

Pack = Success // Success

Unpack = Failed // Failed = reflate handler crashed both times in decompression

************************************************** *********************************************
************************************************** *********************************************

Operating System Win 8.1 // WPI Inno was used created also by Razor

felice2011 27-01-2016 03:50

Panker what is the problem, I try the updating reflate1400, it operates the complete extraction with different combinations of masks.:confused:

Used example mask:
Code:

reflate+precomp+srep64+nz/$msrsolid=msr+zstd/$void=msc+srep64/$text=srep64+zstd/$precomp=precomp+msc+srep64+delta+exe2+nz
The extraction is successful.

http://i63.tinypic.com/11ikg9u.png

panker1992 27-01-2016 04:34

Felice i took many errors :/

I tested more than once to verify and even then i took errors .... i will post Photos too

Nice job on new DLG :) it's gonna be epic

Running more tests on this reflate just to make sure :)

minivj 27-01-2016 05:00

Thanking
 
Great you are epic Razor12911:):)

1234567890123 27-01-2016 06:16

i'm always get general (de)compression error in reflate error but why?

-----
nope still its not working for me :(

panker1992 27-01-2016 06:56

i have found that if you use msc, decompression is likely to get an error !!!


smells like MSC is becoming obsolete :/


I hope this helps

Andrey167 27-01-2016 07:00

dont work compress and decompress win 8.1

panker1992 27-01-2016 07:12

Quote:

Originally Posted by Andrey167 (Post 446492)
dont work compress and decompress win 8.1


Can you post what error you get in each case ?? :cool:

did you try reflate+srep64+xz ??
this is the most basic complex free method to test

Andrey167 27-01-2016 07:38

Quote:

Originally Posted by panker1992 (Post 446495)
Can you post what error you get in each case ?? :cool:

did you try reflate+srep64+xz ??
this is the most basic complex free method to test

pack error
ERROR: general (de)compression error in reflate
and unpack error
Invalid compression method or parameters in reflate

panker1992 27-01-2016 07:42

did you update your ini file ??

i hope razor comes online :)

Razor12911 27-01-2016 09:00

Reflate's CLS plugin for Freearc uploaded

To avoid errors, make sure precomp and msc come first in compression.

panker1992 27-01-2016 09:37

this entire thread is my Christmas wish coming true :)

big smile

Mini 27-01-2016 09:42

Quote:

To avoid errors, make sure precomp and msc come first in compression.
-mprecomp+msc+reflate+lzma

error: ERROR: invalid compression method or parameters in reflate

chum 27-01-2016 10:13

Errorlevel=1
ERROR: general (de)compression error in reflate

I trying to compress GTA 5, if i try 1 single file of 1gb then compress fine. But if i try any size above 2gb this error occur in packing.

Mini 27-01-2016 10:28

Razor12911, thanks for work, but we wait for correction of a mistake :)

kassane 27-01-2016 10:30

Tested: Win7SP1 x64

method: reflate+srep32+lzma

Compress 800Mb (RE6): OK
Decompress:
CLS: OK - fast
Nocls: OK - low

tested CIU and WPI.

Congratulations Razor, did a great job. :D

Simorq 27-01-2016 10:48

Errorlevel=1
ERROR: general (de)compression error in reflate

Razor12911 27-01-2016 10:53

Judging from the simple types I used, max input size is ($7FFFFFFF) bytes

panker1992 27-01-2016 11:26

razor i got an idea,

[External compressor:reflate]
header = 0
packcmd = reflate -process $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = reflate -restore - - <stdin> <stdout>
solid = 0

can you try this ?? i will also test this myself, i just got this idea from precomp 045 i have been working on :)

Razor12911 27-01-2016 12:02

well, with those configurations, reflate became a bit faster but ratio is different.

Mini 27-01-2016 12:04

Razor12911, you work on correction of a mistake?

panker1992 27-01-2016 12:12

well, yeah but if input size limit =2gb then solid is the only option if you want to have success with a massive multi giga game :/

Razor12911 27-01-2016 12:17

Quote:

Originally Posted by Mini (Post 446514)
Razor12911, you work on correction of a mistake?

the current settings are stable, if I change anything, error.
Quote:

Originally Posted by panker1992 (Post 446515)
well, yeah but if input size limit =2gb then solid is the only option if you want to have success with a massive multi giga game :/

Error still persists dude.

@everyone
if you have decompression errors, use the second unpackcmd or arc2.ini, it will produce error message to give you a clear idea of what might be the problem, this works provided you don't have cls in the directory.

panker1992 27-01-2016 12:23

i have success :)

since i removed msc, everything works magically !!! i havent tried large files but whatever method i throw works

1234567890123 27-01-2016 12:30

why it's not work on me :( (windows 10)

Razor12911 27-01-2016 12:33

i'm using win 10, its working there, just put files in pack, make sure they are not big files, run pack.bat and, to decompress, run unpack.bat. Reflate only fails if no streams found or if input is big.

Andrey167 27-01-2016 13:55

File x64b.rpf (191 MB GTA 5) when trying to pack gives this error

http://s10.postimg.org/7d47ls2x1/Des...8_01_53_07.jpg

Razor12911 27-01-2016 14:03

1 Attachment(s)
Quote:

Originally Posted by Andrey167 (Post 446524)
File x64b.rpf (191 MB GTA 5) when trying to pack gives this error

http://s10.postimg.org/7d47ls2x1/Des...8_01_53_07.jpg

Works here.

rinaldo 27-01-2016 14:06

perfect! ISDone is ok... msc problem :)
good wok rz


All times are GMT -7. The time now is 12:13.

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