PDA

View Full Version : Precomp+Reflate+Srep+LZMA


gozarck
17-07-2014, 14:05
Reflate Method of Compression



Hello everyones
:POST
--------------------------------------------------------------------------


This is an example to compress games and install via command line.

--------------------------------------------------------------------------

precomp+reflate+srep+lzma
or
reflate+srep+lzma

--------------------------------------------------------------------------


Reflate (By Shelwein) modify to integrate precomp+srep+lzma (by gozarck)

Reflate = (raw2hif.exe + rawdet.exe +rawres.exe):

Reflate, is not a compiled program, but is a
compression method by using the command line in combination
with three programs (raw2hif.exe + rawdet.exe +rawres.exe) .

Acts like precomp, inflating preparing them to compress files with Srep + lzma

but if you want more compression you must use this form precomp+reflate+Srep+LZMA

Precomp inflate the files then reflate makes more bigger, the SREP will compress improve some bytes and LZMA finish the job.

--------------------------------------------------------------------------


all you need to pack games with this methods.

Download => 9501


--------------------------------------------------------------------------


PD:

seen in some post eh this compression method

arc.exe a -ep1 -dses --dirs -s; -lc- -di -i2 -r -msrep+delta+lzma:a1:mfbt4:d200m:fb128:mc10000:lc8
and prompt some users say
ERROR: can't allocate memory required for (de)compression

and the compression stop

the problem is this part of command "d200m"

this option is the dictionary size, so if you use
"d200m" you need 2100MB of ram

How to know?, is simple.
multiply 200*10.5 = 2100mb of ram
if you donīt have enough memory change "d64m"
multiply 64*10.5 = 672mb of ram

but you can limit the use of ram to compression in this seccion of command:

arc.exe a -ep1 -dses --dirs -s; -lc- -di -i2 -r

change to

arc.exe a -ep1 -dses --dirs -s; -lc512 -di -i2 -r

or any number you need

-lc (limit ram to compresion)

-ld (limit ram to decompression)

arc.exe a -ep1 -dses --dirs -s; -lc512 -ld512 -di -i2 -r

--------------------------------------------------------------------------

:ENDPOST
--------------------------------------------------------------------------

.

Razor12911
18-07-2014, 01:40
Nice, Really need to see the reflate because the last time I tried to make it work but it also tried not to work, So I just have to see how you did set it up.

buttignol
19-07-2014, 17:42
Very good now figure out how to unpack inno setup+isdone

Hex_Code
26-11-2014, 00:05
how to use it? I am new in game compressing. plz help :(

Carldric Clement
27-12-2014, 18:16
Nice bro!! :D

Inge
30-12-2014, 12:44
Nice Idea. But theres no Script anywere what can handle reflate. Not IC, GID and CIU (last one I don't really know). Maby you should make a own Installscript for this Method too[...]

RamiroCruzo
19-08-2015, 03:00
Can you please post a tutorial to work with it??????

gozarck
19-08-2015, 22:18
Hi RamiroCruzo, i dont have time to make a tutorial. but i give you reflate V2.
open with notepad++ "Reflatepack.bat" and set your path game.
the options on reflate are
reflate_c.cmd 1.tar 1.refl8 -l6 -s128 -t2
-l6 =level 1 to 9 (use 6 is stable)
-t2 =cores of your cpu so more cores reflate works more faster -t8 =8x faster
save Reflatepack.bat and run.


for unpack
set your compress file to unpack
arc x -ep1 -i1 -w. "dat_01.bin"
open ReflateUnpack.bat an set the destination folder.
set final path for example "-dpmygame\textures"
save ReflateUnpack.bat

Test reflate with light games or programs.

RamiroCruzo
20-08-2015, 01:16
Hi RamiroCruzo, i dont have time to make a tutorial. but i give you reflate V2.
open with notepad++ "Reflatepack.bat" and set your path game.
the options on reflate are
reflate_c.cmd 1.tar 1.refl8 -l6 -s128 -t2
-l6 =level 1 to 9 (use 6 is stable)
-t2 =cores of your cpu so more cores reflate works more faster -t8 =8x faster
save Reflatepack.bat and run.


for unpack
set your compress file to unpack
arc x -ep1 -i1 -w. "dat_01.bin"
open ReflateUnpack.bat an set the destination folder.
set final path for example "-dpmygame\textures"
save ReflateUnpack.bat

Test reflate with light games or programs.


Gracias Mr. Gozarck.................. :)

Just one more doubt, is -l9 stable {Without errors}

gozarck
20-08-2015, 14:47
This is Reflate Only V2.

only compress with reflate and then you can use any compatible compression for innosetup.

this is the code for inno to unpack reflate in bat
[Run]
;reflate bat file
FileName: "{app}\BundlePC\ReflateUnpack.bat"; Description: "ReflateStuff"; Flags: nowait postinstall skipifsilent;

RamiroCruzo
20-08-2015, 19:46
Thanks to you mi amigo....... I compressed GTA 5 in 29GB

ffmla
21-08-2015, 01:30
Thanks to you mi amigo....... I compressed GTA 5 in 29GB
Greetings,
can you share the way to compress the bulky files.
Since I am a beginner.please make the steps.
Thankyou..so much.

ffmla
24-08-2015, 04:42
This is Reflate Only V2.

only compress with reflate and then you can use any compatible compression for innosetup.

this is the code for inno to unpack reflate in bat
[Run]
;reflate bat file
FileName: "{app}\BundlePC\ReflateUnpack.bat"; Description: "ReflateStuff"; Flags: nowait postinstall skipifsilent;


i've do the compressed file{.bin} and installer{using inno unicode} but after installing ReflateUnpack.bat not works.it{cmd} blinks and exits and not to extract the .refl8 file.[i hve put unpacking file ialong with .refl8 file]
how to fix it.:confused:
Thanks in advance.

Problem solved.
I've copy the arc.exe in reflatepack folder to unpack folder & delete the unnecessary unarc.exe file.

Another help needed :
But this reflate extraction done in post installation section.(cmd panal extraction)
How to combine this process also come with main installation.

RamiroCruzo
24-08-2015, 07:27
Hi ffmla, Replace this line

arc x -ep1 -i1 -w. -dp. "1.tar"

With this

arc x -ep1 -i1 -w. -dp. "1.refl8"

gozarck
24-08-2015, 18:34
MoreInfo:
%NUMBER_OF_PROCESSORS% its native window variable how many cores have your cpu.
this variable its allready in reflate command. its -t0
-t0=reflate will use all the cpu cores for the job.
reflate_c.cmd 1.tar 1.refl8 -l6 -s128 -t0
You can use this variable in freearc command too
example
arc.exe a -s12g --cache1024 -maxs -dm0 -di+$ -ep1 -r -ed -i0 -lc- -ld1024 -mt%NUMBER_OF_PROCESSORS% -w./ dat_01.bin -msrep+exe+delta+lzma:1024m:mfbt4:250m:mc1000 "1.refl8"

RamiroCruzo
24-08-2015, 21:11
Hi Mr. Gozarck, Can you please create a Precomp only one too....For expanding files....... :D

Thanks in advance.................

I know you dislike precomp but please its essential mi hermano............ :)

