[Wine] Civ4 in Wine 1.1.25 on Ubuntu 9.04

Note New version on wine 1.2 rc 1
Ubuntu is Version 10.04 LTS Edition

Solution to Choppy Audio or Audio Suddenly dropping out.

2 fold solution.

1) Civ 4 Options, use System Configuration for Audio, even if you have others audio devices, don't use them.

2) Under Wines audio options, you must use Emulation, this will allow flawless sounds, songs, sound effects etc. No sudden choppy audio or Audio dropping out all together.

to install Follow the instructions on the Application on Ubuntu web site for Firaxis Games with Civilization 4 BTS, Warlords and Original

Play's great, I also use mods Bug 4.4, bat 2.3 etc.

Rede, CD is needed to play Vanilla or warlords (2nd I don't have), BTS 3.19 is no CD
 
Yeah, I got it to work, Thank you Emperorfool.

Solution for Linux systems (Ubuntu 10.04 specifically)

Open home folder 1st. (Places from panel, Home Folder)
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/Sid Meiers Civ 4/Beyond the sword/Assets (this is where you need to place the Mods CoreGameCiv4.dll file into (RENAME THE ORIGINAL 1st) or you'll be sowwie.

Start game and check that the mods loaded properly. Of course you've done all the other bits you needed to do, the easy bits, this is difficult (to find)

Spoiler :
Just to prove It actually does.​





Wine HQ Civ 4 dedicated page
 
Installing this game on 10.04 is harder than I thought. If someone can post an updated walkthrough, it would be nice.

Edit: I figured it out and now it's working. It's a little slower than on Windows, but it's ok.
 
I am running Civ4 BTS, ROM A New Dawn in VirtualBox 3.1.8 in OpenSuSE 11.3, KDE 3.4.4, kernel 2.6.34.7-0.4-desktop x86-64. Hardware is SC Athlon Turion 64, 2.2 G, GE7950gt, 512 ddr3, 2.0g ddr ram, 4g swap. Guest is WinXP SP2.

I have the proprietary version of VBox with guest additions installed. I do not think it will work without that. It works great, actually runs a little better than if did under native WinXP and I can instantly and smoothly switch to any of my open windows or open another, which did not work so well in native XP. It did it but not really well.

Previously I had tried to get it to work with Wine without success, nor could I get it to work in VBox. After I recently upgraded to 11.3 and updated all my apps, including VB, I tried to install it again on a whim. Wonder of wonders, it worked.

So for all you having trouble getting it to work in Wine you might want to give VirtualBox a try. This should also work for OSX.
 
VirtualBox:

I am running Civ4 BTS, ROM A New Dawn in VirtualBox 3.1.8 in OpenSuSE 11.3, KDE 3.4.4, kernel 2.6.34.7-0.4-desktop x86-64. Hardware is SC Athlon Turion 64, 2.2 G, GE7950gt, 512 ddr3, 2.0g ddr ram, 4g swap. Guest is WinXP SP2.

I have the proprietary version of VBox with guest additions installed. I do not think it will work without that. It works great, actually runs a little better than if did under native WinXP and I can instantly and smoothly switch to any of my open windows or open another, which did not work so well in native XP. It did it but not really well.

Previously I had tried to get it to work with Wine without success, nor could I get it to work in VBox. After I recently upgraded to 11.3 and updated all my apps, including VB, I tried to install it again on a whim. Wonder of wonders, it worked.

So for all you having trouble getting it to work in Wine you might want to give VirtualBox a try. This should also work for OSX.

Great to hear you got BtS running under VirtualBox.

Linux KVM:

I see no reason why Linux KVM wouldn't work just as well and probably much better. I'm under the impression that KVM works far more efficiently that VirtualBox. Of course you will need a system with virtual machine support in the processor, but any recent AMD or Intel processor will suffice in this regard.

Performance issue:

No virtual machine (even KVM) will run as fast as Wine (or Codeweaver's CrossOver Games). You will always be far better off using Wine or CrossOver Games; I've heard they actually run some Games more efficiently than MS Windows can. I'm positive this is because the Windows NT kernel is a real hog/dog of a kernel, especially compared to the kernel preemption code in the Linux kernel. NT is based on the still unproven micro-kernel design whereas the Linux kernel is Monolithic and thus doesn't have the communication overhead that paralyzes micro-kernel designs.

Micro-kernel researchers are still trying to get sufficient performance out of their designs. Microsoft should just abandon their pathetic attempts at OS design and use the Linux kernel as their core and get graphics out of the kernel into user space where it belongs. No, that's too much work. Actually, Microsoft could really improve their OS by buying out CodeWeavers and basing all their new operating systems on Debian GNU/Linux. I would love to see Richard M. Stallman (the GNU guy) welcoming Steve Ballmer to the Free Software Community with a hearty handshake and hug!

Linux kernel to improve latency by a factor of 10:

Also, I just heard of a new Linux kernel scheduling patch that will allow one to do Linux kernel compiles on multiple cores/processor threads (those of us that are not kernel hackers would presumably be running something else in the background) while running glitch free video like for example Civ V or BtS. The Linux's creator Linus Torvalds (a self-professed bastard) had high praise for this new patch that reduces latency by a factor 10! This won't help BtS run faster, since it is single threaded, but your kernel compiles will not affect game performance/video stability. Is Civ V multithreaded? Seems unlikely, since it is very slow on adequate hardware. If it is multithreaded, it might run many times faster on Linux/Wine than on any current MS Windows.

Sun Tzu Wu
 
Just did the BTS install in arch linux and made some notes.

As has been noted, civ4 needs the MS xml and direct3d dlls. Didn't need to do any fancy manual copying or configuration though, i found the current winetricks script installs that stuff in such a way that civ4 works ok with it.

my System: kernel 2.6.36, x86_64, nvidia driver 260.19.29-1, wine 1.3.10

as root, install the following packages
Code:
wine
lib32-mpg123 lib32-libxml2 lib32-openal
wine_gecko
fuseiso
winetricks

as user:

initalize the wine data dir for your civ4 install:
Code:
cd ~
mkdir wine
WINEARCH=win32 WINEPREFIX=~/wine/civ4 winecfg
# you need to give the WINEARCH=win32 on 64 bit systems
# if you don't, then wine would setup the dir configured for 64 bit by default,
# which is not recommended if you wan't to run a 32 bit app
# giving a WINEPREFIX is optional, if you don't the data dir will be ~/.wine 

Wine config dialog should pop up.
In the Audio tab, let wine autodetect device, Test -> Apply -> OK

WINEPREFIX=~/wine/civ4 winetricks corefonts
WINEPREFIX=~/wine/civ4 winetricks msxml3
WINEPREFIX=~/wine/civ4 winetricks d3dx9

install Vanilla:

Code:
# mount the cd image
fuseiso -p /bigfiles/isos/civ4/CIV.iso /tmp/civ4-cd

# Setup Civ4. Leave all options on default.
WINEPREFIX=~/wine/civ4 wine /tmp/civ4-cd/setup.exe

# Patch
WINEPREFIX=~/wine/civ4 wine /bigfiles/civ4/Patches/Civ4Patch1.74_Final.exe

# Nocd      (haven't tried if leaving out this step
#               or installing/playing from physical media would work)
cd ~/wine/civ4/drive_c/Program\ Files/Firaxis\ Games/Sid\ Meier\'s\ Civilization\ 4/
mv Civilization4.exe Civilization4.exe.original
cp /bigfiles/civ4/Nocd/Civilization4.exe .

# play the game
WINEPREFIX=~/wine/civ4 wine ~/wine/civ4/drive_c/Program\ Files/Firaxis\ Games/Sid\ Meier\'s\ Civilization\ 4/Civilization4.exe

# unmount cd image
fusermount -u /tmp/civ4-cd/

Warlords is the same:
Code:
fuseiso -p /bigfiles/isos/civ4/Warlords.iso  /tmp/wl-cd
WINEPREFIX=~/wine/civ4 wine /tmp/wl-cd/setup.exe 
WINEPREFIX=~/wine/civ4 wine /bigfiles/civ4/Patches/Civ4WarlordsPatch2.13.exe 
cd wine/civ4/drive_c/Program\ Files/Firaxis\ Games/Sid\ Meier\'s\ Civilization\ 4/Warlords/
mv Civ4Warlords.exe Civ4Warlords.exe.original
cp /bigfiles/civ4/Nocd/Civ4Warlords.exe .
WINEPREFIX=~/wine/civ4 wine ~/wine/civ4/drive_c/Program\ Files/Firaxis\ Games/Sid\ Meier\'s\ Civilization\ 4/Warlords/Civ4Warlords.exe
fusermount -u /tmp/wl-cd

BTS:
Code:
fuseiso -p /bigfiles/isos/civ4/CIV\ Beyond\ the\ sword.iso /tmp/bts-cd
WINEPREFIX=~/wine/civ4 wine /tmp/bts-cd/setup.exe

# unchecked []install gamespy and []register firaxis newsletter

WINEPREFIX=~/wine/civ4 wine /bigfiles/civ4/Patches/Civ4BeyondTheSwordPatch3.19.exe

WINEPREFIX=~/wine/civ4 wine ~/wine/civ4/drive_c/Program\ Files/Firaxis\ Games/Sid\ Meier\'s\ Civilization\ 4/Beyond\ the\ Sword/Civ4BeyondSword.exe
fusermount -u /tmp/bts-cd

BUG / BULL
Code:
WINEPREFIX=~/wine/civ4 wine /bigfiles/civ4/BUG/BUGMod_4.4.exe
# choose default (single player) install method

# Unpack BULL files in temp dir
cd tmp/
mkdir bull
cd bull/
unzip /bigfiles/civ4/BUG/BULL_1.2.zip

# replace the BTS dll with BULL Version
cd Assets/
pushd ~/wine/civ4/drive_c/Program\ Files/Firaxis\ Games/Sid\ Meier\'s\ Civilization\ 4/Beyond\ the\ Sword/Assets/
mv CvGameCoreDLL.dll CvGameCoreDLL.dll.original
popd
mv CvGameCoreDLL.dll  ~/wine/civ4/drive_c/Program\ Files/Firaxis\ Games/Sid\ Meier\'s\ Civilization\ 4/Beyond\ the\ Sword/Assets/

# copy folders from BULL's Assets folder into your CustomAssets folder
# the following is a little ackward, but i think it's necessary to rename
# all folder names in Bull Zip file to lower case, since the folders have
# lower case in the My\ Documents CustomAssest folder too and unix
# is case sensitive.
mv Art/ art
mv Res/ res
mv res/Fonts/ res/fonts
mv XML/ xml
mv xml/Text/ xml/text
cp -rv * ~/wine/civ4/drive_c/users/mintegar/My\ Documents/My\ Games/Beyond\ the\ Sword/CustomAssets/
 
Well this is embarrassing, I have a slight amendment to my earlier posting on the CivAltRoot.py path way's.


1st step- Windows XP emulation is assumed, alter for other operating software accordingly.


Windows XP pathway: “C:/users/(user name)/My Documents/My Games/Beyond the Sword”.


2nd Step- Alter the Rootdir text at the base of this file, the PINK TEXT to read, (just over write)


Rootdir =C:/users/(user name)/My Documents/My Games/Beyond the Sword


Copy and paste this file into the Assets/Python folder, or one folder up into assets and then into Python, overwriting any existing copy of this file (if any)


Really its the same pathway to the Civilization4.ini file, its just the way Windows handles it.


Under Ubuntu, there are 2 pathway's to this file, this will eliminate the error message that Bug (Version you have) can't find the Civilization4.ini file.


It still works without this, but best to fix totally. Never know what else may go wrong.


Q. How do I know this actually works, you've gotten it wrong before, so it seems.
A. Till YOU stop snipping from the balcony, and come on the stage to preform, you'll be forever dancing to my Tune, my little puppet.


If you care to Look into Ubuntu's directories, You'll find this under Drive_C for C:/ Full directory is
/(root)/home/(user name)/.wine/drive_c/users/(user name)/My Documents/My Games/Beyond the Sword.





Spoiler :




Just abbreviate down to C:/ as its Emulating Windows directories.
 
Last edited:
Due to some circumstances I've come over to the linux side of operations, and am now trying to get situated games-wise as work things are taken care of. I'm having serious issues running civ IV. Literally :rolleyes:, the message is "the game has encountered a serious problem and will close" or some such. No luck doing it graphically, so I ran the WINE command in terminal and got:

Spoiler :

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"C:\\Program Files\\2K Games\\Firaxis Games\\Sid Meier's Civilization 4 Gold\\Beyond the Sword\\Logs.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\2K Games\\Firaxis Games\\Sid Meier's Civilization 4 Gold\\Beyond the Sword\\Logs.lnk"
err:menubuilder:process_Link unable to load L"C:\\Program Files\\2K Games\\Firaxis Games\\Sid Meier's Civilization 4 Gold\\Beyond the Sword\\Saves.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\2K Games\\Firaxis Games\\Sid Meier's Civilization 4 Gold\\Beyond the Sword\\Saves.lnk"
err:menubuilder:process_Link unable to load L"C:\\Program Files\\2K Games\\Firaxis Games\\Sid Meier's Civilization 4 Gold\\Beyond the Sword\\CivilizationIV.ini.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\2K Games\\Firaxis Games\\Sid Meier's Civilization 4 Gold\\Beyond the Sword\\CivilizationIV.ini.lnk"
fixme:msxml:schema_cache_add (0x18d5a0)->(L"x-schema:CIV4GameInfoSchema.xml", var(vt 9)): stub
fixme:msxml:domdoc_putref_schemas (0x1b11c8): semi-stub
fixme:msxml:domdoc_putref_schemas (0x1b11c8): semi-stub
wine: Unhandled page fault on read access to 0x00000000 at address 0x1ba235d (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x01ba235d).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:01ba235d ESP:0032f9d4 EBP:01ba04e0 EFLAGS:00010216( R- -- I -A-P- )
EAX:00000000 EBX:00000000 ECX:00000000 EDX:00000000
ESI:09fa3da0 EDI:00000000
Stack dump:
0x0032f9d4: 004c5d3f 00000000 09fa2714 013842e4
0x0032f9e4: 01384250 0000000d 004c5b28 013842e4
0x0032f9f4: 0032fa0c 00a368cb 00000007 004c5cd1
0x0032fa04: 09fa3da0 09fa3da0 0032fb6c 00a3fd0b
0x0032fa14: 00000000 0040937a 01384250 01384380
0x0032fa24: 01384250 00000000 09f996ec 09fa248c
Backtrace:
=>0 0x01ba235d in cvgamecoredll (+0xe235d) (0x01ba04e0)
0x01ba235d: movl 0x0(%eax),%eax
Modules:
Module Address Debug info Name (91 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 Export 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
ELF 7b800000-7b97c000 Deferred kernel32<elf>
\-PE 7b810000-7b97c000 \ kernel32
ELF 7bc00000-7bcba000 Deferred ntdll<elf>
\-PE 7bc10000-7bcba000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
PE 7c340000-7c396000 Deferred msvcr71
PE 7c3a0000-7c41b000 Deferred msvcp71
ELF 7e090000-7e0c4000 Deferred uxtheme<elf>
\-PE 7e0a0000-7e0c4000 \ uxtheme
ELF 7e0c4000-7e0ca000 Deferred libxfixes.so.3
ELF 7e0ca000-7e0d4000 Deferred libxcursor.so.1
ELF 7e0d4000-7e0d8000 Deferred libxcomposite.so.1
ELF 7e0d8000-7e0e0000 Deferred libxrandr.so.2
ELF 7e0e0000-7e0ea000 Deferred libxrender.so.1
ELF 7e0ea000-7e0f0000 Deferred libxxf86vm.so.1
ELF 7e0f0000-7e0f4000 Deferred libxinerama.so.1
ELF 7e0f4000-7e115000 Deferred imm32<elf>
\-PE 7e100000-7e115000 \ imm32
ELF 7e115000-7e11b000 Deferred libxdmcp.so.6
ELF 7e11b000-7e11f000 Deferred libxau.so.6
ELF 7e11f000-7e138000 Deferred libxcb.so.1
ELF 7e138000-7e13d000 Deferred libuuid.so.1
ELF 7e13d000-7e258000 Deferred libx11.so.6
ELF 7e258000-7e267000 Deferred libxext.so.6
ELF 7e267000-7e27f000 Deferred libice.so.6
ELF 7e27f000-7e287000 Deferred libsm.so.6
ELF 7e2a6000-7e347000 Deferred winex11<elf>
\-PE 7e2b0000-7e347000 \ winex11
ELF 7e34d000-7e377000 Deferred libexpat.so.1
ELF 7e377000-7e3a6000 Deferred libfontconfig.so.1
ELF 7e3a6000-7e3bb000 Deferred libz.so.1
ELF 7e3bb000-7e441000 Deferred libfreetype.so.6
ELF 7e460000-7e4a8000 Deferred dsound<elf>
\-PE 7e470000-7e4a8000 \ dsound
ELF 7e4a8000-7e58f000 Deferred oleaut32<elf>
\-PE 7e4c0000-7e58f000 \ oleaut32
ELF 7e58f000-7e602000 Deferred rpcrt4<elf>
\-PE 7e5a0000-7e602000 \ rpcrt4
ELF 7e602000-7e701000 Deferred ole32<elf>
\-PE 7e620000-7e701000 \ ole32
ELF 7e701000-7e715000 Deferred lz32<elf>
\-PE 7e710000-7e715000 \ lz32
ELF 7e715000-7e743000 Deferred ws2_32<elf>
\-PE 7e720000-7e743000 \ ws2_32
ELF 7e743000-7e7d8000 Deferred winmm<elf>
\-PE 7e750000-7e7d8000 \ winmm
ELF 7e7d8000-7e85a000 Deferred msvcrt<elf>
\-PE 7e7f0000-7e85a000 \ msvcrt
ELF 7e85a000-7e947000 Deferred comctl32<elf>
\-PE 7e860000-7e947000 \ comctl32
ELF 7e947000-7e9a8000 Deferred shlwapi<elf>
\-PE 7e950000-7e9a8000 \ shlwapi
ELF 7e9a8000-7eb81000 Deferred shell32<elf>
\-PE 7e9c0000-7eb81000 \ shell32
ELF 7eb81000-7ebdb000 Deferred advapi32<elf>
\-PE 7eb90000-7ebdb000 \ advapi32
ELF 7ebdb000-7ec66000 Deferred gdi32<elf>
\-PE 7ebf0000-7ec66000 \ gdi32
ELF 7ec66000-7ed98000 Deferred user32<elf>
\-PE 7ec80000-7ed98000 \ user32
ELF 7ef98000-7efa4000 Deferred libnss_files.so.2
ELF 7efa4000-7efbb000 Deferred libnsl.so.1
ELF 7efbb000-7efe1000 Deferred libm.so.6
ELF 7efe7000-7f000000 Deferred version<elf>
\-PE 7eff0000-7f000000 \ version
ELF f7134000-f716a000 Deferred libxslt.so.1
ELF f716a000-f718e000 Deferred mpr<elf>
\-PE f7170000-f718e000 \ mpr
ELF f718e000-f71ea000 Deferred wininet<elf>
\-PE f71a0000-f71ea000 \ wininet
ELF f71ea000-f7247000 Deferred urlmon<elf>
\-PE f71f0000-f7247000 \ urlmon
ELF f7247000-f7370000 Deferred libxml2.so.2
ELF f738f000-f73ea000 Deferred msxml3<elf>
\-PE f73a0000-f73ea000 \ msxml3
ELF f7423000-f742e000 Deferred libnss_nis.so.2
ELF f7430000-f7434000 Deferred libdl.so.2
ELF f7434000-f7591000 Deferred libc.so.6
ELF f7591000-f75aa000 Deferred libpthread.so.0
ELF f75c1000-f75c9000 Deferred libnss_compat.so.2
ELF f75c9000-f7709000 Deferred libwine.so.1
ELF f770b000-f7729000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Gold\Beyond the Sword\Civ4BeyondSword.exe
00000009 0 <==
0000000e services.exe
00000016 0
00000015 0
00000014 0
00000010 0
0000000f 0
00000011 winedevice.exe
00000018 0
00000017 0
00000013 0
00000012 0
00000019 explorer.exe
0000001a 0
Backtrace:
=>0 0x01ba235d in cvgamecoredll (+0xe235d) (0x01ba04e0)


Spoiled because it's long. Some things I've done that might clear up this puzzle:

1. Because civ IV gold and BTS are both multi-cd copies for me, i copied them all onto desktop folders for the purposes of the installation
2. I used playonlinux for the installation. It auto-placed a range of d3dx9_ from the low 20's (24 I think) up through 42 and set them all native. I added the files per the start of this thread as dll overrides for WINE through PoL. I tried doing this both before and after installation, same result.
3. I was given 0 option to cancel any directx installation from the game itself, and suspect this to be an issue (possibly one of many). I don't see a way to block it.
4. I've patched the game up to 3.19 and through the whole process the installer didn't give me any fuss ----> I shouldn't be needing any noCD off of 3.19 AFAIK
5. PoL tends to pick its own version of WINE. I think it's on 1.3.6. This is a VERY recent linux distro and so whatever WINE is most current as of this post, it's that one. Wine is set to run the game on windows XP.
6. Distro is Linux Mint 11 (katya) Kernel 2.6.38-8 (generic) running GNOME 2.32.1

Any help sifting through this would be greatly appreciated.
 
TMIT Welcome to the dark side of computing...muah hahahhahaha..

Yeah enough of that, some points.

Wine latest version is 1.3.23, version *....6 I think from memory, you need to turn off Gameux in the wine options. In latest version of wine 1.3.23, no need for any dx3's msxml's or turning off GameUx or anything.

Now I use Ubuntu 11.04 with the kernel version you've quoted, so I know it works.

1st potential problem- Graphics, is your graphics card up to scratch? I assume so.

Direct x9 is minimum required to play, so DX 10 or 11 no problem as I assume they are all backwards compatible.

Wine set to XP, No special settings required.

Only other difference to me is that I have DVD version of game, you have CD's copied to desktop.

Now, its only a guess, it MAY!!!! have not copied some files from the CD's to the desktop. Due to copy protect etc programs. I.E. Can't burn your own FUNCTIONING copies of the game. Hence failed install.

Solution- Instal from the CD.

Yes your correct, as of 3.19, no cd is implemented or no dvd for MEEEE!!!!!! (I had to do it, I had to, same as A.I's dangling 5 workers in front of me, of course I declare war and grab them, didn't I grab only 1 very early in the game. ) Errr opps heh heh heh
 
What's the advantage of using playonlinux. Ubuntu (i.e. debian) should already have a recent wine available, and it's not that hard to use. You kinda have to deal with cmdline stuff though.

The game spits out loads of error and warning messages here too, but everything works in the end.
I'll post them here so you can so you can compare to yours to find the really critical ones:
Code:
[beleriand@myhost ~]$ bin/bts > c4bts.log
fixme:iphlpapi:NotifyAddrChange (Handle 0xb1e91c, overlapped 0xb1e900): stub
wine: configuration in '/home/beleriand/wine/civ4' has been updated.
fixme:system:SystemParametersInfoW Unimplemented action: 55 (SPI_SETMOUSEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:gameux:GameExplorerImpl_VerifyAccess (0x133060, L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Beyond the Sword\\Civ4BeyondSword.exe", 0x32fb48)
err:menubuilder:Process_Link unable to load L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Beyond the Sword\\Saves.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Beyond the Sword\\Saves.lnk"
err:menubuilder:Process_Link unable to load L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Beyond the Sword\\CivilizationIV.ini.lnk"
err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Beyond the Sword\\CivilizationIV.ini.lnk"
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x100ee 0x00000000
fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x17e760,0x17f688): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x17e760,0x17f688): stub
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "<string>", line 2, in ?
IOError: [Errno 2] No such file or directory: 'C:\\users\x08eleriand\\My Documents\\My Games\\Beyond the Sword\\Logs\\PythonErr2.log'
fixme:win:EnumDisplayDevicesW ((null),0,0x32ef30,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f468,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f474,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:win:EnumDisplayDevicesW ((null),0,0x32efbc,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:wined3d_buffer_preload Too many declaration changes or converting dynamic buffer, stopping converting
fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
(about 2 screenfulls more of this line...)
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0x100ee

As said, i would just use the vanilla wine from your distro, and get the winetricks script (i think theres a .deb for that also) to install the things with need to be native MS .dlls
 
TMIT Welcome to the dark side of computing...muah hahahhahaha..
*g* we both replied the same minute. Anyway saw something funny today:
ftp ftp5.gwdg.de
Connected to ftp5.gwdg.de.
220 "Welcome to FTP5.GWDG.DE."
Name: ftp
230 Login successful.
Using binary mode to transfer files.
ftp> cd /pub/linux
250-
250-This still is not heaven; but it is outside hell. :D
 
Solution- Instal from the CD.

I of course tried this initially, but only returned "file not found" every time I tried to use a 2nd cd. I'm not sure why the installation struggles with this, but suspect CD names or because it's claiming write protection.

Possibly, I have to unmount/remount unhide the CDs before copying them over (I did indeed need to do that with Sc2 minus copying to HD)? I'm surprised the game would let itself install if I violated copy protection however.

I can easily switch versions of WINE in PoL -----> or is it required I do a reinstall in order to achieve the functionality of a different version in practice?

I *do* have winetricks and the current wine version (after checking) is set to "system". Maybe I should just bump it to 1.3.23 and have done so I don't have to worry about the d3dx files?

Sorry, bigtime newbie to Linux but getting there (thank god for the speed reading training I had in the past). At least I've some things to try when I get a chance tonight. Thanks for the help so far, I once again have leads :goodjob:.

TMIT Welcome to the dark side of computing...muah hahahhahaha..

:evil:. There is no better side :devil:.
 
Possibly, I have to unmount/remount unhide the CDs before copying them over (I did indeed need to do that with Sc2 minus copying to HD)? I'm surprised the game would let itself install if I violated copy protection however.

Maybe you have to umount / mount again in linux, yes. Not sure though.
You should however be able to check, in a second window either with a filemanager or a shell, the contents of the cd-mountpoint (list of mountpoints is displayed with "mount" in shell), so you can be sure that wine "sees" the correct cd.

I _think_ C4 copy protection protected only the Civilization4.exe, i.e. running the game, not installing it.

I can easily switch versions of WINE in PoL -----> or is it required I do a reinstall in order to achieve the functionality of a different version in practice?

It was just the "wine: Unhandled page fault on.." and following lines that made me think there could be something wrong with the wine install itself.
As wine links against several system libs, i prefer to either use the distribution-provided wine, or build it myself from source. I may be unfairly harping on PoL though..

I *do* have winetricks and the current wine version (after checking) is set to "system". Maybe I should just bump it to 1.3.23 and have done so I don't have to worry about the d3dx files?

I would try the wine which comes with your distro directly from shell. No PoL needed.. As said it may be without fault, but i'd try nonetheless. It's called eliminating error sources.

I have the Arch linux current btw, and the winetricks scripts sets the same d3d overrides that you described so you should be fine on that front. (As long as the .dlls are in the correct place. Don't know off hand how to check that though).

Another thing: The crash-stacktrace has "binkw32" on top. Afaik Bink is the component that C4 uses for Movie-Playback. So you could try deactivating Movie-Playback in the config file.
 
Hello have anyone installed Civ IV Complete version? there is in same CD: all 3: CIV IV Warlords and Beyond the sword.
I allready tryed to install it to Ubuntu with Wine, and not suceed. but then I find this:

http://appdb.winehq.org/objectManager.php?sClass=version&iId=10158

So I'm asking is it possible to install it to Windows 7? Is there someting special I should know? machine is 2 kk old so I quess should be updated.

I don't want to try it 10 times like Have done with some version.
 
Okay, tried installing it under current WINE version (1.3.23), same problem. I'm strongly suspecting my copying this to desktop to install to be the issue. However, i still can't get it to install from the 3 civ IV gold CDs (and will probably struggle similarly with the 2 civ BTS cds). I either get "file not found" or "target location is write protected, incomplete, etc". Trying to umount/mount does suggest the thing is write protected.

I'm not sure how to properly install from the CD. If I can't get this functional I'll try something else, but I'd like to at least TRY a basic install from the CD using wine. If it will let me do it.
 
TMIT, installing using wine, you actually need to click on UNINSTALL software 1st, then you can navigate to the *.exe file on the cd's to INSTALL the game.

Counter intuitive I know, but its how it works.

Play on Linux (never used) or direct wine installation *I use*, are more or less the same. Wine is included in all versions of Linux in one way or another I think. All would update, using update protocol.

CD's V's DVD's, can only quote the obvious, (treating you like a 5 yr old I know, but may help)
CD reader, and not a DVD ONLY reader.
CD's in right order.
Legitimate CD copies.
Actually using wine shell to install, and not just installing wine and clicking on *.exe files.

I honestly thought it only came out on DVD's, so at a loss with CD's

Procedure I use:

1)Click on Configure wine.
2) UNINSTALL software.
3) Select install software and navigate to the install file
4) It now runs installation.
 
TMIT, installing using wine, you actually need to click on UNINSTALL software 1st, then you can navigate to the *.exe file on the cd's to INSTALL the game.

Counter intuitive I know, but its how it works.

Play on Linux (never used) or direct wine installation *I use*, are more or less the same. Wine is included in all versions of Linux in one way or another I think. All would update, using update protocol.

CD's V's DVD's, can only quote the obvious, (treating you like a 5 yr old I know, but may help)
CD reader, and not a DVD ONLY reader.
CD's in right order.
Legitimate CD copies.
Actually using wine shell to install, and not just installing wine and clicking on *.exe files.

I honestly thought it only came out on DVD's, so at a loss with CD's

Procedure I use:

1)Click on Configure wine.
2) UNINSTALL software.
3) Select install software and navigate to the install file
4) It now runs installation.

