Jump to content
Sign in to follow this  
skysurfer

Prepar3D cannot run without a valid Scenery.cfg

Poppet

Please see the link below on steps to fix this error when launching Prepar3D

Prepar3D cannot run without a valid Scenery.cfg

Message added by Poppet

Recommended Posts

Good day all.
I am new to P3D and I cannot figure out what is causing this message: "CANNOT run without a valid SCENERY"
I googled the solution, did not help. Reinstalled v4 and after some time same message pops up.
One of the suggestions was to paste scenery file from Program Files into the Oldscenery file. When I opened both those files all I saw was this:

捛㉲਍਍䅛敲⹡崱਍楔汴㵥啕䕅䴠獯潣⁷桓牥浥瑥敹潶堠਍潌慣㵬㩅停䐳䅜摤湯匠散敮祲啜䕕⁅潍捳睯匠敨敲敭祴癥൘䄊瑣癩㵥牔敵

What the is that? Is there any other solution other other that keep reinstalling the whole sim?
Thx 


I9-13900K | ASUS ROG Strix Z790-E Gaming LGA 1700 | MSI Gaming GeForce RTX 4090 24GB | CORSAIR iCUE H150i ELITE LCD Liquid Cooler | CORSAIR DOMINATOR PLATINUM 64GB (2X36) 5200MHx DDR5 | Thermaltake GF3 1650W 80+ Gold PSU | Samsung QN90C Neo QLED TV 50”

 

 

 

Share this post


Link to post

Update.

It appears that DRZEWIECKI DESIGN is causing this. I saw other people are complaining too. 


I9-13900K | ASUS ROG Strix Z790-E Gaming LGA 1700 | MSI Gaming GeForce RTX 4090 24GB | CORSAIR iCUE H150i ELITE LCD Liquid Cooler | CORSAIR DOMINATOR PLATINUM 64GB (2X36) 5200MHx DDR5 | Thermaltake GF3 1650W 80+ Gold PSU | Samsung QN90C Neo QLED TV 50”

 

 

 

Share this post


Link to post

Seems like they mess up the encoding :-)

P3D v4 uses UTF-8 as far as I have read. You can change the encoding with Notepad++.

Share this post


Link to post

Where ? On which file exactly ? Prepared.cfg ?

I'll try about anything, I'm having not ctd's but complete freeze of pc, only hard reset is option and I realize that it happened, I would say exclusively, when I enter some options in drop down menu while flying. Such a shame since I've just managed to raise my fps again to 50+. :mellow:

Share this post


Link to post
6 hours ago, skysurfer said:

What the is that?

A program, probably an installer, read the scenery.cfg file assuming an incorrect encoding and wrote it back to disk again in that incorrect encoding.

A a general rule, you should not run any automated installers of addons that have not been updated to P3D V4. Apart from the addon itself perhaps being problematic, you may end up with corrupted config files - in your case the scenery.cfg.

Best regards


LORBY-SI

Share this post


Link to post
3 hours ago, gamer19 said:

Where ? On which file exactly ? Prepared.cfg ?

I'll try about anything, I'm having not ctd's but complete freeze of pc, only hard reset is option and I realize that it happened, I would say exclusively, when I enter some options in drop down menu while flying. Such a shame since I've just managed to raise my fps again to 50+. :mellow:

scenery.cfg file 


I9-13900K | ASUS ROG Strix Z790-E Gaming LGA 1700 | MSI Gaming GeForce RTX 4090 24GB | CORSAIR iCUE H150i ELITE LCD Liquid Cooler | CORSAIR DOMINATOR PLATINUM 64GB (2X36) 5200MHx DDR5 | Thermaltake GF3 1650W 80+ Gold PSU | Samsung QN90C Neo QLED TV 50”

 

 

 

Share this post


Link to post
3 hours ago, Lorby_SI said:

A program, probably an installer, read the scenery.cfg file assuming an incorrect encoding and wrote it back to disk again in that incorrect encoding.

A a general rule, you should not run any automated installers of addons that have not been updated to P3D V4. Apart from the addon itself perhaps being problematic, you may end up with corrupted config files - in your case the scenery.cfg.

Best regards

The developer stated that new installer was compatible with v4 and during installation P3Dv4 was available. Installation went fine but P3D stopped working though. I went on their forum and I saw other simmers gad the same issue. 

Thx 


I9-13900K | ASUS ROG Strix Z790-E Gaming LGA 1700 | MSI Gaming GeForce RTX 4090 24GB | CORSAIR iCUE H150i ELITE LCD Liquid Cooler | CORSAIR DOMINATOR PLATINUM 64GB (2X36) 5200MHx DDR5 | Thermaltake GF3 1650W 80+ Gold PSU | Samsung QN90C Neo QLED TV 50”

 

 

 

