Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 17-07-2014, 15:05
gozarck's Avatar
gozarck gozarck is offline
Registered User
 
Join Date: Nov 2013
Location: Argentina
Posts: 163
Thanks: 254
Thanked 494 Times in 114 Posts
gozarck is on a distinguished road
Precomp+Reflate+Srep+LZMA

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 => reflate_GOZARCK.7z


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


PD:

seen in some post eh this compression method

Code:
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
--------------------------------------------------------------------------

.

Last edited by gozarck; 17-07-2014 at 15:24.
Reply With Quote
The Following 29 Users Say Thank You to gozarck For This Useful Post:
1234567890123 (29-08-2015), ADMIRAL (10-06-2020), ALiAS2 (03-11-2018), Andu21 (29-07-2016), arkantos7 (22-07-2014), BLACKFIRE69 (12-09-2019), buttignol (19-07-2014), Carldric Clement (27-12-2014), CAT8K (04-11-2016), COPyCAT (18-05-2015), giothothan (28-05-2019), hackmac89 (08-04-2017), houcine80 (17-07-2014), Inge (30-12-2014), Jiva newstone (03-12-2017), JRD! (11-07-2016), Lucas65 (24-11-2015), mausschieber (18-07-2014), MMR (03-06-2015), Newbie (22-08-2015), photuong1994 (30-12-2014), RamiroCruzo (19-08-2015), ramydarkness (22-03-2022), Razor12911 (18-07-2014), Shadow Delta (18-07-2014), Simorq (16-03-2015), Stor31 (05-09-2015), Vladislav989 (09-08-2022), y_thelastknight (08-09-2015)
Sponsored Links
  #2  
Old 18-07-2014, 02:40
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,099 Times in 2,295 Posts
Razor12911 is on a distinguished road
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.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
gozarck (18-07-2014), y_thelastknight (08-09-2015)
  #3  
Old 19-07-2014, 18:42
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 102
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Very good now figure out how to unpack inno setup+isdone
Reply With Quote
  #4  
Old 26-11-2014, 01:05
Hex_Code's Avatar
Hex_Code Hex_Code is offline
Registered User
 
Join Date: Nov 2014
Location: Jalpaiguri, West Bengal, India
Posts: 6
Thanks: 6
Thanked 0 Times in 0 Posts
Hex_Code is on a distinguished road
how to use it? I am new in game compressing. plz help
Reply With Quote
  #5  
Old 27-12-2014, 19:16
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 579
Thanks: 579
Thanked 632 Times in 227 Posts
Carldric Clement is on a distinguished road
Thumbs up Awesome Method!!

Nice bro!!

Last edited by pakrat2k2; 30-10-2015 at 07:19.
Reply With Quote
  #6  
Old 30-12-2014, 13:44
Inge's Avatar
Inge Inge is offline
Die Hard Member
 
Join Date: Jun 2012
Location: Germany
Posts: 420
Thanks: 203
Thanked 633 Times in 201 Posts
Inge is on a distinguished road
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[...]
Reply With Quote
The Following User Says Thank You to Inge For This Useful Post:
Carldric Clement (30-12-2014)
  #7  
Old 19-08-2015, 04:00
RamiroCruzo's Avatar
RamiroCruzo RamiroCruzo is offline
Registered User
 
Join Date: Jul 2015
Location: India
Posts: 184
Thanks: 386
Thanked 169 Times in 75 Posts
RamiroCruzo is on a distinguished road
Can you please post a tutorial to work with it??????

Last edited by pakrat2k2; 30-10-2015 at 07:20. Reason: Do NOT QUOTE ENTIRE POST
Reply With Quote
The Following User Says Thank You to RamiroCruzo For This Useful Post:
gozarck (19-08-2015)
  #8  
Old 19-08-2015, 23:18
gozarck's Avatar
gozarck gozarck is offline
Registered User
 
Join Date: Nov 2013
Location: Argentina
Posts: 163
Thanks: 254
Thanked 494 Times in 114 Posts
gozarck is on a distinguished road
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.
Attached Files
File Type: 7z Reflate_v2.7z (1.05 MB, 1360 views)
__________________
-the science of the useless-
Reply With Quote
The Following 4 Users Say Thank You to gozarck For This Useful Post:
EyeSalt (28-02-2018), Lucas65 (24-11-2015), RamiroCruzo (20-08-2015), Simorq (20-08-2015)
  #9  
Old 20-08-2015, 02:16
RamiroCruzo's Avatar
RamiroCruzo RamiroCruzo is offline
Registered User
 