ffmla
24-08-2015, 23:01
Hello Bro
I'll check it out. Once again thanks

gozarck
25-08-2015, 10:26
Hi Mr. Gozarck, Can you please create a Precomp only one too....For expanding files....... :D

Thanks in advance.................

I know you dislike precomp but please its essential mi hermano............ :)
Hello RamiroCruzo i dontīt like precomp but everyone use it and i have a lot info about it.
---EDIT
added test files.You will see the diference.
folder=21.5 mb
precomp file=21.5 mb
reflate file=201 mb

RamiroCruzo
25-08-2015, 22:23
Hello RamiroCruzo i dontīt like precomp but everyone use it and i have a lot info about it.
---EDIT
added test files.You will see the diference.
folder=21.5 mb
precomp file=21.5 mb
reflate file=201 mb

Gracias Mr. Gozarck...Its just that I needed that script [For .pcf files] too otherwise there's no match for reflate.........

RamiroCruzo
26-08-2015, 20:30
Hi Mr. Gozarck, Can you tell me the difference b/w srep & srep64 also b/w lzma & lzma64?????

Are they same or different?????

ffmla
27-08-2015, 02:06
This is Reflate Only V2.

only compress with reflate and then you can use any compatible compression for innosetup. {i am using Blackbox Script by Kurutucu }

this is the code for inno to unpack reflate in bat
[Run]
;reflate bat file
FileName: "{app}\BundlePC\ReflateUnpack.bat"; Description: "ReflateStuff"; Flags: nowait postinstall skipifsilent;

Thanks for reply,

[ Bro i am using reflate only by gozarck
ie.
Reflatepack output is 1.refl8 file

then compress the entire game folder with srep+arc.{overall o/p=dat_00.bin file} ] ==>compression section ok.

