Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Ini

Questions about Wine on macOS.
Locked
Michael Collins

Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Ini

Post by Michael Collins »

Hi all,

I'm hoping that someone has seen this one before. I am trying to get
Civ4 working in Wine 1.2 on my Mac and I get so far as the stage where
it initializes Python and it fails. I've attached the log at the end
of this transmission. It's relatively short as these things go. I can
see at least one error: 'import site' failed; use -v for traceback but
I have no clue as to how to resolve that in this situation.

Any input would be most welcome.
-MC


Log:

<90>: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\\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 0xb0058 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:wave:widDsCreate DirectSoundCapture not implemented
fixme:wave:widDsCreate The (slower) DirectSound HEL mode will be used instead.
err:gsm:GSM_DriverProc libgsm support not compiled in!
err:gsm:GSM_DriverProc libgsm support not compiled in!
err:gsm:GSM_DriverProc libgsm support not compiled in!
err:gsm:GSM_DriverProc libgsm support not compiled in!
err:gsm:GSM_DriverProc libgsm support not compiled in!
err:gsm:GSM_DriverProc libgsm support not compiled in!
err:gsm:GSM_DriverProc libgsm support not compiled in!
fixme:wave:wodDsCreate DirectSound not implemented
fixme:wave:wodDsCreate The (slower) DirectSound HEL mode will be used instead.
fixme:wave:AudioUnit_SetVolume independent left/right volume not
implemented (1.000000, 1.000000)
fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani
cursors not implemented.
fixme:wave:wodDsCreate DirectSound not implemented
fixme:wave:wodDsCreate The (slower) DirectSound HEL mode will be used instead.
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 "<string>", line 2, in ?
IOError: [Errno 2] No such file or directory: "C:\\users\root\\My
Documents\\My Games\\Sid Meier's Civilization 4\\Logs\\PythonErr2.log"
fixme:xrender:XRender_AlphaBlend Unable to AlphaBlend without Xrender
fixme:xrender:XRender_AlphaBlend Unable to AlphaBlend without Xrender
fixme:font:WineEngRemoveFontResourceEx (L"C:\\Program Files\\Firaxis
Games\\Sid Meier's Civilization 4\\assets\\res\\fonts\\sylfaen.ttf",
0, 0x0): stub
fixme:winmm:MMDRV_Exit Closing while ll-driver open
fixme:winmm:MMDRV_Exit Closing while ll-driver open
fixme:winmm:MMDRV_Exit Closing while ll-driver open
err:mmtime:TIME_MMTimeStop Timer still active?!
James McKenzie

Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Ini

Post by James McKenzie »

Michael Collins wrote:
Hi all,

I'm hoping that someone has seen this one before. I am trying to get
Civ4 working in Wine 1.2 on my Mac and I get so far as the stage where
it initializes Python and it fails. I've attached the log at the end
of this transmission. It's relatively short as these things go. I can
see at least one error: 'import site' failed; use -v for traceback but
I have no clue as to how to resolve that in this situation.

Any input would be most welcome.
-MC
Where did you get your version of Wine?

What happens when you open the terminal program from the Applications ->
Utilities folder?

(You should get a welcome screen and a Python promt >>>>. If you do,
type quit() to exit.)

James McKenzie
James Mckenzie

Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Ini

Post by James Mckenzie »

Michael Collins <[email protected]> wrote:
Sent: Aug 27, 2010 9:35 AM
To: James McKenzie <[email protected]>
Subject: Re: [Wine] Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Initiating Python"

Comments in line...

On Thu, Aug 26, 2010 at 9:23 PM, James McKenzie
<[email protected]> wrote:
Michael Collins wrote:
Hi all,

I'm hoping that someone has seen this one before. I am trying to get
Civ4 working in Wine 1.2 on my Mac and I get so far as the stage where
it initializes Python and it fails. I've attached the log at the end
of this transmission. It's relatively short as these things go. I can
see at least one error: 'import site' failed; use -v for traceback but
I have no clue as to how to resolve that in this situation.

Any input would be most welcome.
-MC
Where did you get your version of Wine?
Sourceforge download
What happens when you open the terminal program from the Applications ->
Utilities folder?
Do you mean the Mac terminal window or something else? I'm using the
Mac terminal program to launch wine. I don't see anywhere that I would
get a Python prompt, especially since Python is embedded in Civ4.
Yes that is what I meant.

James McKenzie
James Mckenzie

Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Ini

Post by James Mckenzie »

Michael Collins <[email protected]> wrote:
Sent: Aug 27, 2010 10:51 AM
To: James Mckenzie <[email protected]>
Subject: Re: [Wine] Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Initiating Python"
Do you mean the Mac terminal window or something else? I'm using the
Mac terminal program to launch wine. I don't see anywhere that I would
get a Python prompt, especially since Python is embedded in Civ4.
Yes that is what I meant.
Ok. No Python prompt then. :)
Where did you get your version of Wine? If it was from MacPorts or Fink, they have python installation packages you will have to get from them. If not, I'm at a loss where you can get it.

Also, please keep the conversation on the Wine Users list. I am but one volunteer and there are hundreds that read the list and can assist when I cannot.

James McKenzie
Michael Collins

Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Ini

Post by Michael Collins »

Where did you get your version of Wine?  If it was from MacPorts or Fink, they have python installation packages you will have to get from them.  If not, I'm at a loss where you can get it.
I downloaded source from sourceforge.net and built it manually. It was
my understanding that the Python in Civ4 was embedded and that you did
not need to download it separately, although I'm sure I could do that.
I'll investigate.
Also, please keep the conversation on the Wine Users list.  I am but one volunteer and there are hundreds that read the list and can assist when I cannot.
Apologies! On my other mailing lists I just hit "reply" instead of
"reply all" and it goes to the list address. Old habits. Thanks for
letting me know.

I appreciate your assistance.

-MC
Locked