Jump to content
Sign in to follow this  
kevinfirth

Autogen Configuration Merge by Arno Gerretson

Recommended Posts

Thanks for your reply.

I read the manual but I don't understand it.

As far as I can see Orbx and the others are just changing the default autogen description files. How do I find which entries I should put in that new Autogen folder I need to create?

Or do I just copy the whole Autogen folder files (from the main P3D folder) into that new specific autogen folder? And do that again after I install any new scenery?

Please excuse my ignorance. ;-)

Share this post


Link to post
6 minutes ago, RALF9636 said:

As far as I can see Orbx and the others are just changing the default autogen description files

There are several relevant autogen description files.  The main ones are:

default.xml - Contains the name and GUIDs of all library objects used as autogen

RoofDescriptions.spb - Contains the names and GUIDs of all roof models used for autogen

AutogenDescriptions.spb - Contains the names and GUIDs of all vegetation models used for autogen

Orbx distribute a set of files with their sceneries that include some but not all of other scenery developers custom autogen descriptions.  The ones they don't include will obviously not show in the sim because they aren't known to it as they aren't in the files.  Same for FVFR etc...  

 

15 minutes ago, RALF9636 said:

Or do I just copy the whole Autogen folder files (from the main P3D folder) into that new specific autogen folder?

Only the ones where the time/date stamp shows it has changed

 

16 minutes ago, RALF9636 said:

And do that again after I install any new scenery?

Yes

 

I would suggest that a workable solution could be as follows for example, for example with an Orbx and FVFR scenery.

1. Install one of the sceneries

2. Create an Autogen folder alongside the Scenery and Texture folders for that scenery

3. Copy the 3 files above from C:\Prepar3D v4\Autogen to the Autogen folder you created in (2)

4. Install the second scenery

5. Install ACM using the command prompt (described in the developers manual)

6. Fly...

The second installation should overwrite the first scenery's autogen descriptions.  However, you've copied them to the new Autogen folder you made so they aren't lost.  When you start the sim after installing ACM, ACM should merge those 2 sets of files and the sim will use the merged ones, theoretically allowing you to use both sceneries fully as intended with each other, as opposed to having to make a choice between one of the other.

Hope that made sense :)

 


Kevin Firth - i9 10850K @5.2; Asus Maximus XII Hero; 32Gb Cas16 3600 DDR4; RTX3090; AutoFPS; FG mod

Beta tester for: UK2000; JustFlight; VoxATC; FSReborn; //42

xaP1VAU.png

Share this post


Link to post

Thanks a lot for that explanation. Now it makes sense to me.

 

But - in your example if I first install an Orbx scenery and then an FVFR scenery - don't I have to do the steps 1-3 again also for the FVFR scenery to be safe?

If I don't do it I will loose the FVFR autogen again as soon as I open Orbx's FTX Central the next time, because it will overwrite the files again with its own. Or is there still something I am missing?

Share this post


Link to post
14 minutes ago, RALF9636 said:

But - in your example if I first install an Orbx scenery and then an FVFR scenery - don't I have to do the steps 1-3 again also for the FVFR scenery to be safe?

If I don't do it I will loose the FVFR autogen again as soon as I open Orbx's FTX Central the next time, because it will overwrite the files again with its own. Or is there still something I am missing?

I thought ACM would just reinsert the missing entries (and ask you to restart the simulator)? 

Kind regards, Michael


MSFS, Beta tester of Simdocks, SPAD.neXt, and FS-FlightControl

Intel i7-13700K / AsRock Z790 / Crucial 32 GB DDR 5 / ASUS RTX 4080OC 16GB / BeQuiet ATX 1000W / WD m.2 NVMe 2TB (System) / WD m.2 NVMe 4 TB (MSFS) / WD HDD 10 TB / XTOP+Saitek hardware panel /  LG 34UM95 3440 x 1440  / HP Reverb 1 (2160x2160 per eye) / Win 11

Share this post


Link to post
1 minute ago, pmb said:

