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: 63
Latest Rating: Gold
Latest Wine Version Tested: 7.7

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

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Game installs and runs.   It runs very well (I ran it in windowed),  very good framerates and it looked really good.   Definitely gold with a few little fixes it will be platinum.

What does not

Small graphical problems.  As others have stated the cursor doesn't animate.  It switches to the animated cursor icon but it isn't animated.  

Also as others have said the progress bars in citys don't work but is no problem with detailed city info enabled.

when a world wonder is completed and the little movie runs the background is black and should still show the map. 

Workarounds

What was not tested

Didn't test multiplayer.


Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

You need to use winetricks to override a few dlls. sh winetricks msxml3 sh winetricks d3dx9 are the ones I used. I don't see an override for msxml3r so I just put it in the civ4 install directory and it seems to work just fine. Actually I think winetricks installs the whole msxml package when you do the first winetrick but I am not sure.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowArch LinuxMay 25 20227.7Yes Yes YesGoldJames Darnley 
ShowopenSUSE Leap 15.3Aug 12 20216.14Yes Yes YesGoldPawel Mielimonka 
ShowopenSUSE Tumbleweed (rolling release)Jun 29 20216.11Yes No NoGarbageMatthew 
ShowopenSUSE Tumbleweed (rolling release)May 06 20216.7No, but has workaround Yes YesGoldJesper Goll 
ShowArch Linux x86_64Jun 22 20205.8-stagingYes Yes YesGoldllde 

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
19092 Missing background in Civilization 4 launch window REOPENED View
44144 Errors during Civilization IV installation UNCONFIRMED View
50907 Civilization 4: No hammers displayed on resource tiles UNCONFIRMED View
52829 Civilization 4: Shift+RMB mistaken for Shift+LMB UNCONFIRMED View
52851 broken button displays from Civilization IV installation wizard 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.

wine32 preloader
by Owen Stairs on Thursday September 21st 2023, 6:23
If you are running this on Debian, there are a couple of packages that are a must, and are probably a must for any wine application:

wine32-preloader
wine64-preloader

Those packages have so far eliminated the out of memory errors I was dealing with when running Civ IV BtS. They have also fixed similar classes of issues in other applications
More notes to getting this working well on Linux with wine
by Owen Stairs on Wednesday March 18th 2020, 16:57
I'm running this on wine 5.4, the lutris version, which is why I'm posting this in the comments, and not submitting a report to the db. Here's a list of what I have installed through winetricks. Note that I am running the Ashes of Erebus mod, with huge maps and dozens of civilizations

fontsmooth=rgb d3dx9 devenum galliumnine msxml3 msxml4 msxml6 vcrun2005 vcrun2010 vcrun2012 vcrun2013 vcrun2015

I find installing quartz results in corrupted images in game.

I use lutris as the launcher and I have discovered that using esync is a bad idea. And I can now report that with this configuration using galliumnine, without esync, the game runs more smoothly and is more stable, than it was when I last ran it on Windows 10.
Seems to work best using galliumnine
by Owen Stairs on Sunday February 23rd 2020, 10:35
Galliumnine seems to be the way to go, but you need to use it with the native MS d3dx9 dlls. Yes, you read that right, galliumnine together with the native MS d3dx9 dlls. You can install both using winetricks.
Another note for those using mods under active development.
by Owen Stairs on Friday November 15th 2019, 14:54
If you are running a mod that is under active development you may need to install msxml4 and/or msxml6 into your wine prefix as well. The developers are likely to be using msxml versions more recent than msxml3 to be developing their mods now. I know this is the case for the most recent versions of Ashes of Erebus, which is one of the best reasons to still be playing this game.
Additional Information
by Owen Stairs on Tuesday June 4th 2019, 6:37
Just adding a few notes. I'm not adding new test results because I don't use an official wine version.

- You should install DirectX9 using Winetricks. I actually had to add all of the dlls individually because the full package didn't seem to install properly. If you don't you may experience graphical issues. In my case tile resources weren't displaying properly in the city screen.

- The last submitter mentioned this, but it should be emphasized. You will probably want to run this on a 64 bit prefix, even though it is a 32 bit app. If you don't you may experience out of memory errors. And yes, all these years later, this game is still a major resource pig.

- You should be safe letting wine detect your video memory, you shouldn't have to set that manually, and in fact it might work better if you don't.
Game crashes while loading saved games
by Ivan on Sunday September 23rd 2018, 15:58
The game runs well when you start it at first, but if you come to loading saved games it crashes the game.
Running on Solus
by hfel on Tuesday February 13th 2018, 5:09
I kept getting a "failed to initialize directx9" error on my Solus build with integrated Intel graphics; after installing the 32-bit nvidia-glx driver, the problem is solved. I'm not sure whether the driver itself is necessary or if one of the dependent libs did the trick.
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?
RE: Game freezes when starting a new turn
by Jarkko Korpi on Monday January 9th 2017, 18:30
Well I do think the opposite. Even with the correct debug channels in use someone needs to analyze the problem and then fix it. Better would be open a bug about it. If you really think its system problem, update your gpu drivers and kernel.
RE: Game freezes when starting a new turn
by Karel Jakubec on Thursday January 26th 2017, 17:52
The same problem for me, I can't get any further in one of my games cause if freezes anytime I press Enter for a new turn. Is there any debug I can collect which would help someone to debug it? I tried to change some stuff in the game (units movement, buildings - someone complained game freezes when aquaduct is built) but without any success. :(
RE: Game freezes when starting a new turn
by Jarkko Korpi on Friday January 27th 2017, 1:50
Open bug report. Nothing get fixed complaining here about issues. Kernel is very rarely a cause of wine programs not working.
RE: Game freezes when starting a new turn
by Fernando Martins on Friday January 27th 2017, 12:16
I registered the bug some time ago, forgot to link it. I did it now, awaits review: bugs.winehq.org/show_bug.cgi?id=42195
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!
RE: Multiplayer Woes
by Maquis196 on Sunday September 27th 2015, 8:22
Something akin to ;

wiki.winehq.org/DirectPlay

Maybe civ4 used directply? I can't be sure but I have played with civ4 over mp with wine in the past, but it something to rule out.

What might help is some terminal feedback during the mp menu.
RE: Multiplayer Woes
by Brian on Sunday September 27th 2015, 11:39
Thank you for the suggestions. I tried adding DirectPlay through WineTricks ... no difference.

There is no terminal feedback while using the mp menu. Here is what gets displayed during startup:

$env WINEPREFIX="/home/linus/.wine" wine C:\\windows\\command \\start.exe /Unix /home/linus/.wine/dosdevices/c:/users/Public/Desktop/Sid\ Meier\'s\ Civilization\ 4\ -\ Beyond\ the\ Sword.lnk
fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:exec:SHELL_execute flags ignored: 0x00004100
$ fixme:system:SystemParametersInfoW Unimplemented action: 55 (SPI_SETMOUSEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\gameux.dll"
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\\Beyond the Sword\\Saves.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Beyond the Sword\\Saves.lnk"
err:menubuilder:Process_Link unable to load L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Beyond the Sword\\Logs.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Beyond the Sword\\Logs.lnk"
err:menubuilder:Process_Link unable to load L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Beyond the Sword\\CivilizationIV.ini.lnk"
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:wtsapi:WTSRegisterSessionNotification Stub 0x100f8 0x00000000
fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit ubuntuforums.org/showthread.php?t=1960599
'import site' failed; use -v for traceback
fixme:win:EnumDisplayDevicesW ((null),0,0x33ef18,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33f458,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33f468,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:win:EnumDisplayDevicesW ((null),0,0x33efa8,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
RE: Multiplayer Woes
by Wookie on Saturday December 5th 2015, 19:13
This is more recent that I expected! So I feel I am not wasting my time :)

I have exactly the same issue. I have the game running in single player mode fine (actually I didn't need almost any of the listed dlls).

I really want to be able to play this multiplayer LAN or DIRECT IP, but neither works... and I have installed ALL the DLLs and DirectPlay trying to get it to work.

The LAN option just hangs. The music still plays, but nothing else happens.
The Direct IP option is a little more interesting. I get 3 error messages one on top of next.
3- The network socket could not be created.
2- The network socket encountered an error and was closed. Disconnected.
1- Failed to join game at [IP]

It does this almost instantly and irrespective of the IP or if the game is waiting on the host at that IP. So I am fairly sure its my configuration, even if message 3 hadn't shown up!

Though I am not familiar with wine, I am fairly competent with Linux, so I am quite happy to investigate this if someone can give me some direction.

I am using Ubuntu 15.10 with Wine 1.6.2
RE: Multiplayer Woes
by Brian on Tuesday December 8th 2015, 10:23
The problem is in the 1.6.2 version of Wine. I upgraded to the latest development version (at the time) of Wine and it works fine.

Good Luck!
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.
RE: aqueduct completion problem
by william on Sunday May 18th 2014, 23:26
also, it appears to be when any civ completes one, not just my city. anybody else have a similar issue? music continues to play until i exit the program and it appears to be trying to load it but can't.
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.
RE: Loading Caveman2Cosmos mod failing
by Igor Kushnir on Wednesday April 2nd 2014, 3:46
You could just install PlayOnLinux and select wine version, which works best for you (you can use different wine versions for different applications with PlayOnLinux).
RE: Loading Caveman2Cosmos mod failing
by Neil Dyer on Sunday April 6th 2014, 4:10
Thanks. I had already tried several versions, though not 1.4. However, I think it would be better to find and fix the problem in the latest Wine as that is likely to be the one new users Civ4 and of Caveman2cosmos would try.
RE: Loading Caveman2Cosmos mod failing
by Kimmo Merikivi on Monday May 11th 2015, 13:08
Have you, by any chance, found a solution on your own since posting here? I encountered this issue myself just now and thought you might have found one (running the game with Wine 1.4.0 didn't work for me).
RE: Loading Caveman2Cosmos mod failing
by Neil Dyer on Wednesday May 13th 2015, 17:35
I am using a PlayOnLinux configuration with Wine 1.4.1 under Ubuntu 14.04. To avoid the path problem I start Civ4 then load the game, which restarts Civ4 using the Caveman2Cosmos Dll. This has been working since I posted. Trying to start Caveman2Cosmos first then load the game, or start by double clicking the save file, results in the path error. Hope this helps.

Neil
RE: Loading Caveman2Cosmos mod failing
by Kimmo Merikivi on Wednesday May 13th 2015, 17:45
Thanks, I'll check that method out.
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.
RE: Running Civilization BTS
by Igor Kushnir on Wednesday January 22nd 2014, 3:19
K-Mod: Far Beyond the Sword also runs perfectly with wine 1.7.9.
But I was unable to start new KMod game with wine 1.7.11. Must be a regression...
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?
RE: Won't start
by Justin Barrett on Tuesday November 26th 2013, 20:27
I found that running the BtS version of the EXE versus the vanilla Civ4 EXE to work out better.
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.
RE: Ubuntu 12.04 Civ IV Complete Graphics Issue
by Justin Barrett on Tuesday November 26th 2013, 21:10
I don't think any of your setup is correct. However, I don't know that much about it to really comment.

However, the missing graphics were fixed once I installed the MSXML3 thingy from winetricks.

You may want to try that out.
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
RE: Problems installing on a retail disk
by Guilherme Furst on Friday July 12th 2013, 0:01
I'm not sure if you're talking about the same thing, but:

In the latest versions of wine the installer freezes, not only on civ4, but everything i've tried.
Reverting back to 1.5.25 worked for me( no reason for the specific version, I just already had it).

Now note that I'm actually using wineskin to run wine on OSX Lion, I though the freezing was related to that.
You should research further, but also try an earlier wine version.
RE: Problems installing on a retail disk
by Jon on Friday July 12th 2013, 16:08
I'm not getting a freeze. It's actually erroring out for me. It starts to load the installer, and then when the installer is about to come up, I get an error message saying "Sid Meier's Civilization 4 is not installed properly. Please re-install and then retry the Sit Meier's Civilization 4:Beyond the Sword installation".
RE: Problems installing on a retail disk
by Tim on Monday July 29th 2013, 7:11
I had the same problem and solved it by creating a new 32-bit wine prefix. After this, the installer would complete.
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"
RE: Cannot load on four different machines
by Maquis196 on Thursday February 14th 2013, 9:40
I'll need to cleanup that howto (its from a previous version of civ4 and most of it is rubbish now).

For instance, the latest civ4 patch removes the cd check. msxml3 is still required afaik but you should just use winetricks to install it.

If I was you, I'd delete what you have done so far and start in a new wineprefix. Patch civ4 to the latest version and try and run it, if it doesn't work use winetricks to install msxml3 and then try again.
RE: Cannot load on four different machines
by Simon Rorke on Saturday February 16th 2013, 5:10
Thanks for your prompt reply. I would like to work in conjunction with you (or anyone able to help). I am by profession a software tester, so am very logical, however, I have never actually got anything to work successfully on wine, despite concerted attempts a few years ago.
I am willing to submit full and explicit console outputs and go through step-by-step instructions, so please don't write off me as a Troll.

It is not exactly clear how to start a new wineprefix. Nor is it obvious how to purge wine.

Using Lubuntu 12.04, I tried the following:
simon@simon-Dimension-4600i:~$ WINEPREFIX='/home/simon/prefix32' WINEARCH='win32' wine 'wineboot'
wine: created the configuration directory '/home/simon/prefix32'
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-MIXp7S/pkcs11: No such file or directory
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0x123e8d0, overlapped 0x123e8dc): stub
wine: configuration in '/home/simon/prefix32' has been updated.
simon@simon-Dimension-4600i:~$

The directory has now been created, but in 'winetricks' there doesn't seem to be any way to direct to anything other than the 'default' configuration, which is to use '.wine'

Sorry if this sounds all too Noob. I've been using Ubuntu since 8.04 as my only OS on 4 different machines, and have rebuilt partition tables, but I'm confused by wine.
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
install with winetricks:
msxml3
msxml4
d3dx9 (note3)
quartz
devenum
vcrun2003
corefonts

set override in winecfg:
gameux (disabled)
msxml3r (native).
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...
RE: Civ and Optimus
by Maquis196 on Sunday January 6th 2013, 15:11
Just in case anyone google's this in the future. Using primus/optirun the game wouldn't load due to some config setting through the game itself. When I deleted $HOME/My Games/CivilizationIV it started working again.

2 notes at the moment though (for 1.5.20) -

msxml3, d3dx9_26 to d3dx9_33 need to be installed (not sure which ones can be avoided, but all of them mean the game works).
With optimus, any form of anti-aliasing reduces the FPS to some like 5. So make sure thats turned off, everything else can be set high in high res (1600x900 for me) with game working fine.
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
RE: Does not work
by Maquis196 on Monday November 26th 2012, 14:30
Got your msg! right, from looks of it, the game runs flawlessly out the box on 1.5.16. I know you're on 1.4 so are you able to upgrade?

Of course, I have the steam version, but it's the same game. I installed it and ran it without touching winecfg.

So I suggest that you try and get 1.5.16 or more recent. Start a new prefix and install the game (I doubt there is a patch required on the copmlete edition) and then just try and run the game without any overrides.

I will update any notes at some point when I have a spare few minutes.
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.
RE: My Mod fix
by Thomas Jones on Friday October 26th 2012, 8:46
I got as far as it trying to load a map for a game then it crashed.
Then when I tried to start it again...it won't... gonna play with it a little more, but after that I'm giving up.
RE: My Mod fix
by Thomas Jones on Friday October 26th 2012, 14:20
Okay, don't know what happened...but I deleted the .ini file i changed and then I deleted the .ini.bak too and run the mod again and not only did it work... i just managed to play a whole game without incident.
RE: My Mod fix
by Simon Galipeau on Wednesday June 19th 2013, 19:16
Thanks man! You just solve my problem! So simple! :

ModularLoading = 0
to
ModularLoading = 1

And I changed:

SinglePlayerOnly = 0
to
SinglePlayerOnly = 1

Thanks again! You're handsome
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
RE: DirectX error
by Dawid on Wednesday October 10th 2012, 12:37
Hi.

This problem also occurred on my laptop.

My system:
Debian x64: 3.2.0-3-rt-amd64
Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
GeForce 8600M GT
NVIDIA Driver Version: 304.48
wine-1.5.12


diff: -hwnd = 0x200fe
(i think this difference is irrelevant)

in console i have:
err:menubuilder:convert_to_native_icon error 0x80004005 initializing encoder
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly (using GL renderer "GeForce 8600M GT/PCIe/SSE2", version "1.4 (2.1.2 NVIDIA 304.48)").
[...]
err:d3d:WineD3D_CreateFakeGLContext Failed to find a suitable pixel format.
err:d3d:InitAdapters Failed to get a gl context for default adapter
Direct3D9 is not available without OpenGL.

May be is because nvidia driver?
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?
RE: Wrong DVD
by Maquis196 on Saturday January 7th 2012, 16:09
I'm suprised you had to patch it tbh, especially if you bought the complete edition. You are right about the removal of the copy protection so I'm at a loss. I suggest a reinstall and no patching in a fresh prefix (whilst doing the minimum required dll overrides to get the game running)

Then see what happens, almost might be handy to confirm what the patch version is installed.
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??
RE: wine 1.3.25-Sound
by Brian Gorman on Tuesday July 26th 2011, 7:21
Further to this, my 'fix' of 5.1, well that only lasted 5 minutes,then the sound "crashed". Thing is, it then proceeded to fade in, then fade out again, as if some one was turning the sound volume up and down again.

Since gone back to default system configuration settings, no sound.

I've tried wine tricks and setting to ALSA, a few other settings, but nothing seems to work.

This has happened since I upgraded to 1.3.25 so report as bug and wait and see I guess.
RE: wine 1.3.25
by Brian Gorman on Monday September 5th 2011, 7:18
Solution to this problem is contained in this thread

ubuntuforums.org/showthread.php?t=1822854

Basically, using any version greater than 10.04, wine is out dated.

You need to follow the instructions to update wine ALSA to 10.04 versions.

Played a game for 6 hr's straight, no audio drop outs, no problems.
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!
RE: Installation using civ IV gold + BTS, Patch to 3.19
by geoaraujo on Wednesday February 8th 2012, 6:51
Still crashig at setup map!
Wine 1.4rc2
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.
RE: Solved black map and hang in
by Abdelrahman Akram on Wednesday March 22nd 2017, 9:23
This helped solve the problem for me, winever 1.6.1, on a macbook air running macOS Sierra, the msxml3r.dll file was missing from sys32 folder, had to just copy it there et voila...
Of course after setting the config in wine to msxml3 to be native and disabling the msxml4 and 6.
Thanks a lot, cheers!!
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.
RE: Crashes when loading mods in msvcr71
by Maquis196 on Saturday May 28th 2011, 15:52
Hi, I had this earlier with the latest Road to War mod, if I loaded mod first the game would crash on any menu option I selected.

However, if you start the mod you want through new scenario in the main screen with the vanilla game, it will play the game after loading the mod up.

I couldn't fix that either but my workaround does the job quite nicely, if you quit back to the main menu after starting the mod, the options suddenly start working again :S.

Very confusing, but I hope this helps even though im over a month late :)

Cheers,
Maq
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
RE: Audio crash loading Mods ?
by Brian Gorman on Saturday February 26th 2011, 21:31
Continued-

2) start game or load a saved game, yes I've had it running.

Every time well 19/20 it starts to initialize map, it crashes, now this is due to the audio, as it cuts out, kill error message, starts again and closes installation.

I've re-installed pulse Audio, care of this thread

ubuntuforums.org/showthread.php?t=205449

Excellent How to on Pulse audio problems and soundcard recognition.

Didn't do the trick.

I've noticed that BTS, won't recognise my audio driver. Ah ha...Hmmm

so how do I fix this.

Note, Frustratingly I've gotten the mode to work 5 times out of 30 or more tries. Its definitely Audio problem.

It works with NO AUDIO ENABLED. But what's the point of playing with no sounds, come on...NO NO NO, NOT AN OPTION.

I've changed the audio options from system config, stereo (worked once) Mono (worked, but terrible cracks) [worked twice in a row with these options??]

Problem definition, Get BTS TO recognise audio drivers. How???
RE: Audio crash loading Mods ?
by Brian Gorman on Saturday March 5th 2011, 8:42
Civilization 4 and BTS Guide to Playing on Linux Ubuntu 10.04

1st, Installation.

To Install Civilization 4, and the Add on packs, you'll need some emulation software, [url=www.winehq.org]Wine, [/url] is What I'll refer to here.

Don't use Version 1.2.2, though it a stable version, it has some problems with installing Civ 4. Use the latest Beta Version, though they are Beta, they are based on Stable previous versions, just additional bits that should work, but sometimes don't.

Download and install this software, its so easy on Ubuntu, just use Ubuntu software centre (Applications/Ubuntu software centre).

I've also installed Microsoft XML Parser and MSXML 4.0 SP3 Parser, I did this to speed up installation of Civilization 4, it may install quickly without, now, but I have them anyway.

I wish to Emulate a XP windows environment under wine, (Personal choice) Use wine to install these, down load the files from Ubuntu Software Centre and install under wine.

Now your ready to Install Civilization 4.

Install and patch it to Version 1.74, for Civilization 4 (Vanilla)

Now install the addon packs as you have them.

1)Warlords and path to latest version (I don't have)
2)Beyond the Sword and patch to Version 3.19 (I do have)

