WarKirby
2010-Jul-14 04:17 UTC
[Wine] DirectX troubles - Running Civilisation IV: Beyond the Sword
Initialize Renderer failed. Check DirectX Installation, Latest Graphics Drivers and Graphics Settings Parameters: -width = 1024 -height = 768 -flags = 0xc -hwnd = 0x21003a -adaptrid = 0 -deviceid = 1 Error: ------------------------------- mscorsvw.exe Hello folks. I'm trying to get the game Civ IV: BTS working under wine. All legal, from-disk copies. First I've installed base Civ IV Then I've installed the Beyond The Sword expansion pack, over it. Then I've installed the BTS 3.19 patch, which has no copy protection because the developers chose to disable it in an update, so no cracked exe is needed. I've been going on this for advice. Although it only covers the base game, it's as close as I can seem to find and should theoretically work: http://tombuntu.com/index.php/2009/03/10/civilization-iv-on-linux-with-wine-1116/ I've gotten it all installed without issue, then installed the required dlls and set msxml3 to native as required, but I can't seem to successfully start the game. When I attempt to do so by simply double clicking the exe, it loads for a minute or two then terminates with a program error without ever reaching the main menu. Code: Initialize Renderer failed. Check DirectX Installation, Latest Graphics Drivers and Graphics Settings Parameters: -width = 1024 -height = 768 -flags = 0xc -hwnd = 0x21003a -adaptrid = 0 -deviceid = 1 Error: That's the end of the error message, there's nothing after. Or perhaps it gets cut off, but there's no scrollbar. I've tried running it in the console though wine too. The resulting output is this: Code: warkirby at magotek-alpha:/media/Drive X/Games/Sid Meier's Civilisation IV(LINUX)/Beyond the Sword$ wine Civ4BeyondSword.exe err:process:__wine_kernel_init boot event wait timed out 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:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented. err:menubuilder:Process_Link unable to load L"Z:\\Games\\Sid Meier's Civilisation IV(LINUX)\\Beyond the Sword\\CivilizationIV.ini.lnk" err:menubuilder:wWinMain failed to build menu item for L"Z:\\Games\\Sid Meier's Civilisation IV(LINUX)\\Beyond the Sword\\CivilizationIV.ini.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:wtsapi:WTSRegisterSessionNotification Stub 0x140028 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:mixer:ALSA_MixerInit No master control found on MPU-401 UART, disabling mixer fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x15f618,0x15f518): 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 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,0x32ed18,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x32f250,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x32f25c,0x00000000), stub! err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1ba354) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1ba354) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1ba354) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1ba32c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1ba32c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1ba32c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1ba32c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1ba32c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1ba32c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b5c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b5c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b5c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b84) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b84) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b84) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b5c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b5c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b5c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b5c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b5c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b5c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b5c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x182b5c) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1d6fa4) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1d7004) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1d7004) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1d7004) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1d7004) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1d7004) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1d7004) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1d7004) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1d7004) CreateAdditionalSwapChain failed, returning 0x8876086a err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed? err:d3d9:device_parent_CreateSwapChain (0x1d7004) CreateAdditionalSwapChain failed, returning 0x8876086a err:mmtime:TIME_MMTimeStop Timer still active?!
dimesio
2010-Jul-14 15:35 UTC
[Wine] Re: DirectX troubles - Running Civilisation IV: Beyond the Sword
WarKirby wrote:> I've been going on this for advice. Although it only covers the base game, it's as close as I can seem to find and should theoretically work: http://tombuntu.com/index.php/2009/03/10/civilization-iv-on-linux-with-wine-1116/Outside howtos aren't supported here. http://wiki.winehq.org/FAQ#head-05f345e881bfc31ae77e902bd577dccba0ba4112 You didn't say what Wine version. I've never been able to reproduce it myself, but some people have apparently had problems with BTS in some Wine verions. http://bugs.winehq.org/show_bug.cgi?id=18873 So if you're not using the latest development release, upgrade. FWIW, I used winetricks msxml3 d3dx9, and set it to run in a virtual desktop, and BTS works fine here. My version is the Civ IV Complete, no-DRM dvd.
dimesio
2010-Jul-14 20:19 UTC
[Wine] Re: DirectX troubles - Running Civilisation IV: Beyond the Sword
WarKirby wrote:> I have done a new wineprefix as stated. Winetricks worked correctly, and I installed d3dx9_26 and msxml3. > > Civilisation still will not start, though. So I next tried installing: > d3dx9 > d3dx9_28 > directx9 > msxml4 > > Still, not working. The error message is the same as it ever was, about failing to initialise the renderer. > > I installed Civ4 on a different drive, not within the wine directory. So I did not reinstall it. Does this seem a necessary thing to do? I have no issues running Poser 7 and various other wine apps from additional drives. > > The appdb does not appear too helpful: http://appdb.winehq.org/objectManager.php?sClass=version&iId=16878 > > I await farther instruction. Any other ideas?Run it from a terminal and post the terminal output, including the command you use to start it. http://wiki.winehq.org/FAQ#run_from_terminal
dimesio
2010-Jul-14 20:23 UTC
[Wine] Re: DirectX troubles - Running Civilisation IV: Beyond the Sword
WarKirby wrote:> > I installed Civ4 on a different drive, not within the wine directory. So I did not reinstall it. Does this seem a necessary thing to do? I have no issues running Poser 7 and various other wine apps from additional drives. >Just noticed this. Being on a different drive should not be a problem, but not reinstalling after having deleted the original wineprefix would be, because any registry entries made by the installer would be gone. So reinstall.