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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-11-2015, 03:12
GBT repack GBT repack is offline
Registered User
 
Join Date: May 2015
Location: china
Posts: 32
Thanks: 37
Thanked 17 Times in 11 Posts
GBT repack is on a distinguished road
Smile

Quote:
Originally Posted by gozarck View Post
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 => Attachment 9501


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


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

.
====================

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!
Reply With Quote
The Following 2 Users Say Thank You to GBT repack For This Useful Post:
gozarck (07-11-2015), RamiroCruzo (04-11-2015)
Sponsored Links
  #2  
Old 04-11-2015, 03:30
GBT repack GBT repack is offline
Registered User
 
Join Date: May 2015
Location: china
Posts: 32
Thanks: 37
Thanked 17 Times in 11 Posts
GBT repack is on a distinguished road
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!!!

Last edited by GBT repack; 04-11-2015 at 04:05.
Reply With Quote
Reply

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 04:57
F.E.A.R. Collection [CIUv2 - 7xDVD5 - SREP LZMA m0] KaktoR PC Games - CD/DVD Conversions 2 02-04-2014 19:11
Precomp and SREP DazzleR Software 11 30-06-2013 07:53
Commands use in Srep and Precomp red01 PC Games 2 18-06-2013 05:55
SREP and PRECOMP Archive Info danswano Software 7 31-03-2013 13:28



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


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