This should install with no delays or problems.

Now you have a shiny new installation of BTS.

Please to note, you'll have under wine, an original dvd Version, a patched version of 1.74, a patched version of warlords (if you have) and a patched or original dvd version and patched version of Beyond the Sword. THIS IS NORMAL.

WineHQ - Sid Meier's Civilization IV Complete

is the Wine HQ Dedicated page to this game.

The Civilization Community has developed many mods (Modifications) to this game, to improve the game play, scenario's, Lets sample some I use.

No 1

The Bug Mod, This stands for Beyond the sword Unaltered Game play. An Excellent mod, excellent support and dedicated team.

Its installation is simple, down load the Self installing file, Right click on the Exe file to install, and select Wine windows program loader. This will now install the program, just follow the Instructions.

No 2

The BAT mod, Beyond the sword Artistic Tweaks. This adds a lot of eye candy to your game.
Same procedure, download the exe file, install under wine.

No 3

Bull Version 1.3. Now this is a bit different to install. 1St, you must install it in the mods folder yourself. Location of this folder is;

\(root)\home\(user name)\(Control H to revel hidden folders) .wine\Drive_c\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods

Phew, what a directory tree. Once that task is achieved.

You now need to Install the CvGameCoreDLL.dll file into the Assets directory of Beyond the Sword. Or just one branch up, then over to assets. Please note, you are advised to rename the Original file of that name,just add a .Original to the end of the name.

To check that you have loaded these mods correctly, just start a new game. Place your cursor over the flag of your Civilization and it will come up on print on the left. Bug Ver , Bull Ver Civ name, traits etc. You've seen it before.

Bat is loaded as a separate mod and will appear on the game selection screen when you 1st log in.

My current mod of flavour is Rise of Mankind Ver 2.92. Note Continuation of Mod is AND (A New Dawn) 1.75c currently.

Install this mod, by downloading the Zip file, all 482 Meg's, EXTRACT that file to the mods folder as mentioned above \home\(user name)\.wine\Drive_c\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods.

Now comes the fun part, took me 5 days' to get this right, all it takes you is 5 minutes of reading.

Thanks to Emperor Fool (Thank you again) and Zappara, and ME!!!!! you need to alter the CvAltRoot.py file included with the Mod.

This file is located in the Rise of Mankind Mod folder you've just extracted. Open this file with a text Editor.

Step 1.

As I've Emulated Windows XP: Change the line to read (Forward slashes and all);

Window XP: “C:/home/(user name)/My Games/Beyond the Sword”

Step 2, Save file, close, Right click upon same said file, copy.

Now you need to go to the Assets\Python folder of the Mod directory your currently in, paste into the Python folder the copy of the file, overwrite the existing copy.

Now you can play rise of Mankind.

Other mods.

Hmm just use the CvAltRoot.py file, follow the same procedures I guess.

Notes:, this works for Windows XP Emulation, others don't Know, similar directory structure.

Q. I want to use an Earlier/Later Version, or another Version of Linux.
A. Just use wine, same procedures, I use 10.04.1 LTS Edition is all. (Currently)

Q. Hey, I've got a Mac, “What about me, it isn't fair, I've had enough, I want my share”....
A. “Can't you see, its in the file, just change the lines to follow the correct path”

Q. Hey, I've got linux, not windows, what's this C:/, or Ha Ha, Its \ and NOT /
A. Its EMULATING (Pretending) Windows XP DIRECTORY, under a linux structure, hence C:/home/(user name)/My Games/Beyond the Sword

Q. What happened to \home\.....\ you say one thing, then type C:/.
A. Its the way the games designed, or windows handles it. I don't know, I'm not a programmer.

Q. How do I play/ Start the game.
A. It should have installed an icon on the desktop, if not, find the executable file, copy it to desk top, right click, make it executable, and locate icon the same way.

Q. Hey, the mods don't work, are faulty, Buggy, etc
A. Place your grievance with the various Mod forums.

Q. I haven't got (user name), where and what is it.
A. Its your Desktop name, usually your name.

Q. Do I have to go from Root every time.
A. No, I'm just showing the full Directory structure, start with \home or \(User name)

Q. I want to use the command line, how do I do that.
A. My heads spinning already, I can't help you there.

Q. Aren't I just adding another layer to the game, won't it just suck more resources, etc.
A. I've found, my own personal data, that it plays better, uses less resources. Linux does it better.

Q. How do you know this works?
A. I've tested this, over 5 day's, various other changes, combinations, satanic chants, and Voodo. This loads 100%, is faster, and plays great. (Rise of Mankind Mod)

Note: I'm currently having random sound crashes, this I attribute to a failing in wine, sound has regressed since Version 1.2. (Rise of Mankind mod only)

Q. Hey, Mod x....?
A. Mod x forums, not me.

Q. Hey, what a lot of work install this, down load that, windows is so much simpler.
A. How many service packs did you install, drivers, virus checkers, ram upgrades, video upgrades.?

Q. Mine works without the changes you've suggested, what gives.
A. Lucky you, mine worked as well, without the changes 1 out of 14 times, 1st time not a problem, it would load fully couple in a row, then crash anther 14 times. (Rise of Mankind mod)

Q. How do I know I can trust you.
A. How do I know I can trust YOU!!!!

Copied from Civ fanatics forum posting by myself
Loading of Mods correctly
by Brian Gorman on Thursday April 7th 2011, 2:52
Small alteration to my mods installation method.

Specifically Rise of Mankind, and RoM A New Dawn.

CvAltRoot file included with these mods needs to be edited. I've done so for XP emulation. (Personal choice)

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

Now copy from the opening " and paste over the PINK TEXT at the very base of the file.

This will Eliminate the Python error, Bug (version, usually 4.3) can't find the Civ4.ini file

Oh Bull only goes to 1.2 currently not 1.3, so don't go looking for it.

Copy and paste this file to /Assets/Python, just overwrite if previously installed.

Still seems to work fine without this alteration, but best to amend, never know what else is going wrong.
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...
RE: Overrided libraries update
by Patrik on Monday March 28th 2011, 4:27
I experience the same problem it seems, using wine 1.3.14. Has any solution been found?
RE: Overrided libraries update
by Geoff Evans on Saturday December 15th 2012, 5:06
I am having the same problem. Any updates to get the game from hanging mid-game - please post here.

I'm hoping to get off Windows completely but I need my Civ fix every once in a while so if I can't get Civ4 to work in Linux I'm stuck with dual boot. Thanks!
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...
RE: Wonder building
by Sviat on Friday January 21st 2011, 18:16
It seems that it happens only with Stonehenge... Why is it so?...

But anyway, who knows how to solve this XML error with "native" overrides for msxml3? thx...
RE: Wonder building
by Patrik on Sunday March 27th 2011, 5:25
I'm using wine 1.3.14 and have the same Stonehenge problem. The big map goes completely black as well as the mini map. It seems to be the at centering of the world map the the problem occurs. I can still do turns but I see nothing, which makes it unplayable. I've been trying to solve this for quite a while now. Has anyone found a solution?
RE: Wonder building
by Patrik on Sunday March 27th 2011, 5:33
To be clear, I am experience the same issue as Sviat with the msxml3. Furthermore, this same problem with map turning black appears when installing "Beyond the Sword" as well as using Civ4 1.74. I'm on Fedora 13 if that might be relevant.
RE: Wonder building
by Devin Ben-Hur on Sunday March 27th 2011, 14:26
I haven't experience the same problem as the whole map going bad, but I've encountered similar issues where the color palette gets shifted and certain classes of display objects become invisible.

A work-around if you're running in a window instead of full-screen, is to go to Options/Graphics and change the display resolution when this happens. This seems to reset a lot of video information. You don't even have to keep the new resolution, just so No when it asks and it returns to the original resolution but with all the video artifacts cleaned up.
RE: Wonder building
by Patrik on Monday March 28th 2011, 4:07
This suggested work-around does not seem to work for my black map problem. I will keep looking for a solution. I don't remember these problem appearing when running under wine a couple of years ago. :(
RE: Wonder building
by moki on Sunday April 24th 2011, 12:00
see me post at top, 1st post so failed to do it right xd
RE: Wonder building
by Krzysztof S Sabat on Wednesday April 27th 2011, 16:40
If Civilization 4 crashes with the windows native msxml3.dll you will also need msxml3r.dll. that seemed to fix my problem. Just put it in your windows/system32 directory.

Wine ver 1.3.18
Ubuntu Natty (last RC)
Intel HD Graphics
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...
RE: The game crashes at
by Francisco Pina Martins on Monday January 17th 2011, 18:17
This is a known bug and it is in the process of being fixed, here:
bugs.winehq.org/show_bug.cgi?id=25323

