WineHQ
Sid Meier's Civilization IV Complete



Category: Main > Games > Strategy Games > Turn-Based > Sid Meier's Civilization IV > Complete


NameSid Meier's Civilization IV
VersionComplete
License Retail
URLhttp://www.civiv.com
Votes 40
Link Beyond The Sword Patch
Link Civilization IV Patch
Link Warlords Patch
Link Wiki Page
RatingPlatinum
Wine Version1.5.22
Free Download Patch Download URL
Free Download N/A
Maintainers of this version:
Description

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!


Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results (selected in 'Test Results' table below)

What works

­­­­­­­­Civilization IV, Warlords, Beyond the Sword­, as well as mods:­­­
Singleplayer, again validated through severe stress testing with a late 18civs game (scenario).
Multiplayer (via direct IP)
No crashes so far during several hours of continuous gameplay.

Bugs corrected since 0.9.57:
­­wine-0.9.58: 8429 Civilization 4: Map display issu­es (no terrain textures)
­­­wine-0.9.59: 11260 Civilization 4: land surfaces turn black between turns

PS: It works perfectly fine and smooth with enlightenment(e17) virtual desktop switching. ;)

­


What does not

­­Minor annoyances (health bars won't show, globe view incomplete).

­


What was not tested

­­World Builder


Additional Comments


Test Results
DistributionTest dateWine versionInstalls?Runs?RatingSubmitter
ShowLinux Mint 13 "Maya"Feb 01 20131.5.22 Yes Yes Platinum Stephan Muhs 
ShowArch Linux x86_64Jan 30 20131.5.22 Yes Yes Gold Jepaan 
ShowUbuntu 12.04 "Precise" (+ variants like Kubuntu)Jan 09 20131.5.21 Yes Yes Bronze Chris 
ShowDebian GNU/Linux 6.0 "Squeeze"Dec 02 20121.5.14 Yes Yes Gold mike 
ShowLinux Mint 13 "Maya" x86_64Sep 02 20121.5.11 Yes Yes Gold an anonymous user 


Known bugs
Bug # Description Status Resolution Other apps affected
17284 Civilization IV crashes on Intel gpu NEW View
18027 Switching to another window using Alt+Tab doesn't work if Civilization 4 was started in fullscreen mode UNCONFIRMED View
19634 Civilization 4 crashes NEW View
22618 Civ4 crashes after loading correctly NEW View
24064 Many steam games crash because of GameOverlayRenderer.dll NEW View
24819 Grand Ages: Rome installer: "Couldn't get the string value for the game tasks folder" NEW View
25323 Civilization IV Beyond the Sword crashed when trying to start a new game. NEW View
25614 install repeats after copying to the disk UNCONFIRMED View
26142 Civilization 4: Screen turns black on turn end with built-in msxml UNCONFIRMED View
30992 msxml3 incorrectly ignores whitespaces (needed for Civilization IV) NEW View

 
Required DLL's

Confirmed - 

msvcr71, msxml3

Unconfirmed -

msxml3r.dll, mscoree.dll, streamci.dll, ddrawex.dll


 
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, 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"


 
x64

(updated 2010-01-10)

This game needs the proper d3dx9_xx library. For version 1.74, the library is the 32 (d3dx9_32.dll). Nevertheless, keep in mind that Microsoft has released different d3dx9_32.dll for the 32 bit windows and the 64 bit Windows. At present, only 32 bit Wine is able to run applications; when installing native dlls, use the 32 bit ones for 32 bit Wine (even if running on a 64 bit OS).


 
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.



 

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

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"

[post new] [reply to this]

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

[post new] [reply to this]

  • RE: Cleanup by z0wb13 on Saturday March 9th 2013, 20:30
I think Intel sna may break this game
by Alex on Thursday January 17th 2013, 21:51
Not 100% sure SNA is the issue, as my Wine may have auto-updated since the last time I played it, but having an issue now where the game won't render any 3D (just a black screen with the HUD overlay) after zooming, until you pan around the map to a black area and then come back to an area that's filled.

[post new] [reply to this]

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...

[post new] [reply to this]

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

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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?

[post new] [reply to this]

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

[post new] [reply to this]

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

[post new] [reply to this]


by Thomas Benn 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 ;)

[post new] [reply to this]

Wrong DVD
by Thomas Benn 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?

[post new] [reply to this]

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?

[post new] [reply to this]

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.

[post new] [reply to this]

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??

[post new] [reply to this]

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!

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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 ...

[post new] [reply to this]

civ 4 black out
by Snoopy on Friday May 20th 2011, 20:57
I put msxml3r and msxml3 to system32 folder
and I started civ 4 v.1.74 one my computer.
It started fine, but when I finish developing
calendar, the game screen gets black except
HUD. I can't see what did I do wrong. Do you
guys have any idea to fix this problem?

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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

[post new] [reply to this]

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...

[post new] [reply to this]

Problem with Civ4
by James Sparrow on Sunday January 30th 2011, 18:32
Hiall,

I have a problem running Civilization 4 complete on Linux Ubuntu with wine 1.3.10 using the wineprefix function of PlayOnLinux after following exactly the steps described in the test appdb.winehq.org/objectManager.php?sClass=version&iId=10158, using e.g. a GForce 8200.
After installing Civ4 complete (DVD) on the cleaned wine version I updated with BTS 3.19 (it seemed to me that Civ4 and Warlords were already actual on DVD). Then I copied exactly the mentioned dlls to the wine system32 folder (d3dx9_26.dll d3dx9_31.dll d3dx9_32.dll d3dx9_33.dll d3dx9_34.dll msxml3.dll msxml3r.dll), set the overrides and removed the mentioned files from the game folder (there was only one in BTS).
Starting the game in terminal would crash as in vanilla Civ4 as in Warlords as in BTS at "Init Engine", telling about "serious errors" and ending the program. BTS start looks like that:

user@desktop:~$ wine /home/user/.PlayOnLinux/wineprefix/Civ4/drive_c/Programme/2K\ Games/Firaxis\ Games/Sid\ Meier\'s\ Civilization\ 4\ Complete/Beyond\ the\ Sword/Civ4BeyondSword.exe -v
fixme:system:SystemParametersInfoW Unimplemented action: 55 (SPI_SETMOUSEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
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"Z:\\home\\user\\.PlayOnLinux\\wineprefix\\Civ4\\drive_c\\Programme\\2K Games\\Firaxis Games\\Sid Meier's Civilization 4 Complete\\Beyond the Sword\\Logs.lnk"
err:menubuilder:wWinMain failed to build menu item for L"Z:\\home\\user\\.PlayOnLinux\\wineprefix\\Civ4\\drive_c\\Programme\\2K Games\\Firaxis Games\\Sid Meier's Civilization 4 Complete\\Beyond the Sword\\Logs.lnk"
err:menubuilder:Process_Link unable to load L"Z:\\home\\user\\.PlayOnLinux\\wineprefix\\Civ4\\drive_c\\Programme\\2K Games\\Firaxis Games\\Sid Meier's Civilization 4 Complete\\Beyond the Sword\\Saves.lnk"
err:menubuilder:wWinMain failed to build menu item for L"Z:\\home\\user\\.PlayOnLinux\\wineprefix\\Civ4\\drive_c\\Programme\\2K Games\\Firaxis Games\\Sid Meier's Civilization 4 Complete\\Beyond the Sword\\Saves.lnk"
err:menubuilder:Process_Link unable to load L"Z:\\home\\user\\.PlayOnLinux\\wineprefix\\Civ4\\drive_c\\Programme\\2K Games\\Firaxis Games\\Sid Meier's Civilization 4 Complete\\Beyond the Sword\\CivilizationIV.ini.lnk"
err:menubuilder:wWinMain failed to build menu item for L"Z:\\home\\user\\.PlayOnLinux\\wineprefix\\Civ4\\drive_c\\Programme\\2K Games\\Firaxis Games\\Sid Meier's Civilization 4 Complete\\Beyond the Sword\\CivilizationIV.ini.lnk"
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x1c007a 0x00000000
'import site' failed; use -v for traceback
fixme:win:EnumDisplayDevicesW ((null),0,0x32ed18,0x00000000), stub!
wine: Unhandled page fault on write access to 0x00000ca7 at address 0xf5c9ec24 (thread 0009), starting debugger...
Unhandled exception: page fault on write access to 0x00000ca7 in 32-bit code (0xf5c9ec24).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:f5c9ec24 ESP:0032ea18 EBP:ffffffff EFLAGS:00010246( R- -- I Z- -P- )
EAX:00000000 EBX:7da42450 ECX:00000000 EDX:00000000
ESI:0032eb78 EDI:7d9d2c68
Stack dump:
0x0032ea18: c1d00057 beef0003 bfef1b3f 7d8cdff0
0x0032ea28: 0032ea40 7d9d2c68 7e0aaff4 00000000
0x0032ea38: 0032eb78 00000000 0032eb40 f5ca9298
0x0032ea48: 7d9d2c68 bfef1b3f 00000098 f5a0a000
0x0032ea58: 0032ea70 7dab3758 00000000 00000020
0x0032ea68: 0032eb30 0032eb34 00000000 7da59a10
Backtrace:
0xf5c9ec24: movl %eax,0xca8(%ebp)
Modules:
Module Address Debug info Name (129 modules)
PE 330000- 343000 Deferred zlib1
PE 350000- 35e000 Deferred hapdbg
PE 400000- 100a000 Deferred civ4beyondsword
PE 1010000- 137f000 Deferred d3dx9_33
PE 1ac0000- 1f81000 Deferred cvgamecoredll
PE ae80000- ae8d000 Deferred msssrs.flt
PE b730000- b75e000 Deferred mssmp3.asi
PE b870000- b8aa000 Deferred mssvoice.asi
PE bf10000- bf2e000 Deferred mssdsp.flt
PE c040000- c04c000 Deferred mssds3d.flt
PE c160000- c16a000 Deferred mssdolby.flt
PE c280000- c2a0000 Deferred msseax.flt
PE 10000000-1002b000 Deferred boost_python-vc71-mt-1_32
PE 18000000-18038000 Deferred binkw32
PE 1e000000-1e1ca000 Deferred python24
PE 21100000-2118c000 Deferred mss32
PE 74980000-74ab0000 Deferred msxml3
ELF 7b800000-7b97b000 Deferred kernel32
\-PE 7b810000-7b97b000 \ kernel32
ELF 7bc00000-7bcb7000 Deferred ntdll
\-PE 7bc10000-7bcb7000 \ ntdll
ELF 7bf00000-7bf04000 Deferred
PE 7c340000-7c396000 Deferred msvcr71
PE 7c3a0000-7c41b000 Deferred msvcp71
ELF 7dee3000-7df17000 Deferred uxtheme
\-PE 7def0000-7df17000 \ uxtheme
ELF 7df17000-7df21000 Deferred libxcursor.so.1
ELF 7df21000-7df27000 Deferred libxfixes.so.3
ELF 7df27000-7df2b000 Deferred libxcomposite.so.1
ELF 7df2b000-7df33000 Deferred libxrandr.so.2
ELF 7df33000-7df3d000 Deferred libxrender.so.1
ELF 7df3d000-7df43000 Deferred libxxf86vm.so.1
ELF 7df43000-7df47000 Deferred libxinerama.so.1
ELF 7df47000-7df68000 Deferred imm32
\-PE 7df50000-7df68000 \ imm32
ELF 7df68000-7df6e000 Deferred libxdmcp.so.6
ELF 7df6e000-7df72000 Deferred libxau.so.6
ELF 7df72000-7df8c000 Deferred libxcb.so.1
ELF 7df8c000-7df91000 Deferred libuuid.so.1
ELF 7df91000-7e0ae000 Deferred libx11.so.6
ELF 7e0ae000-7e0be000 Deferred libxext.so.6
ELF 7e0be000-7e0d7000 Deferred libice.so.6
ELF 7e0d7000-7e0e0000 Deferred libsm.so.6
ELF 7e0fd000-7e19f000 Deferred winex11
\-PE 7e110000-7e19f000 \ winex11
ELF 7e1e1000-7e208000 Deferred libexpat.so.1
ELF 7e208000-7e238000 Deferred libfontconfig.so.1
ELF 7e238000-7e24d000 Deferred libz.so.1
ELF 7e24d000-7e2c4000 Deferred libfreetype.so.6
ELF 7e2e1000-7e329000 Deferred dsound
\-PE 7e2f0000-7e329000 \ dsound
ELF 7e329000-7e410000 Deferred oleaut32
\-PE 7e340000-7e410000 \ oleaut32
ELF 7e410000-7e483000 Deferred rpcrt4
\-PE 7e420000-7e483000 \ rpcrt4
ELF 7e483000-7e581000 Deferred ole32
\-PE 7e4a0000-7e581000 \ ole32
ELF 7e581000-7e595000 Deferred lz32
\-PE 7e590000-7e595000 \ lz32
ELF 7e595000-7e5c2000 Deferred ws2_32
\-PE 7e5a0000-7e5c2000 \ ws2_32
ELF 7e5c2000-7e657000 Deferred winmm
\-PE 7e5d0000-7e657000 \ winmm
ELF 7e657000-7e6d8000 Deferred msvcrt
\-PE 7e670000-7e6d8000 \ msvcrt
ELF 7e6d8000-7e7c2000 Deferred comctl32
\-PE 7e6e0000-7e7c2000 \ comctl32
ELF 7e7c2000-7e823000 Deferred shlwapi
\-PE 7e7d0000-7e823000 \ shlwapi
ELF 7e823000-7e9fc000 Deferred shell32
\-PE 7e830000-7e9fc000 \ shell32
ELF 7e9fc000-7ea56000 Deferred advapi32
\-PE 7ea10000-7ea56000 \ advapi32
ELF 7ea56000-7eae1000 Deferred gdi32
\-PE 7ea60000-7eae1000 \ gdi32
ELF 7eae1000-7ec11000 Deferred user32
\-PE 7eaf0000-7ec11000 \ user32
ELF 7ef9a000-7efa6000 Deferred libnss_files.so.2
ELF 7efa6000-7efbd000 Deferred libnsl.so.1
ELF 7efbd000-7efe3000 Deferred libm.so.6
ELF 7efe7000-7f000000 Deferred version
\-PE 7eff0000-7f000000 \ version
ELF f4f28000-f5c68000 Deferred libglcore.so.1
ELF f5c68000-f5d0c000 Export libgl.so.1
ELF f5d29000-f5e61000 Deferred wined3d
\-PE f5d30000-f5e61000 \ wined3d
ELF f5e61000-f5eff000 Deferred crypt32
\-PE f5e70000-f5eff000 \ crypt32
ELF f6806000-f6808000 Deferred libnvidia-tls.so.1
ELF f6809000-f683d000 Deferred d3d9
\-PE f6810000-f683d000 \ d3d9
ELF f6851000-f688e000 Deferred rsaenh
\-PE f6860000-f688e000 \ rsaenh
ELF f6891000-f68ad000 Deferred libgcc_s.so.1
ELF f68ad000-f68c3000 Deferred midimap
\-PE f68b0000-f68c3000 \ midimap
ELF f68c3000-f68ea000 Deferred msacm32
\-PE f68d0000-f68ea000 \ msacm32
ELF f68ea000-f6903000 Deferred msacm32
\-PE f68f0000-f6903000 \ msacm32
ELF f6903000-f690a000 Deferred libogg.so.0
ELF f690a000-f6932000 Deferred libvorbis.so.0
ELF f6932000-f6aaa000 Deferred libvorbisenc.so.2
ELF f6aaa000-f6af6000 Deferred libflac.so.8
ELF f6af6000-f6b32000 Deferred libdbus-1.so.3
ELF f6b32000-f6b9a000 Deferred libsndfile.so.1
ELF f6b9a000-f6ba3000 Deferred libwrap.so.0
ELF f6ba3000-f6bb1000 Deferred libxi.so.6
ELF f6bb1000-f6bfb000 Deferred libpulsecommon-0.9.21.so
ELF f6bfb000-f6c00000 Deferred libxcb-atom.so.1
ELF f6c00000-f6c06000 Deferred libxtst.so.6
ELF f6c06000-f6c09000 Deferred libx11-xcb.so.1
ELF f6c09000-f6c4b000 Deferred libpulse.so.0
ELF f6c4b000-f6c54000 Deferred librt.so.1
ELF f6c54000-f6d1a000 Deferred libasound.so.2
ELF f6d26000-f6d2c000 Deferred libasound_module_pcm_pulse.so
ELF f7369000-f73a0000 Deferred winealsa
\-PE f7370000-f73a0000 \ winealsa
ELF f73cc000-f73e2000 Deferred wtsapi32
\-PE f73d0000-f73e2000 \ wtsapi32
ELF f73e3000-f740a000 Deferred winhttp
\-PE f73f0000-f740a000 \ winhttp
ELF f7442000-f744d000 Deferred libnss_nis.so.2
ELF f744e000-f7452000 Deferred libdl.so.2
ELF f7452000-f75ad000 Deferred libc.so.6
ELF f75ae000-f75c7000 Deferred libpthread.so.0
ELF f75c8000-f75d0000 Deferred libnss_compat.so.2
ELF f75e4000-f7724000 Deferred libwine.so.1
ELF f7726000-f7744000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\home\user\.PlayOnLinux\wineprefix\Civ4\drive_c\Programme\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\Civ4BeyondSword.exe
00000035 0
00000034 15
00000033 15
00000032 15
00000030 15
0000002f 0
00000009 0

[post new] [reply to this]

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...

[post new] [reply to this]

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...

[post new] [reply to this]

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!

[post new] [reply to this]

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).

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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?