[i am using inno installer that extract dat_00.bin to 1.refl8 file.{while installing} =>in the destination folder i've .refl8 file

i need setup.exe can extract the dat_00.bin to game source files { i don't need .refl8 file}] ==>inno extraction section problem


i am follow the tutorial by goarcz but in the script section{Run: .bat execution fails{blinks}}.

if anyone (understand) help.


Details:
I may understand in your Run section in the tutorial
[Run]
;reflate bat file
FileName: "{app}\BundlePC\ReflateUnpack.bat"; that extract the reflate stream in to original file.{ in my case it doesn't works}

I Need:

inno script that extract the reflate+srep+arc compressed file{.bin} .

Thanks in advance.

Bilawal
28-08-2015, 00:45
As my first project, with the help Of RAZOR, I made Interface for reflate precompression by GOZARCK. I hope everyone likes it.

RamiroCruzo
28-08-2015, 00:53
This is heavenly Mr. Gozarck..... 300MB to 6.3GB...........Awesome mi amigo.................http://s16.postimg.org/5e0gwrubp/Screenshot_3.png

gozarck
28-08-2015, 16:04
HI RamiroCruzo

MD5Check
Check the integrity of the files extracted with reflate.
and for make ours repacks without errors.
-----------------------------------------------------------
HI ffmla

im so sorry my friend i cant anderstand you.
-----------------------------------------------------------
HI Bilawal

Very nice Bilawal (you are in the delphi's path, good)
-----------------------------------------------------------

RamiroCruzo
28-08-2015, 19:07
Everything is fine Mr. Gozarck..... Used MD5 integrity check too.......

RamiroCruzo
28-08-2015, 19:38
Can you tell me how to add fazip integration in Inno Scripts Mr. Gozarck......

RamiroCruzo
04-09-2015, 05:48
Mr. Gozarck........There is an error in reflate_c.cmd, in single-threaded mode does not check the minimum size of unit ..............I corrected it............

reflate_c.cmd - 6 KB (https://userscloud.com/9pwoi5wi47ih)

ChronoCross
05-09-2015, 20:34
Who use single thread option? LOL

RamiroCruzo
06-09-2015, 01:02
Who use single thread option? LOL

I use.... Sometimes while playing games ;)

Well its called perfection mate..........

Quick-Sighted
08-09-2015, 03:25
Mr. Gozarck........There is an error in reflate_c.cmd, in single-threaded mode does not check the minimum size of unit ..............I corrected it............

reflate_c.cmd - 6 KB (https://userscloud.com/er8ydbfr9hnb)
Mr. RamiroCruzo, outrageous to assign the work of others yourself. :mad: Error found and fixed a completely different person. The source is here. http://krinkels.org/threads/reflate.2750/#post-24886

DarkSoul19
08-09-2015, 04:21
Nice share Gorack, I just tested on The Witcher 3 and compressed to 20.3 gig Very happy
Plus i just love bat scripts, i was thinking of puting up my Ascii Animation script, nice for people to watch as game instals

RamiroCruzo
09-09-2015, 00:54
Mr. RamiroCruzo, outrageous to assign the work of others yourself. :mad: Error found and fixed a completely different person. The source is here. http://krinkels.org/threads/reflate.2750/#post-24886

Mate.... I already corrected it before posting to Krinkels.... Just kept it to post as v2.1 ;)

Its not always necessary to take credits mate.... Just helping people is important..........

Grumpy
09-09-2015, 02:16
@RamiroCruzo

You should always credit those who actually do the work and not take credit for something you clearly did not do. :(

You have been caught out at least man up and credit the rightful person.
I really have no time for those trying to take credit for others work.


@Quick-Sighted

Thankyou for bringing this to our attention, I think its now fair to say 'RamiroCruzo' has lost any credibility here, that's if he ever had any. ;)

RamiroCruzo
09-09-2015, 02:25
@RamiroCruzo

You should always credit those who actually do the work and not take credit for something you clearly did not do. :(

You have been caught out at least man up and credit the rightful person.
I really have no time for those trying to take credit for others work.


@Quick-Sighted

Thankyou for bringing this to our attention, I think its now fair to say 'RamiroCruzo' has lost any credibility here, that's if he ever had any. ;)

:confused: If its what you people think then sorry......Don't want any mess................. :(

Also the one posted on Krinkels doesn't delete 1.tar after process...........Mine did always........

ChronoCross
09-09-2015, 07:37
Mmm toolame from krinkels .org made the code. I think it's a very advanced tester or hidden developer from encode .ru. The credits is quality here. It's not the same:ultraarc by razor12911 instead ultraarc by chronocross lol. A few years ago internet bring me here because i was searching ciuv2 by yener90 and i found a big problem here about the credits of one inno script. Any modification in the source doesn't mean you are the owner.

mikey26
10-09-2015, 15:04
@RamiroCruzo (Presenting UltraARC for Inno Setup) now it the second time u have been bust making other peoples work yours and no credit was give here to Razor.i think this deserves a ban.

http://encode.ru/threads/2249-UltraARC-for-Inno-Setup-2-1-0-1

RamiroCruzo
11-09-2015, 00:54
@RamiroCruzo (Presenting UltraARC for Inno Setup) now it the second time u have been bust making other peoples work yours and no credit was give here to Razor.i think this deserves a ban.

http://encode.ru/threads/2249-UltraARC-for-Inno-Setup-2-1-0-1

Hey....Just download & Check INSTRUCTIONS.txt.....I never said it was mine........:mad:

RamiroCruzo
11-09-2015, 01:00
@RamiroCruzo (Presenting UltraARC for Inno Setup) now it the second time u have been bust making other peoples work yours and no credit was give here to Razor.i think this deserves a ban.

http://encode.ru/threads/2249-UltraARC-for-Inno-Setup-2-1-0-1

Also if you wanna ban me just do it but you can't blame me for what I have not done :mad::mad::mad:

mikey26
11-09-2015, 03:59
first thing you do if posting on another site somebody elses work is you give credit like on this site if you are using someone elses script for conversions first thing converters do is give thx and credit to the persons work and script you are using.its all over this site in every conversion posted.

RamiroCruzo
11-09-2015, 05:57
first thing you do if posting on another site somebody elses work is you give credit like on this site if you are using someone elses script for conversions first thing converters do is give thx and credit to the persons work and script you are using.its all over this site in every conversion posted.

See it again mate.........

ChronoCross
11-09-2015, 09:08
Precomp reflate or reflate precomp what's the best way. Repackers use reflate and then precomp. But here says precomp then use reflate.anyone was test this?

CoreGames
11-09-2015, 20:10
Precomp reflate or reflate precomp what's the best way. Repackers use reflate and then precomp. But here says precomp then use reflate.anyone was test this?

Do not use both, just use one. If you process a file using reflate then there will be no benefit if you further process it with precomp. Same goes for the precomp-->reflate method. About repackers method, its not like the way you are thinking.

Razor12911
11-09-2015, 21:00
Precomp reflate or reflate precomp what's the best way. Repackers use reflate and then precomp. But here says precomp then use reflate.anyone was test this?
I think reflate first then precomp is better in my own opinion though there are disadvantages either way.

ShadowEagle
12-09-2015, 07:28
Do not use both, just use one. If you process a file using reflate then there will be no benefit if you further process it with precomp. Same goes for the precomp-->reflate method. About repackers method, its not like the way you are thinking.

Can you please substantiate your statement? I think many people are interested in knowing how to get the best result using reflate. Cheers

ChronoCross
12-09-2015, 15:40
@Razor12991 @CoreGames thanks for the answers.


I thought if reflate skip any zlib header then precomp will catch the zlib header skipped. or vice versa.( something like that.).

About Repackers i don't understand, why "compress" each *.raw file with precomp.
It is as compress temporary files(i think it's wasted time or i miss somthing here).

metalgear V
Original Size: 21.5 GB
Repack Size: 11.5 GB
4hs installation with x6Cores and 8gb ram
without errors.
reflate+precomp
all exes are renamed. and one console application made it for unpack pcf files.
this console application read txt file and send info (to precomp) with the commands for extract pcf files.(Idon't know why those people don't use delphi script :confused:).another console aplication Quicksfv to check the crc of the files :confused: (maybe delta patch?).

PD:I'll switch from precomp to reflate.

Razor12911
12-09-2015, 23:04
But do you think it's worth it? Because combining the two SOMETIMES reduces the size by at least 5mb and MOSTLY you are better off with one of them. There arent that many zlib streams on files, its mostly deflates. The reason I suggested reflate first the precomp was the fact that reflate cannot be combined with srep and lzma in one go but precomp can, which saves time and space when decompressing, from my point of view, if you want to use both, rather discard reflate then set precomp to brute mode.

Shegorat
13-09-2015, 12:07
Maybe i can explain some features of precomp and reflate...

Precomp searches only zlib streams, zlib is only container for deflate stream with his own header. Precomp can try to search deflate streams in brute mode, but very very slowly. It can handle recursive compressed streams, and input files more than 4 Gb.

Reflate try to search deflate streams, it is more difficult, cause deflate stream is sequence of compressed blocks, every block starts with 3 bits header. So rawdet can find many false-positive streams. But there are some checks in rawdet, that can drop almost all invalid streams. Rawdet can not handle input files more than 4 Gb, and recursive compressed streams - for each unpacked stream need run rawdet again.

Sometimes using both precomp and reflate may get better results, than using one of them.

ChronoCross
13-09-2015, 14:09
this is great, this information (from @Razor12911 and @Shegorat) is a piece of gold. (here wasting time) I made compression test and precomp in brute is really but really slow but better in some games. on the other hand with x6cores reflate it is much faster and better, but in some files.
precomp brute mode
reflate level 6
game1 = precomp wins 200% vs 170% reflate md5 OK
game2 = reflate wins 320% vs 210% precomp md5 OK

need to find the right way to use reflate and precomp for my future game compressions,
only to save time
need to make more test i like the speed of reflate. it's a small percentage difference with precomp but is much faster, despite the limitations described by shegorat have reflate.

RamiroCruzo
17-09-2015, 01:45
Hey mates got the CLS-Reflater.dll.........

kenzo34
17-09-2015, 02:10
Hello is it possible in your next update to add the audio compressor msc? have reflected precomp+lzma+SREP+msc? compression will be greater for me if I also compress the audio. Thank you

HunterEmrah
25-09-2015, 08:36
anybody knows how to compress Mad Max?

mikey26
26-09-2015, 16:27
with the many compressors posted on the site.and a little reading on how its done.guys have created some cool tools that will do all the work for.:)

edward99
06-10-2015, 13:39
please can you tell me, bro how to compress watch dogs and tell how to create a small size into large size using precomp

edward99
06-10-2015, 13:43
please can you tell me, bro what is freearc+plugins

RamiroCruzo
10-10-2015, 09:01
Hi Mr. Gozarck....Long time no see........

I was working on a repack when I discovered that precomping .hif files give a better result than precomp+reflate........ I created the bat for it but it has many errors....So could you please try it .........

gozarck
10-10-2015, 15:02
very nice RamiroCruzo,
then you suggest that each file "* .hif" preprocess with precomp or pre-process and compress with precomp ?. Could you share the batch code. Also shares the name of the game you are using to test, and some statistics on the total weight of the game, and the final compressed size of the game with your script?
Also precomp method
Thankyou
---EDITED--------------------
i take youR suggestIon please test the bat file.

RamiroCruzo
10-10-2015, 22:35
very nice RamiroCruzo,
then you suggest that each file "* .hif" preprocess with precomp or pre-process and compress with precomp ?. Could you share the batch code. Also shares the name of the game you are using to test, and some statistics on the total weight of the game, and the final compressed size of the game with your script?
Also precomp method
Thankyou
---EDITED--------------------
i take youR suggestIon please test the bat file.

Gracias Mr. Gozarck....I was testing it on MadMax as its deflate steams i.e. .hif files were about 1-2MB big...... So I barely managed to do it by editing your script precomp+reflate+srep+lzma but it gave different errors everytime.........

Yup...Now the results,
Game Size:32GB
Precomp+Srep Size:4.4GB
Reflate+Arc Size:4GB
Reflate+Precomp Size:3.75GB

-------Edited-------------
A few suggestions for your consideration amigo,
1} Add .unp to precomp list too
2} Change the precomp method to -slow0 -cn
3} Don't compress the files i.e. make .refl8 just let them be as it is in a data folder....It will be easier to add it in installations then.

Well are you Mister or Master??? {Frankly asking} :P

gozarck
11-10-2015, 03:50
Well my friend in real life im a professor of history's art. But in internet iam gozarck i just sharing my hobby. About the code i hope razor can change the code. The problem is the names of the pcf files hif and unp have the same name. So we need to make a little code to rename it and restore.

gozarck
12-10-2015, 20:13
RamiroCruzo hif and unp with precomp (please change the command of precomp) pack and unpack. check the bat file (reflate_c.cmd and reflate_d.cmd) for info.

RamiroCruzo
13-10-2015, 09:31
RamiroCruzo hif and unp with precomp (please change the command of precomp) pack and unpack. check the bat file (reflate_c.cmd and reflate_d.cmd) for info.

Got an idea Mr Gozarck.......How about we precomp .raw files instead......???

I don't know if its a good idea but will be trying it....:)

gozarck
13-10-2015, 16:59
So you say use rawdet and compress each raw file with precomp. And unpack precomp and then rawrest right?

RamiroCruzo
13-10-2015, 23:54
So you say use rawdet and compress each raw file with precomp. And unpack precomp and then rawrest right?

Yup Amigo.......I worked on it & heres the result.....:)

Amsal
14-10-2015, 09:41
Hey Anyone can please tell me how to unpack multiple (BTW, I want for 3) .refl8, If anyone know please tell me the code

gozarck
14-10-2015, 19:39
Hi RamiroCruzo. I can't test your idea i don't have time. Tell me it's works?

edward99
18-10-2015, 00:56
Do anyone know how to compress watch dogs?
Do anyone know how to create small size to large using precomp

ShadowEagle
19-10-2015, 04:02
Something new on this method? Cheers

RamiroCruzo
20-10-2015, 23:20
Hi RamiroCruzo. I can't test your idea i don't have time. Tell me it's works?

Sorry amigo for such a late reply....Was busy in studies....

It works as inquired by you i.e. extracts .raw data then process them with precomp......

ShadowEagle
21-10-2015, 04:40
Will the progress be shown by isdone for all operations using your method?

gozarck
21-10-2015, 13:38
Will the progress be shown by isdone for all operations using your method?

Hi ShadowEagle only show the progress when the installer unpack precomp files, and not rawrest part.



---------------------------------------------------------------------------------------------

Sorry amigo for such a late reply....Was busy in studies....

It works as inquired by you i.e. extracts .raw data then process them with precomp......

very nice ramirocruzo, i dont have time to make a long test, so can you help to edward99 with watchdogs with your idea?

also i take your idea and made my own version.
"change the commands of precomp"
to
dir /s /b *.raw | ppx2 -P 2 -L 1 precomp -brute0 -cn -v -f "{}"
and remember ppx2 have max 4 process (4 cores) at once (-p 4) if you have more than 2 cores please change the command.

Thank you RamiroCruzo

RamiroCruzo
21-10-2015, 23:06
Hi ShadowEagle only show the progress when the installer unpack precomp files, and not rawrest part.



---------------------------------------------------------------------------------------------



very nice ramirocruzo, i dont have time to make a long test, so can you help to edward99 with watchdogs with your idea?

also i take your idea and made my own version.
"change the commands of precomp"
to
dir /s /b *.raw | ppx2 -P 2 -L 1 precomp -brute0 -cn -v -f "{}"and remember ppx2 have max 4 process (4 cores) at once (-p 4) if you have more than 2 cores please change the command.

Thank you RamiroCruzo

Thanks for the improved version amigo........ Yours way more legit than mine....

Do anyone know how to compress watch dogs?
Do anyone know how to create small size to large using precomp

As for you mate edward99, I once repacked Watch Dogs too in about 14GB..... Nothing Ripped........ Well I only used this.....
[External compressor:precomp]
header = 0
packcmd = precomp -slow -t-j {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:srep]
;options = l%d (minimal match length, default=512)
header = 0
packcmd = srep {options} -a1 -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmpp

[External compressor:msc]
header = 0
packcmd = msc c -v {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

ShadowEagle
22-10-2015, 04:40
Hi ShadowEagle only show the progress when the installer unpack precomp files, and not rawrest part.

Hi Gozarck, is there any way to show the progress? I mean it`s one of the most important things. Because if the installation stucks at 100% for 20 or 30 mins, the users will think the setup hanged up and maybe will quit. So it`s very important to find a solution. Greetz

RamiroCruzo
22-10-2015, 05:18
Hi Gozarck, is there any way to show the progress? I mean it`s one of the most important things. Because if the installation stucks at 100% for 20 or 30 mins, the users will think the setup hanged up and maybe will quit. So it`s very important to find a solution. Greetz

For the exact same reason amigo.... I prefer using independent compressors e.g. compressing all .raw & .hif files finally after processing them & then show the installers cmd files......

You can do that too..... :'( I was once allegated for BitCoinMiner as the installation stuck........

ShadowEagle
22-10-2015, 07:28
For the exact same reason amigo.... I prefer using independent compressors e.g. compressing all .raw & .hif files finally after processing them & then show the installers cmd files......

You can do that too..... :'( I was once allegated for BitCoinMiner as the installation stuck........

Don`t understand what`s the solution to show up progress. Sorry :(

Mini
22-10-2015, 11:09
what news about cls-reflate?

edward99
25-10-2015, 05:48
can any tell me how to repack games exactly like corepack please?
can anyone tell me how to repack assassin creed unity exactly like corepack please?

RamiroCruzo
25-10-2015, 09:20
can any tell me how to repack games exactly like corepack please?
can anyone tell me how to repack assassin creed unity exactly like corepack please?

:mad: No one is telling you if you ask like this........:p

Instead would have asked how to compress it smallest

ChronoCross
25-10-2015, 11:20
I was tested ff type-0 by corepack. And they know how to made small size but the installer have a few errors and fail to install correctly

GBT repack
25-10-2015, 11:43
Gracias Mr. Gozarck....I was testing it on MadMax as its deflate steams i.e. .hif files were about 1-2MB big...... So I barely managed to do it by editing your script precomp+reflate+srep+lzma but it gave different errors everytime.........

Yup...Now the results,
Game Size:32GB
Precomp+Srep Size:4.4GB
Reflate+Arc Size:4GB
Reflate+Precomp Size:3.75GB

-------Edited-------------
A few suggestions for your consideration amigo,
1} Add .unp to precomp list too
2} Change the precomp method to -slow0 -cn
3} Don't compress the files i.e. make .refl8 just let them be as it is in a data folder....It will be easier to add it in installations then.

Well are you Mister or Master??? {Frankly asking} :P


The same scheme, why I can not be compressed into so small, you dare to publish your bat?
Thanks!!

GBT repack
25-10-2015, 11:50
I need a friend to share the "MadMax" compression scheme, thank you

RamiroCruzo
25-10-2015, 22:32
The same scheme, why I can not be compressed into so small, you dare to publish your bat?
Thanks!!

Being both Non-Polite & Polite at once....LOL..........

Well I can almost tell you about 3-4 methods of its compression..............

1. If you only use Reflate+ Arc of Mr Razor12911, your result will be about 8 GB
2. If you Precomp -brute all game archive & then compress, it will go about 4.47 GB
3. If you use quickBMS to extract game archives then compress, it will go about 5 GB
4. If you use method discussed by me & amigo Gozarck you can get it about 3.8 GB if using a strong compression over it

I need a friend to share the "MadMax" compression scheme, thank you

edward99
25-10-2015, 23:00
can anyone know how to repack games assassin's creed unity

RamiroCruzo
25-10-2015, 23:08
can anyone know how to repack games assassin's creed unity

vIEW PREVIOUS PAGE BRO......ALREADY SENT.........

edward99
25-10-2015, 23:46
there is no information about it on previous page

RamiroCruzo
25-10-2015, 23:55
there is no information about it on previous page

[External compressor:precomp] header = 0 packcmd = precomp -slow -t-j {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp [External compressor:srep] ;options = l%d (minimal match length, default=512) header = 0 packcmd = srep {options} -a1 -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmpp [External compressor:msc] header = 0 packcmd = msc c -v {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

GBT repack
26-10-2015, 19:50
Gracias Mr. Gozarck....I was testing it on MadMax as its deflate steams i.e. .hif files were about 1-2MB big...... So I barely managed to do it by editing your script precomp+reflate+srep+lzma but it gave different errors everytime.........

Yup...Now the results,
Game Size:32GB
Precomp+Srep Size:4.4GB
Reflate+Arc Size:4GB
Reflate+Precomp Size:3.75GB

-------Edited-------------
A few suggestions for your consideration amigo,
1} Add .unp to precomp list too
2} Change the precomp method to -slow0 -cn
3} Don't compress the files i.e. make .refl8 just let them be as it is in a data folder....It will be easier to add it in installations then.