In the meantime, as a workaround, just use winetricks to install "msxml3". The game should run flawlessly after that.
RE: The game crashes at
by Sviat on Tuesday January 18th 2011, 5:50
Thanks...
The problem is that I have installed msxml3 with winetricks, but when I set it as "native" there is an error "Caught unhandled exception creating XML parser object", and if I set it as "builtin" there is an error I have posted.
RE: The game crashes at
by Francisco Pina Martins on Tuesday January 18th 2011, 10:28
That is in fact strange.
Have you tried using a clean wine prefix?
"WINEPREFIX=~/wine.temp wine path/to/Civ4.exe"
Don't forget to also use winetricks in this new prefix:
"WINEPREFIX=~/wine.temp winetricks msxml3"
In fact, you should do this before trying to start the game in the new prefix.

If it fails, try to reinstall the game in new wine prefix. That will solve the problem for sure.
RE: The game crashes at
by Sviat on Tuesday January 18th 2011, 11:26
Yeah, it's really strange...
This wine prefix is a good thing! But unfortunately the game behaved in exactly the same way...
should overrides for msxml3 be just "native"? because in this case I get XML error...

Oh... And I forgot to say that I run it from the Complete version of Civ4...
But I think it doesn't matter, version of BTS is 3.19.
RE: The game crashes at
by Francisco Pina Martins on Tuesday January 18th 2011, 11:41
Yes, override should be set to "native".
I cannot reproduce this problem using civ4 complete.
As long as I have msxml3 set to "native" I can run the game without any issues...
Did you try to reinstall in a clean prefix?
RE: The game crashes at
by Sviat on Tuesday January 18th 2011, 12:12
Yes, I have. And I have tried different reg settings in this clean prefix...
Thanks for your help, I should find a solution for the "XML parser object" error that caused by native msxml3 now.
RE: The game crashes at
by John Lazaridis on Sunday February 13th 2011, 5:39
I had the same problem.

First of all this probably happens when you install the game disk by disk and not the complete version.

In this case , install the latest patch (3.19) and there will be a file msxml3.dll INSIDE THE /Beyond The Sword/ folder. Take this file and copy it to the windows/system32 folder.

That's how it worked

I also used winetricks for quartz.dll(native) , disabled gameux.dll , and added a msxml3r.dll native setting in winecfg but im afraid I can't be sure if it matters or not.
RE: The game crashes at
by alexen on Saturday August 27th 2011, 7:39
Thanks,

it's the good way for me with the same bug :

move msxml3.dll inside the /Beyond The Sword/ folder to windows/system32 folder

and

install quartz.dll(native); msxml3r.dll native
and disabled gameux.dll
RE: The game crashes at
by Linus on Wednesday November 9th 2011, 10:57
I solved this by using the msxml3.dll and msxml3r.dll from my laptop with win xp and BTS installed.
RE: The game crashes at
by geoaraujo on Wednesday February 8th 2012, 6:48
I'm sorry. I'm stucked with this issue. Where's the msxml3r.dll file? I've downloaded this one because it wasn't available at winetricks.
Please help me! How can I bypass this crash at setup map error?
RE: The game crashes at
by geoaraujo on Wednesday February 8th 2012, 7:08
Oh, wine 1.4rc2 here.
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.
RE: 1.3.4 Will not load
by Drachenfels on Saturday October 23rd 2010, 16:13
It usually means you don't have msxml3 installed. Winetricking should help.
RE: 1.3.4 Will not load
by Benjamin Lawrence on Saturday October 23rd 2010, 16:34
Sorry, already done. Followed the typical bug steps, installed and overridden. Just does not start.
RE: 1.3.4 Will not load
by Benjamin Lawrence on Saturday October 23rd 2010, 20:21
Alright, figured out what it was. For some reason, gameux.dll came back off "disabled". Turned it off, and it's starting fine now.
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?
RE: Not runnable in 1.3.3
by Francisco Pina Martins on Friday September 24th 2010, 14:48
Check the workaround for bug 23901...
RE: Not runnable in 1.3.3
by Teemu Pääkkönen on Friday September 24th 2010, 19:36
Thank you. That was exactly what was wrong with it. =)
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. :)
RE: Fails at Init Engine
by Sebastian Vieira on Tuesday June 21st 2011, 3:30
I hope you got it working already, but in case you didn't:

You have to install all d3dx9_* dll's using winetricks. I had the same problem as you and after i installed all dx9 dll's it worked fine.

Hope this helps :)
RE: Fails at Init Engine
by Rob on Wednesday January 2nd 2013, 15:42
Do you have an ATI video card. I had that same issue when I was using the proprietary "fglrx" drivers.

I'm on Ubuntu 12.10, and in the "Software Sources" app, I switched to the open source ATI driver and after that it worked flawlessly.
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.
RE: Crash after second intro vid
by Christian A. on Friday August 20th 2010, 14:31
Sorry, I forgot: I am using Mac OS X 10.6
RE: Crash after second intro vid
by z0wb13 on Friday March 22nd 2013, 12:23
try turning off the intro movies in the CivilizationIV.ini file. also, on os x, fullscreen is buggy; try playing windowed.
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.
RE: Civilization 4 Beyond the Sword 3.19 no longer loads after installation of Wine 1.3.0
by chris on Friday August 6th 2010, 11:49
I had the same problem. Copying gameux.dll, duser.dll and import.dll into the /windows/system32 folder worked for me.
RE: Civilization 4 Beyond the Sword 3.19 no longer loads after installation of Wine 1.3.0
by Rosanne on Friday August 6th 2010, 14:45
Disabling gameux.dll in winecfg is an easier fix.
RE: Civilization 4 Beyond the Sword 3.19 no longer loads after installation of Wine 1.3.0
by Joop Beris on Tuesday August 10th 2010, 0:15
>> Disabling gameux.dll in winecfg is an easier fix.
RE: Civilization 4 Beyond the Sword 3.19 no longer loads after installation of Wine 1.3.0
by hirschhornsalz on Tuesday September 21st 2010, 5:32
Thanks for the tip, this worked for me too.
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.
RE: Correct directions for Civ iv Complete
by Brian Gorman on Friday August 6th 2010, 3:30
the directions are Succinct and straight forward.

Install the msxml3's and 4's through wine first, set as a default override, or just install them AFTER installing Civ 4 through wine.

The Setup.exe is ran through wine. Start wine, install new program and locate Setup.exe and run it. Right click and use Wine to install.

Instructions are install Civilization 4 Vanilla pack, patch to 1.74
Install Warlords (if have) patch to latest version.
Install Beyond the Sword (if have) patch to latest version.

To run Mods etc with their own Civilization 4.ini files, you need to copy these to .wine/...../civilzation4 (version) and rename the original just in case of problems.

Mos without Civilization 4.ini files, just install as per normal.

I've ran Civ 4 1.74, Beyond the Sword 3.19 Huge maps, WITH the BAT.mod (most excellent, ty Lemon Merchant)

I've ran mods BUG 4.4, BULL 1.2 (this has own Civ 4.ini file)

I haven't ran rise of mankind, or other mods, but would assume all work fine.

Problems as of Ver 1.2

Growth bars in cities don't work in outer shot, but in city screen they do??? missing a dll I assume.

Sound works, but will cut out 1st time another civ imposes itself upon you, I'm still fiddling on a work around if available. Ignore the earlier notes about sound fixing, for ver 1.1.44 this works, but not later versions.

My computer is 7 yr's old, it runs fine, later computers will run better.
RE: Correct directions for Civ iv Complete
by Sean Zlatnik on Tuesday August 10th 2010, 20:52
Hi, thanks for the reply.

Here's what I did, in case I misunderstood your directions and there is another way to do what you said that I didn't realize.

I went into the "Applications" menu, opened "Wine"->"Configure Wine". From there I clicked on the Libraries tab, and added "msxml3 (native, builtin)" and "msxml4 (native, builtin)" under the heading "Existing overrides:" under "DLL overrides," under the Libraries tab. Then I closed the Configure Wine window, opened up a terminal window, cd to CDROM, executed the command "wine setup.exe." It runs. After this is finished- my version comes with 1.74- I run Civ iv from the desktop. Now the graphics hang AND the menu bars from ubuntu appear, and everything else that didn't works still doesn't work (ie the animations of the planets as you choose fractal and stuff, probably also the leaders, though I didn't check that). How am I misinterpreting your directions?

Thanks,
Sean
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?
RE: Civilization game of the year edition
by Brian Gorman on Saturday July 24th 2010, 9:54
Sounds to me like you have all 3 versions of the game, the Original game

Civilization 4 version 1.74 Needs to be installed 1st and patched to version 1.74 (if required)

Warlords the 2nd follow up disk, needs to be installed 2nd, Patched to the latest version 2.14 I think?? its on here somewhere.

Beyond the Sword is the 3rd Disk, this needs to be installed lastly, and then patched to version 3.19

The 'Bonus DVD' you received, I guess just has a lot of self promotion in it.
RE: Civilization game of the year edition
by Michael Davenport on Saturday July 24th 2010, 11:15
It's just civilization 4 with no expansions and they're cds for clarification. Anyways i solved my own problem by doing a ls -s /media/DISC3 /media/CIV4DISC3 The problem that i had was the 3rd disc had a different volume name then what the installer was looking for. Thank for taking your time to help!! Much appreciated!!!!
RE: Civilization game of the year edition
by Michael Davenport on Saturday July 24th 2010, 16:13
But now it crashes at init engine.
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
RE: Mod loading Solution!!
by Nicola Manca on Wednesday July 14th 2010, 9:42
I didn't understood very well this solution, but I've found that on a flat installation with winetricks for msxml3 msxml4 and directx9 (or as it is called now) MODs works.
BUT, after a restart Civ4 crash again!!! I saw the to make it working it's enough just install again dx9 trought winetricks.

it's strange but it works...
RE: Mod loading Solution!!
by Thomas Jones on Thursday October 25th 2012, 14:15
I don't know whether it's my sleep deprived state or not but i'm
this far
> Open Program files/Firaxis game/Sids Meiers Civ 4/Beyond the sword/Assets
what do i need to do after that?
Mods with Special CoreGameCiv4.dll ONLY!!!!!
by Brian Gorman on Thursday October 25th 2012, 21:26
This method is for mods which only have a special modified CoreGameciv4.dll Only.

There will be 2 types of Mods, those with a modified CoreGameCiv4.dll or those without.

I'm sorry for all the confusion, I probably wasn't thinking very clearly at the time, or was in a bit of a rush.

Unmodified CoreGameCiv4.dll's you don't have to do anything.

It should day on they mods Download page if you have to do anything.
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
RE: Taking Screen shots
by Brian Gorman on Sunday June 13th 2010, 9:34
I've solved the screen shot issue sort of.

Take the screen shot, then Alt-tab till the music stops, and screen shot is in window your tabbing to, if sound stops and screen seems frozen just hit enter.

Alt-tab again, and only the Current game window should be available, you've now taken your screen shot.

Example take screen shot, Alt-tab and snap shot window appears in back ground, and all sound seems to stop. Hit enter, sound resumes as does game play.

Now check your Picture in /home/*user name*/My Games/Beyond the Sword/Pictures it should be there, now just rename it.

No more banding, no smug's

Game should be run in full Screen mode, don't try emulated desktop, it'll seize up (at least mine did once, and once was enough)
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.
RE: Solution to choppy Audio, and audio dropping out
by Brian Gorman on Friday May 21st 2010, 8:32
Actually its wine version 1.44
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
Audio Issues, Wine version 1.2
by Brian Gorman on Friday August 6th 2010, 11:01
To fix the Sound dropping out when interacting with another Civ, ie the Diplomacy screen; I've found the following works (tested for 7 hr's play)

