Wine network problem with multiplayer games

Questions about Wine on Linux
Locked
negm
Level 1
Level 1
Posts: 6
Joined: Thu Sep 25, 2014 5:56 am

Wine network problem with multiplayer games

Post by negm »

I'm using ubuntu 14.4 64bit and wine-1.7.26 and the problem is:
iexplore is running fine and I can access the ineternet but when I run any game that requires internet or lan access they don't work (the networking stuff) for example:

1-Counter Strike 1.6 can't see any servers at all whether it is lan or anything else "I can't even see my own created dedicated server".
2-C&C red alert 2 can't see other windows player in the network game (using the IPX tunnelling dll).

and I think any application that requires networking with other devices won't work.

PS I've installed firefox in wine to check internet connectivity and it can access without any problems.

sorry for my english :)
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine network problem with multiplayer games

Post by dimesio »

Post terminal output from one of the games.
negm
Level 1
Level 1
Posts: 6
Joined: Thu Sep 25, 2014 5:56 am

Re: Wine network problem with multiplayer games

Post by negm »

wine cstrike.exe
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil)) - stub!
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:advapi:RegisterEventSourceW ((null),L"YahooAUService"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000000,(nil),0x0001,0x00000000,0x8be77c,(nil)): stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:exec:SHELL_execute flags ignored: 0x00000100
n39m4@n39m4-PC:~/.wine/drive_c/Program Files (x86)/Counter-Strike 1.6$ fixme:win:EnumDisplayDevicesW ((null),0,0x33f3c8,0x00000000), stub!
fixme:ddraw:ddraw7_FlipToGDISurface iface 0x17b3d0 stub!
fixme:ieframe:ViewObject_SetAdvise (0x6609a80)->(1 00000002 0xfdaaa8)
fixme:ieframe:PersistStreamInit_InitNew (0x6609a80)
fixme:ieframe:WebBrowser_put_RegisterAsBrowser (0x6609a80)->(ffffffff)
fixme:ieframe:WebBrowser_put_RegisterAsDropTarget (0x6609a80)->(ffffffff)
fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
fixme:ieframe:OleInPlaceObject_InPlaceDeactivate (0x6609a80)
fixme:ieframe:OleInPlaceObject_UIDeactivate (0x6609a80)

I hope this be helpful for you, and if there is anything else I could do just let me know
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine network problem with multiplayer games

Post by dimesio »

Try installing to a 32 bit wineprefix. http://wiki.winehq.org/FAQ#32_bit_wineprefix
negm
Level 1
Level 1
Posts: 6
Joined: Thu Sep 25, 2014 5:56 am

Re: Wine network problem with multiplayer games

Post by negm »

thank you for your effort and time.

I've tried your solution but it didnot work, to be more clear the games are running just fine whether 64bit wine or the wineprefix 32bit arch but the networknig is the issue I'm facing with them.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: Wine network problem with multiplayer games

Post by oiaohm »

negm you never said what IPX wrapper http://ipxemu.sourceforge.net/ There are are a lot of networking modification things that are not wine compatible. ipxemu is one of the ipx conversions reported a long time ago to work with wine.
negm
Level 1
Level 1
Posts: 6
Joined: Thu Sep 25, 2014 5:56 am

Re: Wine network problem with multiplayer games

Post by negm »

I'm using this wrapper for RA2

http://www.solemnwarning.net/ipxwrapper

and it works fine on windows machines with out problems, it require override of the mswsock.dll and wsock32.dll in wine configuration so it uses (native, builtin)

I've tried it without the override and it didn't work but when I use the override windows machines can see me but I can not see them so I gues it didn't work either. I've also tried to connect to my CS 1.6 dedicated server that I've created with and without the override and I can not see the server even when someone on my lan creates a server I can not see it at all.

the priority for me is to fix networking problems of CS which I gues will fix the rest

thank you guys for your help.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: Wine network problem with multiplayer games

Post by oiaohm »

negm Some trouble here could becoming form treating wine as windows. Wine has its own uniqueness.

There are cases that you can poison wine operations by introducing Libraries that happen to override something wine is using internally.

mswsock.dll and wsock32.dll Libraries wine by default attempts to use its own dll.so files. Higher performance for wine to drop native versions of these libraries if Application does not require them. There are differences in wine networking to windows. I have no reports that ipxwrapper and wine are compatible. Do try ipxemu and see if that makes it work. From ipxemu information red alert 2 only requires wsock32.dll override not mswsock.dll touched.

http://wiki.winehq.org/FAQ#wineprefix

A wineprefix per application can be advisable in a case like this. Files from RA2 could be interacting with Counter Strike 1.6.

Nasty fact is if a application loads libraries particular ways the wine overrides to force native over builtin are not required. cstrike.exe log does not show any messages from a windows .dll for networking that suggests that they are overridden.

Basically the dll override order instruction in wine is a suggestion not mandatory on what will happen. Mandatory not to have a dll override is that only the wine stub forms of those libraries exist in the wineprefix. ipxwrapper could be what has snapped Counter Strike.
negm
Level 1
Level 1
Posts: 6
Joined: Thu Sep 25, 2014 5:56 am

Re: Wine network problem with multiplayer games

Post by negm »

I hope not to disappoint you guys especially oiaohm But -before I saw your post and I should've written an update- I thought something like what you said could be happening.
SO
I had purged wine and deleted all of its files and configuration then with a clean installment of wine-1.7.26 I installed CS 1.6 and this didn't work it out :( .

I know that my post included two games I'm having issues with but right now my only interest and priority is to fix CS 1.6 networking first then I'll give RA2 a try with ipxemu.

I appreciate your help guys :) .
negm
Level 1
Level 1
Posts: 6
Joined: Thu Sep 25, 2014 5:56 am

Re: Wine network problem with multiplayer games

Post by negm »

the new output after the clean installation for:

1-hlds

Code: Select all

 wine hlds.exe 
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
err:ole:RevokeDragDrop invalid hwnd 0x10080
err:ole:RevokeDragDrop invalid hwnd 0x10094
2-cstrike

Code: Select all

wine cstrike.exe 
fixme:exec:SHELL_execute flags ignored: 0x00000100
negm@negm-PC:~/.wine/drive_c/Program Files (x86)/Counter-Strike 1.6$ fixme:win:EnumDisplayDevicesW ((null),0,0x33f3c8,0x00000000), stub!
fixme:ddraw:ddraw7_FlipToGDISurface iface 0x17b3d0 stub!
fixme:ieframe:ViewObject_SetAdvise (0x6609a80)->(1 00000002 0xfdaa88)
fixme:ieframe:PersistStreamInit_InitNew (0x6609a80)
fixme:ieframe:WebBrowser_put_RegisterAsBrowser (0x6609a80)->(ffffffff)
fixme:ieframe:WebBrowser_put_RegisterAsDropTarget (0x6609a80)->(ffffffff)
fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
fixme:ieframe:OleInPlaceObject_InPlaceDeactivate (0x6609a80)
fixme:ieframe:OleInPlaceObject_UIDeactivate (0x6609a80)
I hope it helps
Locked