PDA

View Full Version : Precomp and SREP


DazzleR
24-06-2013, 09:59
i have heard a lot that precomp and srep help in compressing files to a great deal...
but till now i have not been able to do it ...
i had seen a release..that had the final files packed in .arc...when i start extracting..a .pcf file is extracted that is of a very huge size...then a rar file finally comes out which as a size smaller than the .pcf file...??
does anyone know how do such stuff ??

I tried to compress the final extracted files directly with free arc..but i don't get such a compression ratio..

Please Help ME !!

red01
24-06-2013, 10:29
i have heard a lot that precomp and srep help in compressing files to a great deal...
but till now i have not been able to do it ...
i had seen a release..that had the final files packed in .arc...when i start extracting..a .pcf file is extracted that is of a very huge size...then a rar file finally comes out which as a size smaller than the .pcf file...??
does anyone know how do such stuff ??

I tried to compress the final extracted files directly with free arc..but i don't get such a compression ratio..

Please Help ME !!


Compress the game files with freearc with -m0 command (no compression).
the resultant file is (eg. data.arc) is processed through precomp.
then work srep on that file ( data.pcf).
then finally compress that srep file (data.pcf.srep) with freearc again with maximum compression.

data.arc>data.pcf>data.pcf.srep>data.cab


you can try this but every game has different compression method for minimum size.
Good luck

DazzleR
25-06-2013, 05:32
Compress the game files with freearc with -m0 command (no compression).
the resultant file is (eg. data.arc) is processed through precomp.
then work srep on that file ( data.pcf).
then finally compress that srep file (data.pcf.srep) with freearc again with maximum compression.


Thnx Red01..i knw that..but what options should i choose for precomp and SREP to get the best compression ratio ??? i tried using the "intense" mode in precomp..but it was no use..SREP reduces the size a little..and the final compression by free arc doesn't give me a good compression ratio.

red01
25-06-2013, 06:15
Thnx Red01..i knw that..but what options should i choose for precomp and SREP to get the best compression ratio ??? i tried using the "intense" mode in precomp..but it was no use..SREP reduces the size a little..and the final compression by free arc doesn't give me a good compression ratio.



best method is to try different parameters for different files.
look at the following linkhttp://freearc.org/HFCB.aspx

u can see the difference between compression ratio with slight change in parameters with freearc.
Try different parameters with precomp and srep as well to find out well suited compressions.

I hope it will help.

you can use Kurutucu Compressor as well if you want.

DazzleR
25-06-2013, 06:58
and what about the stuff i wrote about ??? making a pcf file that has size more than the original file ??? do u knw anythng about that ???

Pein46
25-06-2013, 09:27
@DazzleR

That .pcf file (PCF = PreCompressedFile) contains more decompressed data than the original file..

DazzleR
26-06-2013, 00:33
@DazzleR

That .pcf file (PCF = PreCompressedFile) contains more decompressed data than the original file..

How can i make such a .pcf file with precomp ????

red01
26-06-2013, 01:20
How can i make such a .pcf file with precomp ????

1. download precomp
2. either drag your data.arc file on the precomp.exe
or
open notepad and type the following command

precomp.exe -odata.pcf data1.arc
pause

and save the notepad as.bat file

place this .bat file in same folder along with data.arc and precomp.exe

run the .bat file and you are done.

precomp.exe -odata.pcf data1.arc ---------------in that command line
-odata.pcf is the name of output file (u can change it from data.pcf to anything as u wish with .pcf extension)
data.arc is the file for compression.


for more information about different options in precomp for better compression look at following link http://schnaader.info/precomp.php

DazzleR
27-06-2013, 08:04
@red01
i tried that..but it doesn't give me a .pcf file larger than the orginal archive..
i jst get the same size and same compression ratio after doing all that

red01
27-06-2013, 10:46
@red01
i tried that..but it doesn't give me a .pcf file larger than the orginal archive..
i jst get the same size and same compression ratio after doing all that



i thought u want a small size by using precomp
but if u want a large .pcf file
using following commands

precomp -intense -v -c- -oData1 Data1.arc

-c- means zero compression for output file (better srep results)
-v means debug mode (if something goes wrong you can see problematic position and start precomping once again but with -i#########
parameter; ######### means problematic position)

DazzleR
28-06-2013, 00:39
What parameters should i use to get best compression with SREP ???

Razor12911
30-06-2013, 07:53
hmm, -m3f