Civilization 4 fails to start (Wine 1.0-rc5).

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Zarl
Newbie
Newbie
Posts: 4
Joined: Sun Jun 15, 2008 10:43 pm

Civilization 4 fails to start (Wine 1.0-rc5).

Post by Zarl »

After loading, Civilization 4 fails with the error below before reaching the main menu/actually launching. I've searched the forums an elsewhere and have not been able to find a solution. I'm currently running Wine: 1.0-rc5 on Xubuntu 8.04-64 bit. I'm using the 173.14.05 Nvidia drivers, GeForce 8200 integrated graphics.

If this problem has an obvious cause or solution I missed, I apologize in advance. However at this point, I just have no idea how to proceed:

Code: Select all

 err:winedevice:ServiceMain driver L"SecDrv" failed to load
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
err:menubuilder:WinMain failed to build menu item for C:\c4g\Logs.lnk
fixme:shell:DllCanUnloadNow stub
err:menubuilder:WinMain failed to build menu item for C:\c4g\Saves.lnk
fixme:shell:DllCanUnloadNow stub
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x10028 0x00000000
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
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:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:shell:DllCanUnloadNow stub
err:menubuilder:WinMain failed to build menu item for C:\c4g\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.
'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:\\windows\\profiles\temp\\My Documents\\My Games\\c4g\\Logs\\PythonErr2.log'
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
wine: Unhandled page fault on execute access to 0x00000000 at address (nil) (thread 0009), starting debugger...
Unhandled exception: page fault on execute access to 0x00000000 in 32-bit code (0x00000000).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00000000 ESP:0032f3bc EBP:00000000 EFLAGS:00010212(   - 00      - RIA1)
 EAX:00000000 EBX:00000400 ECX:c000007a EDX:00000079
 ESI:012952b8 EDI:00000000
Stack dump:
0x0032f3bc:  006a9d45 00000020 0a71c96c 012952b8
0x0032f3cc:  0032f3d4 00000000 00000000 00000000
0x0032f3dc:  00000005 0032f5a4 00000040 0032f404
0x0032f3ec:  f7da6f53 f7da6f53 0032f418 7bc88444
0x0032f3fc:  0000002e 000f0005 0032f464 7bc63c0e
0x0032f40c:  0000002e 00000002 00000001 f7da4ec9
Backtrace:
=>1 0x00000000 (0x00000000)
0x00000000: addb	%al,0x0(%eax)
Modules:
Module	Address			Debug info	Name (108 modules)
PE	  330000-  343000	Deferred        zlib1
PE	  350000-  35e000	Deferred        hapdbg
PE	  3f0000-  3fc000	Deferred        mssds3d.flt
PE	  400000-  e04f7e	Deferred        civilization4
PE	  e10000- 1172000	Deferred        d3dx9_32
PE	 1a70000- 1e02000	Deferred        cvgamecoredll
PE	 a7e0000- a81a000	Deferred        mssvoice.asi
PE	 a820000- a84e000	Deferred        mssmp3.asi
PE	 a850000- a85d000	Deferred        msssrs.flt
PE	 a860000- a880000	Deferred        msseax.flt
PE	 af00000- af1e000	Deferred        mssdsp.flt
PE	 b140000- b14a000	Deferred        mssdolby.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	69b10000-69c14000	Deferred        msxml3
ELF	7b800000-7b92d000	Deferred        kernel32<elf>
  \-PE	7b820000-7b92d000	\               kernel32
ELF	7bc00000-7bca4000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bca4000	\               ntdll
ELF	7bf00000-7bf03000	Deferred        <wine-loader>
PE	7c340000-7c396000	Deferred        msvcr71
PE	7c3a0000-7c41b000	Deferred        msvcp71
ELF	7dc45000-7dcad000	Deferred        crypt32<elf>
  \-PE	7dc50000-7dcad000	\               crypt32
ELF	7dcad000-7dce8000	Deferred        rsaenh<elf>
  \-PE	7dcb0000-7dce8000	\               rsaenh
PE	7e07d000-7e081000	Deferred        libasound_module_rate_speexrate.
ELF	7e1a2000-7e1b6000	Deferred        wtsapi32<elf>
  \-PE	7e1b0000-7e1b6000	\               wtsapi32
ELF	7e1b6000-7e1ca000	Deferred        midimap<elf>
  \-PE	7e1c0000-7e1ca000	\               midimap
ELF	7e1ca000-7e1f0000	Deferred        msacm32<elf>
  \-PE	7e1d0000-7e1f0000	\               msacm32
ELF	7e1f0000-7e207000	Deferred        msacm32<elf>
  \-PE	7e200000-7e207000	\               msacm32
ELF	7e207000-7e2ca000	Deferred        libasound.so.2
ELF	7e2d9000-7e30f000	Deferred        winealsa<elf>
  \-PE	7e2e0000-7e30f000	\               winealsa
ELF	7e35b000-7e38e000	Deferred        uxtheme<elf>
  \-PE	7e360000-7e38e000	\               uxtheme
