WineHQ

Sid Meier's Civilization IV

Civilization IV

plus WARLORDS and BEYOND THE SWORD expansion packs.

All Civ IV versions have been merged into this one. When submitting test results please add if it's Steam or Retail CD install. Also specify which expansion pack you are using.

Instructions

- Install the newest patches using the links on the left side (if retail version / non-GOTY edition)
- Steam version comes fully up to date.

Current Versions

Civilization IV - v1.74

Warlords - v2.13

Beyond The Sword - v3.19

Graphic Card Drivers

Also be sure to install up to date drivers for your graphic card.


Vote

- Register and Vote for this application to increase chances to improve support. You can give it up to 3 votes!


Application Details:

Version: Complete
License: Retail
URL: http://www.civiv.com
Votes: 57
Rating: Platinum
Wine Version: 2.3

Maintainers: About Maintainership

Link Beyond The Sword Patch Link Civilization IV Patch Link Warlords Patch Link Wiki Page Free Download Patch Download URL Free Download N/A

Test Results

Selected Test Results

What works

  • The game and all mods start fine and are fully functional. 
  • The gog.com installer works with current Wine version 2.8 (PlayOnLinux). 
  • Civ4
  • Civ4 Beyond the Sword
  • Civ4 Warlords 
  • Civ4/Colonization

What does not

  • The gog.com installer ends with an access violation error. It nonetheless continues and ends with "successfully installed". No glitches in the game found. 
  • The gog.com installer did not finish with out-of-the-box wine 1.7.55. Seems to be a problem solved in wine versions 2.0 and greater: 
    see: Ubuntu: problem with civ4 installation
  • Game did not start until msxml3 was installed. 
  • Changing screen resolution did not fully work until restarted. May be a driver problem. 


What was not tested

  • playing through the games
  • multiplayer using the pitboss files in the gog.com release.

Additional Comments

Using the installer version 1.74(gog4) from gog.com.
selected in Test Results table below
DistributionTest dateWine versionInstalls?Runs?RatingSubmitter
CurrentDebian GNU/Linux 9.x "Stretch" x86_64May 23 20172.8 Yes Yes GoldStephan S. 
ShowDebian GNU/Linux 8.x "Jessie" x86_64Mar 07 20172.3 Yes Yes PlatinumArthur Nismo 
ShowUbuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)Jan 02 20172.0-rc3 Yes Yes Platinumpotato 
ShowDebian GNU/Linux 8.x "Jessie" x86_64Jun 05 20161.9.11 Yes Yes PlatinumЮрий Жаворонков 
ShowUbuntu 14.10 "Utopic" amd64 (+ variants like Kubuntu)May 21 20151.7.40 Yes Yes Platinuman anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
18027 Switching to another window using Alt+Tab doesn't work if Civilization 4 was started in fullscreen mode UNCONFIRMED View
22053 Steam games crash on startup if in-game community is not disabled (gcc bug) RESOLVED NOTOURBUG View
25323 Civilization IV Beyond the Sword crashed when trying to start a new game. NEW View
26142 Civilization 4: Screen turns black on turn end with built-in msxml UNCONFIRMED View
42195 civ 4 warlords freezes just before displaying game map UNCONFIRMED View

Show all bugs

HowTo / Notes

HOWTO

 version: wine1.4.1

wintricks:
d3dx9*, msxml3, msxml4, vcrun2003, quartz, devenum. corefonts, lucida, tahoma.
*d3dx9_26.dll, d3dx9_31.dll, d3dx9_32.dll, d3dx9_33.dll

winecfg:
'gameux' disabled
'msxml3r' native <=not a typo

install, run updater, launch game to create .ini file and quit game.

edit CivilizationIV.ini:
EnableVoice = 0
FullScreen = 0
NoIntroMovie = 1
DisableFileCaching = 1
DisableCaching = 1
ModularLoading = 1
CheatCode = chipotle
D3D9Query = 1
ScreenHeight =
ScreenWidth =

adjust custom resolution to taste/hardware limitations.

Sans Serif Font Fix:
cp ~/.../Assets/res/Fonts/sylfaen.ttf ~/.../windows/Fonts/

Fullscreen Cursor Fix:
cd ~/.../Assets/res/Cursors/
mkdir backup ; cp *.ani backup/ ; rm -v *.ani ; cp backup/Pointer.ani Pointer.ani ; cp Pointer.ani Airbomb.ani ; cp Pointer.ani Airlift.ani ; cp Pointer.ani Airstrike.ani ; cp Pointer.ani Build.ani ; cp Pointer.ani BuildLarge.ani ; cp Pointer.ani Claim.ani ; cp Pointer.ani Deplete.ani ; cp Pointer.ani Edit.ani ; cp Pointer.ani EMP.ani ; cp Pointer.ani Found.ani ; cp Pointer.ani GoTo.ani ; cp Pointer.ani Grip.ani ; cp Pointer.ani Link.ani ; cp Pointer.ani Mine.ani ; cp Pointer.ani Move.ani ; cp Pointer.ani Mutiny.ani ; cp Pointer.ani Nuke.ani ; cp Pointer.ani Ping.ani ; cp Pointer.ani Rebase.ani ; cp Pointer.ani Recon.ani ; cp Pointer.ani Repair.ani ; cp Pointer.ani RouteTo.ani ; cp Pointer.ani 'Size All.ani' ; cp Pointer.ani 'Size Diagonal 1.ani' ; cp Pointer.ani 'Size Diagonal 2.ani' ; cp Pointer.ani 'Size H.ani' ; cp Pointer.ani 'Size V.ani' ; cp Pointer.ani 'Split H.ani' ; cp Pointer.ani 'Split V.ani' ; cp Pointer.ani Stasis.ani ; cp Pointer.ani Waiting.ani

illustrated instructions are here:
http://forums.civfanatics.com/showthread.php?t=472117

HOWTO

note: you have to use external msxml3.dll

(I doubt these are not needed anymore msxml3r.dll, d3dx9_26.dll, d3dx9_31.dll, d3dx9_32.dll, d3dx9_33.dll


i ran the game (and the installer) with:

WINEDLLOVERRIDES="msxml3=n" wine "C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Civ4BeyondSword.exe"

multiplayer

multiplayer over LAN works using vanilla BTS. multiplayer with mods requires DIRECT IP CONNECTION method.

INTERNET GAMES and PBEM were not tested. only multiplayer over LAN is confirmed.


Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Game freezes when starting a new turn
by Fernando Martins on Monday January 9th 2017, 16:58
I have upgraded to Mint 18.1 and after playing the game for a bit it freezes when I press the "end of turn" button. I have a saved game from another machine that when I load and it reaches the "finishing" state, just before displaying the game map, it freezes (music is running).

I don't think this is really a bug with wine itself, rather with an underlying system/kernel library. I could run with DEBUG channels, no idea which to use, though. Suggestions?
Multiplayer Woes
by Brian on Sunday September 27th 2015, 7:44
Civ and BTS installed without a problem. Patch 3.19 went on without a hitch. I followed the instructions for the DLL's and everything went on just fine. The only hiccup in the whole process is the Lucida font could not be downloaded.

The game runs beautifully in single player mode! But multiplayer fails to load. Taking the LAN option, the app just freezes. Taking the Direct IP option and I get an unable to open socket error.

Any suggestions are much appreciated!
aqueduct completion problem
by william on Sunday May 18th 2014, 23:20
Upon completing the construction of an aqueduct in one of my cities, my game freezes. I've tried loading back in as well and still freezes. Not sure what could be the problem. I'm a noob to wine but would like to learn to use this so I don't have to jump back and forth between linux and windows. everything else runs fine except for that.
Civilization IV with wine 1.7.16 and Lenovo Thinkpad Intel graphics card
by Uwe on Tuesday April 15th 2014, 3:07
I had to install wine with "abi_x86_32 -abi_x86_64" USE flags to get a clean Civilization installation without any errors on my 64bit Gentoo Linux. After that, I installed several libraries which are mentioned in the other comments via winetricks.

Unfortunately, Civilization showed only a blue screen when started in the terminal. After hitting Enter, it exited with some error messages. One of them had something to do with my intel graphics card i965.

This brought me to a hint on another page on the internet to create the registry key "OffscreenRenderingMode" via "wine regedit" in HKEY_CURRENT_USER (see here: wiki.winehq.org/UsefulRegistryKeys for further information!) I had to set the key value to "backbuffer".

With all this, the intro movie shows up and the game starts as it should.
Loading Caveman2Cosmos mod failing
by Neil Dyer on Thursday March 27th 2014, 19:12
Starting BTS via the desktop shortcut, vanilla BTS runs fine under Ubuntu 13.04 with Wine 1.7.14 but the Caveman2Cosmos v34 mod fails to load with the "No shader libraries" error, except after a clean install of Wine, BTS and the mod. The Wine config has gameux disabled and msxml3 as native. I have been able to load the mod a second time by starting the exe directly, but again, only once. When loaded, the mod appears to run fine. Reinstalling just the mod, clearing the cache and removing the "~/My Games/Beyond the Sword" directory makes no difference. On another system, with Wine 1.4 under Mint 14, the mod loads and runs fine every time. This suggests the problem is due to a change in Wine after 1.4, and/or some difference between Mint 14 and Ubuntu 13.04.

Suggestions on how to get the mod to load every time appreciated.

Some excerpts from the Wine output are:

err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Beyond the Sword\\CivilizationIV.ini.lnk"

fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33f08c 1 C) semi-stub

fixme:wtsapi:WTSRegisterSessionNotification Stub 0x2013e 0x00000000

'import site' failed; use -v for traceback
Traceback (most recent call last):
File "", line 2, in ?
IOError: [Errno 2] No such file or directory: 'C:\\users\ndyer\\My Documents\\My Games\\Beyond the Sword\\Logs\\PythonErr2.log'

fixme:d3d:wined3d_check_device_format_conversion wined3d 0xd05ea3d8, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G6R5_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!

fixme:win:EnumDisplayDevicesW ((null),0,0x33f398,0x00000000), stub!

fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
Running Civilization BTS
by Igor Kushnir on Monday January 6th 2014, 6:59
I installed Civilization BTS - international and Russian versions - in a new wineprefix using PlayOnLinux and wine 1.7.9. After installing msxml3 game was running perfectly - even great desktop (XFCE) integration (Alt+tab and global shortcuts work flawlessly even when game is active in full-screen). I was not using any PlayOnLinux scripts, but manual installation, so most probably similar flawless installation can be achieved with pure wine installation + msxml3 from winetricks. I have only tried single player mode.

I'm posting this comment, because while with earlier wine versions some tricks (even using original Windows dll's) were required, now installing msxml3 is enough.
Won't start
by seth on Thursday October 3rd 2013, 13:49
I installed it successfully and set up the libraries. The binary doesn't even start. No errors, it just doesn't run.

Why?
Ubuntu 12.04 Civ IV Complete Graphics Issue
by Ivan on Sunday August 11th 2013, 19:29
Hi guys. I installed the game recently on a 12.04 Ubuntu.
The install was simple. The game starts up fine.
However, I get a graphics issue when I try to play.
i13.photobucket.com/albums/a285/SupraLT99/Screenshotfrom2013-08-11172028_zpsaaccf8db.png

Current settings in winecfg are:
i13.photobucket.com/albums/a285/SupraLT99/Screenshotfrom2013-08-11171911_zps0134d244.png

Currently running on performance-mode discrete GPU (ATI HD6470M)
fglrx 12.10.5 [Mar 28 2013] with 1 minors

Thanks in advance.
Problems installing on a retail disk
by Jon on Thursday July 4th 2013, 14:18
Hi, I have Civ IV: Beyond the Sword on a retail CD for windows.

I'm trying to install it on Ubuntu 12.04. I've tried following the instructions, here are my versions:
winetricks --version
20130624

wine --version
wine-1.6-rc4

I've over-ridden the dlls, as suggested, I've gotten the fonts, I've updated my video drivers to their latest (some NVIDIA proprietary thing, I've tried various versions). But when I actually try to install the thing, it starts up the install (asks the language), then starts loading it up. And then, it freezes, and I get this:

jono@MilkyJoe:/media/CIV4BTS_303$ wine setup.exe
jono@MilkyJoe:/media/CIV4BTS_303$ fixme:storage:create_storagefile Storage share mode not implemented.
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:heap:HeapSetInformation 0x2c4000 0 0x23fce0 4
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
err:rpc:I_RpcReceive we got fault packet with status 0x3e6
fixme:ole:NdrClearOutParameters (0x33d394,0x7e4c10a0,0x33d708): stub
fixme:ole:NdrClearOutParameters (0x33d394,0x7e4c10ca,0x33d5ec): stub
fixme:ole:NdrClearOutParameters (0x33d394,0x7e4c10ce,0x33d60c): stub
fixme:ole:NdrClearOutParameters (0x33d394,0x7e4c10f2,0x33d708): stub
err:rpc:I_RpcReceive we got fault packet with status 0x3e6
fixme:ole:NdrClearOutParameters (0x33d394,0x7e4c10a0,0x33d708): stub
fixme:ole:NdrClearOutParameters (0x33d394,0x7e4c10ca,0x33d5ec): stub
fixme:ole:NdrClearOutParameters (0x33d394,0x7e4c10ce,0x33d60c): stub
fixme:ole:NdrClearOutParameters (0x33d394,0x7e4c10f2,0x33d708): stub
err:rpc:I_RpcReceive we got fault packet with status 0x3e6
fixme:ole:NdrClearOutParameters (0x33d184,0x7e4c10a0,0x33d4f8): stub
fixme:ole:NdrClearOutParameters (0x33d184,0x7e4c10ca,0x33d3dc): stub
fixme:ole:NdrClearOutParameters (0x33d184,0x7e4c10ce,0x33d3fc): stub
fixme:ole:NdrClearOutParameters (0x33d184,0x7e4c10f2,0x33d4f8): stub
fixme:apphelp:ApphelpCheckInstallShieldPackage stub: 0x33e124 L"E:\\data1.hdr"
err:rpc:I_RpcReceive we got fault packet with status 0x3e6
fixme:ole:NdrClearOutParameters (0x33d464,0x7e4c10a0,0x33d7d8): stub
fixme:ole:NdrClearOutParameters (0x33d464,0x7e4c10ca,0x33d6bc): stub
fixme:ole:NdrClearOutParameters (0x33d464,0x7e4c10ce,0x33d6dc): stub
fixme:ole:NdrClearOutParameters (0x33d464,0x7e4c10f2,0x33d7d8): stub
err:rpc:I_RpcReceive we got fault packet with status 0x3e6
fixme:ole:NdrClearOutParameters (0x33d254,0x7e4c10a0,0x33d5c8): stub
fixme:ole:NdrClearOutParameters (0x33d254,0x7e4c10ca,0x33d4ac): stub
fixme:ole:NdrClearOutParameters (0x33d254,0x7e4c10ce,0x33d4cc): stub
fixme:ole:NdrClearOutParameters (0x33d254,0x7e4c10f2,0x33d5c8): stub
err:ole:StdMarshalImpl_ReleaseMarshalData could not map object ID to stub manager, oxid=2b0000002c, oid=2
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d

