Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 09-01-2022, 04:18
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,225
Thanks: 299
Thanked 1,418 Times in 639 Posts
Masquerade is on a distinguished road
Perhaps an additional constant for FreeArc that specifies the number of CPU threads?

So, some tools allow you to specify thread count as a percentage (such as XTool)

However, some tools read from a static integer in arc.ini or cls.ini. This leaves us with the inability to tailor an installation to each user to use their full system (further in this post I have added an explanation of the LZMA archiver locked at 4 threads despite my system having 16).

I would like to suggest a new constant called {threads}, similar to how {compressor} and {option}. FreeArc can read this and substitute {threads} with however many CPU threads you have.

An existing example of this in action is the windows constant "%NUMBER_OF_PROCESSORS%" which if you echo it in command line will return the number of CPU threads in the system. I use this for when I use MTP or MParallel.

Further detailing this, I can use the open source LZMA archiver from the LZMA SDK as an example of how {threads} would work. Here is the normal unpack command for the LZMA archiver:

Code:
[External compressor:LZMA]
header     = 0
unpackcmd  = {compressor} d -mt4 -si -so <stdin> <stdout>
However, with our constant:

Code:
[External compressor:LZMA]
header     = 0
unpackcmd  = {compressor} d -mt{threads} -si -so <stdin> <stdout>
And because FreeArc handles the constant, it just replaces {threads} with however many threads you have and uses that as the unpack command passed to the EXE file.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
Gehrman (09-01-2022)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
XTool 2020 (Plugins) Razor12911 Conversion Tutorials 408 01-11-2026 07:44
Ultimate Conversion Compressor (UCC) vollachr Conversion Tutorials 55 26-04-2021 10:27
ZCM with Freearc ~MAK~ Conversion Tutorials 46 01-10-2016 10:35
Need help with opus and freearc averanted Conversion Tutorials 6 29-07-2016 12:00



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


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