Jump to content
Sign in to follow this  
Lorby_SI

Prepar3D AddonOrganizer v.92 released

Recommended Posts

1 hour ago, JRBarrett said:

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 

Hi Jim,

your scenery.cfg is no longer in Unicode encoding as it should be. Something changed that. This is a rather dangerous situation, because another tool that expects Unicode and writing to the file could destroy it.

Open the scenery.cfg with Notepad++ and change the Encoding back to "UCS-2 Little Endian" as per spec - like all the other .cfg files of P3D V4 are.

This will be fun in the next few months, when all kinds of "old" tools write to these files while ignoring the encoding.

Best regards


LORBY-SI

Share this post


Link to post
Share on other sites
4 hours ago, Lorby_SI said:

Hi Jim,

your scenery.cfg is no longer in Unicode encoding as it should be. Something changed that. This is a rather dangerous situation, because another tool that expects Unicode and writing to the file could destroy it.

Open the scenery.cfg with Notepad++ and change the Encoding back to "UCS-2 Little Endian" as per spec - like all the other .cfg files of P3D V4 are.

This will be fun in the next few months, when all kinds of "old" tools write to these files while ignoring the encoding.

Best regards

That was the first thing I checked, and it already was set to UCF2-LE. I had re-encoded it that way after I installed all my FlyTampa updates a couple of days ago, as their installers all write to scenery.cfg

I rebooted the computer, and after doing so, your organizer worked as advertised. I'm not sure what this may indicate. I had opened and closed P3D several times (without a reboot) prior to installing and running your program for the first time. That may have have had something to do with it.


Jim Barrett

Licensed 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.

Share this post


Link to post
Share on other sites

I have been using the program without any problems but as of today I keep getting a unhandled exception error when I try to add a scenery. I have version 0.95 installed. Would appreciate some help in resolving the error.


Michael A. Jones

signature-light.png

Share this post


Link to post
Share on other sites
9 minutes ago, Michael235 said:

I have been using the program without any problems but as of today I keep getting a unhandled exception error when I try to add a scenery. I have version 0.95 installed. Would appreciate some help in resolving the error.

Hello Michael,

just tried it on my side, adding scenery as a new package and adding to an existing package both worked normally.

What exactly does that exception say, and when is it thrown? I only need the stack trace at the beginning of the error text (the first 10 lines maybe).

If you want, send me a message here in the forum or with the "Contact us" form on the Lorby website, so we can exchange mail addresses - then you could send me a screenshot and maybe a backup of your config files.

Best regards


LORBY-SI

Share this post


Link to post
Share on other sites
7 minutes ago, Lorby_SI said:

Hello Michael,

just tried it on my side, adding scenery as a new package and adding to an existing package both worked normally.

What exactly does that exception say, and when is it thrown? I only need the stack trace at the beginning of the error text (the first 10 lines maybe).

If you want, send me a message here in the forum or with the "Contact us" form on the Lorby website, so we can exchange mail addresses - then you could send me a screenshot and maybe a backup of your config files.

Best regards

The details are shown below. The error occurs when I press the Save button in the Add scenery dialog box. I installed earlier versions and the same error occurs.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at P3DV4AddonOrganizer.AddScenery.SceneryTitleOK()
   at P3DV4AddonOrganizer.AddScenery.button1_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1648.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
P3DV4AddonOrganizer
    Assembly Version: 0.95.6374.30593
    Win32 Version: 0.95.0.0
    CodeBase: file:///C:/Users/Michael/Documents/Prepar3D%20v4%20Add-ons/Lorby-SI%20AddonOrganizer_P3D_V4/P3DV4AddonOrganizer.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1647.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1647.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------


 


Michael A. Jones

signature-light.png

Share this post


Link to post
Share on other sites

Hi Michael,

you have somehow acquired a scenery element that has no title, and I think that it is in your scenery.cfg, not in the XMLs (those a covered for empty title strings).

I have just uploaded version 0.96 to the Lorby website, that should take care of it. If you run into other issues, please let me know, this seems a bit unusual to me. Please check your scenery.cfg if it is still formatted correctly.

Best regards

 


LORBY-SI

Share this post


Link to post
Share on other sites
11 minutes ago, Lorby_SI said:

Hi Michael,

you have somehow acquired a scenery element that has no title, and I think that it is in your scenery.cfg, not in the XMLs (those a covered for empty title strings).

I have just uploaded version 0.96 to the Lorby website, that should take care of it. If you run into other issues, please let me know, this seems a bit unusual to me. Please check your scenery.cfg if it is still formatted correctly.

Best regards

 

Yes, it is working now. Thank you for your help. Greatly appreciate it.

 

Best regards


Michael A. Jones

signature-light.png

Share this post


Link to post
Share on other sites

Hi Oliver:

Just one question. I'm using your v0.99 now and the question is that one could change the install directory of your application, not to a P3Dv4 related folder, but to a generic addon folder, for instance, in the event the P3Dv4 has not been installed yet?. I just want the app to be used with my existing P3Dv3.4 setup.

Cheers, Ed

 

 


Cheers, Ed

MSFS Steam - Win10 Home x64 // Rig: Corsair Graphite 760T Full Tower - ASUS MBoard Maximus XII Hero Z490 - CPU Intel i9-10900K - 64GB RAM - MSI RTX2080 Super 8GB - [1xNVMe M.2 1TB + 1xNVMe M.2 2TB (Samsung)] + [1xSSD 1TB + 1xSSD 2TB (Crucial)] + [1xSSD 1TB (Samsung)] + 1 HDD Seagate 2TB + 1 HDD Seagate External 4TB - Monitor LG 29UC97C UWHD Curved - PSU Corsair RM1000x - VR Oculus Rift // MSFS Steam - Win 10 Home x64 - Gaming Laptop CUK ASUS Strix - CPU Intel i7-8750H - 32GB RAM - RTX2070 8GB - SSD 2TB + HDD 2TB // Thrustmaster FCS & MS XBOX Controllers

Share this post


Link to post
Share on other sites
2 hours ago, edpatino said:

Hi Oliver:

Just one question. I'm using your v0.99 now and the question is that one could change the install directory of your application, not to a P3Dv4 related folder, but to a generic addon folder, for instance, in the event the P3Dv4 has not been installed yet?. I just want the app to be used with my existing P3Dv3.4 setup.

Cheers, Ed

 

 

Hello Ed,

yes, you can install the app anywhere, it doesn't depend on a specific location. I just reused my P3D V4 installer template, so all Lorby Addons would be in the same place. Usually you can even move the .exe anywhere you like and it should work.

Best regards


LORBY-SI

Share this post


Link to post
Share on other sites

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...