Ubuntu 10.04
Wine Version 1.2

Enable under Wine's Audio tab, EsounD Device driver (the last Option)it doesn't matter if you have Emulation or Full hardware Acceleration.

Also it won't matter under the Audio Option for Civ what you select either.

When In the Diplomacy screen, the Audio will still jump a bit, but this is the only problem.

Oh the Voice capture will say not enabled, but who uses that anyway???
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.
RE: In game map scrolling blurry
by Tomi on Tuesday May 11th 2010, 13:12
And Ubuntu 10.04 with wine version 1.1.42 and nvidia 185 drivers.
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
Many thanks! Exactly what I needed.
RE: msxml3
by Roy Stogner on Monday May 30th 2011, 20:37
It's more insidious than that, at least in the wine-1.3.15 installed on my Ubuntu 11.04 system. Civilization IV will *run* without msxml3 installed, but will be unable to read some save game files, and will instead hang upon trying to load. Fortunately it was writing those files correctly enough; after the msxml3/msxml4/gameui hacks I was able to continue a game with no troubles.

I still get occasional graphical glitches (circular "this land is being worked" markers missing or distorted in city view) still, but I suspect that may be my ATI chipset's fault; until a recent Catalyst driver update, Civ4 was unplayable under wine without an ugly LD_PRELOAD hack.
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
RE: Init XML (uncached)
by Marco on Sunday April 18th 2010, 4:59
try to delete (or rename) this file:

Program Files/Firaxis Games/Sid Meier's Civilization 4/Beyond the Sword/msxml3.dll

it worked for me...
RE: Init XML (uncached)
by Chris Duston on Sunday April 18th 2010, 13:48
No such luck, but thanks for the suggestion. Any others?
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?
RE: Setup.exe not working?
by luke on Friday April 2nd 2010, 23:52
Some of the most recent wine versions seem to fail on the install. Try an older one to install it; that should make it work.
RE: Setup.exe not working?
by Michal I. on Monday April 19th 2010, 9:51
Make sure you patched to the newest versions and followed the instructions. copying your original window dlls AND using NATIVEOVERRIDES as mentioned.
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.
RE: Problem loading mods
by Sean Esopenko on Tuesday March 2nd 2010, 13:33
Thanks for the advice, this got plain civ4 1.61 to work on my machine. I'm running ubuntu 9.10 x64 with wine 1.2
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.
RE: Jumpy sound
by Edmund Schluessel on Saturday January 16th 2010, 22:20
*sigh* OK, this seems to work consistently:

* Load the game.
* If sound is skippy, go into the Advanced/Options/Sound menu and select any other speaker configuration.
* Quit and restart the game and sound will not be skippy.
RE: Jumpy sound
by Edmund Schluessel on Saturday January 23rd 2010, 4:04
*double sigh* Changing the configuration doesn't actually make a difference. Just keep restarting until sound works.

Seems to have to do with the game's ability to detect the sound card.
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.
RE: Won't install at all for me :(
by Michal I. on Monday April 19th 2010, 10:05
this is a problem in wine 1.1.41
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.
RE: r600 testing and some random wine notes
by Colin Wetherbee on Sunday March 14th 2010, 20:51
Would you try this again with Wine 1.1.40? I performed a fresh compile and install of 1.1.40 and then installed msxml and d3dx9, and I was able to play the game through Steam with no problems.

FWIW, I'm using an NVidia card and the NVidia kernel and 3D drivers.
RE: r600 testing and some random wine notes
by Thomas on Tuesday March 16th 2010, 7:44
I'm running wine 1.1.40 under OpenSuSE 11.2, and I also installed msxml and d3dx9, but I cannot get the game to start.

Recommended course of action?

Highlighted wine output:

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
wine: Unhandled page fault on read access to 0x7f0e8cf4 at address 0x7b85c3c7 (thread 0068), starting debugger..
RE: r600 testing and some random wine notes
by Thomas on Tuesday March 16th 2010, 7:45
I forgot to mention, that I did not compile Wine myself, but installed from the repository. Is it really nescessary to compile it yourself to get it working? Q.Q
RE: r600 testing and some random wine notes
by rlazur on Friday March 19th 2010, 20:23
Your comment is out of scope. My comment specifically mentioned the r600 driver. I'm sure that it works fine with Nvidia's and AMD's binary drivers.
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.
RE: Questionable Accuracy of Test
by Sebastian Bremicker on Tuesday January 5th 2010, 0:17
Hi,

only the latest version of Civ IV has the copy protection removed by the publisher. But the copy protection did work with wine for quite some time, the CD had to be mounted, though.

Kind regards

Sebastian
RE: Questionable Accuracy of Test
by Francisco Pina Martins on Tuesday January 5th 2010, 8:25
I can test it without the NOCD when I have the chance.
I'll let you know my test results once I have tested it.
RE: Questionable Accuracy of Test
by Daniel on Tuesday January 5th 2010, 11:32
I installed with 1.1.32 and played successfully with DVD.

If you don't install the latest patch by either download manually or get connected to a multiplayer game the game requires DVD, with latest patch, no.

Upgraded to 1.1.35 today, still latest patch. Game works fine. :D
RE: Questionable Accuracy of Test
by Michal I. on Monday April 19th 2010, 10:07
the official patches are NOCD too. Its just recommended to use the newest available.
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
RE: Cant get civ4 running
by Simon on Tuesday December 15th 2009, 23:43
I don't think you have to make MSVP71.dll native. just make sure it is in the /windows/system32/ folder. the ONLY thing i think needs to be made native is mxml3.dll. and that must be set in winecfg to "native,builtin." Also make sure the files msxml3.dll, msxml3r.dll, and d3dx9_36.dll are all in the /Firaxis/Civilization 4/ folder and in the /windows/system32/ folder. Also I should note, you should have a pretty good graphics card to run it properly. It didn't work for me until I got an Nvidia. So good luck. And don't ditch ubuntu if it doesn't work. windows sucks.
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?
RE: Diplomacy activation crash
by Matthew Meyer on Tuesday December 15th 2009, 8:52
Yep. The game crashes for me too. Not just the diplomacy screen, but also the tech screen. Frustrating...
RE: Diplomacy activation crash
by Mike on Sunday December 20th 2009, 8:55
YES! I've experienced this after the upgrade as well. Has someone tried Civ with the 1.1.35 by now?
RE: Diplomacy activation crash
by Aaron on Sunday December 20th 2009, 23:23
I have tried 1.1.35 and the problem seems to be gone.
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 ?
RE: Error trying to install BtS 3.19 patch
by Michel Belleville on Sunday November 15th 2009, 9:54
Found a workaround : installed patch 3.17 then 3.19 worked like a charm.
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
RE: no audio in 1.1.25 or 1.1.27
by Toni on Wednesday October 7th 2009, 12:11
On 1.1.29 UseDirectHW to "y" is still needed but FPS is now OK
RE: no audio in 1.1.25 or 1.1.27
by alex colgan on Thursday October 8th 2009, 18:58
Hello I have the game running using wine version 1.1.30 but also have no audio?

any ideas would be fantastic
RE: no audio in 1.1.25 or 1.1.27
by Toni on Friday October 9th 2009, 6:47
wiki.winehq.org/UsefulRegistryKeys

Adding HKEY_CURRENT_USER/Software/Wine/Alsa Driver/UseDirectHW "Y" to registry didn't help?

P.S. I also noticed that you need to keep audio on stereo.
RE: no audio in 1.1.25 or 1.1.27
by alex colgan on Friday October 9th 2009, 9:02
Adding HKEY_CURRENT_USER/Software/Wine/Alsa Driver/UseDirectHW "Y" to registry didn't help?

This did nothing until I changed the sound settings from full to emmulation in wine audio config.

This then gave me perfect sound with no stutter, but after a long period of play (approx 1hr) the sound cuts out until game is restarted.
RE: no audio in 1.1.25 or 1.1.27
by Brian Gorman on Thursday May 20th 2010, 3:24
This is for wine version 1.34

the other 1/2 of the solution, emulation being the 1st 1/2 is

Use system config under options for Civilization 4. This will eliminate the sudden cut outs of sound. Don't use anyother options, but note only tested for Headphones and speakers.