Treat me like whatever, my priority is getting this to work and I admit being very new to this. Having no programming capabilities or linux experience speed reading only can take me so far, mostly I'm aligning my research on how to do these things and searching for patterns for people who have similar issues or similar possible solutions. My hope in posting this here is that those with experience might shed some light on my own case, which unfortunately I didn't manage to make clear because, well, i'll just use my noob excuse again for now.

Anyway, the CD installation works fine UNTIL it prompts for the SECOND cd (the first one is found and starts the installation no problem, easily bypassing directx stuff (though I get no option to cancel its check/update or anything like that). and installing about 1/3 or a little more of the game before asking for the 2nd cd.

It's only after it makes the request for the cd that I get "file not found". Any attempt to pull down z:/media/disc2 (what the 2nd cd is called instead of what the program is looking for) results in the "write protected or incomplete" error message or a simple "file not found".

Browsing through more wine hq (by now I've read most of the possible versions of civ IV and the posts below), it now seems I can possibly bypass this via a simple -s rename of my z:/media/disc2 to z:/media/CIV4GOLD (or whatever it is looking for) in terminal. If that pulls a successful install and i still have the issue, we can at least eliminate the install-from-desktop as the cause of the error, or at least the exclusive cause. If it works, that would be delicious.

As for it being a CD reader, it definitely is (it can also burn CDs, and I've done so). Disks are clearly labeled one/two/three so that's not the issue :p. They are legit and installed into windows no problem whatsoever and are in fact the same CDs I used in my windows vista install up until this point.

PoL uses the wine shell ------> the installer actually starts, and it does it after configuring a wine version of choice (I also get the option to use dll overrides as well as a slew of other settings graphically, making PoL a big draw). My experience with other programs is that PoL is pretty good about these things (this is actually a rare time I'm struggling to install something on it, other than getting steam to run post-install), which is why I'm latching onto the CD issue as a potential problem for now.

Once again, to be clear I am running into this issue DURING installation, when it prompts me to "please insert disk 2). I originally bypassed this via a mass copy of cds to hard drive to install it there, where it appeared installed successfully but failed on me. I haven't ruled bad dlls completely out either...but now you're telling me the most recent version of WINE doesn't need them anyway and I *did* try an install with the version of wine you suggested from those hard drive "cd" folders :(.

One last possible issue -----> this is a 64 bit system and the WINE version appears to be 64 bit also. I've read here and there how most of these programs are 32bit, could I be running afoul in this department?
 
Ah...32 bit V's 64 bit programs and running..

Yes...could be a problem, how??? I really don't know.

Try http://ubuntuforums.org/index.php

This is a link to the Ubuntu Forums, many many many discussions on 32 V's 64 Bit programs.

Basically, BTS Civ 4 is a 32 bit program, nothing will change that, not even alchemical potions, satanic chants, or full moon light distillation.

Only thing I could think of is have to tell wine, mint Ubuntu or what ever your running, your installing a 32 bit game. Though I assume its smart enough to realize that fact.

Knock your self out, search those forums.

Basically my knowledge is limited. As far as I understand, 64 bit is backwards compatible with 32 bit, it comes down to memory access of 4 Gig or more.


Ahhh Epiphany, right click on the cd copies on desktop, under properties, 2nd or 3rd tab, change to installable or writeable, you'll understand when see. Away at my Mothers place, so can't just click and see. This may be problem, it thinks the CD copy isn't an executable program, so just gives up errors. Change this for all CD's, this MAY solve the problem, or just do nothing.
 
One last possible issue -----> this is a 64 bit system and the WINE version appears to be 64 bit also. I've read here and there how most of these programs are 32bit, could I be running afoul in this department?

I don't know if it's required, but there are several docs out there that recommend on a 64bit system to tell wine that it's supposed to be running 32bit stuff via WINEARCH environment var. See my post #86 on this thread for example.

Could very well be though that PoL already sets that up correctly..
 
Top Bottom