NWSlacker
2009-Dec-05 04:32 UTC
[Wine] Cannot run Rise of Nations when overrides set to native
Hello. I've just started using WINE 1.1.33 on my macbook running OS X
10.6.2.
I'm trying to get one particular application to run, 'rise of
nations'. The application installed correctly, but getting it to run is a
different story altogether.
Without any modifications at all, the application runs just fine except that
there is no sound output. Other applications output sound just fine.
Bug 9027 (http://bugs.winehq.org/show_bug.cgi?id=9027) suggests using winetricks
to install mfc42 and d3dx9, which I did, and no error messages were given in
this process. Bug 9027 also suggests setting several dll overrides to native,
which I have done. However, whenever any of these overrides are set to native
the application simply quits with a dialogue box "this application needs to
close". Pushing debug doesn't seem to get me any further except to
visit winehq. I don't see any kind of log file.
Console displays this, but it looks like gibberish to me:
09-12-04 11:25:52 PM Wine[120] task init
09-12-04 11:25:52 PM Wine[120] -[NSConcreteTask copyWithZone:]: unrecognized
selector sent to instance 0x268810
09-12-04 11:25:52 PM Wine[120] -[NSConcreteTask copyWithZone:]: unrecognized
selector sent to instance 0x268810
09-12-04 11:25:53 PM MIDIServer[3744] MIDIServer [3744] starting; arch=x86_64
09-12-04 11:25:54 PM Wine[120] Err:fixme:ntdll:RtlNtStatusToDosErrorNoTeb no
mapping for c0000109
09-12-04 11:25:54 PM Wine[120] Err:fixme:imm:ImmDisableTextFrameService Stub
09-12-04 11:25:54 PM Wine[120] Err:fixme:imm:ImmReleaseContext (0x60032,
0x17df88): stub
09-12-04 11:25:54 PM Wine[120] Err:fixme:imm:NotifyIME NI_CLOSECANDIDATE
fixme:imm:ImmGetOpenStatus (0x17df88): semi-stub
09-12-04 11:25:54 PM Wine[120] Err:fixme:win:EnumDisplayDevicesW
((null),0,0xe3ec80,0x00000000), stub!
09-12-04 11:25:54 PM Wine[120] Err:err:ole:CoGetClassObject class
{ebb08c45-6c4a-4fdc-ae53-4eb8c4c7db8e} not registered
err:ole:CoGetClassObject no class object {ebb08c45-6c4a-4fdc-ae53-4eb8c4c7db8e}
could be created for context 0x1
09-12-04 11:25:54 PM Wine[120] Err:fixme:win:EnumDisplayDevicesW
((null),0,0xe3ea50,0x00000000), stub!
09-12-04 11:25:54 PM Wine[120]
Err:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found
1024x768x32 @0! (NoRes)
09-12-04 11:25:54 PM Wine[120] Err:fixme:d3d:WineD3D_ChoosePixelFormat Add
OpenGL context recreation support to SetDepthStencilSurface
09-12-04 11:25:56 PM Wine[120]
Err:err:dmloader:IDirectMusicLoaderImpl_IDirectMusicLoader_SetObject : could not
attach stream to file
09-12-04 11:25:56 PM Wine[120] Err:err:ole:COMPOBJ_DllList_Add couldn't load
in-process dll L"dmime.dll"
09-12-04 11:25:56 PM Wine[120] Err:err:ole:CoGetClassObject no class object
{d2ac2881-b39b-11d1-8704-00600893b1bd} could be created for context 0x3
09-12-04 11:25:56 PM Wine[120] Err:err:ole:CoGetClassObject class
{ebb08c45-6c4a-4fdc-ae53-4eb8c4c7db8e} not registered
err:ole:CoGetClassObject no class object {ebb08c45-6c4a-4fdc-ae53-4eb8c4c7db8e}
could be created for context 0x1
09-12-04 11:25:56 PM Wine[120] Err:fixme:dxdiag:ProcessCommandLine /t
unimplemented
09-12-04 11:25:56 PM Wine[120] Err:err:ole:CoGetClassObject class
{ebb08c45-6c4a-4fdc-ae53-4eb8c4c7db8e} not registered
err:ole:CoGetClassObject no class object {ebb08c45-6c4a-4fdc-ae53-4eb8c4c7db8e}
could be created for context 0x1
09-12-04 11:25:56 PM Wine[120] Err:fixme:imm:ImmDisableIME (-1): stub
09-12-04 11:25:56 PM Wine[120] Err:fixme:advapi:RegisterEventSourceW
((null),L"Rise of Nations"): stub
fixme:advapi:ReportEventA
(0xcafe4242,0x0001,0x0000,0x000003e8,0x0,0x0005,0x0000004d,0x6ce47c,0x6ce034):
stub
fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0x000003e8,0x0,0x0005,0x0000004d,0x14a6d0,0x6ce034):
stub
err:eventlog:ReportEventW L"patriots.exe"
err:eventlog:ReportEventW L"3.2.3.2901"
err:eventlog:ReportEventW L""
err:eventlog:ReportEventW L"0.0.0.0"
err:eventlog:ReportEventW L"00000000"
09-12-04 11:25:56 PM Wine[120] Err:fixme:advapi:DeregisterEventSource
(0xcafe4242) stub
09-12-04 11:25:57 PM Wine[120] Std:(null)
09-12-04 11:26:01 PM Wine[120] Err:(null)
Any ideas about what I've done wrong?
ryan woodsmall
2009-Dec-05 04:40 UTC
[Wine] Cannot run Rise of Nations when overrides set to native
On Dec 4, 2009, at 10:32 PM, NWSlacker wrote:> > 09-12-04 11:25:54 PM Wine[120] Err:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1024x768x32 @0! (NoRes)Run "winecfg" and setup Wine to use a virtual desktop of the appropriate size from the Graphics tab. The X server in OS X is a bit different than that on Linux; the above error indicates that a resolution change could not be accommodated. This may not be the root of the problem, however. What kind of graphics card (integrated Intel or ATI/Nvidia GPU) does your Mac have? Regarding the sound problem, make sure you're using CoreAudio output, again open "winecfg" and select the proper driver from the Audio tab. -ryan
NWSlacker
2009-Dec-05 16:48 UTC
[Wine] Re: Cannot run Rise of Nations when overrides set to native
Thanks for the speedy reply. I tried turning on the virtual desktop, it didn't make a lick of difference. Audio is set to use coreaudio (it's the only option I have) I think that it's a problem with directx. The application only fails to load if I have those directx dll overrides set to native. Hardware acceleration is set to full, but using emulation makes no difference. The dll's that I have set to override are in the windows/system32 folder. I decided to try with a clean slate. I deleted the prefix and created a new one. I used the appropriate winetricks, no issues. I installed the application, no issue. I tried running the application, now the game quits with the message "DirectX 9 failed to initialize. Either DirectX 9 is not installed on this system, or your hardware does not support DirectX 9. I tried running dxdiag, but it won't launch at all. I doubt that this new macbook pro lacks the hardware needed to load DirectX 9. Just to be sure that DirectX 9 is installed properly, I ran the d3dx9 winetrick again, no errors given, but the application will not launch unless I set those dll overrides to built-in, in which case the application launches, but there is no sound. What might I be missing?