Emulation under wine
System Config under Civ 4
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.
RE: Overly complicated
by Ken Sharp on Friday August 14th 2009, 10:51
So post a procedure that a maintainer can use.
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.
RE: Mods not working with Patch 3.19
by Jeff Peterson on Saturday July 4th 2009, 9:57
Try editing the Civilization.ini file to gets mods to load. I am playing with Rise of Mankind now on 1.1.25 and with 3.19 patch with great success - so far only the city growth and productions bars and animated cursors are not working for me.
RE: Mods not working with Patch 3.19
by Derek A. Muenzel, Sr. on Wednesday July 22nd 2009, 12:25
What modifications do you suggest making?

I have also had issues since moving to 3.19 and RoM 2.7 (I could play on Small maps with 3.17 and RoM 2.63 Woc Lite).
RE: Mods not working with Patch 3.19
by Achelis on Saturday June 5th 2010, 15:15
I'm curious as to how you got mods working as well. Any help very much appreciated.

I'm running:
Ubuntu 9.04
wine-1.1.42
Mod loading Solution!!
by Brian Gorman on Sunday July 11th 2010, 6:27
I've made a posting on how to get mods working.

Specifically the mods of Bug 4.4, and Bull 1.2. Bat 2.3 is not a problem. Installs as is.

Mods with a Civilization 4.ini file need to follow these instruction forums.civfanatics.com/showpost.php?p=9303447&postcount=2476

Ubuntu 10.04
Wine 1.2 RC 7 (sucks big time, no sound, regressed from RC 4 onwards)
RE: Mod loading Solution!!
by Kenneth Larsen on Tuesday December 14th 2010, 12:09
I've not been able to get the above method to work, but just found an almost too easy way to load mods without getting sound issues: Edit the CivilizationV.ini file in "/My Games/Beyond the Sword" and look for Mod = 0 in line 142. Enter the mod you want to use and run Civ normally (for example, Mod = Final Frontier).
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.
RE: CD3 is never found
by Marvin Otto on Friday June 19th 2009, 9:52
I had this problem with CivIV Game of the Year Edition. Basically, the volume label is slightly wrong, so I created a temporary link to it with the correct name. I think it was "ln -s /media/DISC3 /media/CIV4DISC3", but check the names. ("ln -s truename desiredname")
RE: CD3 is never found
by Pookie on Sunday June 21st 2009, 17:52
Fixed the error calls with sound by updating to latest wine, but now it asks to install correct cd. I have the first cd in the drive? IS there an issue with permission?
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?
RE: Installer Hangs at prepairing InstallShield
by Paolo on Saturday May 8th 2010, 9:15
I've got the same issue, I solved killing the DXSetup.exe process. If you don't know how to kill it, open a terminal and type "killall DXSetup.exe".

It seems this process hangs trying to detect directx presence.
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.
RE: Crack problems.
by Matthew Bauer on Saturday September 4th 2010, 15:32
You need msxml3.dll.

If you have winetricks you can do:
winetricks -q msxml3

If not you can try downloading the dll from somewhere.
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
RE: Stop in init screen
by greg on Wednesday July 14th 2010, 11:33
Hi,

I have the same issue...have you managed to resove it ?
RE: Stop in init screen
by Josh Stratton on Sunday December 26th 2010, 15:44
I had this issue until I turned on the xml dll overrides.
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..
RE: about 64bit dll's
by Elias K Gardner on Monday May 4th 2009, 15:29
I agree I'm a bit confused by this. However cive is not working for me currently so I assume I have the wrong .dll and most likely it is the 32 bit one. Any idea where I can find the 64 bit version of d3dx9_32.dll?
RE: about 64bit dll's
by argh! on Wednesday May 20th 2009, 12:38
No. but again, i dont think the 64bit version will be of any help
RE: about 64bit dll's
by Yfrwlf on Sunday May 24th 2009, 2:33
I'm running Ubuntu 8.10 64-bit, with Wine 1.1.21, and all I did to get Civ4 working was:
Install and patch Civ4 to version 1.74.
Copy d3dx9_31.dll and d3dx9_32.dll to the Civ4 dir.
Run with the DLL override command to have Wine use those DLLs you copied over instead of Wine's DLLs with the command:
WINEDLLOVERRIDES="msxml3=n;" wine Civilization4.exe

You may need to run that command from the Civ4 dir, I did but I don't know if that's needed. Haven't seen any glitches in Civ4 at all after doing this.
RE: about 64bit dll's
by Elias K Gardner on Sunday May 24th 2009, 12:04
Where did you copy d3dx9_31.dll and d3dx9_32.dll from?
Its stated above that you must get the 64bit versions from a 64 bit windows install but we are not sure if that is actually necessary.
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,
RE: 2 remaining problems to perfection
by dave on Wednesday March 11th 2009, 19:37
you might want check out the appdb civ4 version 1.74

appdb.winehq.org/objectManager.php?sClass=version&iId=8699&iTestingId=14797

i noticed some posts in there saying those problems were fixed somehow for them, but not everyone. i could be wrong its worth a look though

i havent been able to run the 1.74 patch to upgrade my version of civ4 myself, maybe you will have better luck
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.
RE: mouse trouble
by dave on Saturday March 7th 2009, 13:55
well i dont know what happened but it works now, all i did i uninstall wine totally and redid the the steps, but still it didnt work, so i left it for a couple days and loaded it up and the mouse works properly. i am satisfied that it works but am still curious as to what happened, any clues would be helpful thanks.
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.
RE: installation error
by dave on Thursday March 5th 2009, 10:21
updated to the 1.1.16 version of wine and tried to bypass the select path for disk two by copying disk1 and disk2 folders in the same spot and running setup.exe from there. I don't get the prompt for a new disk but I get the same error.
RE: installation error
by dave on Thursday March 5th 2009, 14:15
I gave up and downloaded an iso. That installed fine.

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
In the wine configuration UI (run: winecfg), under the tab "Libraries", you'll find an interface to do this.
RE:
by Anders Magnusson on Monday February 2nd 2009, 15:51
well.. You'll find an interface to add the overrides, at least.

The part about "remove these libraries from al game folders" means that you need to enter the directory where you installed the game (~/.wine/drive_c/Program\ Files/ etc) and remove any occurances of the files mentioned.