I thought ACM would just reinsert the missing entries (and ask you to restart the simulator)? 

Kind regards, Michael

But ACM could only do that if I create a specific autogen folder in both the Orbx and the FVFR folder (?)

And btw do I have to do that with every Orbx scenery?

Share this post


Link to post
17 minutes ago, RALF9636 said:

But ACM could only do that if I create a specific autogen folder in both the Orbx and the FVFR folder (?)

And btw do I have to do that with every Orbx scenery?

To be honest: I was hesitant to do that myself so far for France VFR. However, I have been using ACM with some other sceneries (e.g. Godzone) already.

I don't think it is required to make autogen folders for the ORBX sceneries as FTXC 3 inserts the entries every time it is called. However, the France VFR entries are overwritten this way. ACM leaves the ORBX entries in their place but adds the France FVR entries which it finds in the named autogen folder (besides scenery and texture).

At least that's my understanding, I would be grateful if Kevin could confirm (or falsify) this.

Kind regards, Michael


MSFS, Beta tester of Simdocks, SPAD.neXt, and FS-FlightControl

Intel i7-13700K / AsRock Z790 / Crucial 32 GB DDR 5 / ASUS RTX 4080OC 16GB / BeQuiet ATX 1000W / WD m.2 NVMe 2TB (System) / WD m.2 NVMe 4 TB (MSFS) / WD HDD 10 TB / XTOP+Saitek hardware panel /  LG 34UM95 3440 x 1440  / HP Reverb 1 (2160x2160 per eye) / Win 11

Share this post


Link to post

AFAIK the only dev that has a utility that continually overwrites autogen files is Orbx, so it would probably be best to put any other custom autogen files in Autogen folders and let FTX central overwrite the sim files with the orbx ones.

If you do that you dont need to create any autogen folders for any Orbx scenery.

ACM reads and merges the autogen files at run time, every time, so you wont need to go through the whole process every time :)

  • Upvote 1

Kevin Firth - i9 10850K @5.2; Asus Maximus XII Hero; 32Gb Cas16 3600 DDR4; RTX3090; AutoFPS; FG mod

Beta tester for: UK2000; JustFlight; VoxATC; FSReborn; //42

xaP1VAU.png

Share this post


Link to post
2 hours ago, RALF9636 said:

ut - in your example if I first install an Orbx scenery and then an FVFR scenery - don't I have to do the steps 1-3 again also for the FVFR scenery to be safe?

No.  You only need one set of files for each scenery with custom autogen.  In our example the P3D autogen folder is the one holding the Orbx ones.

Arno has coded ACM to filter out duplicate entries in files, but it is recommended for devs using ACM to only include THEIR custom autogen in additional files, not duplicate other devs stuff.  If you wanted to be purist about it you could download spb2xml, convert the autogen spb files to xml then edit out any duplicate entries in files so you didnt rely on ACM doing it for you, but I suspect most people wouldnt be up for that!


Kevin Firth - i9 10850K @5.2; Asus Maximus XII Hero; 32Gb Cas16 3600 DDR4; RTX3090; AutoFPS; FG mod

Beta tester for: UK2000; JustFlight; VoxATC; FSReborn; //42

xaP1VAU.png

Share this post


Link to post
17 minutes ago, kevinfirth said:

AFAIK the only dev that has a utility that continually overwrites autogen files is Orbx, so it would probably be best to put any other custom autogen files in Autogen folders and let FTX central overwrite the sim files with the orbx ones.

But doesn't the France VFR's "Autogen Global" Tool the same, just in the opposite direection? They may not overwrite autogen entries of those associated (29Palms etc.) but those form ORBX - or not?

Kind regards, Michael


MSFS, Beta tester of Simdocks, SPAD.neXt, and FS-FlightControl

