Natural Selection 2 (engine test) + wine 1.1.43

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
zimzum
Level 1
Level 1
Posts: 8
Joined: Mon Apr 19, 2010 6:38 pm

Natural Selection 2 (engine test) + wine 1.1.43

Post by zimzum »

I usually don't mess with wine -- the program either works or it doesn't. That being said, I would like to get this game to run if possible.

This is the output from console. It says that openal-soft needs to be upgraded to v1.12 but I'm at v1.12.854-5.1.
Any help is appreciated.

Code: Select all

fixme:win:EnumDisplayDevicesW ((null),0,0x32f24c,0x00000000), stub!
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d:debug_d3dformat Unrecognized 1280070990 (as fourcc: NULL) WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(1280070990) in the format lookup table
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
err:mmdevapi:pulse_fixup Disabling pulseaudio because of old openal version
err:mmdevapi:pulse_fixup Please upgrade to openal-soft v1.12 or newer
fixme:mmdevapi:MMDevice_Activate IID_IAudioClient unsupported
eps
Level 3
Level 3
Posts: 87
Joined: Tue Mar 18, 2008 11:44 pm

Natural Selection 2 (engine test) + wine 1.1.43

Post by eps »

On Tue, Apr 20, 2010 at 9:46 AM, zimzum <[email protected]> wrote:
I usually don't mess with wine -- the program either works or it doesn't.  That being said, I would like to get this game to run if possible.

This is the output from console.  It says that openal-soft needs to be upgraded to v1.12 but I'm at v1.12.854-5.1.
Any help is appreciated.

Code:
fixme:win:EnumDisplayDevicesW ((null),0,0x32f24c,0x00000000), stub!
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d:debug_d3dformat Unrecognized 1280070990 (as fourcc: NULL) WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(1280070990) in the format lookup table
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
err:mmdevapi:pulse_fixup Disabling pulseaudio because of old openal version
err:mmdevapi:pulse_fixup Please upgrade to openal-soft v1.12 or newer
fixme:mmdevapi:MMDevice_Activate IID_IAudioClient unsupported

Accessing the NS2 Test Engine requires a valid key which appears to
cost $20 USD so I can't test this for you. My first reaction would be
to disable mmdevapi in winecfg under the library tab (winecfg ->
libraries -> type mmdevapi -> add -> select and edit -> disable). If
that doesn't work try using the native openal32.dll or a mixture of
the two suggestions. Report back if either work.
zimzum
Level 1
Level 1
Posts: 8
Joined: Mon Apr 19, 2010 6:38 pm

Post by zimzum »

Thanks for replying! I did as you suggested, having to add both to get a little further. Now, the game launches in a window and crashes. Here's the console output:

Code: Select all

fixme:win:EnumDisplayDevicesW ((null),0,0x32f24c,0x00000000), stub!
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d:debug_d3dformat Unrecognized 1280070990 (as fourcc: NULL) WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(1280070990) in the format lookup table
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"mmdevapi.dll"
err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x7
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x19ec38,0x19eb38): stub
fixme:d3d_surface:surface_load_ds_location No up to date depth stencil location
eps
Level 3
Level 3
Posts: 87
Joined: Tue Mar 18, 2008 11:44 pm

Natural Selection 2 (engine test) + wine 1.1.43

Post by eps »

On Wed, Apr 21, 2010 at 10:09 AM, zimzum <[email protected]> wrote:
Thanks for replying! I did as you suggested, having to add both to get a little further.  Now, the game launches in a window and crashes.  Here's the console output:

Code:
fixme:win:EnumDisplayDevicesW ((null),0,0x32f24c,0x00000000), stub!
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d:debug_d3dformat Unrecognized 1280070990 (as fourcc: NULL) WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(1280070990) in the format lookup table
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"mmdevapi.dll"
err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x7
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x19ec38,0x19eb38): stub
fixme:d3d_surface:surface_load_ds_location No up to date depth stencil location

Looks like the problem is still with sound. You may be able to get
the engine test to run by disabling sound in Wine (winecfg -> audio ->
untick ALSA or OSS boxes so that none are checked).

Maarteen has added some basic mmdevapi support to git in the last day
so you may have luck if you compile from the latest git or wait for
1.1.44. You can follow an issue rather similar to yours on this bug
http://bugs.winehq.org/show_bug.cgi?id=21248. If you do compile
please report if it is successful either here or in the bug.
zimzum
Level 1
Level 1
Posts: 8
Joined: Mon Apr 19, 2010 6:38 pm

Post by zimzum »

I unchecked ALSA without any change. I've sent you a pm.
zimzum
Level 1
Level 1
Posts: 8
Joined: Mon Apr 19, 2010 6:38 pm

