Cant get civ4 to run on ubuntu 10.04, wine 1.1.42

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
pavel989
Newbie
Newbie
Posts: 4
Joined: Tue Jun 08, 2010 2:18 pm

Cant get civ4 to run on ubuntu 10.04, wine 1.1.42

Post by pavel989 »

when i run: wine ./Civilization4.exe
(in the correct dir) i get this output:
######################
fixme:system:SystemParametersInfoW Unimplemented action: 55 (SPI_SETMOUSEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered
err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x10054 0x00000000
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
err:menubuilder:Process_Link unable to load L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Logs.lnk"
err:menubuilder:WinMain failed to build menu item for 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\\CivilizationIV.ini.lnk"
err:menubuilder:Process_Link unable to load L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Saves.lnk"
err:menubuilder:WinMain failed to build menu item for C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\CivilizationIV.ini.lnk
err:menubuilder:WinMain failed to build menu item for C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Saves.lnk
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:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1a0518,0x1a0950): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1a0518,0x1a0950): stub
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
'import site' failed; use -v for traceback
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 159 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 1361
Current serial number in output stream: 1361
####################################

im running 2 gigs of ram, an ati radeon 2600 hd, and Intel(R) Core(TM)2 Quad CPU Q6600

ive been trying to get civ4 to work for the past week under ubuntu.
the only other thing ive tried other than wine, is virtualbox. and that didnt work out. but i heard that wine has worked, so im stuck trying to get my game to initialize.

also, if it helps, i think it crashes somewhere past xml, i think in init?
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cant get civ4 to run on ubuntu 10.04, wine 1.1.42

Post by dimesio »

pavel989 wrote: X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 159 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Reinstall your graphics drivers and make sure you have the necessary 32 bit opengl libraries installed as well.
pavel989
Newbie
Newbie
Posts: 4
Joined: Tue Jun 08, 2010 2:18 pm

Post by pavel989 »

well as it is, im running compiz-fusion flawlessly, should i still reinstall the drivers?
James McKenzie

Cant get civ4 to run on ubuntu 10.04, wine 1.1.42

Post by James McKenzie »

pavel989 wrote:
well as it is, im running compiz-fusion flawlessly, should i still reinstall the drivers?

No, but please disable compiz, it interferes with running programs under
Wine.

James McKenzie
pavel989
Newbie
Newbie
Posts: 4
Joined: Tue Jun 08, 2010 2:18 pm

Post by pavel989 »

turning of compiz gave me the same result. i think i will delete the game and for a fresh wine install.

which versions of wine have been known to work for civ4?
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

pavel989 wrote:turning of compiz gave me the same result. i think i will delete the game and for a fresh wine install.

which versions of wine have been known to work for civ4?
Which version of Civ 4? There are many. Check the AppDB for info on your version.
http://appdb.winehq.org/objectManager.p ... n&iId=2514
pavel989
Newbie
Newbie
Posts: 4
Joined: Tue Jun 08, 2010 2:18 pm

Post by pavel989 »

well i have beyond the sword and warlords, but i would be content with just civ4 if it works. im pretty sure i have the 1.52 patch
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Did you follow the howto in the AppDB for installing Civ 4?

You also might want to take a look at this page: http://wiki.winehq.org/3DDriverIssues
Paul Romanyszyn

Cant get civ4 to run on ubuntu 10.04, wine 1.1.42

Post by Paul Romanyszyn »

On 06/08/2010 11:23 PM, James McKenzie wrote:
pavel989 wrote:
well as it is, im running compiz-fusion flawlessly, should i still
reinstall the drivers?
No, but please disable compiz, it interferes with running programs under
Wine.

James McKenzie


But 10.04 with Gnome and Compiz disabled items (windows) vanish.
http://bugs.winehq.org/show_bug.cgi?id=15069 See comments #63 #65. This
affects Delphi based apps when changing desktop or minimizing forms.
Paul R.
Locked