Well are you Mister or Master??? {Frankly asking} :P

Being both Non-Polite & Polite at once....LOL..........

Well I can almost tell you about 3-4 methods of its compression..............

1. If you only use Reflate+ Arc of Mr Razor12911, your result will be about 8 GB
2. If you Precomp -brute all game archive & then compress, it will go about 4.47 GB
3. If you use quickBMS to extract game archives then compress, it will go about 5 GB
4. If you use method discussed by me & amigo Gozarck you can get it about 3.8 GB if using a strong compression over it


Thank you very much!:)

edward99
27-10-2015, 00:41
Can anyone know about free+plugins?
corepack admin is telling that he repack the games using free+plugins

RamiroCruzo
27-10-2015, 07:38
Can anyone know about free+plugins?
corepack admin is telling that he repack the games using free+plugins

Who's that ADMIN???

edward99
27-10-2015, 10:31
there are 4 admins on corepack
one is on my facebook friend also

mikey26
28-10-2015, 12:41
@edward99 do u think a repack team will actually tell you what they use to repack.does not mean anything if he is you facebook friend.those guys will make up things just to keep you running around just to find out what they use to compress,but in the background they laughing the asses off cause you believe them.freearc and plugins lol....

RamiroCruzo
29-10-2015, 07:28
there are 4 admins on corepack
one is on my facebook friend also