[post new] [reply to this]

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).

[post new] [reply to this]

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. :)

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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. :)

[post new] [reply to this]

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.

[post new] [reply to this]

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?!

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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?

[post new] [reply to this]

BUFFY MOD (hall of fame games)
by Thomas on Wednesday July 14th 2010, 0:47
BUFFY works with wine-1.2rc7 (was actually fixed in rc1 iirc) after a fix.

-Fix:
Replace msvcr71.dll in your game directory (located 2 places in the steam version, use "find") with msvcr71.dll from your wine/system32 and it works like a charm.

[post new] [reply to this]

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

[post new] [reply to this]

Civ 4 still crashes under Wine
by C.S. on Thursday June 17th 2010, 12:37
Hi, i'm using Wine 1.2rc3 and OpenSUSE 11.0 and did all the hints on this page but my Civilization IV still crashes during playing:

--------------------------------------
fixme:d3d:buffer_PreLoad Too many full buffer conversions, stopping converting
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 128 (GLX)
Minor opcode of failed request: 27 (X_GLXCreatePbuffer)
Serial number of failed request: 24362
Current serial number in output stream: 24363
libxcb: WARNING! Program tries to lock an already locked connection,
which indicates a programming error.
There will be no further warnings about this issue.
-----------------------------------------

and also sometimes in this way:
-----------------------------------------
wine_dbg_vprintf: debugstr buffer overflow (contents: 'err:alsa:wine_snd_pcm_recover underrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderrun occurredunderru')
wine: Assertion failed at address 0xffffe430 (thread 003e), starting debugger...
----------------------------------

Please, can anyone tell me, what this messages means & how to fix this errors?

[post new] [reply to this]

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

[post new] [reply to this]

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.

[post new] [reply to this]

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

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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

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

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

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

Any tips?

[post new] [reply to this]

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

[post new] [reply to this]

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?

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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

[post new] [reply to this]

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?

[post new] [reply to this]

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 ?

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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

[post new] [reply to this]

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.

[post new] [reply to this]

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

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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?

[post new] [reply to this]

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.

[post new] [reply to this]

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

