• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Multiple models with same title

Messages
244
Country
england
I'm sure you've all come across the problem where FS will display an error message if it finds more than one "title=xxx" section that have the same entry.
While sorting through some boat models I had installed, I realized I had several of those with the same title, but FS didn't throw up an error message. It looks like it's only user objects that are scanned for duplicates. As this could potentially cause issues, I wonder if anybody knows of a way, or a program that can scan all the aircraft and sim.cfg files for duplicate entries?
 
Hi Folks

Dave -
As it apparently only works for user objects,
a quick cheat method you could try
would be to edit your fsx.CFG,
to temporarily make boats into user objects.

In fsx.CFG section titled [Main]
find the line -
User Objects=Airplane, Helicopter
edit to
User Objects=Airplane, Helicopter, Boats

Start FSX
hopefully it should now flag up those duplicates.

EDIT
IIRC, it'll only flag dupes when they're being called as traffic.

HTH
ATB
Paul
 
Last edited:
Thanks Paul. Tried that but it didn't work unfortunately. I know I have 2 boats with the same name that are used in traffic, so they should flag up. Wonder if it's because they use a sim.cfg rather than an aircraft.cfg:scratchch

I've found that Sim Director in P3dv2 does find the duplicates for that sim, but that doesn't help for FSX.
 
Hi Dave

Added dupe TITLEs to each of an airplane and a boat.
FSX only reported the airplane.

Had a play with mdlscan & bglscan, neither were reported.

Launching FSX consistently found the airplane, but not the boat..

Tried renaming airplanes folder to notairplanes
and the boats folder as airplanes.
Didn't report either.



Finally traced it.
It's not a sim.cfg v aircraft.cfg,
neither do you need to edit fsx.CFG.

The only prerequisite is the simobject's .cfg file category.

Changing category to airplane-
Code:
[General]
category=Airplane    //Boat
now correctly reports the dupe title.

PITA, but it works. ;)




Maybe some kindly AI Traffic Tools developer,
might consider hiving off some of their existing code
into a standalone boat Titles scanner/reporter ? :scratchch



HTH
ATB
Paul
 
Maybe some kindly AI Traffic Tools developer,
might consider hiving off some of their existing code
into a standalone boat Titles scanner/reporter ? :scratchch
HTH
ATB
Paul

If AI-Aircraft-Editor doesn't do it for you, post back here.
I've got a block of code that walks through the existing aircraft.cfg files. Wouldn't be to hard to alter it to pick up sim.cfg files as well, and to produce a catalog of aircraft titles.
 
Cheers Gents for your suggestions & offers.

ATM AI-Aircraft-Editor can scan the full simobjects tree
unfortunately it will only read aircraft.cfg, but not sim.cfg files.

AIFP can be made to read the boats tree,
but doesn't pick up any boats which have an aircraft.cfg,
nor any sim.cfg files at all.



Question for everyone -
Any suggestions for requirements ?
Other than DaveG's for identifying any duplicate TITLE ?

Personally, apart from above,
I'd be interested in anything that can extract/generate a list of the following -
FOLDERNAME, MAX_SPEED_MPH, "TITLE",

Which I'd then edit, changing the FOLDERNAME to AC#NUMBER.
for use as the aircraft.txt input when compiling the flightplan.


Doug, or anyone,
any assistance you can offer would be much appreciated.



Just an aside -
I recently created a vessel-class's set of 40 related shipping-line repaints.
Intend doing similar for other vessel-classes.

Can any of the existing FP builder type packages
generate an aircraft.cfg, (or sim.cfg), file's FLTSIM.X entries
by reading the various texture folders names ?



TIA
ATB
Paul
 
If you just need a list of titles I've done that with the simple DOS command findstr. Here's an example:

findstr /s /i /c:"title=" aircraft.cfg > title_list.txt

The resulting title_list.txt looks like this:

Airbus_A321\aircraft.cfg:title=Airbus A321 Paint2
Airbus_A321\aircraft.cfg:title=Airbus A321 Paint4
Airbus_A321\aircraft.cfg:title=Airbus A321 Paint5
Airbus_A321\aircraft.cfg:title=Airbus A321
Aircreation_582SL\Aircraft.cfg:title= Aircreation582SL Blue
Aircreation_582SL\Aircraft.cfg:title= Aircreation582SL red
Aircreation_582SL\Aircraft.cfg:title= Aircreation582SL yellow, white and red
Aircreation_582SL\Aircraft.cfg:title= Aircreation582SL
B737_800\aircraft.cfg:title=Boeing 737-800 Paint1
B737_800\aircraft.cfg:title=Boeing 737-800 Paint2
B737_800\aircraft.cfg:title=Boeing 737-800 Paint4
B737_800\aircraft.cfg:title=Boeing 737-800 Paint5
B737_800\aircraft.cfg:title=Boeing 737-800 Paint6
B737_800\aircraft.cfg:title=Boeing 737-800
etc...