an easy way to do this would be by using find.
example:
(open up a terminal, then enter the dir where you installed civilization (very important).
Then, type:
find ./ -iname msxml3.dll -exec rm -v {} \;
find ./ -iname msxml3r.dll -exec rm -v {} \;

(if you are not currently in the directory you want this to affect, then this will delete all files called msxml3.dll and msxml3r.dll which exists in the dir you're in, and all of it's subfolders (recursively), so make sure you're in the right place)

the -v switch for rm makes it print out each removed file to the default output device (normally the same terminal you're in), so if you mess up, at least you know.
RE:
by Simon Martin Sørensen on Tuesday February 10th 2009, 10:44
I cant find msxml3r.dll in game directory.

And I cant find it in Wineconfig. But its in the system32 directory.

Simon
RE:
by Jonas Larsson on Thursday March 19th 2009, 10:54
Hi I have the same problem

They are there but they dont show in Wine.

Civ wont start for me
RE:
by Jonas Larsson on Thursday March 19th 2009, 11:12
Doh! "Homer moment" here
Didn't realise that you could type in the dll files :S

I have a slight problem still however, that the screen resolution don't resize back when I've exited Civ. Guess it's a DE issue tho.
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.
RE: multithreading lacking, unable to get sound working
by EyesOfARaven on Saturday October 11th 2008, 11:01
You should provide a few more details, such as your wine version (as well as whether you compiled it yourself, etc), distro, and anything else useful you might think of.

I can't promise we'll be able to assist, but with more detail perhaps we can. ^^
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
RE: InGame error
by anw on Sunday July 27th 2008, 13:20
solved ... I forgot set Windows version back from 98 to XP ... (:
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:".
RE: Not Working for Me.
by Tim on Tuesday July 1st 2008, 17:25
Haha never mind, I got it to work, I had to delete the msxml3.dll in the Beyond The Sword folder.
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.
RE: Beyond the Sword Install fails
by James on Sunday June 8th 2008, 21:27
An update -

I remembered how I got this to work before.
As far as I can tell, the only way to get it to work is to install the game in windows, and then copy the directory to linux.

It works almost perfectly. It runs slightly slower, and the city status graphics may still not be there, though.
RE: Beyond the Sword Install fails
by Miro on Sunday June 15th 2008, 10:05
I got the game to install by copying mscoree.dll to the wine system32 directory (from win xp installation). The game gives an error but does install. However, the games exis with run time error: abnormal program termination the console shows several hundred lines of:

fixme:mountmgr:harddisk_ioctl unsupported ioctl 70020

Note rc4 installation still does not work with rc5. I will try reinstalling with rc5 today.
RE: Beyond the Sword Install fails
by Xavier Vachon on Saturday June 21st 2008, 13:52
I do have that issue as well. Do you have an update regarding if there is a way to make the install work appropriately?
RE: Beyond the Sword Install fails
by James on Sunday June 22nd 2008, 15:47
The only way I've been able to get it to work is by installing it natively in Windows and copying the whole directory over to linux.
RE: Beyond the Sword Install fails
by Jeremy Apthorp on Tuesday August 5th 2008, 8:57
I'm not 100% sure what I did to get it to work, but I believe I copied mscoree.dll (and a couple of others) into my .wine/drive_c/windows/system32 directory, and the install still failed under wine.

I changed the windows version from 2000 to XP and it worked. Go figure.

Before that the installer was failing after "looking for and updating DirectX Runtime components"...
RE: Beyond the Sword Install fails
by Matthew Meyer on Wednesday November 5th 2008, 6:39
This worked for me as well. I copied mscoree.dll from my Windows installation System32 folder into the same directory in my wine installation, and I was able to install the game.

There was one error about mscoree.dll and .NET framework that popped up, but the install still completed.
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
i'va add a file that was reported missing in dxdiag.

Now Civ4 detected that harware configuration was too slow, and have lower the settings. But it is far from my result with windows : it work very slow.

I miss something but i do not know what
RE: Civ IV
by Maxhysteria on Tuesday June 10th 2008, 3:13
> fixme:d3d_surface:fb_copy_to_texture_direct >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glCopyTexSubImage2D @ surface.c / 2676

Maybe you have an ATI card...

I had to patch wine with this :
www.phoronix.com/forums/showthread.php?t=10104&page=3
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.

[email protected]
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.
RE: Seems to detect DVD fine nowadays
by Seppo Yli-Olli on Sunday May 11th 2008, 8:04
Eh, tried it a few times again. The ability to detect the DVD seems to be random. Forget the notice, needs debugging.
RE: Seems to detect DVD fine nowadays
by genstorm on Sunday May 18th 2008, 3:58
It has worked for me all the time since 0.9.50, I didn't think of this as an issue anymore.
RE: Seems to detect DVD fine nowadays
by Seppo Yli-Olli on Tuesday August 12th 2008, 12:54
Really? I'd be interested in some additional information. Which Linux distro? Which release? Did you compile your Wine? Did you compile your kernel? (If yes to latter, could you provide me with your kernel config?)
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?
RE: Hardy Problem?
by genstorm on Saturday April 26th 2008, 11:04
try to completely remove your wine-directory and do winecfg from scratch. if you haven't already ;)
RE: Hardy Problem?
by genstorm on Saturday April 26th 2008, 11:21
Concerning wine-0.9.60: I'm always at the bleeding edge and 0.9.60 hit the portage tree exactly a week ago - it didn't break anything, at least for me.

No special audio configuration needed as far as I'm concerned. Checked ALSA driver, full hw acceleration, 44100 Hz @16 bit in the wincfg menu.
RE: Hardy Problem?
by Dan on Saturday April 26th 2008, 16:27
Upgraded to .60 and it fixed my problem. Unfortunately sound is not working at all now. But from what I can gather from googling the problem this might be a problem with Hardy 64 & 32bit apps. So might be another case of waiting for an update unless someone can explain what I can do to get Wine audio working under Hardy 64.

Thanks for the reply.
RE: Hardy Problem or Wine Regressions?
by DirkHartog on Saturday May 10th 2008, 21:19
I too have had issues with the upgrade but that does not appear to be a hardy issue, more like some regressions with wine.

When I upgraded to Hardy (with wine 0.9.60), I noticed some slowness with the graphics, but this has been reported generally by some Hardy users in the ubuntu forums. C4C/BTS worked fine apart from that.

The problems started when upgrading wine to 1.0.0 rc1. All of a sudden, when I go to load a game, at the load screen, clicking the mouse on the file to be loaded does nothing. Trying to type the filename does nothing either. No matter what I do, the keyboard and mouse do nothing (except move the cursor around) and there is no way that I can escape from that screen except to hard-reboot the computer. On downgrading to 0.9.61 I have exactly the same problem.

On downgrading to 0.9.59, I had a different issue - at the end of the launch screen (the one with all the little messages) I get a black screen and a small message-window telling me that it was unable to load the pixel-shaders; on clicking the okay, civ quits. Regardless of my graphics settings, I still get the same message. So I have upgraded to 0.9.60 and locked at that version because it actually works for me.

A note about the sound; in looking into the message logs, I found one pointing out that it couldn't load at 44100 Hz and it automatically reset to 48000 Hz. So I have set my wine-cfg to ALSA driver, full hw acceleration, 48000 Hz @16 bit.

I hope this helps anyone with similar regression issues.
RE: Hardy Problem or Wine Regressions?
by Dan on Wednesday June 25th 2008, 3:04
I'm running it now on 1.0..

My audio skipping problems were fixed at about 9.6, everything seems to be running pretty good. Globe view is working. Multiplayer works well. Haven't tried running from DVD. Status bars are still missing, but that's not really anything to worry about.

A new problem has been random graphic glitches... noise/bars appearing on the screen... seems to be since 1.0, so hoping another update will fix that.

Getting steadily closer to perfect... :)
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?
RE: Splash screen locks up at
by Tadd on Sunday May 18th 2008, 13:50
I thought the same at first (OpenSuSE 10.2 Wine 0.9.51). But (for me) it just takes a really long time at the Init Audio point. Eventually, it continues and starts up. I get the same plethora of messages and the last is the ini.lnk at the long pause. So try waiting it out. It takes over 4 minutes for me. Something does seem wrong, but it starts and I have sound.
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?
RE: Can't even run setup...
by cMielack on Monday March 3rd 2008, 15:45
ok resolved itself after a reboot...
RE: Can't even run setup...
by LordBeeDoO on Monday March 3rd 2008, 15:58
:-)
RE: Can't even run setup...
by haraldjuhnke on Tuesday April 22nd 2008, 6:08
Hello,

I suffer from the same "wine: could not load L"D:\\setup.exe": Bad EXE format for" problem, but reboot doesn't work for me. Tried it several times and also could not find anything with google.

autorun.exe does show the autorun-screen, but if I click "Install", nothing happens further.

I used wine 0.9.57/58/59 on Ubuntu Gutsy.

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.
RE: Installation
by Jonathan Hseu on Thursday February 28th 2008, 20:39
Oh yeah, and to get it to patch, delete the InstallShield Installation Information folder.

It can be in the Program Files directory or sometimes in either the windows/profiles/your_username/Application Data or windows/profiles/All Users/Application Data directory.
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...
RE: here's all the tricks I've found collected in one post
by Peter Cordes on Wednesday February 27th 2008, 14:49
One other thing: civ4 is slow unless you have a really fast computer. save, exit, and restart helps a lot after a couple hours. (but it's a pain because I haven't figured out a command line to start the mod I'm playing, so I have to sit through two restarts.)
RE: here's all the tricks I've found collected in one post
by Andre Dias on Friday August 31st 2012, 23:48
U can load a mod by creating a new .ini and putting it in civ4.exe dir then running
wine "Civ4BeyondSword.exe 'ini= civ.ini' "

Its a great idea btw, since in the ini u can not only say the mod u wanna load, but change several memory related options
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
RE: Init Engine - resolution changed black then blue screen
by arnold on Monday March 3rd 2008, 14:38
is there nobody who could help me ?
i use wine 9.55
installation was successfull and i also use the no-cd patches but patching with civ4patch1.74_Final.exe causes an error.
i've bin told that there seems to be no CIV4 installed yet.
may somebody helb me ?
maybe i do something in the wrong direction?
i also tried to install dx9c which seem to work but there is no dxdiag.exe. in my system32 folder?
RE: Init Engine - resolution changed black then blue screen
by LordBeeDoO on Monday March 3rd 2008, 15:58
And you have Civ IV Complete or normal version ?

Init Engine error is connected with DX, if you see this error, it means, that you made a mistake in copying d3dx9 libraries.

As for me, installation of DirectX with installer corrupted my wine installation and made me reinstall wine completly.

no dxdiag.eyxe is needed, all you need are 5 (or 6 or so) libraries listed above in HOWTO.
RE: Init Engine - resolution changed black then blue screen
by arnold on Monday March 3rd 2008, 16:48
ok i used my english verry rarely the last 2 or 3 years so sorry for my mistakes ;)
i copied all the dlls (shown above) to my system32 folder
i still have trouble with patching my civ4 cause i get a warning which tells me that no valid civ4 installation is found ?
i've got complete of course and i downloaded all the no-cd patches.
are there maybe different no-cd patches for different civ versions ?
is the language important as well?
i use the two dlls native as described above also.
may it be helpfull if i post a log or something ?
RE: Init Engine - resolution changed black then blue screen
by LordBeeDoO on Monday March 3rd 2008, 17:12
Ok :-)

First, where did you get these libraries ? (downloaded from internet I assume, this should be ok)

What patch are you trying to use ? If you installe Civ 4 complete, all exes are on latest available versions. Nocd patches I found were just fixed exes, no installation was necessary (however, I cannot post any links here, of course)

It is always good to use proper language versions.
RE: Init Engine - resolution changed black then blue screen
by arnold on Tuesday March 4th 2008, 4:57
yes i downloaded the dlls from web.
ok so i do not have to patch my civ if i have allready civ complete installed right ?
i just found no-cd patches in english but my civ4 is in german so may this be the problem ?
i also made the two dlls described in the how to native in my wine configuration.
i could not find the msxml3r.dll in the drop down so i enterd it manually could this be a problem ?
RE: Init Engine - resolution changed black then blue screen
by LordBeeDoO on Sunday March 23rd 2008, 4:35
Wrong language version can be a problem. But if I remember correctly, samoe patches are multilanguage .
No, it should be allright.
RE: Init Engine - resolution changed black then blue screen
by arnold on Sunday March 23rd 2008, 5:08
ok it finally works don't ask me why ? ;)
but its very slow und screen freezes after a few minutes maybe ma laptop was too cheep ;)
RE: Init Engine - resolution changed black then blue screen
by LordBeeDoO on Sunday March 23rd 2008, 5:14
If your laptop has only integrated graphics adapter (Intel or something like that) you have no chance to play the game. Civ IV requires guite high performance, both CPU and graphics.
If you have a better graphics adapter, make sure that you have 3D acceleration enabled in linux and proper drivers
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 ?
RE: Install freeze
by Jeremy Apthorp on Tuesday August 5th 2008, 8:58
Try changing your windows version to XP, and putting mscoree.dll in your system32 directory.
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
RE: Audio issues
by Marcel on Monday January 28th 2008, 5:49
I have the same sound issue when loading a mod. Fortunately, you can specify a mod when starting the game with:
wine Civ4Beyondthesword.exe mod=$moddirectory

Also, the default mod can be specified in the Civilization.ini.
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..."
RE: Won't install with 0.9.51?
by Chris on Sunday January 6th 2008, 17:49
I will try now to downgrate my wine-Version. Try to install the game. And after this i came back to wine-0.9.51.

Thx.
RE: Won't install with 0.9.51?
by Chris on Tuesday January 8th 2008, 17:10
This worked! Now i can play this Game yeeeha :)

Thank you very much!
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.
RE: Excellent
by LordBeeDoO on Sunday January 6th 2008, 10:28
I have also failed to install Civ 4 Complete with Cedega. The flawlessness of install in wine suprised me and pleased me very much :-)

Where exactly do you mean ? In "world view" or in the City view ?

