To get the 2-in-1 script by @IO_Nox configured to work with the Loud mod & FAF, there are at least a couple ways to go:
If you haven't already done so, go into the Tools of the SCFA_Updater.exe (aka LOUD Updater) & Create Shortcuts. You should see a couple new shortcuts, one of which is called LOUD Forged Alliance. In the script, change the reference for pathOrLinkGame to point to the new LOUD Forged Alliance shortcut. The shortcut already has the parameters it needs for running Loud in the target.
If you don't want to use a shortcut reference, you can enter the parameters directly in the script:
pathOrLinkGame := "F:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\bin\SupremeCommander.exe /log ""F:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\LOUD\bin\Loud.log"" /init ""..\LOUD\bin\LoudDataPath.lua"""
The paths above are for my SCFA & Loud installs, so make sure you change them as needed for yours. Also note that for the log parameter, the full path is need instead of just using ..\LOUD like for the init parameter.
The code for the FAF side of things remains unchanged.
With the changes complete, to play Loud, just open the script file normally. To play FAF, either open the Run command (Windows+R) & enter the script's file path followed by an faf parameter or copy/paste the script file & rename it beginning with FAF.
@tatsu Sorry for the confusion. I was indeed asking about IO's script.
@IO_Nox Thanks for the feedback. I used that info along with your revised 2-in-1 script & was able to setup a script for Steam/FAF & a script for using the LOUD mod with Steam. The only thing I need to do now is create a script for those cases that I want to launch the FAF exe offline (not through the client), but I should be able to mash something together by following all the provided info & examples.
Thanks again for your help!
@io_nox Thanks for the script revision (also thanks to @tatsu for the original). I do have a couple questions.
How would I revise the line for changing the affinity for 16 logical processors?
To use this for the LOUD mod which uses the exe from the base SCFA install (Steam for me) but points to its own init file for loading, would I just need to replace "steam://rungameid/9420" in the script with the contents of the Target of the LOUD desktop shortcut ("F:\SteamLibrary\steamapps\common\Supreme Commander Forged Alliance\bin\SupremeCommander.exe" /log "..\logs\Loud.log" /init "..\LOUD\bin\LoudDataPath.lua")?
Any help you can provide is appreciated.