So you get the folder name as well, you can use replace in Notepad to replace "\aircraft.cfg:" with "," and turn it into a .csv if you want to open it in Excel. Maybe I'm oversimplifying things? Apologies if so. :)

Jim
 
Hi Jim

LMAO.

As a DOS 2.1 & onwards user,
and a daily batch-file / command-line user,
yet not having considered something so simple. :oops:

Cheers for that.
Code:
findstr /s /i /c:"title=" sim.cfg > dirlist_sim_title.txt
Addresses my laziness perfectly.



There's still a requirement for an end-user's simple sim.cfg duplicate finder.



Many thanks
ATB
Paul
 
Well you could do the .csv thing and then sort the title column in excel so any dupes would appear together? Yeah a bit archaic, lol.
 
Cheers Jim.

Yep,
totally embarassedly,
and personally, being archaic,
your soln. suits me down to the ground perfectly. :)

Not sure though,
if ALL other vessel package's - modelers / FP creators,
feel similarly, or nescessarily even are, command-line familiar.

Think a basic-level end-user requirement still stands.

Many thanks
ATB
Paul
 
I have a program for my own use which extracts half-wingspan and title. It does not look at boats.

Code:
Radius 41  Speed 480
  J:\!WOAI_AIRCRAFT\WoA_MR_A380

  WoA_MR_A380_SIA-Singapore Airlines

  WoA_MR_A380_UAE-Emirates


Radius 41  Speed 480
  J:\!FTXAI_AIRCRAFT\FTX 1.0 AI_A380

  Airbus A380 Singapore Airlines

  MRAI A380 Qantas VH-OQA


Radius 41  Speed 480
  J:\!AIAircraft\AI_A380

  AI_A380 LH

  AI_A380 FDX

  AI_A380 Quantas

Number of aircraft 1042  Number of variations 8722
 
For Paul's basic-level end-user requirement... I made an app for that!

Download here.

Edit (2014 December 14): I made a version that checks all installed simulators and includes a command line argument for specifying a specific simulator. You can get it here.
 
Last edited:
Hi Folks

Many thanks Orion,
that works very nicely.

Unexpectedly it also identified a different type of dupe,
an aircraft.cfg containing two off [fltsim.4].

Cheers
ATB
Paul
 
Thanks for all the replies chaps.
That tool sounds like just the job, I'll give it try tonight, thanks.
 
Just tried Orion's duplicate finder tool. Great job, does exactly what was needed.
I assume it's reading the SimObject paths defined in the FSX.cfg. Would it be possible to make a version for P3d that read the Prepar3D.cfg instead, or an option to switch between them?

Thanks for a very handy tool.
 
Hi Folks

Orion / Dave
Preferred change if any,
would be to entirely remove path dependency.

i.e.
tool to be installed in root of fsx or p3d,
or in any developer's staging area,
only reading simobjects tree.

Many thanks
ATB
Paul
 
I have some simobject paths that are common to both my FSX and P3d instalations that are outside the root folders of either sim.
 
I'm pretty busy this week, but I'll try to get to it on the weekend. I'll add a command line option for the version of the simulator.
 
Eh, I wound up making 3 separate versions. Figured it'd be easier to use for an end user, rather than requiring a command line argument.

Downloads:
Duplicate Title Finder for Flight Simulator X
Duplicate Title Finder for Prepar3d
Duplicate Title Finder for Prepar3d v2

And to clarify, yes, it reads the fsx.CFG (and now Prepar3D.CFG) to check the SimObject paths. If you want it to check a path that's not in one of the simulator's root SimObjects directories, you can add it to the CFG. The CFG supports paths relative to the simulator's root directory, absolute paths (e.g. C:\Files\MySimObjects), and UNC paths (e.g. \\server\share\MySimObjects).

Edit (2014 December 14): I made a version that checks all installed simulators and includes a command line argument for specifying a specific simulator. You can get it here.
 
Last edited:
Back
Top