Amigo....Just spit out the name as I've asked to 2 of them & they said no........

Rahmani1811
29-10-2015, 23:17
can we use precomp+Reflate with Installer Creator

gozarck
30-10-2015, 20:18
Reflate is the old method. RamiroCruzo method its better. Its the new method. Raw precomp srep lzma. Use precomp in brute mode (take long time) and ppx2 use only one core (P 1) because temp files *.dat of precomp have a conflict.

chum
31-10-2015, 12:09
Gozarck, i tried your reflate v2 into GTA 5 file, but it give me bad results, a 2gb original game file is inflated to 35gb with reflate v2 then i dont get good result compressing it.

I see many guys saying they compressed GTA 5 from 60gb to 30gb~ with reflate, but i think they using a different version?

1234567890123
31-10-2015, 12:31
but brute mode is too slow (more than a minute even for filesizes around 10 KB) i waited 1.5gb raw precomp srep lzma compression 2 hours but it wasn't finished :(.sometimes after reflate there are too many raw files so compression time is big.

pakrat2k2
31-10-2015, 12:32
then edit arc.ini & change it

gozarck
31-10-2015, 17:10
yes brute mode is really slow, and a hate precomp for this and other things too, but the result of the final compression size is very small. i dont have all the answers for specific games, but if each one of you bother to compress a game and post the results with raw + precomp we would help among all together.
------------------------

BY RamiroCruzo IDEA
raw+precomp+arc example

RamiroCruzo
01-11-2015, 06:22
Gozarck, i tried your reflate v2 into GTA 5 file, but it give me bad results, a 2gb original game file is inflated to 35gb with reflate v2 then i dont get good result compressing it.

I see many guys saying they compressed GTA 5 from 60gb to 30gb~ with reflate, but i think they using a different version?

Amigos don't blame anyone :mad: You must know if you use strong inflating methods....Must must use even stronger compression method afterwards...

but brute mode is too slow (more than a minute even for filesizes around 10 KB) i waited 1.5gb raw precomp srep lzma compression 2 hours but it wasn't finished :(.sometimes after reflate there are too many raw files so compression time is big.

:) Good results come to those who wait amigo........

chum
01-11-2015, 08:38
I blaming no one, just asking for some advice. I tested the same gta file 900mb with Gozarck V1 and V2.

V1 inflated the file to 2gb then compressed to 500mb.

V2 inflated the file to 3gb then compressed to 770mb.

V1 and V2 have different settings for reflate. I just wanted to get V1 with Reflate only without compressing like Reflate only V2.

1234567890123
02-11-2015, 02:18
both of them (V1 and V2) is same.v2 is using more core,cpu.i think you used different levels V1=level 6 but in V2 you can change reflate level.I'm using reflate only and ultraarc (srep+delta+lzma) for better result.

GBT repack
03-11-2015, 10:11
I encountered a difficult problem, with the "precomp_reflate_srep_lzma" compressed file in the user's computer in the execution of decompression, but the decompression out of the game file...

ShadowEagle
04-11-2015, 03:12
yes brute mode is really slow, and a hate precomp for this and other things too, but the result of the final compression size is very small. i dont have all the answers for specific games, but if each one of you bother to compress a game and post the results with raw + precomp we would help among all together.
------------------------

BY RamiroCruzo IDEA
raw+precomp+arc example

Nice bat files :)

So, how to integrate that into an inno script? Your C.bat is creating *.pcf
and a .str file/s. After that the bat compresses to final archive using srep+lzma. Possible to use UltraARC for the final archive compressing?

