Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem with scenery.cfg with P3Dv2

Featured Replies

Hello,

 

I'm just testing SimLauncherX in combination with P3Dv2, and I think I've found a problem when editing the scenery.cfg of P3Dv2 in SimLauncherX.

I have changed my scenery.cfg (deactivated an area) by using SimLauncherX. Then I started P3Dv2, everything looked fine. But I have got an error if I want to open the scenery library within P3Dv2. The simulator wasn't able to read all areas of the scenery.cfg.

 

So I've compared the original P3Dv2 and the SLX-modified scenery.cfg.

 

Here is an entry of the original P3Dv2-scenery.cfg:

 

[Area.001]
Title=Default Terrain
Texture_ID=1
Local=Scenery\World
Layer=1
Active=TRUE
Required=TRUE

 

And now the same entry after the modification by SimLauncherX:

 

[Area.001]
Title = Default Terrain
Texture_ID = 1
Local = Scenery\World
Layer = 1
Active = TRUE
Required = TRUE

 

After deleting the spaces before and behind the values P3Dv2 started with an error at [Area002]. So it seems linke P3Dv2 has a problem with reading the scenery.cfg if there is a space before and behind the equal sign.

 

It would be great if SLX would not change the format of the scenery.cfg.

 

Patric

Hi Patric,

 

I will have a look at it, but it would really surprise me if this was an issue: the same .ini file format is used for lots of other files (prepar3d.cfg, aircraft.cfg etc.).

 

thanks, Maarten

Maarten Boelens ([m][a:][R][t][ʏ][n])
Developer of SimLauncherX

ftx_supporter_avsim.gifC172Siggy1_zps11944daf.jpg

  • Author

Hello Maarten,

 

thanks for looking into this. BTW, I use P3Dv2.4.

 

Patric

Hi Patric,

 

I can confirm this is indeed an issue. It will be fixed in the next version. I do however believe this is a bug in Prepar3D, because the simulator itself apparently has no problems reading the scenery.cfg file or any other .cfg file with spaces around the equals signs. Although there's no formal specification of the ini-file format, every implementation I know of ignores whitespace around keys and values.

 

Thanks for pointing this out,

 

Maarten

Maarten Boelens ([m][a:][R][t][ʏ][n])
Developer of SimLauncherX

ftx_supporter_avsim.gifC172Siggy1_zps11944daf.jpg

  • Author

Hello Maarten,

 

thanks for the really quick support. So I will looking forward to the next version.

 

Patric

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.