Join Date: Jul 2015
Location: India
Posts: 184
Thanks: 386
Thanked 169 Times in 75 Posts
RamiroCruzo is on a distinguished road
Quote:
Originally Posted by gozarck View Post
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}

Last edited by RamiroCruzo; 20-08-2015 at 02:40. Reason: :p Broke some rules
Reply With Quote
The Following User Says Thank You to RamiroCruzo For This Useful Post:
gozarck (20-08-2015)
  #10  
Old 20-08-2015, 15:47
gozarck's Avatar
gozarck gozarck is offline
Registered User
 
Join Date: Nov 2013
Location: Argentina
Posts: 163
Thanks: 254
Thanked 494 Times in 114 Posts
gozarck is on a distinguished road
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
Code:
[Run]
;reflate bat file
FileName: "{app}\BundlePC\ReflateUnpack.bat"; Description: "ReflateStuff"; Flags: nowait postinstall  skipifsilent;
Attached Images
File Type: jpg 1.jpg (121.5 KB, 3863 views)
File Type: jpg 2.jpg (123.5 KB, 3837 views)
File Type: jpg 3.jpg (84.2 KB, 3811 views)
Attached Files
File Type: 7z ReflateOnly_V2.7z (1.25 MB, 896 views)
__________________
-the science of the useless-
Reply With Quote
The Following 5 Users Say Thank You to gozarck For This Useful Post:
Andrey167 (25-08-2015), Lucas65 (24-11-2015), Newbie (22-08-2015), RamiroCruzo (20-08-2015), Simorq (24-08-2015)
  #11  
Old 24-08-2015, 05:42
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 112
Thanks: 602
Thanked 65 Times in 41 Posts
ffmla is on a distinguished road
Unhappy help regard reflate{reflate+srep+arc}

Quote:
Originally Posted by gozarck View Post
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
Code:
[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.
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.

Last edited by ffmla; 03-09-2015 at 02:05. Reason: Updating information
Reply With Quote
  #12  
Old 27-08-2015, 03:06
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 112
Thanks: 602
Thanked 65 Times in 41 Posts
ffmla is on a distinguished road
Exclamation help needed

Quote:
Originally Posted by gozarck View Post
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
Code:
[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.

Last edited by ffmla; 29-08-2015 at 10:23. Reason: Updating information
Reply With Quote
The Following User Says Thank You to ffmla For This Useful Post:
gozarck (28-08-2015)
  #13  
Old 20-08-2015, 20:46
RamiroCruzo's Avatar
RamiroCruzo RamiroCruzo is offline
Registered User
 
Join Date: Jul 2015
Location: India
Posts: 184
Thanks: 386
Thanked 169 Times in 75 Posts
RamiroCruzo is on a distinguished road
Thanks to you mi amigo....... I compressed GTA 5 in 29GB
Reply With Quote
  #14  
Old 21-08-2015, 02:30
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 112
Thanks: 602
Thanked 65 Times in 41 Posts
ffmla is on a distinguished road
Quote:
Originally Posted by RamiroCruzo View Post
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.
Reply With Quote
The Following User Says Thank You to ffmla For This Useful Post:
buttignol (17-09-2015)
  #15  
Old 24-08-2015, 08:27
RamiroCruzo's Avatar
RamiroCruzo RamiroCruzo is offline
Registered User
 
Join Date: Jul 2015
Location: India
Posts: 184
Thanks: 386
Thanked 169 Times in 75 Posts
RamiroCruzo is on a distinguished road
Hi ffmla, Replace this line

Quote:
arc x -ep1 -i1 -w. -dp. "1.tar"
With this

Quote:
arc x -ep1 -i1 -w. -dp. "1.refl8"
Reply With Quote
Reply

Tags
lzma, precomp, precomp+reflate+srep+lzma, reflate, srep

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best compression switches for Precomp srep and arc Dheeraj88 PC Games - CD/DVD Conversions 1 16-06-2014 05:57
F.E.A.R. Collection [CIUv2 - 7xDVD5 - SREP LZMA m0] KaktoR PC Games - CD/DVD Conversions 2 02-04-2014 20:11
Precomp and SREP DazzleR Software 11 30-06-2013 08:53
Commands use in Srep and Precomp red01 PC Games 2 18-06-2013 06:55
SREP and PRECOMP Archive Info danswano Software 7 31-03-2013 14:28



All times are GMT -7. The time now is 14:32.


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