FileForums

FileForums (https://fileforums.com/index.php)
-   PC Games - CD/DVD Conversions (https://fileforums.com/forumdisplay.php?f=39)
-   -   Extract ARC+SREP on the fly (https://fileforums.com/showthread.php?t=94260)

danswano 28-02-2013 07:02

Extract ARC+SREP on the fly
 
Hello,

Is it possible to extract srep file that is located inside the arc file on the fly while installing instead of unpakcing srep file to app dir then extract the srep?

Thank you :)

Razor12911 28-02-2013 07:19

???, your question?

danswano 28-02-2013 07:33

ISDone unpack {src}\arc > {app}\srep then it unpacks {app}\srep to {app}\[the actual data]

Is possible to get [the actual data] directly in one step instead of two?

Razor12911 28-02-2013 08:47

you mean srep to actual data? if so then not possible. srep and precomp can only store one file.

danswano 28-02-2013 08:51

arc+srep > actual data. (in one unpacking command/step)

Razor12911 28-02-2013 08:52

But

Arc to srep then srep to arc then arc to actual data is possible.

or

make a command like for internal srep and arc
-msrep instead of the -m0 or m9 even -mx

danswano 28-02-2013 09:24

I'm using this command batch currently:
Quote:

arc a -m0 -ep1 -r -w data.arc "C:\Crysis 3\*"
srep -m2 data.arc data.srep
arc a -mx -ld1600mb -hpPASSWORD --HeadersPassword=123 data1.arc data.srep
pause
Can you please modify it for me to use arc+srep at maximum compression.
Also a second modification to use arc+srep+precomp.

Thank you very much. :)

Razor12911 28-02-2013 11:05

1 Attachment(s)
you must have srep.exe first.

then change method to this

Code:

-msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8

danswano 28-02-2013 11:20

And if i want to use precomp with best compression what should i add to the above code?

Razor12911 28-02-2013 11:33

precomp can be triggered in many ways but you would find the one which suits you. There is precomp with jpg compression, for games like pro evolution soccer, the game img's has alot of images therefore precomp works well than any other compressors if more pressure is applied like precomp+zip/7z/rar/arc.
then there is precomp without jpg compression(zlib compression) which searches thoroughly for repeated sector/sections of a file then then makes those repeated sections/sectors as one to save space. for games like Need For Speed The Run.

Code:

-mprecomp:t-jnf:zl31,34,39,44,55,64,67,68,73,74,75,84,85,94,97,99:d0+srep+exe2+delta+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8

danswano 28-02-2013 11:35

Using the first code like this:
Quote:

arc a -ep1 -r -w data.arc -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\Crysis 3\*"
Give this error:
arc: user error (Unsupported compression method or error in parameters: srep)

What's wrong?

Razor12911 28-02-2013 11:38

1 Attachment(s)
are you running under command or using freearc program?

if command then add arc.ini next to arc.exe
if freearc program then learn on how to use command.

danswano 28-02-2013 11:42

That's it, the arc.ini was missing.
Thank you for your kind help and patience. :)

Razor12911 28-02-2013 11:45

Quote:

Originally Posted by danswano (Post 414603)
That's it, the arc.ini was missing.
Thank you for your kind help and patience. :)

Don't mention it.
It's what I do.

danswano 28-02-2013 11:49

Oh one last question please, is there a way to utilize the full CPU power for faster compressing?


All times are GMT -7. The time now is 01:09.

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