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: Request: Location of Dictionary Files For IL-2.BAT  (Read 427 times)

0 Members and 1 Guest are viewing this topic.

UberDemon

  • UberDemon/danzigzag
  • Modder
  • member
  • Offline Offline
  • Posts: 1646
Request: Location of Dictionary Files For IL-2.BAT
« on: March 15, 2025, 10:10:50 AM »

Greetings,

I was wondering if anyone could tell me where the text files for the Object Viewer in IL-2 (BAT) are located.  I am assuming they are an "ini" or "txt" file which is in one or more of the SFS files.  Could someone smarter than me tell me where?

I am thinking that since my UQMG Max extracts basic information from several files and the Java classes for aircraft, I could use the text summary as a starting point for all the mods added through the years... for example, JTW has a plethora of data and I could write code to incorporate the text into the IL-2 GUI.

Just thinking of the possibilities.

I would rather have the SFS file name and the name of the target files so I can extract them myself so I can make a mod with the correct path.

An example of what the text would look like is here:  https://www.sas1946.com/main/index.php/topic,73775.msg801588.html#msg801588
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 **)

WxTech

  • Modder
  • member
  • Online Online
  • Posts: 6231
Re: Request: Location of Dictionary Files For IL-2.BAT
« Reply #1 on: March 15, 2025, 07:11:30 PM »

For mod activated games, you can look in

  STD/com/maddox/il2/objects/

For the .ini files.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

UberDemon

  • UberDemon/danzigzag
  • Modder
  • member
  • Offline Offline
  • Posts: 1646
Re: Request: Location of Dictionary Files For IL-2.BAT
« Reply #2 on: March 15, 2025, 08:39:04 PM »

No, it is not there.

My path is "[BAT Installation]\#WAW3\STD\com\maddox\il2\objects"

The only files there are:
Code: [Select]
air.ini
Catapults.ini
chief.ini
rockets.ini
ships.ini
statics.ini
stationary.ini
technics.ini

What I need is the name of SFS file where the text file with the Object Viewer entries for the aircraft in IL-2 is located.  I can extract it myself, but I figured if anyone knows it would be easier than going through seferal SFS files to find it.
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 **)

WxTech

  • Modder
  • member
  • Online Online
  • Posts: 6231
Re: Request: Location of Dictionary Files For IL-2.BAT
« Reply #3 on: March 15, 2025, 08:57:22 PM »

Oops! Sorry for misinterpreting!  :-|

 I just peeked in my old modded 4.12.2 folder...

  #SAS/XTD/i18n/air.properties  (574kb)

I've never extracted it myself, and so don't know in which SFS archive to find it. My first guess would be files.sfs, in the game's main folder?
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

UberDemon

  • UberDemon/danzigzag
  • Modder
  • member
  • Offline Offline
  • Posts: 1646
Re: Request: Location of Dictionary Files For IL-2.BAT
« Reply #4 on: March 15, 2025, 09:18:28 PM »

Oops! Sorry for misinterpreting!  :-|

 I just peeked in my old modded 4.12.2 folder...

  #SAS/XTD/i18n/air.properties  (574kb)

I've never extracted it myself, and so don't know in which SFS archive to find it. My first guess would be files.sfs, in the game's main folder?

Woah!  That is perfect... in BAT that folder is there with the file ("#SAS/XTD/i18n/air.properties")

Thank you much!
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 **)

WxTech

  • Modder
  • member
  • Online Online
  • Posts: 6231
Re: Request: Location of Dictionary Files For IL-2.BAT
« Reply #5 on: March 15, 2025, 09:42:28 PM »

I just ran the selector in dump mode, opened the object viewer, displayed a plane for which a text entry existed and clicked the button to actually display the text (presuming this would need to be done in order to open and read from the file, which would then cause it to be written to the dump folder, then checked in the game's dump folder to find air.properties in the i18n folder.

The same could be done for other kinds of object to get their properties file.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

UberDemon

  • UberDemon/danzigzag
  • Modder
  • member
  • Offline Offline
  • Posts: 1646
Re: Request: Location of Dictionary Files For IL-2.BAT
« Reply #6 on: March 16, 2025, 09:57:02 AM »

Yeah, I am dumb...  always forget about the dump mode.
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 **)

UberDemon

  • UberDemon/danzigzag
  • Modder
  • member
  • Offline Offline
  • Posts: 1646
Re: Request: Location of Dictionary Files For IL-2.BAT
« Reply #7 on: March 16, 2025, 10:14:30 AM »

Hey the initial results are not too bad...  I could eventually put every BAT mod plane in that format.








I did this fairly fast semi manually using my old Paragraph to "\n" converter, but I could write robust code to automate every aircraft in BAT or IL-2.  It is not perfect because UQMG extracts data from the Java classes (plus some artistic freedom because I can't update each of the thousands of aircraft) so if it is not perfect, is "mejor que nada."  Better than nothing, I guess.

I probably can figure out how to do a dump of my UQMG DB and I can paste on top of the stock dictionary.  I imagine that for duplicates, the first description will be used, or the stock.

[Update:  Actually just tested it... the opposite is true.  If I paste the new information up front and keep the stock descriptions after that, the second choice will be there... that will save time programming, and ensures the original descriptions remain.  I will definitely do this but currently I am working first on good imports of BAT 4.3 (all modules) into the UQMG 46 Max Alpha.]
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.035 seconds with 21 queries.