FS Host runs but can not connect connect flights

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Dangerousdave26
Level 1
Level 1
Posts: 9
Joined: Mon Aug 11, 2008 5:53 pm

FS Host runs but can not connect connect flights

Post by Dangerousdave26 »

System Ubuntu 8.04 HH server with Ubuntu desktop (Gnome)
2X 1Ghz Pentium III processors, 1 Gb ram
Wine installed directly from the Ubuntu link version 1.0

Direct X installed per http://www.wine-reviews.net/microsoft/d ... -wine.html

Default all programs set to run as window 2000.

DirectX runs with out a problem

FS Host 3.2 runs fine when you load it up but it will not connect players.
FS2004 can see a session on the server
FS Navigator can not see a session on port 23432
The FS Host status page displays on the correct port 8080 on the lan and over the internet.

If I test Direct play in Direct X it fails to connect to the other PC when I host the test on the Ubuntu Server. When I set up the Direct Play test on the Windows XP side the Ubuntu side connects and they can communicat with no problems.

Both computers are connected by a simple Netgear switch 192.168.10.xxx

Both systems have thier firewalls turned off for testing.

Testing of an internet connection will not commence until I get it working on the lan.

Any help is appreciated

Other notes there is no sound card in the server (its a server)
Dangerousdave26
Level 1
Level 1
Posts: 9
Joined: Mon Aug 11, 2008 5:53 pm

Post by Dangerousdave26 »

After furture testing i have determined that the problem is Direct Play.

In the Network tab in the DirectX Diagnostic Program there is a "Test Direct Play" button. If I launch the test on my Windows PC and host the session there it works. The Directx Diagnostic program connects from the Ubuntu server running Wine and both sides can communicate messages to and from.

However when I host the session on the Ubuntu server the windowsPc can see the session but never connects to it.

When I run Wireshark on both PC's I see the traffic and communications from both PC's even when they will not connect.

I have followed the suggestions from here http://wiki.winehq.org/DirectPlayGames and no joy.

I really feel that because I can see both sides talking when they do not connect that it is real close to working but I just don't know what is stopping it.
Dangerousdave26
Level 1
Level 1
Posts: 9
Joined: Mon Aug 11, 2008 5:53 pm

Post by Dangerousdave26 »

Looking into the log files for DX I found that the dpnet.dll is not registering


--------------------

[08/13/08 23:10:45] module: dsetup32(Mar 5 2008), file: inline.h, line: 97, function: IsDotNETFrameworkInstalled



Failed API: GetCORVersion()



--------------------

[08/13/08 23:10:58] module: dsetup32(Mar 5 2008), file: excppack.cpp, line: 53, function: LoadSysSetup



Failed API: LoadLibrary()

Error: (126) - Module not found





--------------------

[08/13/08 23:11:08] module: dsetup32(Mar 5 2008), file: excppack.cpp, line: 53, function: LoadSysSetup



Failed API: LoadLibrary()

Error: (126) - Module not found





--------------------

[08/13/08 23:14:42] module: dxdllreg(Mar 5 2008), file: dxdllreg.cpp, line: 112, function: RegisterDLL



Failed API: DllRegisterServer()

Error: (0x80004005)



Module: C:\windows\system32\dpnet.dll



I did a google search on the error code 0x80004005 and found this

http://support.microsoft.com/kb/295297

Basically it is stating that the file is not in the registery....I think. maybe some one else has a better idea.

This dll is the DirectPlay8 TCP/IP service provider

If I change the value of dpnet.dll from "native,bulltin" to bulltin it fails completely. As long as it is Native or native,bulltin it works (halfway)

I still don't know why it is complaining about .net though
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

what happens if you manually register it:

WINEDLLOVERRIDES="dpnet=n" regsvr32 dpnet.dll


Then run game with native dpnet.dll as well
Dangerousdave26
Level 1
Level 1
Posts: 9
Joined: Mon Aug 11, 2008 5:53 pm

Post by Dangerousdave26 »

No Joy :cry:


$ WINEDLLOVERRIDES="dpnet=n" regsvr32 dpnet.dll
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
fixme:advapi:SetEntriesInAclA 1 0x33f79c (nil) 0x33f7d4
fixme:advapi:SetSecurityInfo stub
fixme:advapi:SetEntriesInAclA 1 0x33f7a8 (nil) 0x33f7f0
fixme:advapi:SetSecurityInfo stub
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Failed to register DLL dpnet.dll