[post new] [reply to this]

winetricks
by tadadata on Wednesday March 25th 2009, 12:56
Had the same error, installing MS XML 3 via winetricks does the trick. :-)

[post new] [reply to this]

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..

[post new] [reply to this]

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

[post new] [reply to this]

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/

[post new] [reply to this]

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

[post new] [reply to this]

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,

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]


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

[post new] [reply to this]

  • RE: by Anders Magnusson on Monday February 2nd 2009, 15:42
  • RE: by Anders Magnusson on Monday February 2nd 2009, 15:51
    • RE: by Simon Martin Sørensen on Tuesday February 10th 2009, 10:44
      • RE: by Jonas Larsson on Thursday March 19th 2009, 10:54
        • RE: by Jonas Larsson on Thursday March 19th 2009, 11:12
Fresh config fixes a lot of things
by kakalto 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.

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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?

[post new] [reply to this]

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?

[post new] [reply to this]

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.

[post new] [reply to this]

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...

[post new] [reply to this]

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!

[post new] [reply to this]

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.

[post new] [reply to this]

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?

[post new] [reply to this]

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.

[post new] [reply to this]

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

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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:".

[post new] [reply to this]

Installer quits
by Andrew W on Wednesday June 25th 2008, 21:57
Midway through the install (I got past the DirectX check), the game is copying data onto the HD when I get this popup:

Feature transfer error

Feature: Default feature
Component: WarlordsComponent
File: D:\data2.cab
Error: not ready

OK

I click OK and the installer quits.

The terminal output:

fixme:reg:GetNativeSystemInfo (0x331a8c) using GetSystemInfo()
fixme:richedit:RichEditWndProc_common WM_STYLECHANGING: stub
fixme:richedit:RichEditWndProc_common WM_STYLECHANGED: stub
err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination
err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination
fixme:richedit:RichEditWndProc_common WM_STYLECHANGING: stub
fixme:richedit:RichEditWndProc_common WM_STYLECHANGED: stub
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
fixme:urlmon:DownloadBSC_OnStopBinding No cache file
fixme:msi:MSI_OpenDatabaseW open failed r = 80030003 for L"\\C:\\windows\\temp\\{BCC507A0-4327-11DD-C68D-0016CBC078B3}\\{32E4F0D2-C135-475E-A841-1D59A0D22989}\\vcredist.msi"
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
fixme:mscoree:GetCORVersion (0x33f730, 600, 0x33f71c): semi-stub!
fixme:mscoree:LoadLibraryShim (0xdb2be8 L"fusion.dll", (nil), (nil), 0x33ee28): semi-stub
fixme:fusion:GetCachePath (00000002, L"\1216\0011\e1543\8444\7bc8\8000\7ffd\df443\df683\6ec1\7bc4\bec8\0011\1178\0011", 0x33dc34) stub!
fixme:fusion:GetCachePath (00000002, L"", 0x33dc34) stub!
fixme:fusion:GetCachePath (00000002, L"", 0x33dc34) stub!
fixme:fusion:GetCachePath (00000002, L"", 0x33dc34) stub!
fixme:fusion:GetCachePath (00000002, L"", 0x33dc34) stub!
fixme:fusion:GetCachePath (00000002, L"", 0x33dc34) stub!
fixme:fusion:GetCachePath (00000002, L"", 0x33dc34) stub!
fixme:fusion:GetCachePath (00000002, L"", 0x33dc34) stub!
fixme:fusion:GetCachePath (00000002, L"", 0x33dc34) stub!
eINEDLLOVERRIDES="msxml3=n" wine /media/cdrom0/setup.exe
ubuntu@ubuntu-desktop:~$ ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
fixme:reg:GetNativeSystemInfo (0x331a8c) using GetSystemInfo()
fixme:richedit:RichEditWndProc_common WM_STYLECHANGING: stub
fixme:richedit:RichEditWndProc_common WM_STYLECHANGED: stub
err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination
err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination
fixme:richedit:RichEditWndProc_common WM_STYLECHANGING: stub
fixme:richedit:RichEditWndProc_common WM_STYLECHANGED: stub
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
fixme:urlmon:DownloadBSC_OnStopBinding No cache file
fixme:msi:MSI_OpenDatabaseW open failed r = 80030003 for L"\\C:\\windows\\temp\\{0430C3D0-4329-11DD-C68D-0016CBC078B3}\\{32E4F0D2-C135-475E-A841-1D59A0D22989}\\vcredist.msi"
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
wine: Unhandled page fault on read access to 0x01023b70 at address 0x7b8539db (thread 0039), starting debugger...
Unhandled exception: page fault on read access to 0x01023b70 in 32-bit code (0x7b8539db).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7b8539db ESP:7df3a4e0 EBP:7df3a548 EFLAGS:00010202( - 00 - -RI1)
EAX:00000001 EBX:7b8b3884 ECX:7e71c5a0 EDX:01023b70
ESI:00000073 EDI:01023b70
Stack dump:
0x7df3a4e0: 00000073 00000000 7df3a5cc b7e0da59
0x7df3a4f0: 00000000 00000384 00000000 00000000
0x7df3a500: 00000000 00000000 00000000 7bc33d21
0x7df3a510: 00000001 00000007 7e71c5a4 7bc336cf
0x7df3a520: 00127a20 7e71979c 7df3a568 7e6bcbbd
0x7df3a530: 7e71c5a0 1007efda 7e649690 7b8b3884
Backtrace:
=>1 0x7b8539db __wine_emulate_instruction+0x4b() in kernel32 (0x7df3a548)
2 0x7b854c54 INSTR_vectored_handler+0x64() in kernel32 (0x7df3a568)
3 0x7bc3ad77 in ntdll (+0x2ad77) (0x7df3a5e8)
4 0x7bc3b219 __regs_RtlRaiseException+0x29() in ntdll (0x7df3a658)
5 0x7bc64ecc in ntdll (+0x54ecc) (0x7df3a678)
6 0xdeadbabe (0x7df3a9d8)
7 0x7ed42c9e WINPROC_wrapper+0x6fe() in user32 (0x7df3aa18)
8 0x7ed47535 in user32 (+0xb7535) (0x7df3aee8)
9 0x7ed480fb in user32 (+0xb80fb) (0x7df3af28)
10 0x7ed0b11a in user32 (+0x7b11a) (0x7df3af98)
11 0x7ed0e39d in user32 (+0x7e39d) (0x7df3aff8)
12 0x7ed0e80a SendMessageW+0x4a() in user32 (0x7df3b038)
13 0x7ed361c6 in user32 (+0xa61c6) (0x7df3b098)
14 0x7ed36265 in user32 (+0xa6265) (0x7df3b0f8)
15 0x7ed374bd DestroyWindow+0x1bd() in user32 (0x7df3b138)
16 0x10081b7b in issetup (+0x81b7b) (0x7df3b160)
17 0x10081afb in issetup (+0x81afb) (0x7df3b19c)
18 0x100427c7 in issetup (+0x427c7) (0x7df3b208)
19 0x7e9cffc8 in ole32 (+0x6ffc8) (0x7df3b268)
20 0x7e9b1fd4 in ole32 (+0x51fd4) (0x7df3b2d8)
21 0x7e9b83a2 RPC_ExecuteCall+0x552() in ole32 (0x7df3b3b8)
22 0x7e986389 in ole32 (+0x26389) (0x7df3b3d8)
23 0x7ed425ba WINPROC_wrapper+0x1a() in user32 (0x7df3b408)
24 0x7ed42c9e WINPROC_wrapper+0x6fe() in user32 (0x7df3b448)
25 0x7ed45ac1 in user32 (+0xb5ac1) (0x7df3b908)
26 0x7ed480c2 in user32 (+0xb80c2) (0x7df3b948)
27 0x7ed0a826 DispatchMessageA+0x96() in user32 (0x7df3b988)
28 0x10041cf9 in issetup (+0x41cf9) (0x7df3ba04)
29 0x10096662 in issetup (+0x96662) (0x7df3ba38)
30 0x7bc6aeae call_thread_entry_point+0xe() in ntdll (0x7df3ba48)
31 0x7bc6b542 in ntdll (+0x5b542) (0x7df3bae8)
32 0x7bc6b772 in ntdll (+0x5b772) (0x7df3c3d8)
33 0xb7e084fb start_thread+0xcb() in libpthread.so.0 (0x7df3c4c8)
0x7b8539db __wine_emulate_instruction+0x4b in kernel32: movzbl 0x0(%edx),%esi
Modules:
Module Address Debug info Name (101 modules)
PE 3a0000- 3fa000 Deferred _setup
PE 400000- 470000 Deferred _is3da3
PE 10000000-10194000 Export issetup
ELF 7b800000-7b92d000 Export kernel32
\-PE 7b820000-7b92d000 \ kernel32
ELF 7bc00000-7bca4000 Export ntdll
\-PE 7bc10000-7bca4000 \ ntdll
ELF 7bf00000-7bf03000 Deferred
ELF 7df3d000-7df87000 Deferred riched20
\-PE 7df50000-7df87000 \ riched20
ELF 7df87000-7df9a000 Deferred riched32
\-PE 7df90000-7df9a000 \ riched32
ELF 7df9a000-7df9e000 Deferred libgpg-error.so.0
ELF 7df9e000-7dfeb000 Deferred libgcrypt.so.11
ELF 7dfeb000-7dffb000 Deferred libtasn1.so.3
ELF 7dffb000-7e003000 Deferred libkrb5support.so.0
ELF 7e003000-7e035000 Deferred libcrypt.so.1
ELF 7e035000-7e0ab000 Deferred libgnutls.so.13
ELF 7e0ab000-7e0ce000 Deferred libk5crypto.so.3
ELF 7e0ce000-7e15b000 Deferred libkrb5.so.3
ELF 7e15b000-7e184000 Deferred libgssapi_krb5.so.2
ELF 7e184000-7e1b7000 Deferred libcups.so.2
ELF 7e1b7000-7e1ed000 Deferred winspool
\-PE 7e1c0000-7e1ed000 \ winspool
ELF 7e1ed000-7e201000 Deferred midimap
\-PE 7e1f0000-7e201000 \ midimap
ELF 7e201000-7e227000 Deferred msacm32
\-PE 7e210000-7e227000 \ msacm32
ELF 7e227000-7e23e000 Deferred msacm32
\-PE 7e230000-7e23e000 \ msacm32
ELF 7e23e000-7e301000 Deferred libasound.so.2
ELF 7e30e000-7e344000 Deferred winealsa
\-PE 7e320000-7e344000 \ winealsa
ELF 7e344000-7e3d6000 Deferred winmm
\-PE 7e350000-7e3d6000 \ winmm
ELF 7e3d6000-7e411000 Deferred rsaenh
\-PE 7e3e0000-7e411000 \ rsaenh
ELF 7e411000-7e479000 Deferred crypt32
\-PE 7e420000-7e479000 \ crypt32
ELF 7e4ce000-7e501000 Deferred uxtheme
\-PE 7e4d0000-7e501000 \ uxtheme
ELF 7e501000-7e50a000 Deferred libxcursor.so.1
ELF 7e50a000-7e50f000 Deferred libxfixes.so.3
ELF 7e50f000-7e512000 Deferred libxcomposite.so.1
ELF 7e512000-7e518000 Deferred libxrandr.so.2
ELF 7e518000-7e520000 Deferred libxrender.so.1
ELF 7e520000-7e523000 Deferred libxinerama.so.1
ELF 7e523000-7e543000 Deferred imm32
\-PE 7e530000-7e543000 \ imm32
ELF 7e543000-7e548000 Deferred libxdmcp.so.6
ELF 7e548000-7e560000 Deferred libxcb.so.1
ELF 7e560000-7e563000 Deferred libxau.so.6
ELF 7e563000-7e64a000 Deferred libx11.so.6
ELF 7e64a000-7e658000 Deferred libxext.so.6
ELF 7e658000-7e65d000 Deferred libxxf86vm.so.1
ELF 7e65d000-7e675000 Deferred libice.so.6
ELF 7e675000-7e67d000 Deferred libsm.so.6
ELF 7e67d000-7e680000 Deferred libkeyutils.so.1
ELF 7e680000-7e683000 Deferred libcom_err.so.2
ELF 7e68a000-7e721000 Deferred winex11
\-PE 7e6a0000-7e721000 \ winex11
ELF 7e732000-7e753000 Deferred libexpat.so.1
ELF 7e753000-7e77d000 Deferred libfontconfig.so.1
ELF 7e77d000-7e77f000 Deferred libxcb-xlib.so.0
ELF 7e78a000-7e79f000 Deferred libz.so.1
ELF 7e79f000-7e80f000 Deferred libfreetype.so.6
ELF 7e81c000-7e8be000 Deferred oleaut32
\-PE 7e830000-7e8be000 \ oleaut32
ELF 7e8be000-7e8d1000 Deferred libresolv.so.2
ELF 7e8d1000-7e8ef000 Deferred iphlpapi
\-PE 7e8e0000-7e8ef000 \ iphlpapi
ELF 7e8ef000-7e950000 Deferred rpcrt4
\-PE 7e900000-7e950000 \ rpcrt4
ELF 7e950000-7e9f4000 Export ole32
\-PE 7e960000-7e9f4000 \ ole32
ELF 7e9f4000-7ea4d000 Deferred shlwapi
\-PE 7ea00000-7ea4d000 \ shlwapi
ELF 7ea4d000-7eb60000 Deferred shell32
\-PE 7ea60000-7eb60000 \ shell32
ELF 7eb60000-7eb74000 Deferred lz32
\-PE 7eb70000-7eb74000 \ lz32
ELF 7eb74000-7eb8d000 Deferred version
\-PE 7eb80000-7eb8d000 \ version
ELF 7eb8d000-7ebdf000 Deferred advapi32
\-PE 7eba0000-7ebdf000 \ advapi32
ELF 7ebdf000-7ec7a000 Deferred gdi32
\-PE 7ebf0000-7ec7a000 \ gdi32
ELF 7ec7a000-7edc1000 Export user32
\-PE 7ec90000-7edc1000 \ user32
ELF 7edc1000-7ee80000 Deferred comctl32
\-PE 7edd0000-7ee80000 \ comctl32
ELF 7ee80000-7ee98000 Deferred libnsl.so.1
ELF 7ee98000-7eea1000 Deferred libnss_compat.so.2
ELF 7efce000-7eff3000 Deferred libm.so.6
ELF 7eff5000-7f000000 Deferred libnss_files.so.2
ELF b7ca0000-b7caa000 Deferred libnss_nis.so.2
ELF b7caf000-b7cb3000 Deferred libdl.so.2
ELF b7cb3000-b7e02000 Deferred libc.so.6
ELF b7e03000-b7e1b000 Export libpthread.so.0
ELF b7e28000-b7f5e000 Deferred libwine.so.1
ELF b7f60000-b7f7c000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008
00000009 0
0000000c
00000012 0
0000000e 0
0000000d 0
0000000f
00000016 0
00000015 0
00000011 0
00000010 0
00000017
00000018 0
00000037 (D) C:\windows\temp\_is3da3.exe
0000003a 0
00000039 0 1 0x7b8539db __wine_emulate_instruction+0x4b() in kernel32 (0x7df3a548)
2 0x7b854c54 INSTR_vectored_handler+0x64() in kernel32 (0x7df3a568)
3 0x7bc3ad77 in ntdll (+0x2ad77) (0x7df3a5e8)
4 0x7bc3b219 __regs_RtlRaiseException+0x29() in ntdll (0x7df3a658)
5 0x7bc64ecc in ntdll (+0x54ecc) (0x7df3a678)
6 0xdeadbabe (0x7df3a9d8)
7 0x7ed42c9e WINPROC_wrapper+0x6fe() in user32 (0x7df3aa18)
8 0x7ed47535 in user32 (+0xb7535) (0x7df3aee8)
9 0x7ed480fb in user32 (+0xb80fb) (0x7df3af28)
10 0x7ed0b11a in user32 (+0x7b11a) (0x7df3af98)
11 0x7ed0e39d in user32 (+0x7e39d) (0x7df3aff8)
12 0x7ed0e80a SendMessageW+0x4a() in user32 (0x7df3b038)
13 0x7ed361c6 in user32 (+0xa61c6) (0x7df3b098)
14 0x7ed36265 in user32 (+0xa6265) (0x7df3b0f8)
15 0x7ed374bd DestroyWindow+0x1bd() in user32 (0x7df3b138)
16 0x10081b7b in issetup (+0x81b7b) (0x7df3b160)
17 0x10081afb in issetup (+0x81afb) (0x7df3b19c)
18 0x100427c7 in issetup (+0x427c7) (0x7df3b208)
19 0x7e9cffc8 in ole32 (+0x6ffc8) (0x7df3b268)
20 0x7e9b1fd4 in ole32 (+0x51fd4) (0x7df3b2d8)
21 0x7e9b83a2 RPC_ExecuteCall+0x552() in ole32 (0x7df3b3b8)
22 0x7e986389 in ole32 (+0x26389) (0x7df3b3d8)
23 0x7ed425ba WINPROC_wrapper+0x1a() in user32 (0x7df3b408)
24 0x7ed42c9e WINPROC_wrapper+0x6fe() in user32 (0x7df3b448)
25 0x7ed45ac1 in user32 (+0xb5ac1) (0x7df3b908)
26 0x7ed480c2 in user32 (+0xb80c2) (0x7df3b948)
27 0x7ed0a826 DispatchMessageA+0x96() in user32 (0x7df3b988)
28 0x10041cf9 in issetup (+0x41cf9) (0x7df3ba04)
29 0x10096662 in issetup (+0x96662) (0x7df3ba38)
30 0x7bc6aeae call_thread_entry_point+0xe() in ntdll (0x7df3ba48)
31 0x7bc6b542 in ntdll (+0x5b542) (0x7df3bae8)
32 0x7bc6b772 in ntdll (+0x5b772) (0x7df3c3d8)
33 0xb7e084fb start_thread+0xcb() in libpthread.so.0 (0x7df3c4c8)