GBT repack
04-11-2015, 03:12
Reflate Method of Compression



Hello everyones
:POST
--------------------------------------------------------------------------


This is an example to compress games and install via command line.

--------------------------------------------------------------------------

precomp+reflate+srep+lzma
or
reflate+srep+lzma

--------------------------------------------------------------------------


Reflate (By Shelwein) modify to integrate precomp+srep+lzma (by gozarck)

Reflate = (raw2hif.exe + rawdet.exe +rawres.exe):

Reflate, is not a compiled program, but is a
compression method by using the command line in combination
with three programs (raw2hif.exe + rawdet.exe +rawres.exe) .

Acts like precomp, inflating preparing them to compress files with Srep + lzma

but if you want more compression you must use this form precomp+reflate+Srep+LZMA

Precomp inflate the files then reflate makes more bigger, the SREP will compress improve some bytes and LZMA finish the job.

--------------------------------------------------------------------------


all you need to pack games with this methods.

Download => 9501


--------------------------------------------------------------------------


PD:

seen in some post eh this compression method

arc.exe a -ep1 -dses --dirs -s; -lc- -di -i2 -r -msrep+delta+lzma:a1:mfbt4:d200m:fb128:mc10000:lc8
and prompt some users say
ERROR: can't allocate memory required for (de)compression

and the compression stop

the problem is this part of command "d200m"

this option is the dictionary size, so if you use
"d200m" you need 2100MB of ram

How to know?, is simple.
multiply 200*10.5 = 2100mb of ram
if you donīt have enough memory change "d64m"
multiply 64*10.5 = 672mb of ram

but you can limit the use of ram to compression in this seccion of command:

arc.exe a -ep1 -dses --dirs -s; -lc- -di -i2 -r

change to

arc.exe a -ep1 -dses --dirs -s; -lc512 -di -i2 -r

or any number you need

-lc (limit ram to compresion)

-ld (limit ram to decompression)

arc.exe a -ep1 -dses --dirs -s; -lc512 -ld512 -di -i2 -r

--------------------------------------------------------------------------

:ENDPOST
--------------------------------------------------------------------------

.

====================

My English is poor.Please don't laugh at me.


Ask GOZARCK for a simple version of the "precomp_reflate_srep_lzma".
Every step can be intuitive, can make the rookie clearly understand.
I admit that this is a very good compression tool, with a breakthrough good tool!!
But I was extracting the time, an error, extracting the file out of thin air... I do not know where there is trouble, I was using Notepad to edit.
Thanks to the members of the forum, you have a better world!
Again, thanks to GOZARCK!

GBT repack
04-11-2015, 03:30
if not ShowChangeDiskWindow ('请找到分卷data0.bin,等待初始化并继续安装...', ExpandConstant('{src}'),'data0.bin') then break;
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data0.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\dlc_win64\ripper\game0.arc.d at'), ExpandConstant('{app}\dlc_win64\ripper\'), true) then break;


if not ShowChangeDiskWindow ('请插入下一个分卷data1.bin,等待初始化并继续安装...', ExpandConstant('{src}'),'data1.bin') then break;
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data1.bin'), ExpandConstant('{app}\archives_win64\'), '', false, '', '', ExpandConstant('{app}\archives_win64\'), notPCFonFLY {PCFonFLY}) then break;

if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game10.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game11.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game12.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game14.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game15.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game16.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game17.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game18.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;

if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game19.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game20.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game21.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game22.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game23.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game24.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game25.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game26.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game27.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;

if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game28.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game29.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game30.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game31.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game32.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game33.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game34.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game35.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game36.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\archives_win64\game38.arc.da t'), ExpandConstant('{app}\archives_win64\'), true) then break;

if not ShowChangeDiskWindow ('请插入下一个分卷data2.bin,等待初始化并继续安装...', ExpandConstant('{src}'),'data2.bin') then break;
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data2.bin'), ExpandConstant('{app}\archives_win64\'), '', false, '', '', ExpandConstant('{app}\archives_win64\'), notPCFonFLY {PCFonFLY}) then break;
//run bat: Compression it with "precomp_reflate_srep_lzma"
if not ISExec ( 0, 0, 0, ExpandConstant('{app}\archives_win64\data2\Reflate Unpack.bat'), ExpandConstant(''), ExpandConstant('{app}\archives_win64\data2\'), '...',true) then break;
//DELTREE——Delete all files and folders
//DelTree(ExpandConstant('{app}\archives_win64\data2 '), True, True, True);
//DeleteFile(ExpandConstant('{app}\data_01.bin')); //test

if not ShowChangeDiskWindow ('请插入下一个分卷data3.bin,等待初始化并继续安装...', ExpandConstant('{src}'),'data3.bin') then break;
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data3.bin'), ExpandConstant('{app}\archives_win64\'), '', false, '', '', ExpandConstant('{app}\archives_win64\'), notPCFonFLY {PCFonFLY}) then break;
//run bat; Compression it with "Reflate_v2"
if not ISExec ( 0, 0, 0, ExpandConstant('{app}\archives_win64\data3\Unpack. bat'), ExpandConstant(''), ExpandConstant('{app}\archives_win64\data3\'), '...',true) then break;
//DelTree(ExpandConstant('{app}\archives_win64\data3 '), True, True, True); //test





This is the "mad max" decompression process

User run the "ReflateUnpack.bat" and "Unpack.bat" alone, and they are all out of the file is gone, very strange...
Is not the user's system lacks the reasons for extracting the plug?
My own computer to install all normal!!!

RamiroCruzo
05-11-2015, 07:30
Nice bat files :)

So, how to integrate that into an inno script? Your C.bat is creating *.pcf
and a .str file/s. After that the bat compresses to final archive using srep+lzma. Possible to use UltraARC for the final archive compressing?

Here's the v2 of it amigo...... You can find all the .pcf files in data folder to compress them externally :)

Change log :
-Increased speed
-All .pcf files are now left untouched to compress externally

Well.... Its a drag :cool:

ShadowEagle
06-11-2015, 02:45
Very very good. thanks a lot man!

Now we all have to find a way to show up the progress in inno setup for restoring. I hate cmds so much ;)

Maybe Maste Razor can help us? Cheers

GBT repack
06-11-2015, 09:50
Here's the v2 of it amigo...... You can find all the .pcf files in data folder to compress them externally :)

Change log :
-Increased speed
-All .pcf files are now left untouched to compress externally

Well.... Its a drag :cool:

Reflate_c.cmd running after an error
Tip missing packjpg_dll.dll
I provided this "packjpg_dll.dll" and the compression process was quickly over.
My system is win7 64
What is the reason, my friend

panker1992
06-11-2015, 15:07
just replace the precomp with the newest version and let all other settings as they are it has fixes inside for that missing dll ...basically it comes inside the exe no need to have spare packjpg.dll anywhere ;)

RamiroCruzo
06-11-2015, 23:58
Reflate_c.cmd running after an error
Tip missing packjpg_dll.dll
I provided this "packjpg_dll.dll" and the compression process was quickly over.
My system is win7 64
What is the reason, my friend

DON'T GET IT MYSELF....... It runs on my PC finely

patric
07-11-2015, 21:12
hi , please compresse.bat for black ops III

pakrat2k2
07-11-2015, 21:28
hi , please compresse.bat for black ops III

why should someone else do all the hardwork for you... 867 Files, 8 Folders. Figure it out for yourself, then you've accomplished something.

ShadowEagle
10-11-2015, 02:27
Very very good. thanks a lot man!

Now we all have to find a way to show up the progress in inno setup for restoring. I hate cmds so much ;)

