June 11, 20178 yr 48 minutes ago, alpha117 said: So far It works perfect. It will import from your V3 scenery.cfg into one XML. I've used it fine. Use the option 'Import external scenery.cfg. What it will not do is move any files from your effects folder and also any 'adjustment' bgl's from scenery> world> scenery, that might be needed. The only issue, is what I have posted above. I'm sure Oliver will sort that very quickly Thanks Clive, I will try that. My feeble attempt crashed P3D so have put things back as they were. One Question, would ORBX be an issue. System: MSFS2024, ASUS Rog Stryx Z790-A, Intel i9-14900KF, Asus ROG Ryujin III 360 , Asus Hyperion Case,Rog Stryx 4090 OC, Samsung 970 EVO M.2 SSD, 1Tb Samsung 860 EVO SSD,64Gb G Skill Memory, Asus Aura 1200W Gold PSU,Win 11 ,LG C4 48" 4K OLED Screen., Airbus TCA Full Kit, Stream Deck XL. WinWing FCU, EFIS, MCDU
June 11, 20178 yr Commercial Member 2 hours ago, alpha117 said: Hi Oliver Hmm, I've just 'reset' the SIM back to original, by deleting V4 folders in APPDATA local/roaming and Program data. Good idea I thought! Now my scenery cfg is back to standard, which is good. Now when I run the program, it does not see any of the XMLs in DOC> Prepar3D v4 add-ons. Before it found the 'fsdreamTeam Addon-manager' XML straight away. Is there away of getting it to automatically 'see' the already created XML's Thanks Cancel this, they are all there now. Look's like you have to run the SIM, then close it Clive Joy
June 11, 20178 yr I get this error when I try to save an add-on xml or import a scenery file: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Ahmet Can
June 11, 20178 yr Commercial Member One thing to check is to make sure you have 'Full' Permissions on your SODE folder Might help Clive Joy
June 11, 20178 yr Commercial Member Also if you try an 'import' UK2000 scenery, then until you have done what Gary has said on his forum, the SIm will CTD Clive Joy
June 11, 20178 yr Author Commercial Member 32 minutes ago, alpha117 said: Cancel this, they are all there now. Look's like you have to run the SIM, then close it Hi Clive, solution to that puzzle: there are two add-ons.cfg files! The one in \ProgramData\ is for the addons that have been installed by an installer or similar (that are supposed to always be there) The one in \AppData\Roaming\ is for those add-on.xml files that have been discovered automatically. Best Oliver LORBY-SI
June 11, 20178 yr Author Commercial Member 12 minutes ago, costamesa said: I get this error when I try to save an add-on xml or import a scenery file: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index This is odd - something is out of place with your config files. Is this the first time that you are using P4AO? Best regards LORBY-SI
June 11, 20178 yr Author Commercial Member 1 hour ago, alpha117 said: Oliver If you delete a package or scenery it will delete from the program, but leave the XML in the Doc...etc..etc. So if you try and add another scenery with the same description it will CTD You have to go into the docs folder and manual delete the folder, then all is fine Strange that. I had this issue too when testing, but it never happened again. There must be a certain combination of events leading to this that I didn't find. Can you please describe in more detail what exactly you did and where that package was that you deleted (=in which add-ons.cfg)? LORBY-SI
June 11, 20178 yr Author Commercial Member 2 hours ago, Travelling_Wilbury said: Hi Oliver, Just a couple of questions, what about scenery addons like Fly Tampa, which use a configurator ? and what about effects files ? Also, I just tried adding FT YSSY using your tool, but I had to manually add the correct number and path in the addon config in C:\PrgramData. Have I missed a step ? Edit: I should have added that FT YSSY was just a copy over from P3DV3.4 to a folder I created called addon sceneries. It was a test whilst learning how to use the tool. P3D crashed on the first attempt, that is when I noticed there was no entry on the addon.cfg in C:\ProgData. I just loaded the airport and every thing is fine. I am still curios about just porting over from P3D 3.4, but I have concerns if that will work. Regards Hi, there are two add-on.cfg's. When you add scenery throught the P4AO it generates the add-on.xml to be discovered by P3D automatically - so it will end up as a package in "\AppData\Roaming\Lockheed Martin\Prepar3d V4\add-ons.cfg". For some sceneries it is necessary to add the \Scenery and \Texture subfolders as separate components to work correctly (=one on the scenery page, the other on "other addons" in P4AO). The sames goes for the Effects, those can be added to the same add-on.xml file as "other addons" too. Best Oliver LORBY-SI
June 11, 20178 yr Yes, this was the very first time. But Olive's suggestion (SODE) has worked out well to import the V3 scenery file. However I still get an error when I try to save an add-on xml file, "access to path denied". I dont know which path it cant have access to.. Ahmet Can
June 11, 20178 yr Author Commercial Member 3 hours ago, Glynn said: Oliver, could your tool be used to convert P3Dv3 scenery installs that are using the "old" scenery.cfg method over to the V4 xml files system ? I am currently running V3.2 and I am very interested in having my sceneries separate from the sim to facilitate re installs. especially as I will eventually move over to P3Dv4.x in the future. Hi, if they have absolute paths (C:\Anywhere\Scenery) in the old scenery.cfg then yes. You can import your old scenery.cfg and it will save the content references as a new addon configuration. Other elements of the scenery, like Effects have to be handled separately. For Effects you could link back to the Effects folder of your old sim, by adding it as an "Other addon" in P4AO. P3D uses this information only to look up effects files that it cannot find anywhere else, so linking this in once is enough. There is a debate going on if it is possible to include base folder BGLs in an add-on.xml (like elevation correction or AFCAD stuff). I'd say yes, but you have to link the folder where they are in directly, you cannot add them as a Scenery Area. Example: assuming you drop all those base layer BGL files into "D:\MyBaseLayer\Scenery" - then this is exactly what you have to reference in P4AO and use Layer 2 for it. P4AO will try to prevent this and set the path to D:\MyBaseLayer, but you should be able to force the full path when you edit the scenery again. I am not sure yet how to handle this - I am waiting for a definitive result if this operation is working or not. Best regards LORBY-SI
June 11, 20178 yr Author Commercial Member 5 minutes ago, costamesa said: Yes, this was the very first time. But Olive's suggestion (SODE) has worked out well to import the V3 scenery file. However I still get an error when I try to save an add-on xml file, "access to path denied". I dont know which path it cant have access to.. At the beginning of the users manual there is a short list of the files that P4AO tries to write to. Are you running it as Administrator? P4AO tries to write to sensitive areas of the PC, and maybe UAC is preventing it from doing that? A question of my own: where and what is the SODE folder? Does it contain scenery information? And where is it? I know what SODE is, but I fail to see how it would influence P4AO - !? Best regards LORBY-SI
June 11, 20178 yr Yeah I have checked the manual. and since I am running the application as admin (user admin and also run with right click-admin), I did not really think accessing to those files would be a problem. SODE installation is in C-Program Filesx86. I dont really know what you mean by if it has any scenery information, but what I can say is that it has LFPG folder inside the Simobjects folder. Thank you. Ahmet Can
June 11, 20178 yr Author Commercial Member 12 minutes ago, costamesa said: Yeah I have checked the manual. and since I am running the application as admin (user admin and also run with right click-admin), I did not really think accessing to those files would be a problem. SODE installation is in C-Program Filesx86. I dont really know what you mean by if it has any scenery information, but what I can say is that it has LFPG folder inside the Simobjects folder. Thank you. This could be a path error too somewhere. For example if something that is supposed to be a file ends up as being a directory instead. Can you please take a couple of screenshots, so I can see what you have added and what you are seeing before you try to save it? No need to post them here, just send me a Message here in the forum and we can exchange mail addresses. Best regards LORBY-SI
June 11, 20178 yr I just tried your program. Running as admin. The only installed scenery it is showing (in green) are all my FSDT and Flightbeam airports that were installed using the "new" system. Nothing found in scenery.cfg is showing - either default airports or add-ons. It is almost as if it is ignoring scenery.cfg completely. Jim Barrett Jim BarrettLicensed Airframe & Powerplant Mechanic, Avionics, Electrical & Air Data Systems Specialist. Qualified on: Falcon 900, CRJ-200, Dornier 328-100, Hawker 850XP and 1000, Lear 35, 45, 55 and 60, Gulfstream IV and 550, Embraer 135, Beech Premiere and 400A, MD-80.
Archived
This topic is now archived and is closed to further replies.