Using Wine 1.0 on Ubuntu 8.04, ATI Radeon X1600 graphics card, 2006 IntelMac.

[post new] [reply to this]

XML Error
by Xavier Vachon on Sunday June 15th 2008, 18:37
I have installed Civ4 and the warlords expansion so far, the Beyond the Sword installation crashes right after it begins to copy the files. I installed the DX9 patch and the missing librairies as mentioned, however I cannot find the librairies I am supposed to delete in the game directory. Are they hidden?

Both games produce these errors at startup:

Error locating tag node in SetGlobalClassInfo function
Current XML file is : GameInfo/CIV4PlayerOptionInfos.xml

Error locating tag node in SetGlobalClassInfo function
Current XML file is : GameInfo/CIV4GraphicOptionInfos.xml

And afterwards the game vanishes. Any idea on what is possibly wrong?

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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"

[post new] [reply to this]

  • RE: Civ IV by coco 1150 on Sunday June 8th 2008, 12:07
    • RE: Civ IV by Maxhysteria on Tuesday June 10th 2008, 3:13
Making it run with 1.0-rc1
by Darryl Dixon on Friday May 16th 2008, 7:16
Well, the forum just ate 90% of my previous post, so I guess I can't post full details here, sorry everyone...

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

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

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

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

Hope this helps someone.

darryl.dixon@gmail.com

[post new] [reply to this]

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.

[post new] [reply to this]

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?

[post new] [reply to this]

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?

[post new] [reply to this]