Does anyone know what this means?

Thanks
Cannot load on four different machines
by Simon Rorke on Thursday February 14th 2013, 9:33
I am trying to run CivIV through Wine 1.53.

I am trying to follow the instructions but (despite being not a Ubuntu Noob) am having problems.

My first problem is the statement:
"Find the NoCD patch for version 1.61 of Civ4."

What is this?
There is a patch for v1.61, but is it NoCD? I have a CD version of the game that requires the disk to be in the computer before it will play. Will it work with this?

Secondly, there are instructions to use various DLLs.
Can one select a load of DLLs or must the correct DLL be selected only?

This is my best output from a machine that is Ubuntu 12.04.

6150M2MA:~$ WINEDLLOVERRIDES="msxml3=n" wine "c:\program files\firaxis games\sid meier's civilization 4\civilization4.exe" -v
fixme:service:SERV_QueryServiceObjectSecurity 0x13a5d0 4 0x13f858 0 0x32f020 - semi-stub
fixme:service:SERV_QueryServiceObjectSecurity 0x13a5d0 4 0x13f858 28 0x32f020 - semi-stub
fixme:service:SetServiceObjectSecurity 0x13a5d0 4 0x32ef9c
fixme:system:SystemParametersInfoW Unimplemented action: 55 (SPI_SETMOUSEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:ole:CoCreateInstance apartment not initialised
err:menubuilder:Process_Link unable to load L"C:\\program files\\firaxis games\\sid meier's civilization 4\\Saves.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\program files\\firaxis games\\sid meier's civilization 4\\Saves.lnk"
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\msxml3.dll"
err:ole:create_server class {373984c9-b845-449b-91e7-45ac83036ade} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {373984c9-b845-449b-91e7-45ac83036ade} could be created for context 0x15
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\msxml3.dll"
err:ole:create_server class {f6d90f11-9c73-11d3-b32e-00c04f990bb4} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {f6d90f11-9c73-11d3-b32e-00c04f990bb4} could be created for context 0x15
err:menubuilder:Process_Link unable to load L"C:\\program files\\firaxis games\\sid meier's civilization 4\\CivilizationIV.ini.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\program files\\firaxis games\\sid meier's civilization 4\\CivilizationIV.ini.lnk"
Cleanup
by Maquis196 on Wednesday January 30th 2013, 6:34
Sorry about the spam of emails from wineHQ, I wanted to clear up the versions into one since it's an old game now and many of the versions don't really exist and what not.

So now, all bugs, test results, votes and thread are in same place.

Cheers,
Chris
  • RE: Cleanup by z0wb13 on Saturday March 9th 2013, 20:30
I think Intel sna may break this game
by Alex on Thursday January 17th 2013, 21:51
Not 100% sure SNA is the issue, as my Wine may have auto-updated since the last time I played it, but having an issue now where the game won't render any 3D (just a black screen with the HUD overlay) after zooming, until you pan around the map to a black area and then come back to an area that's filled.
Civ and Optimus
by Maquis196 on Wednesday January 2nd 2013, 18:54
Hi all, was wondering if anyone here is playing civ on an optimus laptop? Using optirun rather then primus (struggling to get that working on Debian).

The game crashes for me on init engine, yet every other game I've tried runs fine. It used to crash on MP/voice init yet disabling sound got past that...
Does not work
by Ben on Saturday November 24th 2012, 17:06
Hey guys,

first I have to say, this is the first time I am using Wine (1.4.1). I have a Mac OSX Lion 10.7.3 and a MacBookPro (Graphic:NVIDIA GeForce 9400M 256 MB, CPU:2,53Ghz Intel Core2Duo, RAM:4GB 1067Mhz DDR3). I installed Wine and the setup from Civ4 DVD was fine.
I didn't update Civ4 because I got the complete edition (you cannot update with the BTS Patch, it says sth. like no BTS found).

Then I downloaded and replaced the single DLL's as written above in windows/system32.

Every time I try to start Civ4 it doesn't even launch, there comes directly that dialogue:
____________________________

Unhandled exception: page fault on read access to 0x6bb0087d in 32-bit code (0x0092bb5c).
Register dump:
CS:001b SS:0023 DS:0023 ES:0023 FS:1007 GS:000f
EIP:0092bb5c ESP:0032feb4 EBP:0032fec8 EFLAGS:00010246( R- -- I Z- -P- )
EAX:00000000 EBX:7b851231 ECX:0032fed0 EDX:00000000
ESI:7ffdf000 EDI:0105a06e
Stack dump:

(......)

Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\Civ4BeyondSword.exe
00000009 0

(.......)

System information:
Wine build: wine-1.4.1
Platform: i386
Host system: Darwin
Host version: 11.3.0
________________________

I also added the app in wine as you can see here:
www10.pic-upload.de/thumb/24.11.12/ku6ksyqjthlu.png

and some libraries as seen here:
www.pic-upload.de/view-17037391/Bildschirmfoto-2012-11-24-um-23.56.24.png.html

I would love to run this game via wine, but I just don't know how :/

Best regards,
Ben
on the Calander test commment
by Brian Gorman on Thursday October 25th 2012, 21:33
If you map goes black, or zoom straight out to the stars upon researching Calender, just save the game, and reload it. This fixes the problem.

I think from memory it was a problem fixed early on in the patches for Windows releases, but hasn't been addressed for the Linux emulation community.

P.S. any other times it zooms out to the star view, or goes black upon loading a game, just reload again to fix.
My Mod fix
by Thomas Jones on Thursday October 25th 2012, 16:24
I was having difficulty getting the Next War playing, I could get it to load but as soon as I pressed single player, it crashed and froze. Playing an ordinary game or a custom game was flawless (I installed it through PlayOnLinux, although I wouldn't say that matters) I couldn't install the patch because it was adamant that I hadn't Civ4 installed.
The first thing I did was change it so that it filled the screen, annoying when it changes the resolution.
I went into:
.wine > drive_c > program files > 2k games > Firaxis > ~Civ4
I found the _Civ4Config.lnk which is basically a link to the .ini file
I opened it through wine.
I found something that said to fix the audio change:
EnableVoice = 1
to
EnableVoice = 0

Then for the screen resolution:

ScreenHeight = 0
ScreenWidth = 0

ScreenHeight = 768
ScreenWidth = 1366

Okay, so the Mod fix:
I navigated back to civ4 folder inside the .wine folder
and went to Beyond the Sword > Mods > Next War
and opened the NextWar.ini file in notepad.
I changed:
ModularLoading = 0
to
ModularLoading = 1

And I changed:

SinglePlayerOnly = 0
to
SinglePlayerOnly = 1

after i saved it, i managed to get passed the Single player menu
I haven't played it yet though, I'm simply assuming that it solved it.
mods
by Andre Dias on Friday August 31st 2012, 23:50
I have been able to load mods, but they crash when starting a new single player game. Anyone have ideas?
DirectX error
by Maria Pu on Sunday March 18th 2012, 9:48
Hi all,

I followed the instructions and installed Civ 4. However, when I run it, i get the following error:

Initialize Renderer failed. Check DirectX Installation, Latest Graphics Drivers and Graphic Settings
Parameters:
-width =1024
-height =768
-flags = 0xc
-hwnd = 0x100a6
-adaptrid =0
-deviceid =3
Error: Creation failed: Could not initialize DirectX.

I definitely installed DirectX, all listed dlls are in system32.

Could it be because of 64-bit system? Could it be because of the graphic card? (PlayonLinux suspects, i do not have 3D support, but description of the current driver says, 3D is supported.)

System:
Linux Mint 12 (64)
Intel® Core™ i7-2670QM CPU @ 2.20GHz × 8
2GB NVIDIA GeForce GT 540M
Civilization IV Game of the year edition Wine 1.3.37
by Chip on Sunday February 5th 2012, 16:14
I've spent several hours working on getting this to run on Fedora 16 64 bit and every piece of advice I get brings me back to this error:

warn:ntdll:FILE_CreateFile L"\\??\\C:\\windows\\system32\\drivers\\SECDRV.SYS" not found (c0000034)
warn:file:CreateFileW Unable to create file L"C:\\windows\\system32\\drivers\\\\SECDRV.SYS" (status c0000034)
fixme:service:scmdatabase_autostart_services Auto-start service L"SecDrv" failed to start: 2

I've disabled SE Linux stuff all together to see if it would help but i've no idea where to go from this point, any help?
Thanks

by thom_raindog on Sunday January 8th 2012, 3:42
Thanks for the reply. Problem solved.
I ran winecfg but only for the dll overrides and never added my DVD-drive as a virtual. Once I did that everything works fine.

I will test in the next few days (too busy with work) if the game now starts without the DVD in the slot, which it really should, and report back.
The final patch for BTS actually ran through nicely, no kiddin. And I always use a fresh prefix, one for evey game. Just seems the smart thing to do ;)
Wrong DVD
by thom_raindog on Saturday January 7th 2012, 15:00
Howdie,

I just bought me the (german) Complete Civ IV (by 2k games), installed it just fine and updated (after realising its the Beyond the Sword patch I need, not the CivIV one...) fine. I also added the dll-overrides as far as possible.
But when I try to start the game, it complains that I would not have the correct DVD in my computer, which a) is wrong and b) really should not happen anyway, since the copy protection supposedly was remove a long while ago, right?

What might be wrong here?
Error loading shader libraries
by wyjec on Wednesday October 12th 2011, 16:35
Hello
I have problem during game is starting
the is masage box:
Error loading shader libraries

any ideas?
Finally got it running
by Chris on Saturday August 13th 2011, 11:49
1. Installed from my original CD version;
2. Patched to 1,61;
3. Patched to 1.74;
4. Trying start was giving a wine error dialog I believe;
5. Found and copied native from windows d3dx9_32.dll and d3dx9_36.dll to Civ4 install directory from where I start the game. I also copied msxml3.dll and msxml3r.dll into windows\system32;
6. I restarted Civ4 then getting error about loading shader libraries;
7. I installed d3dx9_36.dll with winetricks and copied d3dx9_32.dll to windows/system32 folder;
8. It is now working and it seems perfect.
wine 1.3.25
by Brian Gorman on Monday July 25th 2011, 3:40
This version of wine radically alters the sound in ALSA.

IF you lose sound when upgrading, you'll find its asking for WWMAX5.1 or something similar. I finally figured out, it just wants your ole internal sound card from the motherboard (me) to be set to 5.1 regardless of ability to produce said sounds.