Maybe Maste Razor can help us? Cheers





No one? :confused:

RamiroCruzo
10-11-2015, 02:41
No one? :confused:

Everyones trying mate...... We aren't Tony Stark.......

Well amigos anyone of you have MSC only bat....In need of it urgently......

Grumpy
10-11-2015, 03:31
everyones trying mate...... we aren't tony stark.......


yep, gave me a laugh :D

RamiroCruzo
10-11-2015, 18:44
yep, gave me a laugh :D

Hey..... (T_T) Atleast give a thought to my second line amigos......

By the way leave it........:rolleyes:
o(╥﹏╥)o
。゚(゚ī(00)`゚)゚。
。゚(゚ī(00)`゚)゚。。゚(゚ī(00)`゚)゚。

。゚(゚ī(00)`゚)゚。
。゚(゚ī(00)`゚)゚。

Bilawal
11-11-2015, 05:45
Well, I tried to make a cls-reflate and I succeed but I took few minutes to start and speed of decompression didn't exceed 2mb. So, I didn't post it.
If you like that, then I will post both compressor and decompressor.

ShadowEagle
11-11-2015, 06:06
Well, I tried to make a cls-reflate and I succeed but I took few minutes to start and speed of decompression didn't exceed 2mb. So, I didn't post it.
If you like that, then I will post both compressor and decompressor.

Nice work, but 1.2 GB per hr isn`t enough, because most people will use reflate on big archives. Maybe there is a way to get it faster? Cheers

panker1992
11-11-2015, 07:00
Bilawal post your method with reflater will be glad to test it with zstd and see how it performs :)

RamiroCruzo
11-11-2015, 08:50
Well, I tried to make a cls-reflate and I succeed but I took few minutes to start and speed of decompression didn't exceed 2mb. So, I didn't post it.
If you like that, then I will post both compressor and decompressor.

You can try increasing the # of raw2hif processes to speed up your decompression

panker1992
11-11-2015, 18:11
To make decompressing run faster and not wait 10 - 20 seconds to start minimize code in arc.ini only use the absolutely necessary • it will help a lot ;)

Bilawal
11-11-2015, 18:22
Compressor is ready and I will post, But the source of decompressor is messy right now and can't upload. In the mean time test the compressor. :o

Known Bugs:
Don't work with any work dir command (-w) except -w.\

panker1992
12-11-2015, 01:51
Compressor is ready and I will post, But the source of decompressor is messy right now and can't upload. In the mean time test the compressor. :o

Known Bugs:
Don't work with any work dir command (-w) except -w.\

thanks a lot for this ....reflate tools are epic .... but they still need work to be using them on critical data.... :)

Rahmani1811
13-11-2015, 02:07
is there any script to decompress Precomp + Reflate

astra12
14-11-2015, 10:22
gozarck gozarck hiii buddy i am new in this
can you plz explains how to do compression with reflate_GOZARCK i have already..
also after doing this that i have to make a setup to decompression reflate so i can make my own repack plzzz anyone...also can explain by images plzzz i needd thanksss....

gozarck
15-11-2015, 05:11
Hello astra12 i have some minutes at the day to spend time in my pc. So sorry my friend i cant made a tutorial. Check the threads in this post. And use search tool of the site. There is not automatics ways to make repacks with extreme compression. If you can read some threads you will see that make a repack is very artesanal take some time to learn and made.

astra12
15-11-2015, 08:19
thanks bro i think i will froget to repack the game i just think but now it oke.....thanksss

edward99
20-11-2015, 03:19
can anyone how to extend size using precomp 3.8

RamiroCruzo
20-11-2015, 04:06
can anyone how to extend size using precomp 3.8

You can use the following command line amigo:

precomp -brute0 -v -f

Thanks for keeping this forum alive :):D

Amsal
20-11-2015, 08:59
You can use the following command line amigo:

precomp -brute0 -v -f

Thanks for keeping this forum alive :):D

RamiroCruzo, can you tell how to add command line in precomp, and I am using UltraArc v3040

panker1992
20-11-2015, 09:19
@Razor12991 @CoreGames thanks for the answers.


I thought if reflate skip any zlib header then precomp will catch the zlib header skipped. or vice versa.( something like that.).

About Repackers i don't understand, why "compress" each *.raw file with precomp.
It is as compress temporary files(i think it's wasted time or i miss somthing here).

metalgear V
Original Size: 21.5 GB
Repack Size: 11.5 GB
4hs installation with x6Cores and 8gb ram
without errors.
reflate+precomp
all exes are renamed. and one console application made it for unpack pcf files.
this console application read txt file and send info (to precomp) with the commands for extract pcf files.(Idon't know why those people don't use delphi script :confused:).another console aplication Quicksfv to check the crc of the files :confused: (maybe delta patch?).

PD:I'll switch from precomp to reflate.


I dont know if its only me but... reflate method gives me many errors. Can you provide a working reflate bat file please ???
i made Metal Gear Solid 14.3 gigs without using precomp or reflate btw and it only decompresses within 40~60 minutes ....
i could use those extra 3 gigs tho!

ChronoCross
20-11-2015, 16:59
Recently i was start the ramirocruzo method raw and prcomp in brute0 mode. Is very slow but you get small size like repackers. I was spend 9 hs. To compress and 2hs to extract.

RamiroCruzo
21-11-2015, 09:00
RamiroCruzo, can you tell how to add command line in precomp, and I am using UltraArc v3040

Change the config in the resources folder amigo..... :D

rinaldo
21-11-2015, 09:15
deflation is a method that does not work well, can read a data stream of only 4g, also combined with precompress ago whims (the project was abandoned) :)

panker1992
21-11-2015, 18:57
I gave this a lot of thought and i came out with this .... its an attempt to make this a little faster. I put precomp+msc+srep+xz(lzma2) best options in arc.ini.
Let me see your thoughts. it Produces natural bin files ..so they can be used in Inno if you want

RamiroCruzo
21-11-2015, 19:52
I gave this a lot of thought and i came out with this .... its an attempt to make this a little faster. I put precomp+msc+srep+xz(lzma2) best options in arc.ini.
Let me see your thoughts. it Produces natural bin files ..so they can be used in Inno if you want

This is a nice thing you made amigo.....

You can see your script as ReflateOnly+StrongCompression

Just dont get big & green..... :D

panker1992
21-11-2015, 20:28
Well yeah :P hope you like it
well i cant get big & green yet :P at least not until i show one more tool that i am working on right now ;) will take time but... just wait