Crash when starting.
by luke on Sunday March 2nd 2008, 20:18
After using all of the natives dlls and other instructions, whenever I try starting the game I get a crash with the following log:

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: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
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
err:menubuilder:WinMain failed to build menu item for C:\program files\firaxis games\sid meier's civilization 4\Beyond the Sword\Logs.lnk
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 C:\program files\firaxis games\sid meier's civilization 4\Beyond the Sword\CivilizationIV.ini.lnk
fixme:shell:DllCanUnloadNow stub
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:winhttp:WinHttpCheckPlatform stub
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x10005e 0x00000000
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
wine: Unhandled exception 0xc06d007f at address 0x7b840b64 (thread 0018), starting debugger...
Unhandled exception: 0xc06d007f in 32-bit code (0x7b840bde).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7b840bde ESP:0034f518 EBP:0034f57c EFLAGS:00000212( - 00 - -IA1)
EAX:7b82bfd9 EBX:7b8ab8a0 ECX:00000000 EDX:0034f5a8
ESI:0034f5a8 EDI:00000000
Stack dump:
0x0034f518: 0034f5a8 00000004 7bc85434 c06d007f
0x0034f528: 00000000 00000000 7b840b64 00000001
0x0034f538: 0034f5ac 7bc85434 0034f574 0034f554
0x0034f548: 7bc39664 c000007a 00c10924 0034f584
0x0034f558: 7b86256b c000007a 0034f574 00000000
0x0034f568: 0034f570 7b86252b 7b840b6e 00c10924
Backtrace:
=>1 0x7b840bde RaiseException+0x7a() in kernel32 (0x0034f57c)
2 0x004e9160 in civ4beyondsword (+0xe9160) (0x00000000)
0x7b840bde RaiseException+0x7a in kernel32: subl $4,%esp
Modules:
Module Address Debug info Name (98 modules)
PE 350000- 35e000 Deferred hapdbg
PE 360000- 373000 Deferred zlib1
PE 400000- 105317e Export civ4beyondsword
PE 1060000- 13cf000 Deferred d3dx9_33
PE 1cc0000- 2164000 Deferred cvgamecoredll
PE 10000000-1002b000 Deferred boost_python-vc71-mt-1_32
PE 18000000-18038000 Deferred binkw32
PE 1e000000-1e1ca000 Deferred python24
PE 21100000-2118c000 Deferred mss32
PE 74980000-74ab0000 Deferred msxml3
ELF 7b800000-7b925000 Export kernel32
\-PE 7b820000-7b925000 \ kernel32
ELF 7bc00000-7bca1000 Deferred ntdll
\-PE 7bc10000-7bca1000 \ ntdll
ELF 7bf00000-7bf03000 Deferred
PE 7c340000-7c396000 Deferred msvcr71
PE 7c3a0000-7c41b000 Deferred msvcp71
ELF 7cbff000-7cc13000 Deferred wtsapi32
\-PE 7cc00000-7cc13000 \ wtsapi32
ELF 7cc13000-7cc27000 Deferred winhttp
\-PE 7cc20000-7cc27000 \ winhttp
ELF 7cc27000-7cc44000 Deferred imm32
\-PE 7cc30000-7cc44000 \ imm32
ELF 7cc85000-7ccb7000 Deferred uxtheme
\-PE 7cc90000-7ccb7000 \ uxtheme
ELF 7ccb7000-7cccb000 Deferred midimap
\-PE 7ccc0000-7cccb000 \ midimap
ELF 7cccb000-7cd91000 Deferred libasound.so.2
ELF 7cffd000-7d023000 Deferred msacm32
\-PE 7d000000-7d023000 \ msacm32
ELF 7d023000-7d03a000 Deferred msacm32
\-PE 7d030000-7d03a000 \ msacm32
ELF 7d03a000-7d06f000 Deferred winealsa
\-PE 7d040000-7d06f000 \ winealsa
ELF 7d06f000-7d078000 Deferred libxcursor.so.1
ELF 7d078000-7d07d000 Deferred libxfixes.so.3
ELF 7d07d000-7d085000 Deferred libxrender.so.1
ELF 7d867000-7d869000 Deferred libnvidia-tls.so.1
ELF 7d869000-7e31c000 Deferred libglcore.so.1
ELF 7e31c000-7e3c0000 Deferred libgl.so.1
ELF 7e3c0000-7e3c5000 Deferred libxdmcp.so.6
ELF 7e3c5000-7e3c8000 Deferred libxau.so.6
ELF 7e3c8000-7e4b9000 Deferred libx11.so.6
ELF 7e4b9000-7e4c7000 Deferred libxext.so.6
ELF 7e4c7000-7e4cc000 Deferred libxxf86vm.so.1
ELF 7e4cc000-7e4e4000 Deferred libice.so.6
ELF 7e4e4000-7e4ec000 Deferred libsm.so.6
ELF 7e4ec000-7e4ef000 Deferred libxcomposite.so.1
ELF 7e4ef000-7e4f5000 Deferred libxrandr.so.2
ELF 7e500000-7e590000 Deferred winex11
\-PE 7e510000-7e590000 \ winex11
ELF 7e60c000-7e62c000 Deferred libexpat.so.1
ELF 7e62c000-7e657000 Deferred libfontconfig.so.1
ELF 7e657000-7e66c000 Deferred libz.so.1
ELF 7e66c000-7e6dc000 Deferred libfreetype.so.6
ELF 7e6f0000-7e755000 Deferred msvcrt
\-PE 7e700000-7e755000 \ msvcrt
ELF 7e755000-7e780000 Deferred ws2_32
\-PE 7e760000-7e780000 \ ws2_32
ELF 7e780000-7e799000 Deferred version
\-PE 7e790000-7e799000 \ version
ELF 7e799000-7e858000 Deferred comctl32
\-PE 7e7a0000-7e858000 \ comctl32
ELF 7e858000-7e8af000 Deferred shlwapi
\-PE 7e860000-7e8af000 \ shlwapi
ELF 7e8af000-7e9b3000 Deferred shell32
\-PE 7e8c0000-7e9b3000 \ shell32
ELF 7e9b3000-7ea53000 Deferred oleaut32
\-PE 7e9c0000-7ea53000 \ oleaut32
ELF 7ea53000-7ea66000 Deferred libresolv.so.2
ELF 7ea66000-7ea7a000 Deferred lz32
\-PE 7ea70000-7ea7a000 \ lz32
ELF 7ea7a000-7ea98000 Deferred iphlpapi
\-PE 7ea80000-7ea98000 \ iphlpapi
ELF 7ea98000-7eaf6000 Deferred rpcrt4
\-PE 7eaa0000-7eaf6000 \ rpcrt4
ELF 7eaf6000-7eb97000 Deferred ole32
\-PE 7eb00000-7eb97000 \ ole32
ELF 7eb97000-7ec2e000 Deferred gdi32
\-PE 7ebb0000-7ec2e000 \ gdi32
ELF 7ec2e000-7ed65000 Deferred user32
\-PE 7ec50000-7ed65000 \ user32
ELF 7ed65000-7edf1000 Deferred winmm
\-PE 7ed70000-7edf1000 \ winmm
ELF 7edf1000-7ee3b000 Deferred dsound
\-PE 7ee00000-7ee3b000 \ dsound
ELF 7ee3b000-7ee85000 Deferred advapi32
\-PE 7ee50000-7ee85000 \ advapi32
ELF 7efa4000-7efaf000 Deferred libnss_files.so.2
ELF 7efaf000-7efc7000 Deferred libnsl.so.1
ELF 7efc7000-7efec000 Deferred libm.so.6
ELF 7efed000-7eff7000 Deferred libnss_nis.so.2
ELF 7eff7000-7f000000 Deferred libnss_compat.so.2
ELF b7cc3000-b7cc7000 Deferred libdl.so.2
ELF b7cc7000-b7e11000 Deferred libc.so.6
ELF b7e12000-b7e2a000 Deferred libpthread.so.0
ELF b7e3e000-b7f52000 Deferred libwine.so.1
ELF b7f54000-b7f70000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008
00000009 0
0000000a
0000000b 0
0000000c
0000000f 0
0000000e 0
0000000d 0
00000010
00000013 0
00000012 0
00000011 0
00000014
00000016 0
00000015 0
00000017 (D) C:\program files\firaxis games\sid meier's civilization 4\Beyond the Sword\Civ4BeyondSword.exe
0000002e 15
0000002d 0
00000018 0 1 0x7b840bde RaiseException+0x7a() in kernel32 (0x0034f57c)
2 0x004e9160 in civ4beyondsword (+0xe9160) (0x00000000)

