Error loading shader libraries, won't uninstall so I can reinstall, won't allow....

Civ4Questions

Chieftain
Joined
Nov 30, 2009
Messages
2
Hi everyone, I'm new to this forum :)

I just bought Civilization IV and a new laptop with Windows 7 Home Premium this last Friday. When I first installed Civ IV, it worked. Then a minute later when I went into the game it had the option of installing to the newest patch 1.74. Since I had just barely installed it for the first time and wanted it updated, I said to go ahead and install the patch. Then after the installed patch, there were problems starting the program. When trying to load, it would have the black screen with the spinning cursor on it. Then the cursor would turn into a regular white arrow cursor and nothing would happen. Then if I pushed the start button on the keyboard, a message would come up saying:


“Init Error

Error loading shader libraries

OK”


I found something that said to make an init.log file to see what the problem is when launching, and it says:

“[13687.434] DBG: CIV Init
[13687.449] VERSION: App: C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Civilization4.exe
[13687.480] VERSION: Build: Wed May 16 20:50:52 2007
[13687.480] VERSION: 1.7.4.0
[13688.853] VERSION: Mod Loaded: none
[13690.975] DBG: FILE Cat Init
[13699.898] DBG: Using XML cache
[13699.929] DBG: Game Init
[13700.070] DBG: Multiplayer Init BEGIN
[13700.725] DBG: Multiplayer Init END
[13700.865] DBG: Audio Init
[13704.968] DBG: ArtFileMgr Init
[13704.999] DBG: Python Init
[13713.798] VERSION: CIV Version: 0
[13713.798] VERSION: Save Version: 103
[13713.798] DBG: Input Init
[13714.079] DBG: Engine Init
[13715.826] DBG: Checking available screen resolution
[13716.060] DBG: Validating screen resolution
[13716.060] DBG: Creating rendererer
[13736.902] DBG: Engine: renderer Initialized
[13737.026] DBG: Engine: Error loading shader libraries”


If I go to Command Prompt/Run and enter DXDIAG, it says I have DirectX 11 (which came with my Windows 7 laptop which I just bought a few days ago). I tried using explore to go into the CD ROM and manually clicking on the reinstall DirectX, but it didn’t fix the problem, and I would think DirectX11 would be just as good as 9?

If I right click the CD disk to explore inside and manually click Setup.exe to try installing Civilization IV again, it says that the setup CD is an earlier version and that I have a later version on my computer (remember patch 1.74 that Civilization had me install?). It says that I have to first uninstall before reinstalling.

So if I go to the Control Panel/Uninstall Programs so that I can uninstall and try all over again, it says there's an error and that I need to make sure I have finished any previous setup (which doesn’t make sense because the paragraph right above talks about how it won't let me). It gave me this error message:


“Error Code: -5004 : 0x80041f42
Error Information:
*C:\Program Files (x86)\Common Files\InstallShield\Professional\RunTime\12\00\Intel32\iKernel.dll
>inc\CoCreate.cpp (44)
>SetupDLL\SetupDLL.cpp (1390)
PAPP:Sid Meier's Civilization 4
PVENDOR:Firaxis Games (##IDS_PRODUCT_URL##)
PGUID:CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8
$11.0.0.28844
@Windows XP (7600) BT_OTHER 15092.30601”


The specifications of my laptop I bought Friday are 2GB RAM, 160GB Hard Drive, Windows 7 Home Premium 64-bit. The processor is AMD Athlon Processor TF-20 1.6GHz. Graphics is ATI Radeon™ HD3200 Graphics with up to 1919MB of HyperMemory™ supporting Shader Model 4,0. If you need any other specifications, this is the manufacturer’s website http://www.emachines.com/products/products.html?prod=eME627-5279 . The website says DirectX10 but since I’ve been doing updates etc it now says DirectX11.
 
after your attempt at uninstalling - does it still have the same error with the shader libraries? If yes - then this should help:

http://www.microsoft.com/downloads/...38-db71-4c1b-bc6a-9b6652cd92a3&DisplayLang=en

Welcome to CFC :band:

I'm confused, when I went to Command Prompt and entered DXDIAG, it said I have DirectX 11. Would that be good enough, or is it missing something DirectX 9 has or incompatible with the game?

It actually wouldn't let me even uninstall Civilization IV because it said I needed to make sure I finished any previous installation, Error Code: -5004 : 0x80041f42. If I tried to Explore in the CD ROM drive and click setup, it said it was setup for 1.6.1 version, while the computer had 1.74 on it (because I installed that patch and it was working before that), so it wouldn't let me install on top of nor uninstall.

Then if I ever tried launching the program from the shortcut item, it gave the shader library error.

Finally I just went to Windows Explorer and deleted everything in the Programs file dealing with Civ4 or Civilization, then deleted everything in the MyGames in My Documents folder. Then I went to regedit, did a search for "Civ4" and "Civilization", and deleted everything in the registry which brought that up. It still gave the same error from up above when I went to Explore in the CD ROM drive to get to the Setup file to manually tell it to install. Then I finally read somewhere to delete the {CFBCE791-2D53-4FCE-B3BF-D6E01F4112E8} folder in Hkey Local Machine\Software\Microsoft\Windows\Current version\Uninstall. Then it would finally reinstall, and is working. However it's version 1.6.1, and now I'm afraid of installing patch 1.74 because of that. In Command Prompt -> DXDIAG it says I have DirectX 11. That DirectX link you gave me says it has updates for DirectX 9. Would I have to uninstall DirectX 11 first, or should it be good with that? The game says DirectX 9 is required, so I would think 11 is higher than that. Or is DirectX 11 incompatible with the game? I just want to find out first before I try that link and installing patch 1.74 again, since it was a hastle to uninstall Civ4 by manually deleting everything.

Thanks!
 
Back
Top Bottom