Go Back   FileForums > Game Backup > PC Games

Reply
 
Thread Tools Display Modes
  #1  
Old 26-05-2013, 23:28
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
Creating a compressed.bat and uncompressed.bat for game files

Hi Guys,

First of all sorry for bothering u all.

My questions down there are just for educational purpose.
I know this form does not support illegal repacking.
I am not a repack , what i m doing is just for entertainment purpose.
I just wish to learn about this compression and repacking.

During my search about game repacking, i found on a form about compressing games by freearc, precomp, srep and then creating a setup file by innosetup tool.
The sequence was like this
1. combine files together using freearc (-m0 -dm0)
2. process archive with precomp
3. process output with srep
4. compress output with arc (-mx)
5. save registry files
6.Create a batch file (.bat) that automates all extract operations.
7. generate a setup of game by using innosetup.

i am not an expert but i can do basic things with freearc, precomp, srep and innosetup.

My problem here is
1. i dont know if it is neccessary to save registry files for every game?
2. Main Problem is that BATCH FILE.
I dont know how to make a batch file to uncompressed those files in the exact sequence to insatll game back in same location?
i read many articles in this form consisting of using compressed.bat files for game compression.
i am hoping guys here will help me out about this.

Red01
Reply With Quote
Sponsored Links
  #2  
Old 27-05-2013, 03:00
Pein46's Avatar
Pein46 Pein46 is offline
Registered User
 
Join Date: Feb 2013
Location: Malaysia
Posts: 27
Thanks: 12
Thanked 8 Times in 7 Posts
Pein46 is on a distinguished road
Talking

This is just an example..

Code:
Arc.exe x -y data1.arc
del data1.arc >nul
cls

srep.exe -d data1.srep
del data1.srep >nul
cls

precomp.exe -r data1.pcf
del data1.pcf >nul
cls

Arc.exe x -y data1.arc
del data1.arc >nul
cls
Reply With Quote
The Following 2 Users Say Thank You to Pein46 For This Useful Post:
red01 (28-05-2013), Simorq (16-12-2015)
  #3  
Old 27-05-2013, 03:08
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
@Pein46

thanks for your reply

do i have to put the arc.exe, precomp.exe, srep.exe or any other .dll files along with files during compression for this uncompression command?

if yes ,please Named those files.
Reply With Quote
  #4  
Old 27-05-2013, 05:15
Pein46's Avatar
Pein46 Pein46 is offline
Registered User
 
Join Date: Feb 2013
Location: Malaysia
Posts: 27
Thanks: 12
Thanked 8 Times in 7 Posts
Pein46 is on a distinguished road
Smile

Yes, put arc.exe, precomp.exe, packjpg_dll.dll, zlib1.dll (based on what version you use), srep.exe..
Reply With Quote
  #5  
Old 27-05-2013, 08:47
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
thanks again @pein46
i still have some childish questions.
do i have give the location of arc.exe and other files (which are in same folder as batch file).in batch file.?

Do i have to create autorun.inf file for batch file before creating setup by innosetup to make that bacth file during insallation without any further action?
Reply With Quote
  #6  
Old 28-05-2013, 05:51
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
i tried the commands provided by you @pein46 separately.
one of the command is not working for me..
precomp.exe -r data1.pcf
del data1.pcf >nul
..
can u please help me about this.?
Reply With Quote
  #7  
Old 28-05-2013, 06:36
Pein46's Avatar
Pein46 Pein46 is offline
Registered User
 
Join Date: Feb 2013
Location: Malaysia
Posts: 27
Thanks: 12
Thanked 8 Times in 7 Posts
Pein46 is on a distinguished road
Unhappy

Which precomp version you use?

if precomp v038, then maybe you can change it like this
Code:
precomp038.exe -r data1.pcf
add this line in innosetup to run setup.bat
Code:
[Run]
Filename: "{app}\setup.bat"

Last edited by Pein46; 28-05-2013 at 06:41.
Reply With Quote
  #8  
Old 28-05-2013, 09:14
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
thanks again for your kind reply @Pein46
i am using precompv04.

about autorun file..my question was
1. do i have to add this .bat along will that data.arc file(final file) before creating setup by innosetup
OR
2. first create set up by innosetup and then put this .bat file along with set.exe file (after generating setup by innosetup)..?


sir.. can u explain a bit about this setup.bat file, it make me curious.
Reply With Quote
  #9  
Old 06-06-2013, 19:22
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,030 Times in 3,083 Posts
pakrat2k2 is on a distinguished road
read post #2, his example would in fact be the setup.bat that he refered to in post #7
Reply With Quote
  #10  
Old 06-06-2013, 23:09
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
read post #2, his example would in fact be the setup.bat that he refered to in post #7
@pakrat2k2
thanks for ur reply but i short it out and now i am having a little issue..

arc x -y data.pcf.arc
CAN I REPLACE this line with the following one
arc e -y data.pcf.arc

Because this line arc x -y data.pcf.arc extract files with full directory creating another program files directory within extract folder (which is already in pf) .

is there any problem if i replace the x with e?
Reply With Quote
  #11  
Old 07-06-2013, 07:32
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,030 Times in 3,083 Posts
pakrat2k2 is on a distinguished road
"creating another program files directory within extract folder "

then why when creating first arc file with zero compression are you choosing the root folder ? ONLY select the files/folders within the main folder as first step. then create srep / precomp files then finally maximum compressed arc file. the commands as they were written out would work fine.
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
red01 (04-09-2013)
  #12  
Old 07-06-2013, 08:55
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
"creating another program files directory within extract folder "

then why when creating first arc file with zero compression are you choosing the root folder ? ONLY select the files/folders within the main folder as first step. then create srep / precomp files then finally maximum compressed arc file. the commands as they were written out would work fine.

i will try my process one more time to give you accurate information about your question...

anyway thanks for your reply.
Reply With Quote
  #13  
Old 04-09-2013, 05:04
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
arc a -lc8 -ep1 -ed -r -w.\ Data\Setup-1.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\*"

its the part of Kurutucu compressor.
Can somebody explain those parameters to me?
Reply With Quote
The Following User Says Thank You to red01 For This Useful Post:
davd01 (27-10-2019)
  #14  
Old 04-09-2013, 14:55
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,030 Times in 3,083 Posts
pakrat2k2 is on a distinguished road
goto pc games cd/dvd conversion forum read thru sticky topics there. tons of information & specific thread which has details for what your asking. read whole topic answers are there.

http://fileforums.com/showthread.php?t=93191
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
red01 (04-09-2013)
  #15  
Old 10-03-2019, 06:01
Kral Kral is offline
Registered User
 
Join Date: May 2018
Location: America
Posts: 20
Thanks: 4
Thanked 0 Times in 0 Posts
Kral is on a distinguished road
File Extracting Code My Code @echo off
color a
Arc.exe x -y Fsi-Data_EN.bin -dpD:"Type where to extract the data file"
del Fsi-Data_EN.bin> nul
cls
del Arc.exe> nul
cls
del EN.bat> nul
cls
If you can't Summer
Reply With Quote
Reply

Tags
uncompressed.bat

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



All times are GMT -7. The time now is 21:58.


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