#1
|
|||
|
|||
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 |
Sponsored Links |
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
@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. |
#4
|
||||
|
||||
Yes, put arc.exe, precomp.exe, packjpg_dll.dll, zlib1.dll (based on what version you use), srep.exe..
|
#5
|
|||
|
|||
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? |
#6
|
|||
|
|||
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.? |
#7
|
||||
|
||||
Which precomp version you use?
if precomp v038, then maybe you can change it like this Code:
precomp038.exe -r data1.pcf Code:
[Run] Filename: "{app}\setup.bat" Last edited by Pein46; 28-05-2013 at 06:41. |
#8
|
|||
|
|||
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. |
#9
|
||||
|
||||
read post #2, his example would in fact be the setup.bat that he refered to in post #7
|
#10
|
|||
|
|||
Quote:
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? |
#11
|
||||
|
||||
"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. |
The Following User Says Thank You to pakrat2k2 For This Useful Post: | ||
red01 (04-09-2013) |
#12
|
|||
|
|||
Quote:
i will try my process one more time to give you accurate information about your question... anyway thanks for your reply. |
#13
|
|||
|
|||
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? |
The Following User Says Thank You to red01 For This Useful Post: | ||
davd01 (27-10-2019) |
#14
|
||||
|
||||
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 |
The Following User Says Thank You to pakrat2k2 For This Useful Post: | ||
red01 (04-09-2013) |
#15
|
|||
|
|||
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 |
Tags |
uncompressed.bat |
Thread Tools | |
Display Modes | |
|
|