Jump to content

Sign in to follow this  
Scandinavianaviator

Error in shader files

Recommended Posts

Hi there.

after a week of not flying, i come home and had to redownload and reactivate PTA, and i get these errors:

ERROR: shader file D:\Prepar3D v4\ShadersHLSL\Cloud.fx is not original Prepar3D shader and can't be used
ERROR: shader file D:\Prepar3D v4\ShadersHLSL\General.fx is not original Prepar3D shader and can't be used
ERROR: shader file D:\Prepar3D v4\ShadersHLSL\GPUTerrain.fx is not original Prepar3D shader and can't be used
ERROR: shader file D:\Prepar3D v4\ShadersHLSL\FuncLibrary.fxh is not original Prepar3D shader and can't be used
ERROR: shader file D:\Prepar3D v4\ShadersHLSL\PostProcess\HDR.hlsl is not original Prepar3D shader and can't be used

How can i fix this?

Thanks in advance

Share this post


Link to post
Share on other sites

Hi,

I had the same problem.

Delete the ShadersHLSL folder in the main P3Dv4 folder.

Re run the P3dv4 client and select 'repair' this will restore the original shaders.

 

When you run PTA again, it will find everything normally.

Hope this helps

 

Stu


Kabylake 7700k @ 4.8GHz, 16GB RAM @3200MHz, Gigabyte Ultragaming Z270 MB, Gigabyte 1080GTX Graphics, 750W Corsair PSU, Kraken AIO watercooler, 2 x Samsung 500GB evo 850 SSD's

Share this post


Link to post
Share on other sites

Another thing. 

When you have restored the ShadersHLSL folder, back it up in case original shaders become corrupted again.

 

Stu


Kabylake 7700k @ 4.8GHz, 16GB RAM @3200MHz, Gigabyte Ultragaming Z270 MB, Gigabyte 1080GTX Graphics, 750W Corsair PSU, Kraken AIO watercooler, 2 x Samsung 500GB evo 850 SSD's

Share this post


Link to post
Share on other sites
42 minutes ago, Bunchy said:

Hi,

I had the same problem.

Delete the ShadersHLSL folder in the main P3Dv4 folder.

Re run the P3dv4 client and select 'repair' this will restore the original shaders.

 

When you run PTA again, it will find everything normally.

Hope this helps

 

Stu

Had same issue.

Into a full P3D V4 uninstall & reinstall.

Wish I had caught your note earlier.:blush:

T45

Share this post


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

Hi,

I had the same problem.

Delete the ShadersHLSL folder in the main P3Dv4 folder.

Re run the P3dv4 client and select 'repair' this will restore the original shaders.

 

When you run PTA again, it will find everything normally.

Hope this helps

 

Stu

That helped! Thank you so much :D

Share this post


Link to post
Share on other sites

T45,

It sounds like you have my 'lucky' gene.

I feel your pain.

 

Stu


Kabylake 7700k @ 4.8GHz, 16GB RAM @3200MHz, Gigabyte Ultragaming Z270 MB, Gigabyte 1080GTX Graphics, 750W Corsair PSU, Kraken AIO watercooler, 2 x Samsung 500GB evo 850 SSD's

Share this post


Link to post
Share on other sites

I had the same, after changing from pta 2.51 to 2.52. I didnt recover the backedup shaders by pta because that backup was with p3d without hotfix and i cant say if that hotfix changed something in the shaders. So a backup-revocer to old pre-hotfix shaders wouldnt make sense.

Then i got same path errors. So i had no choice, i recovered the backups in 2.51 pta. Then i opened 2.52, and the paths were found again.

But now i have around 10 fps less....everywhere, on every flight. Not sure whats the best thing now. Probably let shaders rebuild too...


BetaTeamB.png

Share this post


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

Hi,

I had the same problem.

Delete the ShadersHLSL folder in the main P3Dv4 folder.

Re run the P3dv4 client and select 'repair' this will restore the original shaders.

 

When you run PTA again, it will find everything normally.

Hope this helps

 

Stu

Are you sure its that folder? Is it a difference to delete that or just to delete the shader folder in ProgramFiles/LockheedMartin/p3d ? Last one doesnt let one repeair, it just rebuilds shaders.

But is that a difference?


BetaTeamB.png

Share this post


Link to post
Share on other sites

Hello

The ShadersHLSL folder is located in your Core Prepar3D folder,  If you delete this folder you will need to do a Repair to have this folder returned again. 

 

The Shaders folder located below is a generated folder, meaning you can delete this folder and when you launch Prepar3D this folder will generate again 

Local Disk (C:) ► Users ► You ► AppData ► Local ► Lockheed Martin ► Prepar3D v3 \ v4 -  Shaders

 

Below is a video showing you this in motion 

https://www.youtube.com/watch?time_continue=1&v=jnMm3yXz_bk

 


Elaine Dixon 

AVSIM Prepar3D Guide     Prepar3D® Wiki       AVSIM CTD Guide     How to post a Screenshot 

 

 

Share this post


Link to post
Share on other sites

Thanks but does it actually make a difference? Thats the main question :-)

And the second question is, since my PTA didnt recognize shaders from p3d v4 hotfix one as "original", what happens when i actually let the whole folders recreate via repair? Does PTA recognizes it? Scroll a bit higher to my first post here to see the background of the question.


BetaTeamB.png

Share this post


Link to post
Share on other sites

It makes a difference in as much as you get the original shaders back in the HLSL folder if you delete the old HLSL folder first and run a client repair. 

In my case, when I deleted the ShadersHLSL folder and then repaired via the client installer, this allowed PTA to recognise the shaders as OK and it backed them up automatically. (I am also using P3Dv4 hotfix client.)

I could then install a shader tweak of my choice without errors.

The other shaders folder located in /users/(your name)/AppData/Local/LockheedMartin, can be deleted and will be rebuilt when you start the simulator. No need to re run the client installer repair for this.

 

Stu

 


Kabylake 7700k @ 4.8GHz, 16GB RAM @3200MHz, Gigabyte Ultragaming Z270 MB, Gigabyte 1080GTX Graphics, 750W Corsair PSU, Kraken AIO watercooler, 2 x Samsung 500GB evo 850 SSD's

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.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    18%
    $4,530.00 of $25,000.00 Donate Now
×
×
  • Create New...