Tom's Hardware > Forum > Games General > PC Gaming > Civilization 4: "error loading shader libraries"

Civilization 4: "error loading shader libraries"

Forum Games General : PC Gaming - Civilization 4: "error loading shader libraries"

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

While trying to load Civ 4 I get an error message: "error loading shader libraries"
I thought I just need to update my video card to the latest driver (8800 GTS) but that didn't seem to do anything.
I'm not sure what else to do, I've checked the Civ forums and I can't find much of anything relating to my problem.

Sponsored Links
Register or log in to remove.
- 0 +

Have you patched the game to the latest version? I think it's 1.61.

Reply to septic

yup, I've got the latest patch and all that jazz, I don't know what else to do. I tried to the art pack patch, but that didn't seem to do anything either.

Reply to shadowtheweak
- 0 +

Uninstall the game and clean your PC of any files that the uninstall might have left behind. Reboot and re-install.

That's helped me in a few cases.

Reply to Ananan
- 0 +

If you are using Warlords, then the problem lies in the latest patch
and you now have to update your direct x
it is all explained here at this forum http://forums.civfanatics.com/showthread.php?t=232116

Go to page 3 and it will have a link to the file you need

Reply to kendogg
Show message
- 2 +

HEY!!! that file giagantic file is an unregistered torrent and possibly malware. Sysops if you are reading this delete Cowmatrix's post. :non:

To solve this problem simply download dx3d9_31.dll and 32.dll and drop them in the civ4 root directory. done.

Reply to macvsog

where can you download dx3d9_31.dll ?

Reply to mycivisbroken

macvsog wrote :

HEY!!! that file giagantic file is an unregistered torrent and possibly malware. Sysops if you are reading this delete Cowmatrix's post. :non:

To solve this problem simply download dx3d9_31.dll and 32.dll and drop them in the civ4 root directory. done.



Solved it for me :) Thank you.

Reply to New_Player

"To solve this problem simply download dx3d9_31.dll and 32.dll and drop them in the civ4 root directory. done."

After trying all the other methods, this one worked and the game launched without the "shader libraries" error. Thank you much, macvsog.

Reply to Anonymous

macvsog,

Thank You from Brasil. Works!!! Finally I can play! Obrigado.

Jorge Lander

Reply to doublebeer

You would probably want to run the offical DirectX Updater from Microsoft, to update any missing DX files.

Reply to gamerk316

New_Player wrote :

Solved it for me :) Thank you.


The root file? help me out here please guys cos' this is the most irritating problem ever for me to be honest so please can you tell me?

Reply to Anonymous

Download and run the offical DXupdater form M$ to make sure DX9.0c is updated. (Mandatory for Vista users).

If that doesn't fix it, re-install, as the games files probably got deleted/corrupt somehow.

Reply to gamerk316
- 0 +

It,s not Solved it for me

Reply to rowais
- 0 +

Just wanted to say that downloading those two .dll files posted above seems to have fixed my problem perfectly, and it only took about a minute. Thanks for posting them.

Reply to Loetke

Quote :

macvsog: To solve this problem simply download dx3d9_31.dll and [dx3d9_]32.dll and drop them in the civ4 root directory. done.


Quote :

Anonymous: You can down load the files here
http://www.dll-files.com/dllindex/ [...] l?d3dx9_31
http://www.dll-files.com/dllindex/ [...] l?d3dx9_32



Problem fixed after downloading d3dx9_31.dll and d3dx9_32.dll from the locations provided by the previous anonymous post and placing those DLL files in the root directory of the Civilizaiton IV applicaton folder as instructed by the post by macvsog. Thanks!

A few details collected together:

The problem I needed to solve was that I could not use Civilizaiton IV (base game installed from 3 CDs and requires CD in drive to run) after upgrading it from version 1.61 to 1.71, which was the latest patch as I'm posting this, on a laptop running Windows Vista Business.

The unpatched version (1.61) of Civ 4 as installed from the CDs worked fine.

The patch produced the following error near the end of its installation:

Quote :

Error 1706 No valid source could be found for product Sid Meier's Civilization 4. The Windows Installer cannot continue.

I answered OK and the install quit.

Upon trying to run Civ 4, I received a missing d3dx9_32.dll error. After downloading and installing just that DLL from the location mentioned above, I received the error "Error loading shader libraries" After putting both DLLs mentioned above in the location mentioned above, the program worked.

By the way, for those unsure of what the "civ 4 root folder" means, it is often
C:\Program Files\Firaxis Games\Sid Meier's Civilization 4

In process of trying to fix this, I also downloaded (from Microsoft's site) what I thought was the DirectX 9.0c end-user run time files. That didn't fix the problem, and I think it had no effect, but I mention it as it is a step I did before the final fix so it might be required (although I doubt it).

- Bill

Reply to BillCamp

Just to confirm the same happened to me , I patched to the lates version 1.74 now and i got the error "error loading shader libraries", I updated to the latest directx end user run time files from microsoft . This alone worked for me, I have a dell dimension with vista business

Reply to Anonymous

Cowmatrix wrote :

Hi guys. Are you having problems with shader libraries not loading. It seems like you all are, so don't listen to everyone sending you to download some crappy file or exe. that will not even fix it. I've tried numerous times and those updates from other places don't work correctly. I went to this link (below) and downloaded this in 10 minutes and installed, then I played the game with no problems (Online and Single player). So, trash those other updates and use this 100% Cure. I can now enjoy the game that I've desperately tried to get working for a week now.

Go Here: http://rapidshare.com/files/395880 [...] redist.exe
(click the "free" button and wait 1.7 minutes to get your
download)


omg lol hacker alert

Reply to daviduk109
- 0 +

This method work in Vista 32/64 and Windows 7 32/64


Install Civ4
Install Civ4Patch1.74_Final.exe
Copy d3dx9_31.dll and d3dx9_32.dll to folder where you install Civilization (search internet or unpack directx 9 .cabs)
Right click Civ4 Icon
Choose Properties -> compatability
Check Windows XP Service Pack 3
Check Disable Visual Themes
Check Disable Desktop Composite
Search Civilization4.ini in your Documents directory (usually on Libraries\Documents\My Games\Civ 4)
Search for NoMovies = 0
Change it to NoMovies = 1
Save it
Run Civ4

Reply to sakaxs
Tom's Hardware > Forum > Games General > PC Gaming > Civilization 4: "error loading shader libraries"
Go to:

There are 1300 identified and unidentified users. To see the list of identified users, Click here.

Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them