Find the KoreaObj folder for an installed theater?
-
I don’t think encryption is used, it’s probably just a binary file.
On Unix & friends you can use the “strings” command to extract the ascii / UTF stuff, on Windows you should be able to open the file in a hex editor of your choice to see if you can glean any useful info from it.
Cheers, Uwe
-
Theater TDF files are just plain simple text file.
Anybody can open them with a text editor. -
@Falcas said in Find the KoreaObj folder for an installed theater?:
Theater TDF files are just plain simple text file.
Anybody can open them with a text editor.Thank you Falcas. I edited my post to refer to the .tga file and not the tdf.
I can indeed see inside the .tdf files, but nothing refers to the …KoreaObj folder which exists for some theaters but not others. For those where this folder does not exist in the theater path, i’m trying to understand which …\Terrdata\objects\KoreaObj folder the game uses, and how it determines it.
(I thought maybe it was in the .tga file since i could not find it in the .tdf file.)
Cheers.
-
The .tga file is the picture you see when you select a different theater inside Falcon
The theater.lst contains all the theaters installed/known to Falcon.
Inside is the location where it can find the theater specific .tdf file.The .tdf file contains all relevant directories and some theater specific settings.
Each theater has its own .tdf file!!!The “KoreaObj” directory must always be inside the “Objects” directory.
You can find this line inside the .tdf file where it is located.
“objectdir Terrdata\objects” -
@Falcas said in Find the KoreaObj folder for an installed theater?:
The “KoreaObj” directory must always be inside the “Objects” directory.
You can find this line inside the .tdf file where it is located.
“objectdir Terrdata\objects”Thanks again. I can see all the theaters have the …\Terrdata\objects, and most have the
…\Terrdata\objects\KoreaObj folder where the DDS objects reside. But some don’t, e.g.
Add-On Israel1980s\Terrdata\objects
Add-On HeliPack\Terrdata\objects
Add-On Korea TvT\TerrData
What does BMS use for the objects (koreaObj) in these instances, and where is the pointer to them for bms? -
If a file is missing it reverts back and uses those from KTO.
However this is not the case for all files.
(Please don‘t asked me which… don‘t know by hart) -
In the theater definition, there are 2 separate declarations for Object stuff:
# default objects objectdir Add-On Mideast128\Terrdata\objects
and
# 3d object files 3ddatadir Add-On Mideast128\Terrdata\objects
The first one is for the Falcon Database (XML files)
The second one is for Art objects (3DB and Textures)
Hope that answers a bit the background request (if I understood it well…)
-
Thank you both @MaxWaldorf & @Falcas
That’s helped me fill in more of the jigsaw. Still a couple of pieces left, but will come back to it after my vacation.
-
Ok, think if got the picture now. So to find the koreaObj folder for ANY THEATER (including KTO!) this is how to do it. (i use the Balkans theater as an example)
The
...BMS436\Data\TerrData\TheaterDefinition\theater.lst
file contains ‘pointers’ to a .tdf file for each THEATER. Simply add the base bms data path
..BMS436\Data\
to the entry to find the the file location (example)
...BMS436\Data\Add-On Balkans\Terrdata\theaterdefinition\Balkans.tdf
In the TDF file (for that THEATER) there’s two parameter pointing to the objects folder for that THEATER (either will do since in all the THEATERS i looked at they both point to the same location.
objectdir Add-On Balkans\Terrdata\objects 3ddatadir Add-On Balkans\Terrdata\objects
So to find the location of the \KoreaObj folder
the theater uses, Simply use the base folder...BMS436\Data\
and add the key value for the theater
Add-On Balkans\Terrdata\
then add the fixed value
KoreaObj\
to get the full path…
...BMS436\Data\Add-On Balkans\Terrdata\KoreaObj\
and finally if that folder does not exist then the theater reverts to the default
...\BMS436\Data\TerrData\Objects\KoreaObj
This rule worked for all theaters i looked into, so provides a consistent method for all theaters including KTO.
Another useful key found in the theater file is the
name Balkans
Key, as it contains the exact name BMS uses for the THEATER, and is found in the registry key.
Again thanks to @Falcas and @MaxWaldorf in helping me with this.
-
Yep, that pretty much sums it up