Share this post


Link to post
1 hour ago, skysurfer said:

The developer stated that new installer was compatible with v4

The developer is wrong.

Share this post


Link to post

Yep. The developer has just confirmed that too and disabled the products 


I9-13900K | ASUS ROG Strix Z790-E Gaming LGA 1700 | MSI Gaming GeForce RTX 4090 24GB | CORSAIR iCUE H150i ELITE LCD Liquid Cooler | CORSAIR DOMINATOR PLATINUM 64GB (2X36) 5200MHx DDR5 | Thermaltake GF3 1650W 80+ Gold PSU | Samsung QN90C Neo QLED TV 50”

 

 

 

Share this post


Link to post
1 hour ago, skysurfer said:

The developer stated that new installer was compatible with v4 and during installation P3Dv4 was available. Installation went fine but P3D stopped working though. I went on their forum and I saw other simmers gad the same issue. 

Thx 

If developers look to their installers in terms of where they put their files, than he is correct. But what he either did not know or ignored was the fact that the character encoding of the config files has changed in P3D V4. So if he is using the exact same tool to add the scenery to the library that he was using with the previous version, he "shot" the scenery.cfg.

There is a sticky right on top of this forum where this issue is discussed.

And this is precisely the reason why especially developers should stick to the add-on.xml route, as advised by LM.

Best regards


LORBY-SI

Share this post


Link to post

I had the same problem after installing Wash X.  My solution was to save the bad scenery.cfg to scenery.off, restart P3D and let the scenery.cfg rebuild.  I then added Wash X manually.  It did not mess up any of my other installed scenery as it was all added automatically (FSDT/FlightBeam stuff) and I went to FTX Central and opened it up and it added those entries automatically.  I also had to enter MyTrafficX again too.  So, a little inconvenience but all is well again!

Best regards,

Jim


Jim Young | AVSIM Online! - Simming's Premier Resource!

Member, AVSIM Board of Directors - Serving AVSIM since 2001

Submit News to AVSIM
Important other links: Basic FSX Configuration Guide | AVSIM CTD Guide | AVSIM Prepar3D Guide | Help with AVSIM Site | Signature Rules | Screen Shot Rule | AVSIM Terms of Service (ToS)

I7 8086K  5.0GHz | GTX 1080 TI OC Edition | Dell 34" and 24" Monitors | ASUS Maximus X Hero MB Z370 | Samsung M.2 NVMe 500GB and 1TB | Samsung SSD 500GB x2 | Toshiba HDD 1TB | WDC HDD 1TB | Corsair H115i Pro | 16GB DDR4 3600C17 | Windows 10 

 

Share this post


Link to post

Good to know, Jim. Will keep that in mind. I fear with 3rd party addons transition to v4 this issue may appear again. 


I9-13900K | ASUS ROG Strix Z790-E Gaming LGA 1700 | MSI Gaming GeForce RTX 4090 24GB | CORSAIR iCUE H150i ELITE LCD Liquid Cooler | CORSAIR DOMINATOR PLATINUM 64GB (2X36) 5200MHx DDR5 | Thermaltake GF3 1650W 80+ Gold PSU | Samsung QN90C Neo QLED TV 50”

 

 

 

Share this post


Link to post
9 hours ago, swiesma said:

Seems like they mess up the encoding :-)

P3D v4 uses UTF-8 as far as I have read. You can change the encoding with Notepad++.

It uses UTF16LE by default, but it can also read .CFG files in Ansi or UTF-8.

Problems will start if a 3rd party installer or utility assumed a file might be use some encoding, and used the wrong way of opening or parsing it, because it will end up corrupted when it will be written back.

To clarify better:

- The sim will still work if a .cfg file is being read as UTF16 (default), opened with the proper string handling routines that can read UTF16 and for some reason, it will be saved back in Ansi or UTF-8, as long the writing routine were the correct ones for Ansi or UTF-8. It will be still WRONG (IMHO) if an installer did this, but it won't cause any problem to the sim. It MIGHT cause funny text issues if the file was, for example, an airplane.cfg with descriptions using non-English characters, or (even worse) non-Western characters.

- The .cfg will be get CORRUPTED, if it started as UTF16 (default) and an installer or utility that modified it, *assumed* it was an Ansi file without checking first, used Ansi string parsing functions, thus getting garbage, not realizing it, and just write on it, causing a whole big mess, that would require restoring the original file, which is saved as "OldScenery.CFG"

  • Upvote 1

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