Configure sound, set hardware to 5.1 output. (don't worry if you can't do it,(what the petulant 2yr old computer quasi toddler wants, it gets) and Viola, sound again from the game.

ME. I can only produce stereo from an Analogue input, ie speakers, headphones, etc.

Now it wants to produce 5.1, well, if I can only produce stereo, but it thinks its 5.1 why argue.

We'll see if I get the sudden sound crashes still??
Installation using civ IV gold + BTS, Patch to 3.19
by Phil on Friday July 22nd 2011, 4:14
Hi all, TheMeInTeam here (from civfanatics/youtube)

Wine 1.3 off my package manager (I NEEDED to update it from 1.2, very important!).

Recently swapped to linux (mint 11 katya) over from windows. It's been a learning experience. I had some help forum side and while I had a hell of a time getting this sucker to work with civ IV, once I did so the game works flawlessly in everything I've attempted. Let's put this simply though...installing from multiple CDs can be a little wonky.

First of all, the CD versions of the game don't have copy protection, only the EXE file post-installation (except using noCD or with 3.19 expansion patch). Copy them onto hard drive (I actually put all 3 cds into 1 directory for civ IV gold, and did a 2nd one for the two bts CDs). Used playonlinux to install it from HD which went without a hitch. No need to patch anything up with this method, just install gold then BTS (or vanilla to bts whatever). I did this without the built-in civ IV in PoL because I had a different version; still installed fine.

Once installed up to 3.19 (the exe installer will work in PoL for the patch!), you need the dlls. WineHQ here lists them, the d3dx9 stuff. I ran into an XML parser issue after this, apparently if you run it built-in the game will crash at "setup map" but if I ran it native I got the error message. My msxml3 was a stub -----> make sure ALL of your dll files are set properly in wine. Using PoL you can do this by going into "unsupported software installation" -----> "manual installation" -----> "edit existing application" -----> civilization4 -----> "configure wine". Using this method you can use a graphical interface to add the needed DLLs. If the game doesn't work, check their sizes/not stub in the system32 folder under the appropriate wine prefix.

Finally, a piece of advice: trying to run the game from terminal, you can stare at the terminal and see the EXACT moment of crash. This is how I realized I still had wine 1.2 despite what PoL said I was running, AND how I realized my ms3xml was a stub.

I do not have any of the issues with sound/crashes/etc that I've seen here on wineHQ. This is definitely a gold-rated game wineHQ terms ----> i've gone through several games now without issue...the only issue is the installation which I must say was quite interesting for a total linux rookie!
1.61 sometimes blacking out
by protonspring on Sunday July 10th 2011, 0:27
winever: 1.3.21
Civilization IV 1.61

I thought I had setup correctly, (but I didn't pay close enough attention to detail). I was having problems with the game going black at times (usually upon discovery of something important). The game would keep playing, I just could only see some parts of the game and I'd have to start a new game.

I was able to fix mine by:
1. set msxml3.dll to "native" in winecfg.
2. remove the dll's from the CivilizationIV install folder.
2. make sure the real msxml3.dll and msxml3r.dll are in your windows/system32 folder.

After that, I was able to play full games with no issues. Hope that saves someone some grief.
Graphical corruption
by Geoff Pursell on Monday July 4th 2011, 21:20
There's a regression that slipped in between 1.3.15 and 1.3.23 that causes major corruption in all animated figures. I feel like this regression happened closer to 1.3.23 than not, but I can't be sure.

This happens for me with both Catalyst and r600 drivers.
Solved black map and hang in "end turn"
by eozkucur on Sunday June 26th 2011, 10:53
Hi,

I used to run Civ IV fine until updating wine to 1.3.15. With the new version I had black map problem in late periods and hanging during ending turns.

I solved these problems by copying native msxml3.dll and msxml3r.dll to system32 folder and allow only native override in winecfg. Previously those native files were in Civ IV installation folder, but it did not work with native override. The native d3dx*.dll files are still in Civ IV installation folder.

I hope it helps.
What worked for me
by none on Wednesday June 22nd 2011, 18:54
Civilization 4 and Civilization 4 Beyond the Sword

Using PlayOnLinux

A general tutorial

I have tested this on my own system. I offer no guarantees that it will work. This process is what worked for me.

First install the latest version of Wine and PlayOnLinux on your system.
There are many guides on how to do this all over so I will not cover it here.

Next, use the add program feature to install and update civ 4 to v1.74

Go to www.playonlinux.com/en/download.html

Under the wine section download PlayOnLinux-wine-1.3.3.pol

Open playonlinux on your system.
Click the install button
On the bottom of the selection window there is a link called Install a .pol package or an unsupported application.
Click this link, select install a .pol package
Point this at PlayOnLinux-wine-1.3.3.pol
This will complete with no feedback
Next click the install button from the main PlayOnLinux window again.
Again select Install a .pol package or an unsupported application.
Select manual installation
select forward
select edit an existing prefix
select your civilization 4 install prefix
select the box “Assign a wine version to a program”
In the drop down select 1.3.3
Point the program at the setup.exe file located at the root of the install media. If you are using a cd this should be easily located in your places list. If you mounted the iso point to the directory in which you mounted it and again to the setup.exe file.
Allow the game to run and install normally

I will stop here as the rest should be self explanatory. If you have issues. Play around until you figure it out. The important things here are to use playonlinux to install civ4 and patch civ4, then to make sure you use the 1.3.3.pol package as the assigned wine version. Also if you patch BTS also install it manually with the 1.3.3.pol package.

I hope this helps others as it took me a LONG time to hunt all of this down and put it together.
64-bit Linux
by Duc Le on Monday June 13th 2011, 13:32
On 64-bit Linux, to install you need to use the prefix "WINEARCH=win32 wine setup.exe" and a new WINEPREFIX, unless you installed 32-bit only Wine.
Patch can't find the game
by Jonas on Wednesday June 8th 2011, 11:39
Hi! Running Ubuntu 11.04 with GNOME and wine 1.2.2.

I installed civ4 until BTS, and everything worked fine. But when I want to play on internet, it ask me to patch to the 3.19. I tried it but got the same error than Michel Belleville (see "Error trying to install BtS 3.19 patch" here under).

The solution given is to first patch to 3.17 then to 3.19. I downloaded it, but when I lauch it, it says no BTS app can be found ...

I tried previous patches (3.02, 3.03 and 3.13), all of them have the same issue ...

The only thing I get when I lauch it on a terminal :

fixme:storage:create_storagefile Storage share mode not implemented.

Have no idea how to fix it ...
civ4 black textures
by moki on Sunday April 24th 2011, 11:50
hi, i had same problem though it occured upon researching calendar cause i didn't build any wonders!

it is the msxml3.dll .. missing from wine's system32 .. i copied mine from old xp install and it fixed it, now works perfectly (so far xD)

to check if it has worked: start custom game with late start (ie. post-calendar research, modern era or so) and see if you can build a city without it hanging.
Crashes when loading mods in msvcr71
by Y Luft on Thursday April 21st 2011, 6:00
Hey.
When I load (some) of the mods, the game crashes because of unhandled page fault in msvcr71.
Not sure how much of the backtrace should I post, so that's just partial:
wine: Unhandled page fault on read access to 0x1a968000 at address 0x7c3428fa (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x1a968000 in 32-bit code (0x7c3428fa).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7c3428fa ESP:0032f650 EBP:1a94a420 EFLAGS:00010206( R- -- I - -P- )
EAX:1a955c33 EBX:00000010 ECX:00c92980 EDX:00006f4d
ESI:1a968000 EDI:1a955c44
Stack dump:
0x0032f650: 00000000 00000010 1a955c40 00527741
0x0032f660: 1a955c44 00c92980 0032f990 1a94a420
0x0032f670: 00000310 0032f8d8 00000000 4d430003
0x0032f680: 00000000 00000000 00000000 00000000
0x0032f690: 00000000 00000000 00000000 7efe3ff4
0x0032f6a0: 18038000 1a946aa0 0032f738 7ef8e758
Backtrace:
=>0 0x7c3428fa in msvcr71 (+0x28fa) (0x1a94a420)
0x7c3428fa: movb 0x0(%esi),%al

I tried loading "Rhye's and Fall of Civilization" mod in various ways (from in game menu, specifying '-mod ...' on the command line and editing 'CivilizationIV.ini', all the same).
I also tried loading my own mod, which is just a copy of the normal Assets directory, same thing. On the other hand, the "Final Frontier" mod loads and runs just great.
Also tried: installed msxml3/4 and vcrun2003 through winetricks, and renamed the files in the game directory, still the same.
Arrrggghhhh So embarrassed
by Brian Gorman on Thursday April 7th 2011, 16:55
HUGE ERROR IN POSTING.

WINDOWS XP = "C:/users/(user name)/My Documents/My Games/Beyond the Sword"

copy and paste over the pink text at the very bottom of this file.

Close, copy and paste into folder this file into folder /../assets/Python of the Mod folder.

I do Apologise for this HUGE omission. I used C:/home/ instead of the correct C:/users/

Believe me it actually does work correctly, it links directly to the Civ4.ini file and the saves folder.

Note 3 paths, this is the one needed.
Audio crash loading Mods ?
by Brian Gorman on Saturday February 26th 2011, 21:21
Specific Question, is there any solution to Audio problems when loading a mod, specifically Rise of mankind Ver 2.92.

I've narrowed down the problem to Audio, how?? ugh!!

1) load BTS, then the mod, or have mode load automatically in Civ4.ini
Overrided libraries update
by Joachim on Sunday February 20th 2011, 5:01
Yesterday, I was playing when experiencing a new blocking bug in Civ 4 so I started a fresh new wine prefix (wine 1.3.13) to see if there were conflicts.

I was able to start and have Civ 4 running "full screen" in 1680x1050 graphics high, sound OK, with ONLY 2 dll updated.
I configured no dll override but instead replaced the default d3dx9_31.dll and d3dx9_32.dll with the ones from directx (I got directx on an older prefix with winetricks).

But my problem was not solved : at the end of a specific turn, the civ4 "hourglass" icon appears an keep rotating indefinitely (the civ4 hourglass icon is a kind of wheel with 2 rotating wings). All animations are stoped, and when I try to close the wine desktop window, wine says the app is hanged.
When this occurs, Civ4 use 100% CPU fixed on one core instead of 100% CPU shared and switching on 2 cores. I'll crawl forums and bugzilla but if you're experiencing the same and have a solution...
Wonder building
by Sviat on Friday January 21st 2011, 15:12
Hello!
I have the Civ 4 Complete installed on the wine 1.3.9 on my dell laptop.
When I run the original Civ4 1.74 everything works fine except one damn thing!
When my Wonder is done everything except the HUD goes black and the game becomes unplayable(loading don't work). So I have to play without Wonders...
Terminal says nothing.
In winecfg msxml3 is set as "builtin" otherwise I get an error "Caught unhandled exception creating XML parser object" when the game is lunching.
Turning the wonder movies off don't helps.
Any ideas? thanks...
The game crashes at "Setup Map"
by Sviat on Monday January 17th 2011, 18:10
The original Civ 4 goes well on my PC.
The BTS crashes at the loading screen at "Setup Map".

console says:
...
fixme:msxml:domdoc_putref_schemas (0x270f18a8): semi-stub
fixme:msxml:domdoc_putref_schemas (0x270f18a8): semi-stub
fixme:msxml:domdoc_putref_schemas (0x27b91cb0): semi-stub
fixme:msxml:domdoc_get_readyState stub! (0x27b91cb0)->(0x33e970)
fixme:msxml:domdoc_putref_schemas (0x27b91cb0): semi-stub
fixme:msxml:domdoc_get_readyState stub! (0x27b91cb0)->(0x33ea8c)
fixme:msxml:domdoc_putref_schemas (0x27b91cb0): semi-stub
fixme:msxml:domdoc_get_readyState stub! (0x27b91cb0)->(0x33ea8c)
wine: Unhandled page fault on read access to 0x34623139 at address 0x429ef6 (thread 0032), starting debugger...
^Cfixme:console:CONSOLE_DefaultHandler Terminating process 56 on event 0
fixme:x11drv:X11DRV_DestroyNotify window 0x30014e/7e00001 destroyed from the outside
Ctrl-C: stopping debuggee
fixme:console:CONSOLE_DefaultHandler Terminating process 5f on event 0
[qwe]$

Any ideas? Thanks...
Gameplay Video
by Jake ward on Sunday January 16th 2011, 18:09
www.youtube.com/watch?v=mtkCLBvPdgQ

showing the game running great in Linux

Sorry about not doing anything in the video...This game is hard to understand haha!
can't patch
by Josh Stratton on Tuesday December 28th 2010, 23:49
Because of my reinstall issue (bug #25614), I also can't patch the game as the patch says no version of the game is currently installed (even if I can run it directly).
BASE mod with Wine?
by Jannik H. on Friday November 12th 2010, 12:33
Has anyone got the BASE mod for Civ4 - Beyond the Sword to work? Normal civ everything works fine. But when I load the BASE mod, it crashes as soon as I select multiplayer in the menu.
1.3.4 Will not load
by Benjamin Lawrence on Tuesday October 19th 2010, 1:49
Wine 1.3.4, cannot load Civ IV, Beyond the Sword - no error generated that I can find, it simply does not load.
Playing without nocd patch
by Control on Tuesday October 12th 2010, 9:45
Mount as root

mount -o ro,unhide,uid=1000,gid=1000 /dev/cdrom /media/cdrom0


set the /media/cdrom0 path with winecfg as cdrom drive

and then start the game.
Not runnable in 1.3.3
by Teemu Pääkkönen on Friday September 24th 2010, 14:31
The game installs without any errors, but it fails to run. Even if I use winetricks to install msxml3, msxml4 and d3dx9.

Any ideas?
Seems to work great
by Robert Schauer on Saturday September 4th 2010, 0:49
I haven't done extensive testing yet, but I installed using PlayOnLinux (which downloaded Wine 1.1.43), and it seems to run just fine. I had terrible audio (pops and clicks like a bad MP3), but following the above instruction to set "Emulation" in Wine audio settings cleared it up, without changing anything else in the game options (I actually didn't see the option that was mentioned; maybe it has been changed by Civ4 1.74).
Fails at Init Engine
by Boni Xavier on Thursday August 26th 2010, 7:54
My BTS won't load. It freezes at init engine and won't move further. Sometimes I get a black screen when I try to run it disconnected from the internet.

Does anyone know how to fix this? I'm using Ubuntu 10.04 LTS and Wine 1.2. I'm a total Ubuntu noob so please be gentle. If I have to submit some logs or attachments or settings, please let me know. Being able to play games is the only thing keeping me from kissing Windows goodbye so please help me not make Bill Gates any richer. :)
Civ4 BTS on wine 1.3/Ubuntu 10.04 amd64
by Larry Johnson on Friday August 20th 2010, 16:24
I found the 1.3 downloaded from repository fails.

If downloaded from source (WineHQ git) and compiled, it runs OK.

This was early part of Aug, pretty sure it'll be fixed soon.
Crash after second intro vid
by Christian A. on Friday August 20th 2010, 14:28
I've successfully run Bts 3.19 on my iMac by following the instructions above. But now, as I try to run it on my Macbook, it crashes everytime after the second intro-video. I've done the exact same as I did on my iMac.

Any ideas?

P.S.: I'm pretty new to Wine so if I have to provide any logfiles please tell me where to find them.
Trouble with fullscreen mode
by Arun Raghavan on Friday August 20th 2010, 2:18
The game either freezes or goes *really* slowly (takes a few minutes to get through a small part of the intro video) in full screen mode (1920x1080), but runs smoothly if I've got Wine running in a window. This is with Wine 1.3.0 on Gentoo.
changing window resolution to 1920x1080
by Daniel Neugebauer on Tuesday August 17th 2010, 16:43
Does anybody know how to get 1920x1080 window resolution in-game? I don't mean fullscreen or virtual desktop size but the resolutions shown in graphic options for windowed mode in-game. It lists some resolutions including 1920x1200 but 16:9 resolutions are missing. If I run BTS on Windows 7 I get those options, so I assume there's something in either the registry or wine itself that prevents those resolutions to be listed. Is there any way 1920x1080 could be forced?

I'm using a 1920x1200 native desktop resolution but since I get 1080 offered in Windows I don't think it's something with the game itself. Would be nice to see the taskbar *and* the game without being overlapped/hidden while still filling the screen with Civ. :)
Coregameciv4.dll
by Brian Gorman on Friday August 6th 2010, 3:32
This is the file required, not what I said before.

COREGAMECIV4.DLL and rename the original BEFORE replacing it.
Civ IV 1.74 Errors on Shader Library
by Terry Milnes on Thursday August 5th 2010, 16:34
Here is the error:

[ terry@centauri Sid Meier's Civilization 4]$ wine Civilization4.exe
fixme:system:SystemParametersInfoW Unimplemented action: 55 (SPI_SETMOUSEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered
err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1
err:menubuilder:Process_Link unable to load L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Logs.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Logs.lnk"
err:menubuilder:Process_Link unable to load L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Saves.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Saves.lnk"
err:menubuilder:Process_Link unable to load L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\CivilizationIV.ini.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\CivilizationIV.ini.lnk"
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x4006a 0x00000000
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1539e0,0x1538e0): stub
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "", line 2, in ?
IOError: [Errno 2] No such file or directory: "C:\\users\terry\\My Documents\\My Games\\Sid Meier's Civilization 4\\Logs\\PythonErr2.log"
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:win:EnumDisplayDevicesW ((null),0,0x33edb4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33f314,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33f2f8,0x00000000), stub!
err:mmtime:TIME_MMTimeStop Timer still active?!
Civilization 4 Beyond the Sword 3.19 no longer loads after installation of Wine 1.3.0
by Joop Beris on Wednesday August 4th 2010, 5:20
After upgrading Wine to 1.3.0, my working installation of Civilization 4 Beyond the Sword 3.19 (no mods), refuses to start. In the console, all I see is this:

# ~/.wine/drive_c/Program Files/Firaxis Games/Sid Meier's Civilization 4/Beyond the Sword> wine Civ4BeyondSword.exe
fixme:system:SystemParametersInfoW Unimplemented action: 55 (SPI_SETMOUSEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:gameux:GameExplorerImpl_VerifyAccess stub
fixme:gameux:DllCanUnloadNow stub

Then, it returns me to the prompt, no further messages.
Correct directions for Civ iv Complete
by Sean Zlatnik on Tuesday July 27th 2010, 4:07
Hi,

I own Civ IV Complete- mine comes on a single dvd. The directions seem a bit ambiguous- do I still copy those directx dlls first? Do I need to install it through wine, or can I install it directly (running autorun.exe)? Honestly, if anyone has successfully got everything to work, particularly with the new version of wine (1.2 at the time of this message) I'd really appreciate it. The problems I have- either the video is choppy, or the program doesn't take the whole screen (thus the navigation bar that says what programs are on blocks the exit link and whatever else was there to see), and the world video that shows what the planet looks like, depending on your settings (fractal, continents, etc.) doesn't show up, and the larger pictures of the leaders' faces doesn't show either. I'm trying to follow the directions, but between the directions below, and the directions above, it seem a bit complicated.

Any help would be appreciated. Thanks.
Civilization game of the year edition
by Michael Davenport on Friday July 23rd 2010, 11:18
Every where i've look i've seen setup guides for a 2 cd version, i've recently purchased this game and it came with 3 install cd's and a bonus dvd. Now i can easly install the first 2 cd's with instructions ive found on the 2 cd version but then i get stuck on the 3rd cd, it can't locate it, i've copied the files off the cd onto a folder and redirected the installer to this location and when pressing ok the installer goes back to normal directing me to the disc. I've tried Wine 1.2, playonlinux with wine 1.1.43 and crossover 9. I get stuck on the 3rd disk. Would anyone know a solution to this?
BUFFY MOD (hall of fame games)
by Thomas on Wednesday July 14th 2010, 0:47
BUFFY works with wine-1.2rc7 (was actually fixed in rc1 iirc) after a fix.

-Fix:
Replace msvcr71.dll in your game directory (located 2 places in the steam version, use "find") with msvcr71.dll from your wine/system32 and it works like a charm.
Mod loading Solution!!
by Brian Gorman on Sunday June 20th 2010, 0:25
Solution for Linux systems (Ubuntu 10.04 specifically)

Yeah, 3/3

Open home folder 1st.
Open up user folder, (ie your name or desktop's name)
Cntl-H or Edit, show hidden files.
Open .wine Folder (This is a hidden folder)
Open Device_c Folder
Open Program files/Firaxis game/Sids Meiers Civ 4/Beyond the sword/Assets file into RENAME THE ORIGINAL 1st) or you'll be sowwie.
XXX.original.dll works fine
(this is where you need to place the Mods CoreGameCiv4.dll
Taking Screen shots
by Brian Gorman on Tuesday May 25th 2010, 22:07
After solving the Audio Issues for myself, and hopefully others.

I'm now here with a problem of taking screen shots.

Civ 4 won't release the window to the screen shot window.

I Alt tab to bring up the screen shot icon, a box but no vision of screen shot. I hit return and it saves to my folder, but when I look at the screen shot, it has bleeding of some of the background into the screen shot viewing.

Version is 10.04 for Ubuntu, wine version 1.20 rc and using F spot Photo Manager by default. I'm at a loss why some of the background is bleeding into the screen shot, in line or bands across the screen shot.

I have Vertical shader support by hardware, and have updated my video card drivers to latest version, with allow pixel shader.

various overrides for d3dx9's, msmxl3 and 4
Solution to choppy Audio
by Brian Gorman on Friday May 21st 2010, 8:31
Here's a possible solution to the Choppy audio issue, or the one where it seems to run fine, then will suddenly cut out. Usually in Diplomacy or entering a screen.

2 fold solution;

1- Use System configuration for Audio under Civ 4 options for Audio, no other option is to be used, even if you have that option. Note only tested for Headphones and Speaker system. This should be about the 4th option down on the list.

2- Emulation must be enabled under the wine Audio configuration tab, this will solve most audio problems alone, but will eventually fail on its own.

This has been tested on a huge map, for 12 hr's of straight game playing. Audio runs fine, sound effects are enabled. All audio options were set to highest setting.

Tested with Ubuntu 10.04 and wine version 1.34.

Install game as noted previously, enable emulation under wine, then set System configuration under Civ 4 audio options.
Audio Issues
by Brian Gorman on Tuesday May 18th 2010, 18:46
I've a potential solution to the Choppy Audio Issues, or if you sound seem to run fine initially, then will suddenly drop out all together.

1st, you MUST use System Configuration for your sound card, under the Audio options in Civilization 4.

DON'T use any other option, even if you have them. Note, only tested for Headphones and Speaker systems.

2nd your Audio options under wine, should be use Emulation. It won't work with any other options enabled. Again tested only under the conditions of a Built in Audio System to Mother board.

Doing this will enable clear, consistent sounds. No more choppy audio, no more sound suddenly cutting out.

Follow all other recommendations for installation of Civ 4, it works better under Wine and Ubuntu 10.04 then windows. Though will still have memory leak from emulation windows..what else
In game map scrolling blurry
by Tomi on Tuesday May 11th 2010, 13:06
I've installed the game successfully and and it seems to work fine, but I have issue with moving at the map in game. It feels like the redrawing is so slow that I can almost see horizontal lines of redraw when moving on map. It seems that it doesn't make difference if I use 1024x768 or 1900x1200 resolution nor antialias or detail settings, scrolling itself feels smooth but graphics are somehow distorted so that it makes my eyes hurt.

Got E7200, 4Gb ram and Nvidia GT8800 if it helps.
msxml3
by Evil on Sunday May 9th 2010, 14:49
It should be noted in the test data / known issues that this game does not work without installing msxml3 (supported by winetricks).

I just bought "Sid Meier's Civilization® IV: The Complete Edition" via Steam, and the CivIV game will not start without doing this. Luckily comments about the non-steam version pointed me to the correct workaround.

I've added the 8107 bug to this game to reflect this dependency.
  • RE: msxml3 by Pat on Saturday July 3rd 2010, 22:10
  • RE: msxml3 by Roy Stogner on Monday May 30th 2011, 20:37
Wine still crash when loading Mods
by nicola manca on Sunday May 9th 2010, 12:05
As I seen in other posts Civilization IV (vanilla, warlords and BTS) crashes when a Mod is loaded, mainly when you select "Single Player" from first screen of the game.

I use wine 1.1.42 installed civ IV from fresh wine installation using winetrick to get directx9, msxml3, msxml4, dotnet20

I've installed civ, warlords and BTS and then applied lastes patch (1.74, 2.13, 3.19).

I've tried some mods present in default installation and "Rhye's and fall of civilization" for all expansions.

Any tips?
Init XML (uncached)
by Chris Duston on Friday March 12th 2010, 18:46
Hey all,
So my game startup is freezing at this stage (it says "Init XML uncached)" on the progress bar). I am using Wine 1.1.40, Ubuntu 9.10. The regular game works fine, it's just Beyond the Sword that does not. It does not work with this update or the original game. I don't get a crash message, just one of those "doesn't work in wine, check the DB" messages.

I have tried several things I found on these pages. Installed dotnet20, msxml3, vcrun2003, and corefonts via winetricks, and set msxml3 to override in winecfg (I also did msxml3r, but that had no effect). I've tried removing the msxml3.dll from the BTW folder with no luck either.

Any suggestions? thanks guys!
Chris
Setup.exe not working?
by Ryan on Thursday March 4th 2010, 9:30
Everyone claims this installs flawlessly, but when I put in the DVD and launch either the autorun or the setup, it crashes. The autorun works fine, but the setup itself closes with a wine error. Anyone else have this problem?
Problem loading mods
by John Doe 69 on Friday January 29th 2010, 23:33
I had some old .iso from my late window partition, and decided to try and install civ 4.

The installation went smooth. i followed the instructions, patchd after each updated, and soon i had Civ 4 BtS 3.03 installed just as if i was in windows. then i updated to 3.19 and everything worked perfectly.

Just for the record: ubuntu 9.04, wine 1.1.37 with the following winetricks packages installed: d3dx9 (directx 9); msxml3 (XML 3); msxml4 (XML 4) and dotnet20 (.NET 2.0). The 3.19 patch didnt need an NO-CD crack.

BUT (major but here) if i load a mod, any mod, the "Play Now" option will be grayed out and unselecteable. No idea why this happens.

So, I've played vanilla Civ4 many times now on my ubuntu box, with only minor grafic glitches (not game breaking), but i'm unable to play a mod.
Jumpy sound
by Edmund Schluessel on Friday January 15th 2010, 22:31
I did a bit more poking with the jumpy, stuttery in-game sound. This problem appears on my machine when in the game's options menu the sound is set to stereo, but goes away when sound is set to mono. Also in mono mode the game correctly detects Wine's sound settings.

Note that the auto-played intro movies at game startup don't suffer from sound problems; the problems only appear when the game's menu loads.
Won't install at all for me :(
by Ryan on Friday January 15th 2010, 17:08
I'm trying to install this game, using the latest wine version and it still doesn't want to install. The autorun as well as the setup both crash before even showing. Is there something I did wrong? I did not use winetricks at all before.
r600 testing and some random wine notes
by rlazur on Sunday January 10th 2010, 12:23
1. Enabling hardware vertex shaders causes a gpu lockup in 2.6.32-rc7 and 2.6.33-rc3 and mesa-7.8 (git).

2. The game works great without vertex shaders if you use wine-1.1.2x, but if you switch to wine-1.1.3x you need to turn on the vertex shader stuff, which effectively means rating changes to garbage.

3. It's particularly difficult to revert back .wine between those versions. At the moment I'm stuck running wine via winedbg to test as running Steam with wine and launching games is garbage. Tried to just use the old version of wine and ran into the same issue plus dll issues. There's very little instructions on reverting back to an old wine version successfully without re-installing everything, which quite frankly is very depressing.
Updated Test Result
by Danel on Thursday January 7th 2010, 8:37
Hi,

I tested more of the game and checked it against the results of other Civ4 Versions. So here is more of what is working and what isn't (I don't know how to update my test result):

- The Leaderheads are faulty. (Eyes missing, black cloth, etc.)
- The resolution does not switch back when I exit the Program from full screen.
- The sound jitters (I didn't tried the pulse version from ppa)
- No progress bar at the cities
- Faulty life bars of units
- If compiz is running, the gnome-panel is visible in full screen mode

I think the game should be also installable from CDs if you choose setup.exe and not autorun.exe, I can't test this, because I have all my games on my external HDD and no CDs here.
But the game is still more than playable and very addictive. Thanks wine team.
Questionable Accuracy of Test
by Brad Cable on Monday January 4th 2010, 20:26
I am questioning the accuracy of Francisco Pina's 1.1.35 test, since it says it requires a NOCD. The "Complete" version of Civ IV proudly proclaims "DRM Free" on the back of the box.
Cant get civ4 running
by Høvding on Tuesday December 15th 2009, 20:27
Hi!

I'm pretty new at linux, so be gentle with me.

Anyways. I cant get civ4 running on my comp. I have Ubuntu 8.10 (Intrepid) os, and Wine 1.1.34. The error I get when I try to start up civ is this:

err:module:import_dll Library MSVCP71.dll (which is needed by L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\boost_python-vc71-mt-1_32.dll") not found
err:module:import_dll Library boost_python-vc71-mt-1_32.dll (which is needed by L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Civilization4.exe") not found
err:module:import_dll Library MSVCP71.dll (which is needed by L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Civilization4.exe") not found
err:module:import_dll Library MSVCP71.dll (which is needed by L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\hapdbg.dll") not found
err:module:import_dll Library hapdbg.dll (which is needed by L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Civilization4.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Civilization4.exe" failed, status c0000135

I've put the .dll file in the civ4 folder, and made it native in winecfg, but I don't know what else to do. Please help me, I love this game, and if I cant play it anymore I might have to go back to windows... =/

Høvding
Diplomacy activation crash
by Aaron on Saturday December 12th 2009, 6:52
Since the update to 1.1.34 my already present civ BTS has crashed whenever diplomacy is activated.

Have any of you experienced this issue?
Error trying to install BtS 3.19 patch
by Michel Belleville on Sunday November 15th 2009, 3:50
Hi, I'm runnin Ubuntu Karmic, with wine 1.33.
So far I've :
- installed the winetricks advised, no problem
- installed Civ IV Vanilla, no problem
- installed Civ IV 1.74 patch, no problem
- installed BtS, no problem
- tried to install BtS 3.19 patch, problem :
$ wine Civ4BeyondTheSwordPatch3.19.exe
fixme:mixer:ALSA_MixerInit No master control found on Camera, disabling mixer
fixme:storage:StgCreateDocfile Storage share mode not implemented.
fixme:reg:GetNativeSystemInfo (0x3219f4) using GetSystemInfo()
err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination
err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination
err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination
err:msi:copy_package_to_temp failed to copy package L"\\C:\\windows\\temp\\{EC41EEDA-5749-4D11-A564-4C69D59F9EDA}\\{32E4F0D2-C135-475E-A841-1D59A0D22989}\\vcredist.msi"
err:msi:MSI_OpenPackageW Unable to copy package (L"\\C:\\windows\\temp\\{EC41EEDA-5749-4D11-A564-4C69D59F9EDA}\\{32E4F0D2-C135-475E-A841-1D59A0D22989}\\vcredist.msi" -> L"C:\\windows\\Installer\\3f25.msi") (error 3)

I'd really rather not install a no-cd patch when I can have the game running the proper patch that already does it. Anyone has a clue ?
CivIV won't exit
by tiar on Tuesday October 20th 2009, 21:38
I have got at least the original CivIV Final to work. Leaderheads have no missing textures, only a couple of bars are missing. Only big problem is that when I exit the game, it freezes and there is nothing else to do than power off from switch and turn back on to boot.

Any ideas? I have tested fullscreen/non fullscreen, Compiz on/off and nothing works.

Thanks in advance.
There is not enough space to install
by Elias K Gardner on Sunday October 18th 2009, 15:46
I am following the installation instructions posted above from www.rikertothebridge.com/2009/05/installing-civilization-iv-warlords-and-beyond-the-sword-on-ubuntu-linux/

I am running into a problem installing civ 4 I have not gotten to either of the expansions yet.

When I click next after selecting the destination folder a window pops up that says

"There is not enough space to install these option(s).
Please free up some disk space or modify your selections."

I am trying to install to a partition with 10GB free I have also tried to install to a drive with nearly 800GB free.

My root filesystem however only has 1.1GB free which is not enough. Is there any way to bypass this error message? Clearly I have enough space in the destination folder civ is just not checking that.
We are almost platinum with this
by arroccali on Sunday October 4th 2009, 9:11
I played this game a lot in the last weeks.

I completed whole long session games. The game itself seem to be even faster than on Vista (same pc), most of all in loading and scrolling. I also played quite a few mods.

I think we are basically platinum with this.

This are a few minor issues left:

- some time when you launch it you just get a black screen without loading the starting videos. I have to retry a few times, then it just works perfectly and never crashed on me.

- to load the mod using a link i should have to add -mod="Rise of Mankind" for instance. But there's some bug in there. It does not work. I have to use -mod=" Rise of Mankind" with a whitespace to workaround it.

- As someone said you have to use the wintricks script to install xml support, directX stuff and i would also add allcodecs for the video. Nothing else was necessary to make this work.

One other thing if you are stucked. I don't know if it is important. But at the beginning i could not make it work. I destroyed the .wine directory and recreated it as new an reinstalled it from scratch. Then it worked. Dunno why.

Cheers
Getting patch 3.19 installed...
by Oliver on Sunday August 30th 2009, 4:10
Tryed native dcom98 from winetricks and it says error 5006 that other installer is already working although i did wineserver -k and tryed reboot. Is there more to it to installing native dcom98 than selecting it from winetricks? And win98 mode dont help.
no audio in 1.1.25 or 1.1.27
by Toni on Sunday August 23rd 2009, 2:49
I'we been missing audio since I upgraded to 1.1.25. Game says that unusable audio device is selected and wine claims that alsa device is busy. No other game except "CIV4:Colonization" are effected.

I can get audio working if I set UseDirectHW to "y", but this causes a severe stuttering and a large drop in FPS.

System:
ARCH Linux (rolling release)
Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
wine 1.1.27 + "Silent Hunter 3 - effects patch"
no dmix used in .asoundrc
Overly complicated
by Robert Mallis on Friday August 14th 2009, 9:58
This procedure is overly complicated. Some previous posts show a procedure based on a blog by Tombuntu which is much easier. No-CD patches are no longer necessary at all for vanilla civ due to advances in wine itself and as of patch 3.19 for BTS, due to Firaxis releasing 3.19 as a no-cd executable natively.
Wine 1.1.27
by Hiperi0n on Sunday August 9th 2009, 7:57
I updated wine to 1.1.27 and now the game crashes most of the time when starting a new game. Videos (ruler's videos and some other cutscenes) don't work either.
Error when starting
by Pookie on Sunday June 21st 2009, 13:44
err:winedevice:ServiceMain driver L"SecDrv" failed to load
ALSA lib pcm.c:2171:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib pcm.c:2171:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
No Mods load with Beyond the Sword patch 3.19
by Ozymandias on Sunday June 21st 2009, 4:09
No mods load with patch 3.19 installed. Beyond the Sword itself works fine and games can be played in "vanilla" mode. However, on selecting mods to load, BtS crashes back to the desktop.

Currently running Wine 1.1.23 and Ubuntu Jaunty.
Mods not working with Patch 3.19
by Ozymandias on Sunday June 21st 2009, 4:08
No mods load with patch 3.19 installed. Beyond the Sword itself works fine and games can be played in "vanilla" mode. However, on selecting mods to load, BtS crashes back to the desktop.
CD3 is never found
by Pookie on Wednesday June 17th 2009, 7:50
I am using wine 1.1.18 Fedora 64 11

I followed the tombuntu guide for 1.1.16, and on the install it keeps asking for Disk 3, I have tried copying the entire disk over to a folder where the installer was able to find Disk 2 cab file; however, that doesn't work for disk 3.

Help.
Installer Hangs at prepairing InstallShield
by Rune D'Shyznit on Tuesday June 16th 2009, 15:46
Hi. i just tried to install BTS on Ubuntu 9.04 using wine 1.1.23. Language selecter runs fine, then progress bar for InstallShield wizard loads, runs all the way till end, then hangs? any ideas?
Crack problems.
by Alex on Monday May 25th 2009, 14:07
This page has been great, so have all the others I needed (I'm completely new to Linux). I've just got a couple of problems left.

Everything's been mounted, installed, and patched correctly, the dll files are in and set to native for each exe, etc... and I know the cracks were put in place properly, since I can run vanilla Civ. But if I try to run the BTS expansion, I get a splash screen saying that I need to insert the correct CD, and if I try to run Warlords, I get

Caught unhandled exception creating XML parser object - Current XML file is -

as an error. Any ideas? And thanks for the help.
Stop in init screen
by rfa on Saturday April 18th 2009, 17:09
Installation works fine, and i can start the game, but when i want to start to play the game stops in initialisation screen on 20% and i must cancel the game with kill
winetricks
by tadadata on Wednesday March 25th 2009, 12:56
Had the same error, installing MS XML 3 via winetricks does the trick. :-)
about 64bit dll's
by argh! on Thursday March 19th 2009, 23:50
"Nevertheless, keep in mind that Microsoft has released different d3dx9_32.dll for the 32 bit windows and the 64 bit Windows. Therefore, when runing with Linux x64, the dll to add should be that of 64 bits."

Isn't wine _always_ running with 32bit libs on 64bit linux systems? im asking, but if there wasn't this message at the top i would be entierly shure. for example, on my system (archlinux) i need the bin32-nvidia-utils package to runs 3d stuff in wine, so graphics libraries don't seem to be an exception. not that such an exception would make any sense..
Thanks
by Franco on Friday March 13th 2009, 1:50
Hey, thanks for that :D
i've just spend 4 hours playing with no problems AT ALL !!
what i did was to set graphics on medium and check the show detailed info for cities, just as explained in v1.74, seems it's the same workaround for this version.

I also play it in fullscreen :D

regards and thanks for letting me uninstall W$ definitely and having a new partition available :D :D
Happy review
by Dan Kegel on Wednesday March 11th 2009, 10:43
Here's a blog post saying it works without no-cd nowadays:

tombuntu.com/index.php/2009/03/10/civilization-iv-on-linux-with-wine-1116/
Didn't install under 1.1.16
by Eike M. W. on Monday March 9th 2009, 8:44
Hi,
I'm using wine 1.1.16 under Ubuntu 8.10 and could not install Civi IV.
Terminal:

fixme:storage:StgCreateDocfile Storage share mode not implemented.
fixme:reg:GetNativeSystemInfo (0x330db0) using GetSystemInfo()
err:seh:setup_exception_record stack overflow 844 bytes in thread 002f eip 7bc653ed esp 00240fe4 stack 0x240000-0x241000-0x340000

Installation works fine with 1.1.12 (no other versions testet - I installed a random old version I got)
I think a bisect is needed but I really don't understand how to do that :-/

Greets from Germany,
Eike
2 remaining problems to perfection
by Franco on Sunday March 8th 2009, 10:24
Hi, i've been trying to make this game work for a long time. Then i came in here, and noticed how easy it was (with the msxml thing)

Now the only problem iḿ still experimenting is with the bars beneath the cities, the ones that shows you when your city will be growing and when the production is finished... i don't get the bars neither the number, so i have to go city by city hovering my mouse to see...

the other problem i'm facing is when you zoom out to world view... some parts of the terrain are not rendered and just show black, but others do.

Is there any workaround for any of these ?

regards and thanks for saving me from those tedious reboots to windoze.

cheers,
mouse trouble
by dave on Wednesday March 4th 2009, 1:27
hi, I installed civ4 with patch ver 1.6 and cracked executable on Ubuntu 8.10. It loads up and gets to the main menu but then the mouse stops functioning properly, the cursor looks like the proper civ4 cursor but does not click properly and reverts back to the ubuntu cursor when scrolled over the top and bottom borders, and then back to the civ4 cursor when leaving the border. I find the only way to get around click the buttons is to use the tab and spacebar method, alot of fixme errors flood the terminal when loading begins so I wont post the entire thing unless you really want it but the lines I believe to be most relivent could be:

fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.

There are alot of those but I could be wrong.
Also I am on a laptop using a Syn/PS2 Synaptics touchpad, I also tried a microsoft usb infrared mouse but with the same results.
installation error
by dave on Tuesday March 3rd 2009, 19:05
before installing I added the files needed to download to my win32 folder and set the 2 natives.

The first disk installs fine, when it comes time to switch after I declare the directory I get transfer error -2147418113

It doesn't matter if data3.cab is on the DVD or in a directory on my harddrive, I get the same error.

currently running the latest stable release of wine on kubuntu Intrepid.

by Simon Martin Sørensen on Monday February 2nd 2009, 4:41
Then, it is necessary to add following libraries to windows/system32: (download it from web) d3dx9_26.dll d3dx9_31.dll d3dx9_32.dll d3dx9_33.dll d3dx9_34.dll msxml3.dll msxml3r.dll Then make overrides (native) for: msxml3.dll msxml3r.dll And remove these libraries from al game folders.

Ok i know how to download all thise dlls and put them into .wine/drive_c/windows/system32.

But what does the "Then make overrides (native) for: msxml3.dll msxml3r.dll And remove these libraries from al game folders" means.

I really cant get it.

Simon
  • RE: by Anders Magnusson on Monday February 2nd 2009, 15:42
  • RE: by Anders Magnusson on Monday February 2nd 2009, 15:51
    • RE: by Simon Martin Sørensen on Tuesday February 10th 2009, 10:44
      • RE: by Jonas Larsson on Thursday March 19th 2009, 10:54
        • RE: by Jonas Larsson on Thursday March 19th 2009, 11:12
Fresh config fixes a lot of things
by switchcade on Tuesday December 30th 2008, 22:05
ATTN: I had sound issues, launch issues, all sorts. A fresh ~/.wine config fixed all.

$ mv ~/.wine ~/.wine-bak
$ winecfg
[configure to your liking]
$ wget kegel.com/wine/winetricks
$ sh winetricks msxml3

Now copy d3dx9_{26,31,32,33,34,36} to your drive_c/windows/system32 folder.
what to install with winetricks
by Elias K Gardner on Saturday December 6th 2008, 23:16
So there are differing accounts all over the place about what to install with winetricks to make BTS 3.17 work. I have gotten the game to run Im now trying to find out how to best improve performance.

So what did you install with winetricks that improved performance with BTS 3.17?

What version of wine did you use?

Did you do anything else to improve performance?

Id like to do a bunch of tests on this but its exam time for me so it may take me a while.
multithreading lacking, unable to get sound working
by Shawn on Wednesday October 8th 2008, 19:17
i have a quad core phenom 9550, civilization is allways using one 100% and nothing else, on windows it never tops a single one out and generally uses 3 simultameously, it occasionally switches, i guess wine has too many thread locks and hasnt been optimized in that arena.

Also i cant get sound to work at all, anything i should do in the audio tab? im using pulseaudio as my main output but alsa and oss seem to work, i have 2 sound cards but only 1 wokrs i guess i should turn the integrated one off in my bios.
Possible Quick-fix for "No support for .ani cursors"
by pokipoki08 on Monday September 22nd 2008, 5:07
Possible Quick-fix for "No support for .ani cursors"

No more lagging or stuttering sounds as I move the cursor around. The wine error message still appears though.

Replace all cursor files with default cursor

[CODE]
cd ".wine/drive_c/Program Files/Firaxis Games/Sid Meier's Civilization 4/Assets/res/Cursors"
mkdir backup
cp -v *.ani backup/
rm -v *.ani
cp -v backup/Pointer.ani Pointer.ani
cp -v Pointer.ani Airbomb.ani ; cp -v Pointer.ani Airlift.ani ; cp -v Pointer.ani Airstrike.ani ; cp -v Pointer.ani Build.ani ; cp -v Pointer.ani BuildLarge.ani ; cp -v Pointer.ani Claim.ani ; cp -v Pointer.ani Deplete.ani ; cp -v Pointer.ani Edit.ani ; cp -v Pointer.ani EMP.ani ; cp -v Pointer.ani Found.ani ; cp -v Pointer.ani GoTo.ani ; cp -v Pointer.ani Grip.ani ; cp -v Pointer.ani Link.ani ; cp -v Pointer.ani Mine.ani ; cp -v Pointer.ani Move.ani ; cp -v Pointer.ani Mutiny.ani ; cp -v Pointer.ani Nuke.ani ; cp -v Pointer.ani Ping.ani ; cp -v Pointer.ani Rebase.ani ; cp -v Pointer.ani Recon.ani ; cp -v Pointer.ani Repair.ani ; cp -v Pointer.ani RouteTo.ani ; cp -v Pointer.ani 'Size All.ani' ; cp -v Pointer.ani 'Size Diagonal 1.ani' ; cp -v Pointer.ani 'Size Diagonal 2.ani' ; cp -v Pointer.ani 'Size H.ani' ; cp -v Pointer.ani 'Size V.ani' ; cp -v Pointer.ani 'Split H.ani' ; cp -v Pointer.ani 'Split V.ani' ; cp -v Pointer.ani Stasis.ani ; cp -v Pointer.ani Waiting.ani ;
[/CODE]

Someone please verify that animated cursors no longer stalls the gameplay?
Possible Quick-fix for
by pokipoki08 on Monday September 22nd 2008, 5:06
Possible Quick-fix for "No support for .ani cursors"

No more lagging or stuttering sounds as I move the cursor around. The wine error message still appears though.

Replace all cursor files with default cursor

[CODE]
cd ".wine/drive_c/Program Files/Firaxis Games/Sid Meier's Civilization 4/Assets/res/Cursors"
mkdir backup
cp -v *.ani backup/
rm -v *.ani
cp -v backup/Pointer.ani Pointer.ani
cp -v Pointer.ani Airbomb.ani ; cp -v Pointer.ani Airlift.ani ; cp -v Pointer.ani Airstrike.ani ; cp -v Pointer.ani Build.ani ; cp -v Pointer.ani BuildLarge.ani ; cp -v Pointer.ani Claim.ani ; cp -v Pointer.ani Deplete.ani ; cp -v Pointer.ani Edit.ani ; cp -v Pointer.ani EMP.ani ; cp -v Pointer.ani Found.ani ; cp -v Pointer.ani GoTo.ani ; cp -v Pointer.ani Grip.ani ; cp -v Pointer.ani Link.ani ; cp -v Pointer.ani Mine.ani ; cp -v Pointer.ani Move.ani ; cp -v Pointer.ani Mutiny.ani ; cp -v Pointer.ani Nuke.ani ; cp -v Pointer.ani Ping.ani ; cp -v Pointer.ani Rebase.ani ; cp -v Pointer.ani Recon.ani ; cp -v Pointer.ani Repair.ani ; cp -v Pointer.ani RouteTo.ani ; cp -v Pointer.ani 'Size All.ani' ; cp -v Pointer.ani 'Size Diagonal 1.ani' ; cp -v Pointer.ani 'Size Diagonal 2.ani' ; cp -v Pointer.ani 'Size H.ani' ; cp -v Pointer.ani 'Size V.ani' ; cp -v Pointer.ani 'Split H.ani' ; cp -v Pointer.ani 'Split V.ani' ; cp -v Pointer.ani Stasis.ani ; cp -v Pointer.ani Waiting.ani ;
[/CODE]

Someone please verify that animated cursors no longer stalls the gameplay?
Hardy 64 - Wine 1.1.3
by Dan on Friday August 29th 2008, 21:00
This update seems to have completely broken CivIV for me. It will get past the splash screen but then either lockup or reboot the computer.
My Solution (DirectX Check-Crash Solution)
by Karl on Sunday August 17th 2008, 16:00
This work for me with Wine1.1.2 on ArchLinux 64bit:
0) install native directX9 + native msxml3 with wine-tricks
1) install Civ4 and Civ4-Warlords + lastest patch (+crack)
2) install CiV4-BtS with: 'WINEDLLOVERRIDES="msxml3=n" wine setup.exe' (WindowsVersion: Win98)
3) rename the "msxml3.dll" in the installation-dir to a *.bak-file
4) patch and crack the game
5) start the game in the console: 'WINEDLLOVERRIDES="msxml3=n" wine "C:\Sid Meier's Civilization 4\Beyond the Sword\Civ4BeyondSword.exe"'

hope this work for others...
Changed Resolution
by JT on Sunday August 10th 2008, 8:59
This works great! It took me a couple of tries to get this to work, but now it does...accept after I exit a game my screen resolution has been set lower than I like. Beggars can't be choosers I suppose!
Multiplayer
by Zev on Saturday August 9th 2008, 18:56
Once I got the game running (copy the right dll's, etc.), multiplayer worked fine. In fact, the server seems to run more smoothly than on Windows.
wierd install issues
by Mark Kosmowski on Saturday August 9th 2008, 5:57
I am working on getting this to run on my wine 1.1.2 on OpenSUSE 11.0. I obtained wine from the OpenSUSE community build repository. This is my first use of wine.

My machine is a dual-Opteron system with an AGP X800 Radeon, 4 Gb RAM.

Initially I installed Civ 4 (base). I need to cancel the DirectX install that comes up prior to the Civ 4 install or the DirectX install fails and hangs at exit. So I get Civ4 installed. I did NOT apply the Civ4 patch. I then tried installing BtS. I received messages saying BtS installer was looking for DirectX, then installing Civ4 patch then started installing BtS. However, the BtS installer vehemently refused to see the second DVD after it asked for it. I was able to copy cab3 from the DVD to my hard drive so I do not think this is the issue. I have repeated this behavior twice.

After my initial attempt to install BtS I tried again using several of the suggestions given here, however, I think that there was a partial install that interfered with a new install since the installer would just exit after informing me it was checking for DirectX.

I obtained my dll files from www.dll-files.com/ and the msxml.dll file was different than the one already in system32 - should I overwrite this? Also, I was unable to find a msxml3r.dll file from that site and do not currently have a WinXP machine available (hardware issues).

If I want to start with a fresh wine, can I just delete .wine? I don't need to uninstall / reinstall the wine package, do I?
msxml3
by Miro on Thursday July 31st 2008, 18:43
On Kubuntu (Ubuntu) 8.04 i386 wine 1.1.2, Beyond the Sword works without the need for native overload. Just use the inbuild version, it is actually faster.
InGame error
by anw on Thursday July 24th 2008, 14:16
I've got this problem... I normally start my game, and it runs. But sometime (between 150 - 250 turn) it suddenly crash to desktop (and asks for Dump generation). When I load this game from autosave it crash at the same point (in opponents(CPU) turn). It seems like AI is tring to do something but it generates error... (I dont tried to load from initial autosave and try is error appears in same turn ... nor I dont tried to load BtS without mod, but this error is in 3 mods I played - Fall from Heaven, Fall Furher and Road to War)

Using Ubuntu, Wine 1.1.1, Civ4BtS 3.17, nocd crack from battery
Issues with directx9c
by ivan on Tuesday July 15th 2008, 14:16
From WineReview:

About DirectX

Microsoft DirectX is a collection of application programming interfaces for handling tasks related to multimedia, especially game programming and video, on Microsoft platforms. Originally, the names of these APIs all began with Direct, such as Direct3D, DirectDraw, DirectMusic, DirectPlay, DirectSound, and so forth. DirectX, then, was the generic term for all of these Direct-something APIs, and that term became the name of the collection. Over the intervening years, some of these APIs have been deprecated and replaced, so that this naming convention is no longer absolute. In fact, the X has caught on to the point that it has replaced Direct as the common part in the names of new DirectX technologies, including XAct, XInput, and so forth.

Direct3D (the 3D graphics API within DirectX) is widely used in the development of computer games for Microsoft Windows, Microsoft Xbox, and Microsoft Xbox 360. Direct3D is also used by other software applications for visualization and graphics tasks, most notably among the engineering sector for CAD/CAM, because of its ability to quickly render high-quality 3D graphics using DirectX-compatible graphics hardware. As Direct3D is the most widely recognized API in DirectX, it is not uncommon to see the name DirectX used in place of Direct3D.

Wine configuration

This is with a clean configuration directory and running in a 1024x768 virtual desktop.

$ winecfg

Once the .wine directory is built the configuration tool will start and you can set a virtual desktop in the graphics tab if you wish. This is a good time to also set your Audio driver in the Audio tab.

next up is to install a native mscoree.dll and streamci.dll into /system32 from a windows install and set then to native Windows.

Go to ~/.wine/drive_c/windows/system32 and rename d3d8, d3d9, ddraw, dsound, dsound.vxd, quartz dlls to *.bak

You will need to set a large number of dlls to native for the install to work properly. Here is the full list of dlls that need to be set.

"d3d8"="native"
"d3d9"="native"
"d3dim"="native"
"d3drm"="native"
"d3dx8"="native"
"d3dxof"="native"
"dciman32"="native"
"ddrawex"="native"
"devenum"="native"
"dinput"="native"
"dinput8"="native"
"dmband"="native"
"dmcompos"="native"
"dmime"="native"
"dmloader"="native"
"dmscript"="native"
"dmstyle"="native"
"dmsynth"="native"
"dmusic"="native"
"dplay"="native"
"dplayx"="native"
"dpnaddr"="native"
"dpnet"="native"
"dpnhpast"="native"
"dswave"="native"
"dxdiagn"="native"
"mscoree"="native"
"quartz"="native"
"streamci"="native"


Installing Directx

Download DirectX 9.0c November release from here.

The directx_nov2007_redist.exe executable will extract the installer files to a directory of your choice.

tom@tuxonfire ~ $ wine directx_nov2007_redist.exe
fixme:advapi:DecryptFileA "z:\\home\\tom\\directx-9\\" 00000000
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
tom@tuxonfire ~ $


Now cd to the directory where you choose to extract the DirectX installer and run DXSETUP.EXE.

tom@tuxonfire ~ $ cd /home/tom/directx-9
tom@tuxonfire ~/directx-9 $ wine DXSETUP.EXE
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.

Run winecfg again and set d3d8, d3d9, ddrawex, dinut, dinput8 to builtin wine.

Now lets run dxdiag.exe

tom@tuxonfire ~/directx-9 $ cd /home/tom/.wine/drive_c/windows/system32
tom@tuxonfire ~/.wine/drive_c/windows/system32 $ wine dxdiag.exe
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil)) - stub!

Now we need to install gm.dls to test Direct Music, this driver file goes into ~/.wine/drive_c/windows/system32/drivers


You will notice in system32 d3dx9_24.dll up to d3dx9_36.dll is now installed, this really helps when you run into a game that needs these additional DirectX dlls.

Now you have the option to run most DirectX dlls in native or builtin mode, for example if you have a game that's crashing on the builtin Wine quartz.dll you can test the game with the native Windows dll to see if this will improve the situation.

Keep in mind d3d8, d3d9, ddraw will only work as builtin, and in most cases you should try to use builtin dsound and dinput. I have had limited success with (dsound and dinput) in native Windows mode btw... The reason why these dlls have to be used in builtin mode is there need for direct access to your hardware. direct music and direct play can be used in native windows mode in most circumstances.
XML errors galore
by tadadata on Saturday July 12th 2008, 11:22
All I had to do on Wine 1.0 to get civ 4 working is copy msxml3.dll from XP to c:\windows\system32 and regsvr32 the dll! Fantastic performance, everything works.
Not Working for Me.
by Tim on Monday June 30th 2008, 13:21
I'm running Wine Version: 1.1.0 on Ubuntu Hardy 8.04. I followed the above instructions, copied all the dlls making wine use msxml3 as native, install went flawlessly except for the expected error at the end of patches, but I keep getting this error when I try to start the game: "Caught unhandled exception creating XML parser object Current XML file is:".
Civ 4 BtS 3.13 wine rc5
by Miro on Sunday June 15th 2008, 18:22
From a windows machine copy d3dx9_26.dll, d3dx9_31.dll, d3dx9_32.dll, d3dx9_33.dll over to the wine (drive_c/windows) system32 folder. Also copy msxml3.dll and msxml3r.dll and set native override for msxml3 from wineconfig. In order for the game to install also copy mscoree.dll

Set mode to windows 98 and install Civ 4, then Civ 4 1.74 patch. Note you must give it default express install and install it somewhere in .wine, otherwise it seems to fail for some reason. I tried installing on another partition of my hard drive and it did not work.

After installing civ 4 and patch 1.74 install BtS. Directx would give some mscoree error, but ignore that and the program would install. Then install BtS patch 3.13.

Set windows mode back to winXP and play the game.

This worked on Kubuntu 8.04 i386, wine rc5.
Beyond the Sword Install fails
by James on Sunday June 8th 2008, 20:55
The installation for Beyond the Sword fails EVERY time with rc4. It flashes a message about checking directx components, or something like that, and then the program just quits. I've tried reinstalling multiple times, even clearing out my wine directory completely, to no avail. I'm using the native directx dll's mentioned above.
Civ IV
by coco 1150 on Sunday June 8th 2008, 10:59
I've got some result tough imperfect, very slow to charge 3d perso, and no sound.

(I installed the ati driver for linux.)

On a fresh install , do :
-install directx 9c, with a site i found very instructive : howto.landure.fr/gnu-linux/install-directx-9-0c-on-linux-using-wine

then i install InstMSiA : found there www.microsoft.com/downloads/details.aspx?familyid=cebbacd8-c094-4255-b702-de3bb768148f&displaylang=en
very important for me to get the install properly

the i set the dll you asked as native (i've got them already)

then i install civ4 and warlord and nocd crack.

warlord dont run.

Civ IV run with difficulties.
OSS sound drivers don't work fine.
ALSA work fine.

But when i need to choose a ruler, the 3d of them take a very long time. And when i launch the game it took very long to work.

Here are some of the logs :
fixme:mixer:ALSA_MixerInit No master control found on MPU-401 UART, disabling mixer
fixme:system:SystemParametersInfoW Unimplemented action: 55 (SPI_SETMOUSEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
err:ole:CoCreateInstance apartment not initialised
...
fixme:winhttp:WinHttpCheckPlatform stub
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x70026 0x00000000
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
...
fixme:win:EnumDisplayDevicesW ((null),0,0x33efb0,0x00000000), stub!
...
fixme:d3d:IWineD3DImpl_CheckDeviceMultiSampleType Quality levels unsupported at present
err:d3d:getColorBits Unsupported format: WINED3DFMT_A8
...
fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1b8c88) : stub
...
fixme:d3d_surface:IWineD3DSurfaceImpl_LoadTexture (0x18a04400) Operation not supported for scratch textures
fixme:d3d_surface:fb_copy_to_texture_direct >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glCopyTexSubImage2D @ surface.c / 2676
fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
fixme:d3d_shader:print_glsl_info_log Error received from GLSL shader #536870913: "WARNING: 0:1: extension 'GL_ARB_draw_buffers' is not supported\n"
  • RE: Civ IV by coco 1150 on Sunday June 8th 2008, 12:07
    • RE: Civ IV by Maxhysteria on Tuesday June 10th 2008, 3:13
Making it run with 1.0-rc1
by Darryl Dixon on Friday May 16th 2008, 7:16
Well, the forum just ate 90% of my previous post, so I guess I can't post full details here, sorry everyone...

Summary: Everything works perfectly patched to the latest releases (2.13 for Warlords and 3.13 for Beyond the Sword).

Catches:
*) I needed to manually add uninstall information to the registry for the two enhancements before the update patches would run.

*) I needed to run wineprefixcreate before wine would use the native msxml3.dll even though winecfg said that it should.

*) I set EnableVoice = 0 in all the relevant CivilizationIV.ini files.

Hope this helps someone.

darryl.dixon@gmail.com
Seems to detect DVD fine nowadays
by Seppo Yli-Olli on Sunday May 11th 2008, 7:56
The no dvd patch mentioned in the howto seems to be unnecessary nowadays. It detected DVD fine for me after the overrides. For some weird reason DVD detection only worked *after* the overrides though.
Hardy Problem?
by Dan on Thursday April 24th 2008, 20:56
Hi,

Had this running pretty sweet with Gutsy and 5.9, but without really mulling over the consequences I upgraded to Hardy and managed to break it! Re-installing Wine 5.9 from the hardy repository didn't work, so I'm hoping that when 6.0 for Hardy-64 is available that might get it working again, but if there was anything that could fix it in the mean time?

It gets to about the end of the loading screen and then freezes, I think the message may be "engine failed init" or something similar, but it's hard to see as it flashes very quickly.

Also, it may just be due to my computer speed, but the audio starts to bog down and 'skip' once I get into the game a bit... are their recommended wine config settings for audio in this game?
Splash screen locks up at "Init Audio"
by Justin on Thursday March 20th 2008, 15:11
I'm on Fedora Core 7 x86_64, using Wine 0.9.55 and when launching the game, it freezes when the loading bar gets to "Init Audio". Among the plethora of messages I get to the terminal from Wine, one seems relevant to this problem: "err:menubuilder:WinMain failed to build menu item for H:\.wine\drive_c\Program Files\Firaxis Games\Sid Meier's Civilization 4\CivilizationIV.ini.lnk"

I set "AudioEnable" to 0 in the CivilizationIV.ini file, along with "EnableVoice" as the How-to said, so it shouldn't even try to "init audio" anyway. It seems that wine isn't able to follow the .lnk windows short-cut to the config file so the game can't read it. Anyone else have this problem? Should I file a bug report?
Can't even run setup...
by cMielack on Sunday March 2nd 2008, 13:18
Hi there,

somehow i can't even install CivIV on my Gutsy with wine 0.9.55/56 (tried both...).

When i 'wine /media/cdrom0/setup.exe' the console tells me [wine: could not load L"D:\\setup.exe": Bad EXE format for]. Yes, it really stops there and says nothing else.

I tried the autorun.exe, but this only opens my windowed wine-desktop and nothing else will happen, no splash, no error, nothing. In the console it doesn't say anything either.

Can anyone help?
Online Multplayer
by Kkimo on Friday February 29th 2008, 4:29
Running wine 0.9.55 with Dx9c installed.
Civ4 patched at 1.74
Online multiplayer works without problems...
Game Runs perfectly!! :)
Installation
by Jonathan Hseu on Thursday February 28th 2008, 20:37
To get it to install, follow the instructions here:
wiki.winehq.org/NativeMsi

Or a simpler version:
1. export WINEDLLOVERRIDES="msi=n;msiexec=n"
2. winecfg -> Set to Windows 98 (temporary to install Windows Installer 2.0)
3. Download Windows Installer 2.0 (MUST be 2.0, not 3.1 or higher) and run InstMsiA.exe
4. Make sure the WINEDLLOVERRIDES is still set and run the install.
here's all the tricks I've found collected in one post
by Peter Cordes on Wednesday February 27th 2008, 14:47
There are a few tricks for getting civ4 working (well) under wine. Some of them are scattered around in different posts on this forum.
I have an Athlon64 3200+ w/1.5GB RAM, and an AGP 7600GT vid card. Debian w/ wine 0.9.53.

1: the DLLs it needs:

get the following DLLs (e.g. from a real winXP install), and put them in wine's c:\windows\system32
d3dx9_31.dll d3dx9_32.dll msxml3.dll msxml3r.dll
Some people say you need more libraries than that, but these ones are necessary and sufficient for civ4 1.74, for me.

In your wine config, tell it to use the native version of msxml3.
(see other posts for how to do this.)

2: I copied my civ4 install directory from a winxp machine. If you have problems with the installer, look at other posts. You need a nocd cracked version of the executable, of course.

3: edit some CivilizationIV.ini settings. Some of the changes I made seemed to help it run more smoothly, others maybe didn't make a diff:
# lowers CPU usage when nothing's happening. Definitely a useful setting, esp. with a slower single-core CPU.
SetMaxFrameRate = 8

MemSaver = 1
# didn't seem to help with wonder movies stuttering
HideMovieBackground = 1
# I've already seen it a few times.
NoIntroMovie = 1

4: registry tweaks. Another user suggests tweaking some reg settings, which I think I did. I found the globe view had black textures unless I set the in-game graphics options to medium or low detail globe view.

5: wine + civ4 seems to run the graphics in one thread, and the music in another, or something. Without the frame-rate limit, the music always stutters. I guess it doesn't get enough CPU time. To avoid having the music stutter even when looking at a busy screen that's slower than 8fps, renice the process after it starts.

Here's how I run civ4:
====================
#!/bin/bash

set -m # enable job control

cd ~/.wine/drive_c

# I set my ondemand cpufreq governor to ignore niced processes, so:
echo "don't forget to set cpufreq to full speed, since we're going to run wine niced"
# or we could run wineserver at below 0 prio, and cpufreq wouldn't need tweaking
sudo cpufreq-set -g performance

wine Program\ Files/Firaxis\ Games/Sid\ Meier\'s\ Civilization\ 4/Civilization4.exe &

# maybe nice only helps if you nice the civ4 process relative to
# wineserver.exe. This avoids audio skips.
sleep 4 && renice 3 $(pgrep Civilization)

fg
==================================

I can't seem to pass command line args to civ4 properly. Or it doesn't interpret them correctly. e.g.
....exe 'mod=Mods\Desert War' doesn't work.
neither does
....exe 'mod="Mods\Desert War\"'

ps when civ4 restarts itself shows something like
....exe multiple 'mod=Mods\Desert War"'

I have no idea what a literal double quote is doing on the command line.

BTW, if you haven't played the WWII Desert War mod (as the British), do so now! I think I'm winning, but war weariness is building up horribly...
Init Engine - resolution changed black then blue screen
by arnold on Tuesday February 26th 2008, 16:10
i've got a question.
i did everything i read in the how to but wenn i start warlords, beyond or civ4, init starts but when there is shown the text init Engine the resolution changes, the screen gets black then i see the desktop again with the init window an then the screen gets blue.
afer a few seconds i come back to my desktop but resolution is still changed.
i installed al the dlls
so i have no idea what to do next
Install freeze
by Lyr on Friday February 22nd 2008, 15:18
Install for Civ4 & Warlords works fine, but the BTS' setup freeze just after the "checking for existing files". The terminal's log (where I run the "wine setup.exe" command) talk about a "stack overflow". No matter what I try I can't get over ...

Help anyone ?
Audio issues
by Hanni Ali on Sunday January 27th 2008, 4:28
Hi all,

I have experienced an issue when loading a mod to play with Civ, loading the mod involves essentially a complete restart of the game and I have experience a loss of audio on the restart of the game I suspect this may be an issue with alsa or something not releasing the lock on the audio devices.

I will test this with a couple of different versions and see which work and which don't perhaps this will help trach down the problem.

The oddest thing is it works sometimes but not others.

Hanni
Problem with applying patch
by Zbyszek on Saturday January 19th 2008, 15:54
I cannot patch the game. How did you manage to do that?
Multiplayer
by Hanni Ali on Friday January 11th 2008, 8:38
I have tested the hot-seat multiplayer which works fine, just a couple of issues with zooming getting confused when you one player discovers calender, but I think this is a Civ4 bug not a wine issue it used to happen on windows with Civ 4 a couple of years ago when I still had a windows install.
Won't install with 0.9.51?
by Chris on Sunday January 6th 2008, 17:37
Hi there,

i use a COD4-Patched wine Version for installing this game. But every time the installation breaks. :/ Could you please try to start the Installation with wine 0.9.51? You just could rename the ~/.wine directory and test, starting an installation?

Information:
64Bit gentoo-Installation.

Discription:

1.Fresh Wine ~/.wine Directory
2.winecfg # Set Winversion: WinXP
3.cd /mnt/cdrom/ && wine ./setup.exe
4.Choose Language, Set default Inst-Mode: Start Installation..
5. break Message: "ErrorCode: 0x80040707"
"DLL-Funktion breaks: ISRT.EnableHourGlass"

Another-Method:
1. Fresh Wine ~/.wine Directory
2. Download InstMsia.exe
3. winecfg # Set Winversion: Win98
4. wine ./InstMsia.exe
5. cd /mnt/cdrom && wine ./setup.exe
6 Break with the same error...

Whats this i can swear before on this setting there was a ErrorCode 50110...?

Third try:
1. Fresh Wine ~/.wine Directory
2. winecfg # Set Wineversion Win98
3. cd /mnt/cdrom && wine ./setup.exe
4. Beraks before Installer with: "err:olemarshal_object couldn't get IPSFactory buffer for interface...."
"err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory..."
"err:ole:StdMarshalIPl_MarshalInterface Failed to create ifstub..."
"err:ole:CoMarshalInterface Failed to marshal the interface..."
Excellent
by Hanni Ali on Sunday January 6th 2008, 8:16
I am pleased to report this method does indeed work very well for CIV IV Complete, I had been using Cedega for the original for ages , but it wouldn't install Civ 4 Complete so I tried wine, I don't think I will be using cedega again to be honest.

I did noticed one minor issue however, the City bar food and production indicators do not display correctly on my set-up, they remain empty all the time, I have to hover over them to see the progress with production. Any ideas why?

Additionally, I use nVidia Twinview for my dual head set-up and when the game closes and I return to KDE I am left with only one monitor active. I use xrandr to reset this, but I think this may be a small bug with wine.
CivIV Complete
by DirkHartog on Wednesday January 2nd 2008, 17:36
Thanks LordBeeDoO - I had been able to install with 0.9.46 (current version for Ubuntu 7.10) but the animations of resources/improvements, cities always showed up as black silhouettes. Since upgrading to 0.9.52 C4C runs flawlessly. Haven't tested multi-play yet either.

There has been gathering discussion of this version on the Cedega forum and I have been pointing people there to your test results. Well done.
No CD
by Chris Tomalty on Thursday December 6th 2007, 5:30
I'm running Ubuntu 7.10 x86 and I'm just curious as how to get the No CD things for Civilization IV and Warlords (and BTS while I'm at it).

I do, of course, own legal CD copies which I have installed on Windows, but I need those cracks so I don't have to switch over all the time.
RE: Will not run after installation
by Dimitri Vorona on Saturday November 17th 2007, 5:09
Hi

Got exact the same error. Tried 0.9.44 and 0.9.45 with a dozen of no-cd patches. No idea what the issue may be.

Alendit
0.9.49 problems
by Elias K Gardner on Sunday November 11th 2007, 1:00
BTW crashes again now same as it did before. I get logged off before it the game goes full screen. Now it happens even in full screen. Does anyone know how to make a log of any terminal errors or a way in general to figure out what is going wrong?
Cities texture now work WINE 0.9.49
by Taras Vilkov on Saturday November 10th 2007, 5:07
WINE 0.9.49 - The cities, buildings, animals and some other things that were plain black before now have correct textures/shades. The game now works perfectly. Hurray!
installer having problems with DirectX?
by dan on Wednesday November 7th 2007, 6:45
Try downloading and globally overriding the fusion, wininet, mscoree, and msi libraries in winecfg. That did the trick for me.

32-bit Ubuntu Gutsy with WINE 0.9.48
How-to guide for 0.9.47
by Eike Hein on Sunday October 21st 2007, 11:31
I just got the newest version of "Civilization 4: Beyond the Sword", which is patch level 3.13, to work on Wine 0.9.47, and this is how I did it:

1. I installed Civilization 4 on Windows XP and patched it to the newest version (v1.74).

2. I installed the "Warlords" expansion on Windows XP, and patched it to the newest version (v2.13).

3. I installed the "Beyond the Sword" expansion on Windows XP and patched it to the newest version (v3.13).

4. I replaced the executables for all three with no-cd cracks found on the web corresponding to the patch level versions.

5. After rebooting into Linux, I started of with no ~/.wine and ran winecfg to set the sound driver to ALSA. Otherwise I left things unmodified; the Windows version was set to Windows 2000.

6. Next I copied over the "Firaxis Games" folder from Windows XP to ~ /.wine/drive_c/Program Files/.

7. Now I downloaded the MSXML3 installer from Microsoft, which is an msi file.

8. To install MSXML3 correctly, I had to set the Windows version in winecfg to Windows 98 temporarily[1]. I installed it using msiexec /i.

9. After installing MSXML3, I again went into winecfg and set the windows version back to Windows 2000. I also added an "msxml3" DLL override on the Libraries tab, of type "native, builtin".

10. Now I copied over the following files from my Win XP installation's system32 folder to ~/.wine/drive_c/windows/system32: d3dx9_31.dll, d3dx9_32.dll and d3dx9_33.dll.

11. At this stage, Civ4: Warlords and Civ4: Beyond the Sword work (as far as I can tell after superficial playtesting) perfectly and with solid performance. Mods work, too.

11. To get the original Civ4 to work, I copied over msvcr71.dll and msvcp71.dll from the Warlords/ sub-folder of the Civ4 folder to the top-level Civ4 folder, i.e. where Civilization4.exe itself resides. Now all three games/executabls (Civ4, Warlords and BtS) work.
Works in 0.9.47
by Francisco on Saturday October 13th 2007, 10:24
*English:

It works for me with wine 0.9.47 with some minor graphic bugs. Cities textures don't show in 3D world view and background of emperors portraits show in red. Everything else works well.

*Spanish:
A m me funciona con wine 0.9.47 con algunos pequeos errores grficos. Las texturas de las ciudades no se muestran en la vista 3D y el fondo de los retratos de los emperadores aparece en color rojo. Por lo dems todo parece funcionar
Problem with patching
by andrew on Friday October 12th 2007, 15:32
Whenever I try to run the game before the patch the game does nothing and i get this error in the terminal:

err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4 Gold\\Civilization4.exe" failed, status c0000135

Whenever I try to patch the game I get an error message saying it cannot find an earlier version of the game. Terminal says this:

fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"
fixme:process:IsWow64Process (0xffffffff 0x34df78) stub!
(then many lines similar to the last)
fixme:reg:GetNativeSystemInfo (0x3416e0) using GetSystemInfo()
err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-1200-00000f000000}
err:rpc:I_RpcReceive we got fault packet with status 0x80010108
err:ole:ifproxy_release_public_refs IRemUnknown_RemRelease failed with error 0x80070108
err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-1200-00000f000000}
err:rpc:I_RpcReceive we got fault packet with status 0x80010108
err:ole:ifproxy_release_public_refs IRemUnknown_RemRelease failed with error 0x80070108

