View Single Post
  #2  
Old 22-06-2020, 00:01
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 776
Thanks: 175
Thanked 849 Times in 414 Posts
Masquerade is on a distinguished road
You can use ASIS to have a selection of components that you can selectively install (in this case your game collection).

Razor is good, but slow.

To speed it up, you can use PMT or RazorX - because by default, Razor isn't multithreaded so only 1 thread is used. By the use of these addon tools, it drastically improves the speed of razor.

https://fileforums.com/showthread.php?t=103577
https://fileforums.com/showthread.php?t=103230

On the other hand, you can use srep+lolz - lolz is superior to razor in a vast majority of scenarios. Use srep to remove duplicates.

To add these to your compressor, you need arc.exe from your freearc installation, and arc.ini

Grab the compressors of your choice, I'll use srep as an example, and write them into arc.ini.

So we have srep64.exe - put this into an empty folder along with arc.exe and arc.ini.

Open arc.ini and write the following:

Code:
[External Compressor:srep]
header = 0
packcmd = srep64.exe -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
Red = the name of the compressor, this is what we'll use to tell Arc.exe what to use to compress your data.

Green = the pack command, this tells Arc.exe how to execute srep64.exe and how to compress your data. We write this based on which options each compressor has. You can see this by opening a command window and running the compressor to see which options it has. Some tools (like oo2rec) don't print a console output, so use the example arc.ini given with it.

Blue = the In/Out files. These are always required in a packcmd so Arc.exe knows where to take data from and where to put the compressed data. Some compressors support stdin/stdout (referred to as stdio) which basically does the same thing as $$arc.

Now that the adding of compressors is explained, we can mive onto actually compresding your data.

We open a command window in your folder, and type:

Code:
arc.exe a -w.\Temp -msrep "Out\YourArchiveName.Arc" "In\*"
Here, the "a" switch tells Arc to make a new archive (add files to archive).

The -w switch tells Arc to use a specified Temp folder (in this case, .\Temp is the same folder as Arc.exe). Without this switch, Arc will use the default Windows local temp folder. This is an extremely useful switch to use if you have an SSD as a system drive or if you want to control where the temp data is stored.

-m tells Arc.exe which method to use. Arc already comes with lots of compression methods built in, but it also allows external compressors, which we added above. In this case, we can use -msrep and then add another compressor of your choice. We build methods by using + (-msrep+lolz). You can view lots of methods in the Best Method For Specific Games Index.

Finally, we have the Output folder and archive and the in folder. You will need to create these 2 folders manually and put your data in the In folder to be compressed into the Out folder.

Hopefully that helped you out.
Reply With Quote
The Following 2 Users Say Thank You to Masquerade For This Useful Post:
Lithium Flower (03-07-2020), rambohazard (23-06-2020)