RamiroCruzo
21-11-2015, 20:42
Well yeah :P hope you like it
well i cant get big & green yet :P at least not until i show one more tool that i am working on right now ;) will take time but... just wait

You already know what I'm working on amigo.....Its almost complete [v0.1 Alpha] ........... It only supports compression & decompression..........No level options......

panker1992
21-11-2015, 21:38
You already know what I'm working on amigo.....Its almost complete [v0.1 Alpha] ........... It only supports compression & decompression..........No level options......

nice nice i cant wait :D about lvls all in good time :thumbsup

kenzo34
24-11-2015, 04:32
hello I love fazip compression, it is fast and gives good result. I change the method of Gozarck and ramirocruzo to be integrated fazip. from the .bat file you can change precomp in brute0 it settle on intense. thanks GOZARCK

Amsal
24-11-2015, 23:53
hello I love fazip compression, it is fast and gives good result. I change the method of Gozarck and ramirocruzo to be integrated fazip. from the .bat file you can change precomp in brute0 it settle on intense. thanks GOZARCK

It doesn't work for me, it says
c_szCompress: compression error

kenzo34
25-11-2015, 00:52
Hello Amsal thank you for your return I have not had this error on test 10 x64 I'll check on another platform and you will apply a fix. Thank you

Rahmani1811
25-11-2015, 02:24
not working bro

Amsal
25-11-2015, 02:31
Hello Amsal thank you for your return I have not had this error on test 10 x64 I'll check on another platform and you will apply a fix. Thank you

Bro, I am also running on Windows 10 x64, but it doesn't work

kenzo34
25-11-2015, 05:05
sorry this is not working for you.
can be error path to access the file is compressed.
I edit bat file and some change.
I hope it will work for you Amsal, Rahmani1811

Amsal
28-11-2015, 06:29
sorry this is not working for you.
can be error path to access the file is compressed.
I edit bat file and some change.
I hope it will work for you Amsal, Rahmani1811

Sorry bro, it doesn't worked again, can you make a video of repacking it, and is it worked for anyone else except Kenzo34

Amsal
11-12-2015, 02:02
I found many reflate methods on this thread, but I can't understand which one is the best! So, anyone can please give me the best Reflate method! I need it urgently! So please reply as soon as possible

Best Reqards

Amsal
11-12-2015, 02:35
Here's the v2 of it amigo...... You can find all the .pcf files in data folder to compress them externally :)

Change log :
-Increased speed
-All .pcf files are now left untouched to compress externally

Well.... Its a drag :cool:

How to disable the packjpg recompression in this.

Razor12911
11-12-2015, 05:29
How to disable the packjpg recompression in this.

make sure your precomp isn't injected with packjpg_dll.dll, it must not be precomp043, packjpg_dll.dll must either be 9kb or 10kb and also make sure that packjpg_dll1.dll isn't present during compression.

gozarck
11-12-2015, 20:06
Amsal you can use simple splitting tool by felice because use reflate by razor is the best option for now to use in iss files. We waiting ASC. All this tools posted here are batch. You can test raw precomp by ramiro cruzo is another reflate method. For me i want the most minimal size of the file compressed and i dont mind about the design of extraction i want extract the file correctly and thats all.

AHMED SAMI
25-03-2016, 13:58
No one? The Solution Under Construction Soon

Thanks To For each of The Mr : Ramiro Cruzo Mr : Gozarck

RamiroCruzo
25-03-2016, 20:56
The Solution Under Construction Soon

Thanks To For each of The Mr : Ramiro Cruzo Mr : Gozarck


What help do you need mi amigo ??? :)

ChronoCross
29-03-2016, 12:17
Ahmed The solution is under construction by razor and panker for IS.

lolaya
29-03-2016, 14:52
ahmed men egy lol :D

AHMED SAMI
30-03-2016, 15:00
Ahmed The solution is under construction by razor and panker for IS.

Thanks for The Clarification

ahmed men egy lol

Yes I am an Egyptian programmer ...

DanielSW
09-07-2016, 20:32
Oh well to complicated :D aaaaa

SAM2712
11-07-2016, 05:16
Please anyone :o
I want to ask that How to create LIST.txt file containing only ONE type of files Extension eg. .arc files and process by using my method :confused:

gozarck
11-07-2016, 14:22
echo off
color 1f
REM Windows size
mode con: cols=130lines=50
setlocal EnableDelayedExpansion
cls
REM show process files
echo. Processing files...
REM process each file in folder
for /r "D:\MyGame" %%F IN (*.arc) do (echo %%~dpnXF>>arclist.txt)

SAM2712
11-07-2016, 21:36
REM process each file in folder
for /r "D:\MyGame" %%F IN (*.arc) do (echo %%~dpnXF>>arclist.txt)


Thanks Gozarck :)
I also worked out to add the extension like(*.arc,*.2nd extension)
Worked..So nxt is how to integrate this list with arc method...

wait..
I figured out..Thanks for help Gozarck :D

pakrat2k2
30-07-2016, 10:14
some amazing reading, take the time to thank those who have helped so much

SAM2712
30-07-2016, 11:39
Got It Pakrat :)

Blade2239
25-09-2016, 10:52
Is new version is coming with better speed performance and compression.....

RamiroCruzo
25-09-2016, 13:29
Is new version is coming with better speed performance and compression.....

Thanks matey for CPRing my favourite thread...

Just tell the features you want in it and you'll be surprised :D

l4km47
05-10-2016, 21:44
nice one dude. thanx a lot :)

AHMED SAMI
03-11-2016, 18:09
Compressor is ready and I will post, But the source of decompressor is messy right now and can't upload. In the mean time test the compressor.

Known Bugs:
Don't work with any work dir command (-w) except -w.\


I Finally Found A Solution By Me

I Will Share It Soon For All The World

LuzhinE
03-11-2016, 18:23
AHMED SAMI

as achieved, this understanding

Ryse Son of Rome
From 24.11 GB To 4.90

http://fileforums.com/showpost.php?p=447974&postcount=44

ZakirAhmad
23-02-2017, 09:35
I tried to compress a file with precomp+reflate+srep64+lzma... reflate is shewaims and precomp version is 042... But while decompressing it gives CRC error at 8%... If I use with reflate or without precomp above command, then all goes well... I am using cls-reflate for schewains reflate by razor....
Please help me...

kj911
13-02-2024, 07:51
Hey mates got the CLS-Reflater.dll.........

How to use the CLS?? Nothing work. (Testing/compare than the newest precomp/xtool.)

Used files:
Arc.exe
cls.ini
CLS-Reflater.dll
hif2raw_dll.dll
raw2hif_dll.dll

Command: Arc.exe a -r -ep1 -ed -s -mreflater archive.arc *.zip

ERROR: invalid compression method or parameters in reflater

Any tips? Tested in 19/22kB or 73/84KBs sizes hif/raw.dll files.

Masquerade
14-02-2024, 09:12
Why on earth would you want to use such an outdated solution over modern xtool?

kj911
15-02-2024, 04:26
Simply, for testing and comparison purposes only...