ELF	7e38e000-7e397000	Deferred        libxcursor.so.1
ELF	7e397000-7e39c000	Deferred        libxfixes.so.3
ELF	7e39c000-7e39f000	Deferred        libxcomposite.so.1
ELF	7e39f000-7e3a5000	Deferred        libxrandr.so.2
ELF	7e3a5000-7e3ad000	Deferred        libxrender.so.1
ELF	7e3ad000-7e3b0000	Deferred        libxinerama.so.1
ELF	7e3b0000-7e3d0000	Deferred        imm32<elf>
  \-PE	7e3c0000-7e3d0000	\               imm32
ELF	7e3d0000-7e3d5000	Deferred        libxdmcp.so.6
ELF	7e3d5000-7e3ed000	Deferred        libxcb.so.1
ELF	7e3ed000-7e3f0000	Deferred        libxau.so.6
ELF	7e3f0000-7e4d7000	Deferred        libx11.so.6
ELF	7e4d7000-7e4e5000	Deferred        libxext.so.6
ELF	7e4e5000-7e4ea000	Deferred        libxxf86vm.so.1
ELF	7e4f9000-7e590000	Deferred        winex11<elf>
  \-PE	7e510000-7e590000	\               winex11
ELF	7e5b0000-7e5d1000	Deferred        libexpat.so.1
ELF	7e5d1000-7e5fb000	Deferred        libfontconfig.so.1
ELF	7e5fb000-7e610000	Deferred        libz.so.1
ELF	7e610000-7e680000	Deferred        libfreetype.so.6
ELF	7e680000-7e6ca000	Deferred        dsound<elf>
  \-PE	7e690000-7e6ca000	\               dsound
ELF	7e6ca000-7e76c000	Deferred        oleaut32<elf>
  \-PE	7e6e0000-7e76c000	\               oleaut32
ELF	7e76c000-7e7cd000	Deferred        rpcrt4<elf>
  \-PE	7e780000-7e7cd000	\               rpcrt4
ELF	7e7cd000-7e871000	Deferred        ole32<elf>
  \-PE	7e7e0000-7e871000	\               ole32
ELF	7e871000-7e88b000	Deferred        wsock32<elf>
  \-PE	7e880000-7e88b000	\               wsock32
ELF	7e88b000-7e89f000	Deferred        lz32<elf>
  \-PE	7e890000-7e89f000	\               lz32
ELF	7e89f000-7e8b8000	Deferred        version<elf>
  \-PE	7e8a0000-7e8b8000	\               version
ELF	7e8b8000-7e8cb000	Deferred        libresolv.so.2
ELF	7e8da000-7e8f8000	Deferred        iphlpapi<elf>
  \-PE	7e8e0000-7e8f8000	\               iphlpapi
ELF	7e8f8000-7e924000	Deferred        ws2_32<elf>
  \-PE	7e900000-7e924000	\               ws2_32
ELF	7e924000-7e9b6000	Deferred        winmm<elf>
  \-PE	7e930000-7e9b6000	\               winmm
ELF	7e9b6000-7ea20000	Deferred        msvcrt<elf>
  \-PE	7e9d0000-7ea20000	\               msvcrt
ELF	7ea20000-7eadf000	Deferred        comctl32<elf>
  \-PE	7ea30000-7eadf000	\               comctl32
ELF	7eadf000-7eb38000	Deferred        shlwapi<elf>
  \-PE	7eaf0000-7eb38000	\               shlwapi
ELF	7eb38000-7ec4b000	Deferred        shell32<elf>
  \-PE	7eb50000-7ec4b000	\               shell32
ELF	7ec4b000-7ec9d000	Deferred        advapi32<elf>
  \-PE	7ec60000-7ec9d000	\               advapi32
ELF	7ec9d000-7ed38000	Deferred        gdi32<elf>
  \-PE	7ecb0000-7ed38000	\               gdi32
ELF	7ed38000-7ee7f000	Deferred        user32<elf>
  \-PE	7ed50000-7ee7f000	\               user32
ELF	7ef9f000-7efaa000	Deferred        libnss_files.so.2
ELF	7efaa000-7efb4000	Deferred        libnss_nis.so.2
ELF	7efb4000-7efcc000	Deferred        libnsl.so.1
ELF	7efcc000-7eff1000	Deferred        libm.so.6
ELF	7eff7000-7f000000	Deferred        libnss_compat.so.2
ELF	f7c40000-f7c42000	Deferred        libxcb-xlib.so.0
ELF	f7c46000-f7c4a000	Deferred        libdl.so.2
ELF	f7c4a000-f7d99000	Deferred        libc.so.6
ELF	f7d9a000-f7db2000	Deferred        libpthread.so.0
ELF	f7dc1000-f7ef7000	Deferred        libwine.so.1
ELF	f7ef9000-f7f18000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\c4g\Civilization4.exe
	0000002e    0
	0000002d   15
	0000002c   15
	0000002b    0
	00000009    0 <==
0000000c 
	00000013    0
	0000000e    0
	0000000d    0
00000015 
	00000016    0
Backtrace:
=>1 0x00000000 (0x00000000)
]
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Civilization 4 fails to start (Wine 1.0-rc5).

Post by austin987 »

