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

Reply
 
Thread Tools Display Modes
  #91  
Old 29-10-2015, 23:17
Rahmani1811 Rahmani1811 is offline
Registered User
 
Join Date: Oct 2015
Location: India
Posts: 20
Thanks: 4
Thanked 2 Times in 2 Posts
Rahmani1811 is on a distinguished road
can we use precomp+Reflate with Installer Creator
Reply With Quote
Sponsored Links
  #92  
Old 30-10-2015, 20:18
gozarck's Avatar
gozarck gozarck is offline
Registered User
 
Join Date: Nov 2013
Location: Argentina
Posts: 162
Thanks: 253
Thanked 438 Times in 111 Posts
gozarck is on a distinguished road
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.
__________________
-the science of the useless-
Reply With Quote
The Following User Says Thank You to gozarck For This Useful Post:
RamiroCruzo (31-10-2015)
  #93  
Old 31-10-2015, 12:09
chum chum is offline
Registered User
 
Join Date: Jan 2015
Location: South America
Posts: 56
Thanks: 46
Thanked 9 Times in 7 Posts
chum is on a distinguished road
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?
Reply With Quote
  #94  
Old 31-10-2015, 12:31
1234567890123 1234567890123 is offline
Registered User
 
Join Date: Aug 2014
Location: ankara
Posts: 88
Thanks: 120
Thanked 30 Times in 19 Posts
1234567890123 is on a distinguished road
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.
Reply With Quote
  #95  
Old 31-10-2015, 12:32
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 6,503
Thanks: 2,555
Thanked 7,351 Times in 2,644 Posts
pakrat2k2 is on a distinguished road
then edit arc.ini & change it
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
RamiroCruzo (31-10-2015)
  #96  
Old 31-10-2015, 17:10
gozarck's Avatar
gozarck gozarck is offline
Registered User
 
Join Date: Nov 2013
Location: Argentina
Posts: 162
Thanks: 253
Thanked 438 Times in 111 Posts
gozarck is on a distinguished road
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
Attached Files
File Type: 7z 11_2015_raw_precomp_ARC.7z (1.28 MB, 549 views)
__________________
-the science of the useless-
Reply With Quote
The Following 4 Users Say Thank You to gozarck For This Useful Post:
arkantos7 (02-11-2015), kenzo34 (01-11-2015), RamiroCruzo (31-10-2015), Simorq (01-11-2015)
  #97  
Old 01-11-2015, 06:22
RamiroCruzo's Avatar
RamiroCruzo RamiroCruzo is offline
Registered User
 
Join Date: Jul 2015
Location: India
Posts: 184
Thanks: 386
Thanked 165 Times in 75 Posts
RamiroCruzo is on a distinguished road
Angry

Quote:
Originally Posted by chum View Post
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 You must know if you use strong inflating methods....Must must use even stronger compression method afterwards...

Quote:
Originally Posted by 1234567890123 View Post
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........
__________________
We are such stuff as dreams are made on, and our little life is rounded with a sleep.
Reply With Quote
The Following User Says Thank You to RamiroCruzo For This Useful Post:
gozarck (02-11-2015)
  #98  
Old 01-11-2015, 08:38
chum chum is offline
Registered User
 
Join Date: Jan 2015
Location: South America
Posts: 56
Thanks: 46
Thanked 9 Times in 7 Posts
chum is on a distinguished road
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.
Reply With Quote
  #99  
Old 02-11-2015, 02:18
1234567890123 1234567890123 is offline
Registered User
 
Join Date: Aug 2014
Location: ankara
Posts: 88
Thanks: 120
Thanked 30 Times in 19 Posts
1234567890123 is on a distinguished road
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.
Reply With Quote
The Following User Says Thank You to 1234567890123 For This Useful Post:
gozarck (02-11-2015)
  #100  
Old 03-11-2015, 10:11
GBT repack GBT repack is offline
Registered User
 
Join Date: May 2015
Location: china
Posts: 32
Thanks: 34
Thanked 15 Times in 9 Posts
GBT repack is on a distinguished road
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...
Reply With Quote
  #101  
Old 04-11-2015, 03:12
ShadowEagle's Avatar
ShadowEagle ShadowEagle is offline
Registered User
 
Join Date: Dec 2014
Location: Wonderland
Posts: 138
Thanks: 18
Thanked 21 Times in 18 Posts
ShadowEagle is on a distinguished road
Talking

Quote:
Originally Posted by gozarck View Post
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?
Reply With Quote
The Following User Says Thank You to ShadowEagle For This Useful Post:
gozarck (07-11-2015)
  #102  
Old 04-11-2015, 03:12
GBT repack GBT repack is offline
Registered User
 
Join Date: May 2015
Location: china
Posts: 32
Thanks: 34
Thanked 15 Times in 9 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)
  #103  
Old 04-11-2015, 03:30
GBT repack GBT repack is offline
Registered User
 
Join Date: May 2015
Location: china
Posts: 32
Thanks: 34
Thanked 15 Times in 9 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
  #104  
Old 05-11-2015, 07:30
RamiroCruzo's Avatar
RamiroCruzo RamiroCruzo is offline
Registered User
 
Join Date: Jul 2015
Location: India
Posts: 184
Thanks: 386
Thanked 165 Times in 75 Posts
RamiroCruzo is on a distinguished road
Quote:
Originally Posted by ShadowEagle View Post
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 :
Code:
-Increased speed
-All .pcf files are now left untouched to compress externally
Well.... Its a drag
Attached Files
File Type: zip Raw+Precomp v2.zip (441.1 KB, 244 views)
__________________
We are such stuff as dreams are made on, and our little life is rounded with a sleep.
Reply With Quote
The Following 6 Users Say Thank You to RamiroCruzo For This Useful Post:
1234567890123 (05-11-2015), arkantos7 (05-11-2015), Bilawal (05-11-2015), gozarck (07-11-2015), Lucas65 (24-11-2015), ShadowEagle (05-11-2015)
  #105  
Old 06-11-2015, 02:45
ShadowEagle's Avatar
ShadowEagle ShadowEagle is offline
Registered User
 
Join Date: Dec 2014
Location: Wonderland
Posts: 138
Thanks: 18
Thanked 21 Times in 18 Posts
ShadowEagle is on a distinguished road
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



Reply With Quote
The Following User Says Thank You to ShadowEagle For This Useful Post:
gozarck (07-11-2015)
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 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 10:51.


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