FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   srep / srep64? help me (https://fileforums.com/showthread.php?t=104727)

fabrieunko 15-10-2021 03:22

srep / srep64? help me
 
hello currently I use this method to compress my files

Code:

arc a -lc8 -ep1 -ed -r -hp1234 -w.\ C:\Games\TDF-Setup-1.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\Games\Tour de France 2021\*"

with the following arc.ini

Code:

[External compressor:srep]
;options  = l%d (minimal match length, default=512)
header = 0
packcmd  = srep {options} -a1 -m5f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:precomp]
header = 0
packcmd  = precomp -slow {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

how to use srep64.exe? what should be changed?

I have trouble understanding and finding the information to do this ..

Cesar82 15-10-2021 06:19

Quote:

Originally Posted by fabrieunko (Post 494460)
hello currently I use this method to compress my files

Code:

arc a -lc8 -ep1 -ed -r -hp1234 -w.\ C:\Games\TDF-Setup-1.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\Games\Tour de France 2021\*"

with the following arc.ini

Code:

[External compressor:srep]
;options  = l%d (minimal match length, default=512)
header = 0
packcmd  = srep {options} -a1 -m5f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:precomp]
header = 0
packcmd  = precomp -slow {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

how to use srep64.exe? what should be changed?

I have trouble understanding and finding the information to do this ..

Code:

[External compressor:srep]
;options  = l%d (minimal match length, default=512)
header = 0
packcmd  = srep64 {options} -a1 -m5f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp


fabrieunko 15-10-2021 06:34

this seems logical I am stupid not to have thought about it .. and can I keep the 2 versions? in the arc.ini file? or should we change it to one or the other version?

Cesar82 15-10-2021 06:45

Quote:

Originally Posted by fabrieunko (Post 494467)
this seems logical I am stupid not to have thought about it .. and can I keep the 2 versions? in the arc.ini file? or should we change it to one or the other version?

This way yes...
You can also use srep32 or another name for the 32-bit version and keep only srep for the 64-bit version.
Code:

arc a -lc8 -ep1 -ed -r -hp1234 -w.\ C:\Games\TDF-Setup-1.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\Games\Tour de France 2021\*"

arc a -lc8 -ep1 -ed -r -hp1234 -w.\ C:\Games\TDF-Setup-1.bin -msrep64+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\Games\Tour de France 2021\*"

Code:

[External compressor:srep]
header = 0
packcmd  = srep {options} -a1 -m5f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:srep64]
header = 0
packcmd  = srep64 {options} -a1 -m5f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

Always remembering on the command line must use the name that is inside the section, such as [External compressor:srep].
The "srep" value in the packcmd= and unpackcmd= keys refers to the name of the executable used (You can use "srep.exe", with an extension if you prefer).

Masquerade 15-10-2021 08:45

Piggybacking off the advice given by Cesar,

You can merge both your srep and srep64 methods into one packcmd providing the exes are in the same folder as arc.exe:

Code:

Code:

[External compressor:srep, srep64]
header = 0
packcmd  = {compressor} -a1 -m5f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = {compressor} -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

Here, {compressor} constant holds the name of the compressor used, e.g. -msrep64 will give {compressor} the value of srep64.

Since FreeArc will look for .exe files by default, filling {compressor} with srep64 will have freearc look and successfully detect srep64.exe.

fabrieunko 15-10-2021 08:55

thanks to you two. I discovered your forum about 15 days ago while researching the codex installer, and then I am looking at a lot of posts in order to experiment and understand something that was unknown to me 15 days ago. i'm french, i work with google translator and it's not easy to understand everything. but little by little I'm getting there.

Cesar82 15-10-2021 14:22

@fabrieunko, here on the forum there are several GUI programs for compression that can make your life easier.
I've listed some GUI for you to take a look at if you don't already know: DiskSpan GUI (by Cesar82), Mini Compressor AIO 2021 (by Carldric Clement), Knight Compressor (by bunti_o4u), UltraARC (by Razor129111), among others.


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

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