:(
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

you should copy dpnet.dll from a windows-partition into ~/.wine/drive_c/windows/system32/

Did you do that?

It should look like

WINEDLLOVERRIDES="dpnet=n" regsvr32 dpnet.dll
Successfully registered DLL dpnet.dll
Dangerousdave26
Level 1
Level 1
Posts: 9
Joined: Mon Aug 11, 2008 5:53 pm

Post by Dangerousdave26 »

Yes I did and I just did it again

I get

user@server:~$ WINEDLLOVERRIDES="dpnet=n" regsvr32 dpnet.dll

user@server:~/.wine/drive_c/windows/system32$ WINEDLLOVERRIDES="dpnet=n" regsvr32 dpnet.dll
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:mixer:ALSA_MixerInit No master control found on CA0106, disabling mixer
Failed to register DLL dpnet.dll


I even wen out and bought a sound card to day and installed it just in the event not having one was messing with DX.

It installed just fine and all DX functions work with it and still the same.

I just noticed as I am trying to connect this message keeps scrolling in the terminal window.

fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub

This is my first Linux box and I did not format the hard drives correctly so I am going to blow it our and do it again.

Then I will try it all over and see what happens

Thanks Dave
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

Ah, i can reproduce your problem with dpnet from XP.

I guess i used an older version of dpnet when it succeeded for me.

For the dpnet from XP i also needed to put dpnwsock.dll and dpnmodem.dll into ~/.wine/drive_c/windows/system32/

Then the registration went fine for me. Hope this is enough to help.

(BTW, i guess all this copying of dlls could be done more simple by

wget http://kegel.com/wine/winetricks && sh winetricks directx9)
Dangerousdave26
Level 1
Level 1
Posts: 9
Joined: Mon Aug 11, 2008 5:53 pm

Post by Dangerousdave26 »

AH

That could be it

I got all of my .dll's from XP

Thanks

Still going to blow it out and start over.

tomorrow morning
Dangerousdave26
Level 1
Level 1
Posts: 9
Joined: Mon Aug 11, 2008 5:53 pm

Post by Dangerousdave26 »

I did a clean install of wine (not the whole OS yet)

I reinstalled DX placed the .dll files dpnsock.dll and dpnmodem.dll in the system32 folder.

Now dpnet.dll registers without a problem.

But I still have the same issue {insert explative here}

Again when I host the DirectPlay test in the dxdiag.exe network tab it fails to connect to my other PC when in deed the other PC can see the session.

I don't really understand how to use the information on the link you posted I am still somewhat new to Linux. I can follow the instructions until I get to the part about selecting the mirror. From there I am kind of lost.

My guess is that because it is referred to as a script that I should be able to execute it and have it run automatically but I don't know how to do that or where the script would end.

Has anyone been able to test DirectPlay hosting it on a Linux box running in Wine and gotten it to work?

I guess it would not be an issue if you are trying to connect from the Linux box to a Windows PC but my intent is to Host FS Flights on my server.

Very frustrating right now but I know I am very close.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Dangerousdave26 wrote:
I don't really understand how to use the information on the link you posted I am still somewhat new to Linux. I can follow the instructions until I get to the part about selecting the mirror. From there I am kind of lost.

My guess is that because it is referred to as a script that I should be able to execute it and have it run automatically but I don't know how to do that or where the script would end.
It wasn't a link to be followed, it was a command to enter in the terminal:

Code: Select all

wget http://kegel.com/wine/winetricks && sh winetricks directx9
For more information on winetricks, go to http://wiki.winehq.org/winetricks
Dangerousdave26
Level 1
Level 1
Posts: 9
Joined: Mon Aug 11, 2008 5:53 pm

Post by Dangerousdave26 »

Yes I figured that out after I looked at it again and figured that wget was not a miss spelling of get

It would be rather hard to fat finger "w" and 'g" would in not :lol:

I ran it but it corrupted the registry on the DX install so I am going to uninstall wine and reinstall and try it that way.
Dangerousdave26
Level 1
Level 1
Posts: 9
Joined: Mon Aug 11, 2008 5:53 pm

Post by Dangerousdave26 »

Blew out wine and reinstalled.

Loaded with the command and same problem with DirectPlay

The dpnet.dll does register that is not a issue

Seems like I am just wasting time now.

Thanks for your help

I may tackle it again after I have some more knowledge or if I see someone else getting close.
Locked