Post by zimzum »

I emailed Flayra asked about a key for testing and he happily sent one and I've pm'd it to you. For the time being Steam needs to be installed and running for NS2 to launch. NS2 doesn't need to be launched through steam, just needs it to be running. This will change as the actual alpha and beta releases come and Steamworks is incorporated.
I'm gonna link to this thread on the NS forums and try to get some of the ppl to post here with what has worked for them and which OS they're using.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

zimzum wrote:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"mmdevapi.dll"
What win version have you set in winecfg? It should be left @ winxp.
eps
Level 3
Level 3
Posts: 87
Joined: Tue Mar 18, 2008 11:44 pm

Natural Selection 2 (engine test) + wine 1.1.43

Post by eps »

On Thu, Apr 22, 2010 at 9:42 PM, zimzum <[email protected]> wrote:
I emailed Flayra asked about a key for testing and he happily sent one and I've pm'd it to you. For the time being Steam needs to be installed and running for NS2 to launch. NS2 doesn't need to be launched through steam, just needs it to be running.  This will change as the actual alpha and beta releases come and Steamworks is incorporated.
I'm gonna link to this thread on the NS forums and try to get some of the ppl to post here with what has worked for them and which OS they're using.
Thanks for this. NS2 installs successfully and attempts to spawn
using 1.1.43 git before crashing. Disabling mmdevapi allows the
engine window to spawn (nice big black area) before crashing as a
result of some d3d calls looping indefinitely and using up all video
memory. I'm currently compiling a versions of wine to find one that
works with NS2 and Steam that is closer to when this d3d issue popped
up.

An application profile for NS2 will need to be created in the Appdb
and a bug for this should be created to alert those who need to know
that there is a problem. I'll report back if I get it properly
running and my steps for doing so so you can try the engine in the
interim.
zimzum
Level 1
Level 1
Posts: 8
Joined: Mon Apr 19, 2010 6:38 pm

Post by zimzum »

vitamin wrote:What win version have you set in winecfg? It should be left @ winxp.
I wasn't sure what the settings was, so I double checked and it's set @ winxp.

I've never created a profile for a game, but I'll go do it now. Thanks again for everyone's help and advice.
eps
Level 3
Level 3
Posts: 87
Joined: Tue Mar 18, 2008 11:44 pm

Natural Selection 2 (engine test) + wine 1.1.43

Post by eps »

Just a quick update that I have identified what appear to be the
offending patches and alerted the contributor. This problem also
appears to be affecting Warhammer Live.

NS2 is also suffering from bug 21248 which can be worked around by
disabling mmdevapi in winecfg.
http://bugs.winehq.org/show_bug.cgi?id=21248

Some of the bugs reported by those who did have this running will have
been fixed by one of Henri's patches in the interim so once it is
working again it will probably be faster or more stable.
zimzum
Level 1
Level 1
Posts: 8
Joined: Mon Apr 19, 2010 6:38 pm

Post by zimzum »

Thanks for your efforts. With what you found, does it make sense that someone running 1.1.33 would have been able to launch the game?
eps
Level 3
Level 3
Posts: 87
Joined: Tue Mar 18, 2008 11:44 pm

Natural Selection 2 (engine test) + wine 1.1.43

Post by eps »

On Sat, Apr 24, 2010 at 4:36 AM, zimzum <[email protected]> wrote:
Thanks for your efforts. With what you found, does it make sense that someone running 1.1.33 would have been able to launch the game?

It would if the game didn't rely on Steam which no longer works with
the older versions of Wine.

I think the first version that Steam works with again is 34 and the
last version NS2 works with is around 40 so using a version between
the two lets the test engine work. I currently have it working at 1
FPS using Wine 1.1.39.

What needs to happen now is that the issue causing the game to stop
functioning with the latest Wines needs to be identified and fixed.
Then the cause of the major slow down between 33 and 43 needs to be
identified and fixed. Then NS2 should work fine~ I couldn't find any
further issues.

The Editor is another story unfortunately. I'm not familiar with GDI
so I am unsure how serious this is but the app crashes right after it.
If you know anything about GDI feel free to implement it!

fixme:gdi:ExtCreatePen Hatches not implemented

You can follow this in http://bugs.winehq.org/show_bug.cgi?id=22467
zimzum
Level 1
Level 1
Posts: 8
Joined: Mon Apr 19, 2010 6:38 pm

Post by zimzum »

I was given a Steam Activation key for the game. If any developer is able to or willing to attempt to see if the game can work work wine I'll pm the game key to you.
The key is legit and will link the game to your steam account forever.
Locked