I added in the DLLs msxml3 msxml3r msxml3a d3dx9_26 and d3dx9_32 and i used the appropriate command to register msxml3 and set the library to msxml3.dll=n at first i was using wine ver 0.9.41 but updated to 0.9.46 ( i am aware of graphical errors) because i was unable to update just to 0.9.44. I got the same results under both versions. Any suggestions?
beyond the sword + wine version
by maldo on Wednesday October 3rd 2007, 17:41
0.9.44 runs fine with minor bugs
0.9.45 doesn't run at all
0.9.46 runs with some more graphic anomalies than 0.9.44 (black units+bonus res)
Hardware Vertex Shader troubles
by Richard Hendrikse on Sunday September 30th 2007, 10:50
If hardware vertex shader is turned on, a lot of graphics are not displayed. Created and attached bug #9845.
Issue lives in both 0.9.44 and 0.9.46.

Hmm, shouldn't the howto up top also include the 'wine regsrv32 msxml3' directive in case the game fails to run with the ~'cannot create xml object' errors?
I also had to have mxsml3.dll, msxml3a.dll and msxml3r.dll in the windows/system32/ folder.
GARBAGE in 0.9.46
by Fredrik Persson on Saturday September 29th 2007, 3:52
This game does not work in wine 0.9.46. It crashes with "fixme:winmm:MMDRV_Exit Closing while ll-driver open". Full description of the crash can be found in bug 9821.
Crashes with page fault
by Fredrik Persson on Friday September 21st 2007, 16:00
I'm trying to run Civ IV 1.61 with Wine 0.9.45. I can start the game, but in a matter of seconds it crashes with this output to the terminal:

^[fixme:d3d:IWineD3DDeviceImpl_UpdateSurface Surfaces has no allocated memory, but should be an in memory only surface
wine: Unhandled page fault on read access to 0x00000000 at address 0x7dba9640 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x7dba9640).

I've tried everything mentioned in here, with dlls copied to windows/system32, but nothing works.

Civ 1.52 started with this config.

I'm running Ubuntu 7.04.

Any ideas?
0.9.45 causes crash in start/load game
by Jimi on Friday September 21st 2007, 1:00
---
The game seems to crash fatally whenever trying to start/load a game in wine version 0.9.45.Can anyone else confirm this? Does anyone have a solution to this?
---
Confirmed. The same happened to me. I do not know the solution. Error seems to originate from libglcore.
Game refuses to install
by Andrew W on Monday September 3rd 2007, 15:41
On all versions of WINE >= 9.42, when I attempt to install Civ 4, the installer fails after I cancel the DirectX 9 installer. (Running Sabayon 3.3) This site says this shouldn't happen. What am I doing wrong?
Can't install anymore, safedisc error?
by John on Tuesday August 21st 2007, 20:57
I have the 2-CD original 1.0 version of the game. I installed 0.9.39 (or .40, I dont' quite remember) on my laptop and Civ4 installed just fine, and it's still working fine even though i've upgraded ot at least 0.9.42,

Now I try it on my desktop (0.9.43) and it fails at the end of the install, pausing on the .msi file at the end of the install and then throwing a C++ file copy error box onto the screen. This is the exact same thing that happens on real windows if you have 'Unapproved' cd burning software, which I think is related to the copy protection. The workaround on real hardware is to boot into safe mode and do the install from there.

Has something changed recently in Wine that would trigger this installation regression? And suggestion on how to make this work?
Bad nocd patch causes secondary terrain to be invisible
by Wain Hopkins on Monday July 16th 2007, 20:21
Special terrain like pigs, forests, etc, don't show up w/ this version. It's also the more popular patch on google right now -- you have to look a little harder to find a better one.

But there are noCD patches that do work.

forums.civfanatics.com/showthread.php?t=186349
A few notes...
by bill tollett on Saturday July 14th 2007, 22:59
I was able to get the game installed and running perfectly on Ubuntu 7.04 and WINE 0.9.41.

The first thing I had to do was use the native version of msxml3 as mentioned above.

After installing the game, I made some changes to the registry, adding the keys for Direct3D->UseGLSL and Direct3D->VideoMemorySize. See the bottom of this post for a link describing those two keys. Setting UseGLSL to 'enabled' got the leaderheads to show up for me, and setting the VideoMemorySize to the actual size I have got rid of the warning regarding my graphics card specs.

Finally, in order to get the sound correct, I had to set audio to use the ALSA driver, with hardware acceleration to full, sample rate to 44100, and bits per sample to 16.

After doing all that, the game is running without a hitch!

Registry stuff here: wiki.winehq.org/UsefulRegistryKeys
I can't get it working
by kenjiru on Sunday July 8th 2007, 9:56
My system:
* Ubuntu 7.04
* wine-0.9.40

I get the following error:
fixme:shell:DllCanUnloadNow stub
err:menubuilder:WinMain failed to build menu item for Z:\media\sda2\jocuri\civ4\Saves.lnk
wine: Call from 0x69ecc7 to unimplemented function kernel32.dll.RestoreLastError, aborting
wine: Unimplemented function kernel32.dll.RestoreLastError called at address 0x69ecc7 (thread 0009), starting debugger...
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
err:menubuilder:WinMain failed to build menu item for Z:\media\sda2\jocuri\civ4\CivilizationIV.ini.lnk
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
Unhandled exception: unimplemented function kernel32.dll.RestoreLastError called in 32-bit code (0x7efa329c).
Register dump:
After installation game doesn't run
by Itzhak71 on Saturday June 23rd 2007, 14:39
Hi there

After succesfull installation process, patching to 1.61 version, copying
NoCD file, and copying these two DLLs files to System32 folder, the game still does not run.

The message is:
"Caught unhandled exception creating XML parser object
Current XML file is:"

Do you know what does it mean?
I need a step by step guide to install this game!
by Itzhak71 on Saturday June 23rd 2007, 13:53
Hi there,

I've read the posts of installing CIV 4 and the DirectX problem, but I didn't understand this.

Can you please explain step by step how to install the game?
still problems with msxml
by HHH on Friday June 22nd 2007, 5:23
hello,

I tried to get that game running. but i cannot resolve the msxml3.dll issue. it is the same problem like the bug 8107 mentioned in the warlord 2.08 version. on my machine it also appears with the versions 1.52 and 1.61.

anybody else run across this problem and knows how to resolve it?

I am using wine 9.39 on ubuntu 7.04
Works for me too, finally
by John Hanely on Monday June 18th 2007, 9:47
Gentoo linux
Athlon64 3800+
wine 0.9.39
Radeon X1300 with fglrx 8.35.5
ALSA NVidia CK804

The game installed without a problem (skipping the directx install). I had to copy in msxml3.dll and d3dx9_26.dll, put in the 1.61 patch and a no-cd hack.

When starting up for the first time, it warned me that I don't meet the graphics requirements, and set the graphical quality to low. It's wrong, I can run just fine with the highest quality.

Audio was stuttery, and even dragged the game to a crawl. Using winecfg to set Hardware Acceleration to 'emulation' and check the 'Driver Emulation' checkbox totally smoothed it out.

The models of the leaders doesn't work (makes me laugh though - just eyeballs and teeth) with shaders on, but if you disable both vertex shaders and pixel shaders, everything looks correct (just less shady). At least, I think everything looks fine. I've never played the game on windows, so I wouldn't notice if some minor details were completely missing.

As I got toward the end of a match, I had an increasingly frequent crash with the error:
Unhandled exception: page fault on write access to 0x0000001b in 32-bit code (0x7dee2b69).
Using pthreads (wine-pthread) cleared that up for me.

One last note - changing the resolution from the options screen crashes the game. Edit CivilizationIV.ini manually for that.

With those settings, the game plays (as far as I can tell) flawlessly.
Working
by Sat Garcia on Sunday June 17th 2007, 23:58
Installation went fairly smoothly. I got some error at the end of applying the 1.61 patch saying that it didn't succeed but it ended up alright. When I tried to run the game, it gave me an error about a missing DLL. After finding d3dx9_26.dll I put this in my windows/system32 directory and the game started up. I should note that the CivilizationIV.ini wasn't created until I ran the game one time so don't freak out if you don't see it right away. (Feisty Fawn Ubuntu, Wine 0.9.33)
Version 9.38 Video issues
by aaron on Monday June 11th 2007, 8:36
Well I can get Civ4 to install and can actually start to play a game.
The issues I am having are:
1. The graphics are detected as lowest possible so everything is rendered with lines/squares/missing objects.
2. It is running very very slowly, literally 10 minutes to get from opening video sequence to start a game. (slow to notice mouse clicks)
3. The game never gets past the final "In the beginning..." voice over movie.
Corrupted text
by Trevour on Thursday May 24th 2007, 18:18
I can get the game to run, but the text is completely corrupt and illegible. I've got msxml3.dll and d3dx9_26.dll running native versions. The game wouldn't run without the latter.

by Dan on Thursday May 24th 2007, 13:54
My CivilizationIV.ini was located at:

/home//My Games/Sid Meier's Civilization 4/CivilizationIV.ini
  • RE: by Dan on Thursday May 24th 2007, 13:55
RE:
by Wain Hopkins on Friday January 13th 2006, 20:27
I have civ 4 installed on WIndows across the network and whenever I try to run it I get the same errors. The DLLs are right there in the directory!
RE:
by killertux on Sunday December 18th 2005, 13:45
Seriously copyprotections(Safedisk in this case) works quite crappy in Wine so you better get "no-cd" patch. Also using native dlls that uses hardware directly will not work in Wine.
  • RE: by z0wb13 on Tuesday March 19th 2013, 12:00
Back