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?

Razor12911 28-02-2013 12:09

Yep. I think.

danswano 28-02-2013 12:20

like what? an x64 version of srep/arc maybe?

Razor12911 28-02-2013 12:55

There is a srep64 but I don't know whether it works with isdone 0.6 but you can et up thread and compression memory using freearc.

danswano 28-02-2013 13:06

is it possible via command line?

Razor12911 28-02-2013 13:11

yep,

-mt# - number of cpu threads
-lc# - compression memory usage

danswano 01-03-2013 11:51

Hello dear Razor,
i've been testing since yesterday and i'm comparing my tests to an another already compressed file i have but the problem i don't know what values used to compress it.
I've unpacked it and re-compressed it, the original size is 4.05GB and mine after using the precomp command you gave me got 4.41GB.

Do you know what might be used on this file to get such lower size? with precomp or without it no problem.

if you have anything to add to the command to make an extreme smaller size please tell me.

Thank you :)

Razor12911 01-03-2013 11:58

hmm, try precomo038, method arc-pcf-srep-arc.

try this one:
arc (-m0)
precomp (-slow)
srep (-m3f)
arc (-msrep+delta+rep+lzma:a1:mfbt4:d158m:fb273:mc1000:l c8)

pakrat2k2 01-03-2013 12:03

also remember that you arcive files/folders with zero compression.
then precomp them > end up with much bigger file
then srep the result from precomp
finnaly compress the srep result with highest setting you want with freearc.

not an all in one shot deal, takes multiple steps to achieve final result.

Razor12911 01-03-2013 12:08

Quote:

Originally Posted by pakrat2k2 (Post 414679)
also remember that you arcive files/folders with zero compression.
then precomp them > end up with much bigger file
then srep the result from precomp
finnaly compress the srep result with highest setting you want with freearc.

not an all in one shot deal, takes multiple steps to achieve final result.

yea, that too. plus, keep an eye on the precomp file. it must be bigger, much bigger than the size of the original data.

danswano 01-03-2013 12:11

Can you modify my command please, i'm such a noob in compression world.

Quote:

arc a -ep1 -r -w -hpPASSWORD --HeadersPassword=123 data.arc "C:\Data\*" -mprecomp:t-jnf:zl31,34,39,44,55,64,67,68,73,74,75,84,85,94,97 ,99:d0+srep+exe+delta+lzma:a1:mfbt4:d158m:fb273:mc 1000:lc8

danswano 01-03-2013 12:46

I forgot to mention that the original small file (4.05GB) Compressed using one step cause the files are directly inside the arc not an srep file.

Razor12911 02-03-2013 09:43

was the original file precomp-ed?

danswano 02-03-2013 09:50

I'm not sure because i'm not the file author.
If you can please provide a code for repacking with precomp and without it and i will test and reply back to you. :)

Razor12911 02-03-2013 09:53

Testing files sometimes is a waste of time.

To find out what method was used click here

danswano 02-03-2013 09:58

I wish i can do that but the author encrypted his work with password. :/

Razor12911 02-03-2013 12:53

Try the following methods.

arc -mx

arc -msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8

arc -m0 precomp038 -slow srep -m3f arc -mrep:768mb+exe+delta+lzma:a1:mfbt4:d158m:fb273:mc1 000:lc8

precomp040 -slow + 7z (ultra, LZMA2, Dictionary size highest)

danswano 08-03-2013 17:55

Hello Razor,
when i compress using this command
Quote:

-mprecomp:zl98:d1+srep+lzma:177mb:normal:bt4:128:mc 1000:lc8
i get those 2 errors:
http://i46.tinypic.com/yjvrq.jpg
http://i47.tinypic.com/dzjdd3.jpg
Any idea what is the wrong with the code that is not compatible with unarc.dll?


All times are GMT -7. The time now is 15:11.

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