On Sun, Jun 15, 2008 at 11:25 PM, Zarl <[email protected]> wrote:
After loading, Civilization 4 fails with the error below before reaching the main menu/actually launching. I've searched the forums an elsewhere and have not been able to find a solution. I'm currently running Wine: 1.0-rc5 on Xubuntu 8.04-64 bit. I'm using the 173.14.05 Nvidia drivers, GeForce 8200 integrated graphics.

If this problem has an obvious cause or solution I missed, I apologize in advance. However at this point, I just have no idea how to proceed:


Code:
err:winedevice:ServiceMain driver L"SecDrv" failed to load
Looks like it has some copy protection which may not work in wine.
Zarl
Newbie
Newbie
Posts: 4
Joined: Sun Jun 15, 2008 10:43 pm

Re: Civilization 4 fails to start (Wine 1.0-rc5).

Post by Zarl »

austin987 wrote:On Sun, Jun 15, 2008 at 11:25 PM, Zarl <[email protected]> wrote:

Code:
err:winedevice:ServiceMain driver L"SecDrv" failed to load

Looks like it has some copy protection which may not work in wine.
I doubt this is what is causing my problem. The copy protection issue is already something I've been a to look into, and it has an accepted solution. I've tested both using and not the fi. Without it, that's the only line it produces and the game fails to even bring up the loading bar. With the fix however, moves past that error and loads fully before failing with the messages I've posted.
anyone
Newbie
Newbie
Posts: 4
Joined: Tue Jun 17, 2008 6:19 am

Post by anyone »

What's the Civ4 version you're using? I have Civ4 running happily, but it requires the 1.74 patch to have the copy protection working. For example 1.61 didn't work, complained of a missing dvd, but 1.74 works fine (no crack needed).
Dotan Cohen

Civilization 4 fails to start (Wine 1.0-rc5).

Post by Dotan Cohen »

2008/6/16 Zarl <[email protected]>:
After loading, Civilization 4 fails with the error below before reaching the main menu/actually launching. I've searched the forums an elsewhere and have not been able to find a solution. I'm currently running Wine: 1.0-rc5 on Xubuntu 8.04-64 bit. I'm using the 173.14.05 Nvidia drivers, GeForce 8200 integrated graphics.

If this problem has an obvious cause or solution I missed, I apologize in advance. However at this point, I just have no idea how to proceed:
Well, the obvious problem is that you are trying to run the game under
an OS that it was not designed for :)

Here is the developers' contact address:
http://www.firaxis.com/support/

Tell them that you would like native support for their game under Linux.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
×
Zarl
Newbie
Newbie
Posts: 4
Joined: Sun Jun 15, 2008 10:43 pm

Re: Civilization 4 fails to start (Wine 1.0-rc5).

Post by Zarl »

anyone wrote:What's the Civ4 version you're using? I have Civ4 running happily, but it requires the 1.74 patch to have the copy protection working. For example 1.61 didn't work, complained of a missing dvd, but 1.74 works fine (no crack needed).
I'm using the gold version that comes with Civ IV & Walords. However both come patched out of the box at 1.74/2.13 at least as far as I know.
Dotan Cohen wrote:2008/6/16 Zarl <[email protected]>:
Well, the obvious problem is that you are trying to run the game under
an OS that it was not designed for :)

Here is the developers' contact address:
http://www.firaxis.com/support/

Tell them that you would like native support for their game under Linux.
Well others have gotten this particular piece of software working and working well, so I'd at least try to get past this road block. Besides, isn't being able to run things not designed for this OS the entire point of wine?
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

I agree with Zarl. Confronting companies with operating system compatibilities isn't really helpful advice for this forum.

http://appdb.winehq.org/objectManager.p ... &iId=10158 suggests that it worked with 0.9.61 when using a nocd patch and just needed d3dx9_33.dll and d3dx9_36.dll along with msxml3 through winetricks

http://wiki.winehq.org/winetricks
Zarl
Newbie
Newbie
Posts: 4
Joined: Sun Jun 15, 2008 10:43 pm

Post by Zarl »

jeffz wrote:I agree with Zarl. Confronting companies with operating system compatibilities isn't really helpful advice for this forum.

http://appdb.winehq.org/objectManager.p ... &iId=10158 suggests that it worked with 0.9.61 when using a nocd patch and just needed d3dx9_33.dll and d3dx9_36.dll along with msxml3 through winetricks

http://wiki.winehq.org/winetricks
Thank you. That entry had more clearly worded entries than the other ones I was looking at for Civ IV/Warlords. Turns out my problem was being caused by which libraries I had set to native. The game is now running fine.
Dotan Cohen

Civilization 4 fails to start (Wine 1.0-rc5).

Post by Dotan Cohen »

2008/6/18 Zarl <[email protected]>:
Well others have gotten this particular piece of software working and
working well, so I'd at least try to get past this road block. Besides, isn't
being able to run things not designed for this OS the entire point of wine?
Yes, of course that is the point of wine. However, whenever we use a
stopgap measure such as wine we should let the companies know that
there is demand for their products under Linux. If we don't let them
know, then we will continue to have to resort to fiddling with wine
and the ever-changing Windows API.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
×
Locked