Civilization 4: "error loading shader libraries"

Status
Not open for further replies.

shadowtheweak

Distinguished
Dec 7, 2006
60
0
18,630
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.
 
G

Guest

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

shadowtheweak

Distinguished
Dec 7, 2006
60
0
18,630
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.
 

Ananan

Distinguished
Apr 2, 2007
646
0
18,990
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.
 

Cowmatrix

Distinguished
Apr 2, 2008
1
0
18,510
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/39588041/directx_jun2007_redist.exe
(click the "free" button and wait 1.7 minutes to get your
download)
 

macvsog

Distinguished
May 10, 2008
1
0
18,510
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.
 

New_Player

Distinguished
Nov 11, 2008
1
0
18,510


Solved it for me :) Thank you.
 
G

Guest

Guest
"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.
 
G

Guest

Guest

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?
 

Loetke

Distinguished
Jun 19, 2006
24
0
18,510
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.
 

BillCamp

Distinguished
Jul 24, 2009
1
0
18,510
macvsog: To solve this problem simply download dx3d9_31.dll and [dx3d9_]32.dll and drop them in the civ4 root directory. done.
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:
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
 
G

Guest

Guest
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
 

daviduk109

Distinguished
Jun 12, 2008
239
0
18,710

omg lol hacker alert
 

sakaxs

Distinguished
Nov 2, 2009
1
0
18,510
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
 

NxG Savage

Distinguished
Apr 7, 2010
1
0
18,510

Great job, worked for me
 

Gresh85

Distinguished
Apr 10, 2010
2
0
18,510
Hello everyone...I am taking the time to write this to possibly save someone else the huge headache in dealing with the "can't load shader library errors." In Civ 4

This is what I discovered after countless reinstalls...tech support..registry edits...and software updates...

Its important to know that a specific version of direct X 9c is the most stable for this game...it also seems to be the only package that I could get to work...make sure you get this specific package because in later months several pertinent dll files were stripped and recoded for emulation. With umpteen versions of Direct X floating around out there this is where the majority of the problems arise. This is what I installed to get Civ 4 to work on a 64 bit Windows 7 platform:

http://download.microsoft.com/download/1/7/1/1718CCC4-6315-4D8E-9543-8E28A4E18C4C/dxwebsetup.exe

Last month I built a new rig with a shnazzy 5850 ATI card and made the mistake of installing direct x 11 BEFORE installing some of the previous versions of Direct X. Theoretically, DX11 is backwards compatible and allows for an upgrade from previous DX versions which should allow everything to run correctly. This is simply not the case as two crucial .dll files in the C:/Windows/System32 directory have been replaced by emulation files instead of the older, larger content specific files....even though the files look and are named the same...they are composed of a different code than what was given to many software developers.

This is what is causing Civ 4 to lock up and crash. Even after spending an hour with FireAxis games in Northern England...even they could not figure out how to correct this problem. Several sites want you to replace the files listed below in your C:/Windows/System32 directory...do not do this as you will mess up a clean install of DX which will cause more compatibility errors with newer games (Metro 2033 and Sims 3 in my case).
Instead, download and save the dlls listed below.

http://www.dll-files.com/dllindex/
http://www.dll-files.com/dllindex/

Next install Civ 4 in safe mode...this will prevent the application from automatically downloading premature software info...again avoiding a lock up and freeze. Once you have installed Civ 4 in safe mode...then unzip, copy, and paste the two dll files you downloaded and place them into the same directory as your Civ 4 Application...this will probably be your C:program Files/2KGames/FireAxisGames/Civ4/ file folder.

The game should boot now. Fingers crossed and praying to Jesus...

I also found out that the majority of people having this problem use higher end ATI cards...make sure you have the latest version of Catalyst Control Center and download the most current drivers for your card: Here is a link for Win 7 Users of the 5800-5970 cards

https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers 10-3_vista64_win7_64_dd_ccc_wdm_enu.exe

Also this will correct the "no previous version of Sid Meires Civ 4 is detected" error when installing the new patches that are out for the game.

Also do yourself a favor and download the 1.61 version of the patch:

http://download2us.softpedia.com/dl/cb03f992b87a2d9cb329db4cc5603ef8/4bbf8675/200008116/games/patch/Civ4Patch1.61.exe

BEFORE installing the most recent 1.74 patch:

http://www.firaxis.com/downloads/Patch/Civ4Patch1.74_Final.exe

Anyways guys, I hope this sheds some light on a rather obscure problem that noone seems to be able to fix.

God Bless

Big Gresh


 

007_76

Distinguished
Dec 23, 2010
2
0
18,510

go to your program files, sidmeirs civ 4, and you are there
 
Status
Not open for further replies.