Intel i7-13700K / AsRock Z790 / Crucial 32 GB DDR 5 / ASUS RTX 4080OC 16GB / BeQuiet ATX 1000W / WD m.2 NVMe 2TB (System) / WD m.2 NVMe 4 TB (MSFS) / WD HDD 10 TB / XTOP+Saitek hardware panel /  LG 34UM95 3440 x 1440  / HP Reverb 1 (2160x2160 per eye) / Win 11

Share this post


Link to post

I thought the autogen category in the addon xml method dealt with the issue, does it not work by merging autogen definitions?

Share this post


Link to post

Here I have 2 extra Autogen folders with slightly different names . One with the Orbx files and the other with the FtanceVFR files merge ( multiple developers )

With batchfiles on my desktop I choose in what environment I land ...

http://www.francevfr.com/agx_EN.htm


13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Share this post


Link to post
5 hours ago, pmb said:

But doesn't the France VFR's "Autogen Global" Tool the same, just in the opposite direection? They may not overwrite autogen entries of those associated (29Palms etc.) but those form ORBX - or not?

Ah yes, the wonderful grown up world of autogen definition ownership.  Childish spats over personalities and styles of approach resulting in problems for end users :(

You could use a batch file approach to use appropriate files for any flight but thats a hassle.

You can make both an Orbx and FVFR additional Autogen folder.  Then whichever dev had overwritten the default sim files you would still have all the definitions.  You would need to rely on ACM correctly filtering the duplicate entries out, which it should do.


Kevin Firth - i9 10850K @5.2; Asus Maximus XII Hero; 32Gb Cas16 3600 DDR4; RTX3090; AutoFPS; FG mod

Beta tester for: UK2000; JustFlight; VoxATC; FSReborn; //42

xaP1VAU.png

Share this post


Link to post
5 hours ago, him225 said:

I thought the autogen category in the addon xml method dealt with the issue, does it not work by merging autogen definitions?

No apparently not, which is a pain since that would clearly be most useful for users.

AFAIK the addon.xml autogen category only allows you to specify a different single set of definition files that the sim should use instead.. Thats great for corporate users who set up fixed use cases, but not so much for us!


Kevin Firth - i9 10850K @5.2; Asus Maximus XII Hero; 32Gb Cas16 3600 DDR4; RTX3090; AutoFPS; FG mod

Beta tester for: UK2000; JustFlight; VoxATC; FSReborn; //42

xaP1VAU.png

Share this post


Link to post

Here is what I did:

1. I had installed lots of Orbx Scenery, a France VFR scenery and Austria HD. I ran FTX Central several times obviously, so I lost the autogen trees of France VFR (tested around LFMN).

2. I downloaded and ran Autogen Global X by France VFR. Restarted the sim and autogen of France VFR was nice again. But I lost autogen buildings of Orbx PNW (tested around CYVR) - as to be expected.

3. I ran FTX Central again and restarted the sim. CYVR was fine again but I lost the trees around LFMN again - as to be expected.

4. Autogen Global X had created a folder AGXDescriptions64 in the main autogen folder. I copied that folder to the FranceVFR scenery (PACA VFR Vol1 - Ground Layer) and put it next to the scenery and texture folders, renaming it "autogen".

Restarted the sim (with AutogenConfigurationMerger installed) - and voilà: trees in France were back again! Also CYVR still was okay.

5. I ran FTX Central again to doublecheck. Still looking good everywhere I tested: CYVR, LFMN and LOWW (with Austria HD)!

 

So it really seems to have worked. Thanks a lot to everyone for your contribution!

 

Now the only thing in this regard I still need to find out is how to permanently keep the AustriaHD entries between FTX LOWI and FTX GES. But that would be a different topic ;-).

 

 

  • Like 1

Share this post


Link to post

Flytampa has a Autogen installer for EHAM in the installations folder that insets EHAM specific autogen.

Is this really something a consumer should spent his head with? I am so lost here.

Why cant those developers just make a program like the above mentioned ?

 

Thanks

Michael Moe


Michael Moe

 

fs2crew_747_banner1.png

Banner_FS2Crew_Emergency.png

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...