In the City view bars are correct in my setup.

In fact, I met a minor bud too:

I cannot declare war with Alt + Click on an enemy. The only way I can declare war is to cancel Open borders agreement and then move some unit into enemy's territory :-)

I have no experience with dual-head so far, so I cannot help with this.
RE: Excellent
by Hanni Ali on Sunday January 6th 2008, 11:29
In world view there is the city name then the bar beneath displays what the city is producing and indicator bars with the production progress and growth food bar.

I have not tried Alt-Click I just move units or use the diplomacy method to declare war, I will try though and report back.

I will also investigate dual-head myself.

Hanni
RE: Excellent
by Hanni Ali on Friday January 11th 2008, 8:36
I activated detailed city bars in the options which solved the non-displaying progress bars.

Alt also doesn't work for me, it can be used to select all cities in the world but doesn't work, however this does mean Alt-Tab works so I can see if I have any e-mails etc.

Hanni
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.
it works !!
by Jeremy VIES on Tuesday October 23rd 2007, 2:54
I've just tried it his morning, and it works !

I did the copy, of the windows installation.
I copied the d3dx_*.dll and the xml3*.dll files to my .wine/.../system32 directory.
I installed a nocd for bts.

And I started it !

thx a lot for the trick.
RE: How-to guide for 0.9.47
by Elias K Gardner on Wednesday October 24th 2007, 0:02
this is a copy of my post on the ubuntuforums.
ubuntuforums.org/showthread.php?p=3616735#post3616735

help im close. I followed the instructions from the link in post 64 [this link refers to the instructions in this wine thread above] with only three differences that I do not think matter.
-> civ was installed in vista not xp
-> used version 1.74 of civ IV (not 1.61) and 2.13 of warlords not (2.08)
-> have the civ file on a different install path

It takes an extremely long time for either of the three to open. Like in the range of 5 to 10 minutes.

Once in a can navigate the menus but before i start a game the colors get distorted and I am logged off of ubuntu.

Is the terminal output saved anywhere so that I can see what happened?

any other ideas?

This is a thinkpad x61 with intel x3100 graphics running 64 but gutsy and wine 0.9.47 -> let me know if anything else is helpful

thanks
crash and log off
by Elias K Gardner on Wednesday October 24th 2007, 11:07
so BTS is no longer taking between 3 and 30 minutes to get beyond the opening loading bar into full screen. I don't know what did this if it was a program running in the background or what.

What happens to me now: The game opens fine showing all the beginning movies. At some point when navigating the menus the colors will distort (many bright florescent colors possibly and 256 color scheme?) and the game will freeze for a second. Then I will be logged out of ubuntu.

How can I make or find a log of what is going on in the terminal here?
Or is there anything else I can try?
thanks
fix
by Elias K Gardner on Thursday October 25th 2007, 14:14
So i fixed the crash that would log me off. It appears to have been caused by having vertex shaders enabled.

Every so often the game still takes extreme amounts of time to open (from 5 to 30 minutes so far). If anyone has any ideas on this it would be appreciated.

Also like to know if anyone has had luck playing with an intel x3100 gpu. Its integrated but i thought it should be able to play games like civ. cheers
RE: How-to guide for 0.9.47
by deepcry on Monday May 11th 2009, 7:22
yeah, it works!

you can install MSI file using
wine explorer
and then dblcick msi file in it.
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 peque�os errores gr�ficos. 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 dem�s todo parece funcionar
RE: Works in 0.9.47
by Taras Vilkov on Saturday October 27th 2007, 13:26
I also have the problem with the city textures not showing up - they are just black. Also, some things like fish, cows etc. are black. I have WINE version 0.9.48 (same on 0.9.47), tried it with VertextShader off, but nothing changes. Apart from that everything runs perfectly at high frame rate + resolution.
RE: Works in 0.9.47
by Kreso Kunjas on Friday November 9th 2007, 15:18
i have the same issues with wine 0.9.47 and 0.9.48
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?
RE: Problem with patching
by Richard Hendrikse on Tuesday October 16th 2007, 11:55
Installing the patch *should* 'just work'
No overrides are necessary. I'd suggest trying again with 0.9.47, or else compile .44 manually if you cannot find a package for your distro at all.
Please make sure you attempt to patch with the same user as who installed it, try setting winver to windows XP as well.
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?
RE: Crashes with page fault
by Fredrik Persson on Sunday September 23rd 2007, 9:44
I may have found a solution; go to CivilizationIV.ini and set GUIManagedTextures = 1. The game starts now, but cities and animals are not textured, but solid black.
RE: Crashes with page fault
by ASDBigmac on Monday September 24th 2007, 6:19
I think we should stay with 0.9.44 by now. The PBO patch introduced in 0.9.45 broke the texture display, even with the .ini changes mentioned here. The pagefault was patched in the current GIT release, but sadly the textures are still black. I think it might be resolved in the next wine release.
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?
RE: Game refuses to install
by Costa on Saturday September 8th 2007, 13:16
You need to find and copy d3dx9_26.dll to your windows/system32 directory. Once I did that the installer no longer forced me to install DirectX 9.
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:
RE: I can't get it working
by Adam Dorsey on Tuesday July 24th 2007, 16:41
I have the same issue:
Wine 0.9.41
Ubuntu Feisty Fawn 7.04

The weird thing is it works on my machine at home with an nVidia video card, but doesn't on my laptop with an ATI Radeon.

I'm going to try using the fglrx drivers instead of the open source ones. Past that, I have no clue what's happening.
RE: I can't get it working
by Adam Dorsey on Tuesday July 24th 2007, 16:48
Didn't help.

I have no idea what the issue is.
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?
RE: After installation game doesn't run
by Patrick McGuire on Monday June 25th 2007, 20:20
had the exact same problem. running wine 9.39 on ubuntu feisty... this doesn't seem like my normal problem of ubuntu hating ati cards.
RE: After installation game doesn't run
by HoodedMan on Saturday August 4th 2007, 10:18
You probably see errors like this in the terminal:

err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"msxml3.dll"

So Wine can't load the native msxml3.dll... why ?
Because you miss msxml3r.dll! Just download that (fx @ dlldump.com ) and off you go :)

Fixed it for me
RE: After installation game doesn't run
by Serguei on Saturday September 1st 2007, 7:30
I also added msxml3a.dll, and ran the following command:
wine regsvr32 msxml3
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.
RE: Works for me too, finally
by Michael Katz on Tuesday August 14th 2007, 2:32
How do you change the shaders? Can't find it in the "Options" menu.
RE: Works for me too, finally
by John Hanely on Tuesday August 14th 2007, 12:10
On the 'graphics' tab in winecfg.
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.
RE: Version 9.38 Video issues
by Michael Katz on Tuesday August 14th 2007, 2:37
I also never get past the final "In the beginning..." voice over movie, and the map is totally black. Anybody know how to fix it? I've tried a lot of the stuff listed on this page, but no change.

Wine Version: 0.9.43
Graphics card: nVidia GeForce 8800 GTS 640MB
Distro: Ubuntu 7.04 Feisty Fawn
RE: Version 9.38 Video issues
by John Hanely on Tuesday August 14th 2007, 12:13
I had a totally black map if I turned on useGLSL in the registry.
RE: Version 9.38 Video issues
by Michael Katz on Tuesday August 14th 2007, 14:42
I also had the black map before I turned on useGLSL, but I'll try turn it off again anyway.
RE: Version 9.38 Video issues
by Michael Katz on Thursday August 23rd 2007, 6:08
I fixed the problem by disabling shaders in winecfg, but the game was veeeeery choppy even with low graphics.
RE: Version 9.38 Video issues
by Michael Katz on Saturday September 29th 2007, 14:46
I have a 8800 GTS graphics card, and updating the drivers to the latest version fixes the choppiness problem. The game is now very smooth. :)

But I've got one more problem. I get an error message that says "failed to allocate enough video memory" during the game when the graphics are set to high. How do I fix this?
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.
RE: Corrupted text
by Trevour on Friday May 25th 2007, 15:15
I ran the game in Konsole. Here's part of what it put out:
fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
fixme:d3d:IWineD3DDeviceImpl_UpdateSurface >>>>>>>>>>>>>>>>> 0x501 from glTexSubImage2D @ device.c / 4823
fixme:d3d:IWineD3DDeviceImpl_UpdateSurface >>>>>>>>>>>>>>>>> 0x501 from glTexSubImage2D @ device.c / 4823
fixme:d3d:IWineD3DDeviceImpl_UpdateSurface >>>>>>>>>>>>>>>>> 0x501 from glTexSubImage2D @ device.c / 4823
fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
RE:
by Chad Longstaff on Tuesday May 29th 2007, 12:10
I also needed the native d3dx9_26.dll. Seems fine except for intermittent sound problems and not showing the whole map when zooming out.
RE:d3dx9_26 override
by HHH on Monday July 2nd 2007, 5:41
hi,

i am at the same point now. but i do not succeed to override the d3dx9_26. when i open winecfg and i go to the libraries it is not offered to choose. when i enter the name manually i can start the game like before but the text is still corrupted.

so how did you guys override it?
RE:d3dx9_26 override
by Wain Hopkins on Monday July 16th 2007, 15:57
Download the file and put it in your windows/system32 folder. If it doesn't find it them specify with WINEDLLOVERRIDES="msxml3=n;d3dx9_26=n" wine civ4.exe.

Btw when I add d3dx9_26 it crashes "Unhandled page fault". I can grep (w/ winedebug) and the dll is never loaded so presumably it crashes while trying to load d3dx9_26.dll, whereas without it wine doesn't crash, it just says it needs the dll. Not sure what's wrong here.
RE:d3dx9_26 override
by Wain Hopkins on Monday July 16th 2007, 16:10
Somehow my d3dx9_26.dll went bad. I downloaded the file again and it works just fine now!

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
Looks like the html parser screwed up my URI here's the real one:

/home/YOUR_USER_NAME/My Games/Sid Meier's Civilization 4/CivilizationIV.ini
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
the latest patch removes the DRM requirement. no need to crack it, just run the updater.
Back