[post new] [reply to this]

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?

[post new] [reply to this]

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!! :)

[post new] [reply to this]

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.

[post new] [reply to this]

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...

[post new] [reply to this]

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

[post new] [reply to this]

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 ?

[post new] [reply to this]

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

[post new] [reply to this]

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?

[post new] [reply to this]

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.

[post new] [reply to this]

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

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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

[post new] [reply to this]

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?

[post new] [reply to this]

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!

[post new] [reply to this]

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

[post new] [reply to this]

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.

[post new] [reply to this]

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

[post new] [reply to this]

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?

[post new] [reply to this]

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)

[post new] [reply to this]

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.

[post new] [reply to this]

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.

[post new] [reply to this]

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?

[post new] [reply to this]

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.

[post new] [reply to this]

division by zero error
by oliver on Friday September 14th 2007, 11:40
I can get Civ4 installed, Civ4 1.62 patch, and play it just fine using the NoCD crack.

The installer for BTS runs just fine, but running the game actually doesn't work (also with NoCD crack) I haven't tried the latest patch yet (303) as it doesn't have a NoCD crack so far.

Here's what I get:

WINEDLLOVERRIDES="msxml3=n" wine /home/games/Civilization4/Beyond\ the\ Sword/Civ4BeyondSword.exe

wine: Unhandled division by zero at address 0x7bf8fbf0 (thread 0031), starting debugger...
Unhandled exception: divide by zero in 32-bit code (0x7bf8fbf0).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7bf8fbf0 ESP:0033f7d4 EBP:0033f88c EFLAGS:00010216( - 00 -RIAP1)
EAX:0001f400 EBX:7bffd64c ECX:7c328bf8 EDX:00000000
ESI:0033f878 EDI:00146be8
Stack dump:
0x0033f7d4: 7c328bf8 00146be8 00000001 0000000f
0x0033f7e4: 00000000 7bf8fbd6 7c4caff4 7c4b253c
0x0033f7f4: 7c328bf8 00003e80 0033f874 00000000
0x0033f804: 00000020 00000000 00000000 00000000
0x0033f814: 00000000 00000000 00110000 7efe3ff4
0x0033f824: 00146b9c 00000000 0033f87c 00000000
Backtrace:
=>1 0x7bf8fbf0 snd_pcm_bytes_to_frames+0x20() in libasound.so.2 (0x0033f88c)
2 0x7c4b333d in winealsa (+0x1333d) (0x0033f8cc)
3 0x7e4fefee IDirectSoundCaptureBufferImpl_Create+0x23e() in dsound (0x0033f91c)
4 0x7e4ff746 IDirectSoundCaptureImpl_CreateCaptureBuffer+0x66() in dsound (0x0033f95c)
5 0x00a2c32c in civ4beyondsword (+0x62c32c) (0x00000000)
0x7bf8fbf0 snd_pcm_bytes_to_frames+0x20 in libasound.so.2: divl 0xa4(%ecx),%eax


I installed it the following way:
rm -rf .wine (don't do this if you have important stuff there)
wineprefixcreate
winecfg (change sound to alsa 44100/16bit), I like to add a driver with /home/games being Z and D being / but that of course is optional.
wine msiexec.exe \i msxml3.msi
cp d3dx9_26.dll - d3dx9_34.dll to ~/.wine/drive_c/windows/system32/
WINEDLLOVERRIDES="msxml3=n" wine setup.exe
WINEDLLOVERRIDES="msxml3=n" wine Civ4Patch162.exe
WINEDLLOVERRIDES="msxml3=n" wine setup.exe (bts)
WINEDLLOVERRIDES="msxml3=n" wine Civ4BTS.exe
crash.

[post new] [reply to this]

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?

[post new] [reply to this]

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?

[post new] [reply to this]

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

[post new] [reply to this]

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

[post new] [reply to this]

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:

[post new] [reply to this]

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?

[post new] [reply to this]

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?

[post new] [reply to this]

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

[post new] [reply to this]

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.

[post new] [reply to this]

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)

[post new] [reply to this]

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.

[post new] [reply to 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.

[post new] [reply to this]


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

[post new] [reply to this]

  • RE: by Dan on Thursday May 24th 2007, 13:55
RE:
by Wain Hopkins on Friday January 13th 2006, 20:27
I have civ 4 installed on WIndows across the network and whenever I try to run it I get the same errors. The DLLs are right there in the directory!

[post new] [reply to this]

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.

[post new] [reply to this]

  • RE: by z0wb13 on Tuesday March 19th 2013, 12:00

by Daniel Michael on Sunday November 6th 2005, 9:47
You can actually just click "cancel" on the DirectX installation and the game will install. I haven't managed to get it to run, though.

[post new] [reply to this]

  • RE: by Jerry on Tuesday January 29th 2008, 14:48
    • RE: by Mike on Friday January 30th 2009, 3:19



   << Back

Page loaded in 0.23096 seconds.