Loading [MathJax]/extensions/Safe.js

Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Can You Override a BAT Selector Version with a Command Prompt Argument?  (Read 64 times)

0 Members and 1 Guest are viewing this topic.

UberDemon

  • UberDemon/danzigzag
  • Modder
  • member
  • Offline Offline
  • Posts: 1623

For the SAS BAT Selector gods,

So I understand that when "il2fb.exe" runs, it loads the options in "il2fb.ini", which contains the BAT Selector available versions.

For BAT, there are 6 choices (Stock, SAS ModAct, BAT DOF, BAT TGA, BAT WAW and BAT JTW).  The current choice in the "ini" file is indicated by "ModType=" so if you have "ModType=5" (counting from 0 to 5), it is JTW.

My question is:

* Is there a way to tell "il2fb.exe" to start with a particular module without changing it in BAT Selector?  Say something like
   
   il2fb.exe /Version=5 //to start JTW
   il2fb.exe /Version=2 //to start DOF
   etc...

Is that possible?

Why?  This is really for UQMG 46 Max.  The upcoming update to the public Alpha will include the planes of BAT 4.3, as well as the addition of TGA and JTW.  It would be nice when you switch versions in UQMG that when you click the green "Start/Switch to IL-2" button, it starts the correct module without the user having to go to BAT Selector to make another change.  Just figured I'd ask.

If that is not possible today, is that something that can be implemented?  I would imagine the command would have to look into "il2fb.ini" for current options, and the mods folder, like #JTW3, maybe that could be the feature... the BAT Selector options can be input as a string that has all the desired options...

Like...
   il2fb.exe -Custom:"Mod=5/Folder=#JTW3/Ram=512/Exp=1/Mem=0/Cache=0/Multi=0/Splash=1/Dump=0/RamAuto=1"  anyhoo, something like that...

Finally this would be useful for advanced users who would like to have different shortcuts to batch files to start different modules directly.
Logged
Best Regards, UberDemon/danzigzag, Get UQMG at SAS BAT Mission area.  www.uberdemon.net no longer exists.  (** Alienware Aurora R7 / i7-8700 3.20GHz / 16GB RAM / Win 10 x64 / NVIDIA GeForce GTX 1080 **)
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 20 queries.