[Wine] wine and Mankind (the one from www.mankind.net) - possible networking or file creation problem

Georg C.F. Wolff boeser.wolff at web.de
Tue Mar 21 15:24:41 CST 2006


Hello!

I am now trying for quiet a while to get Mankind running with wine.
I tried almost everything and read tons of wine's debug output - without
success (yet...).
The story in short: (also see
http://appdb.winehq.com/appview.php?appId=2409)
The game installs perfectly. It can be started. Its possible display
Mankind's news website within the client, but that doesn't have priority
for me (it doesn't change too often). The options menu is accessible.
When trying to connect to the game servers, Mankind checks for updates
first. This can't be disabled.
Networking seems to work with wine's built in ddls, it fails with a
native ws2_32. The ports Mankind is said use (from the forum on
Mankind.net) are 1804, 1977, 1901-1910 and 25000-25744 (updates). I also
told tcpdump to capture DNS-queries. The only packet that was sent is:

19:56:38.920044 IP (tos 0x0, ttl  64, id 38591, offset 0, flags [DF],
proto: UDP (17), length: 60) ***********.32860 > ************: [udp sum
ok]  2288+ A? np.mankind.net. (32)
0x0000:  00a0 cc5c 2a75 0011 6b30 74e6 0800 4500  ...\*u..k0t...E.
0x0010:  003c 96bf 4000 4011 2071 c0a8 012f c0a8  .<.. at .@..q.../..
0x0020:  0101 805c 0035 0028 f37e 08f0 0100 0001  ...\.5.(.~......
0x0030:  0000 0000 0000 026e 7007 6d61 6e6b 696e  .......np.mankin
0x0040:  6403 6e65 7400 0001 0001                 d.net.....
 
That's ok. The server that distributes the updates is np.mankind. But I
don't capture any other packets. I would expect an attempt to connect to
it or any other of Mankind's servers.

This may also be related to some other thing I have noticed:

trace:file:CreateFileW L"mk.cfg" GENERIC_READ FILE_SHARE_READ
FILE_SHARE_WRITE  creation 3 attributes 0x80
trace:file:RtlDosPathNameToNtPathName_U
(L"mk.cfg",0x7f9de618,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"mk.cfg" 520 0x7f9de38c (nil))
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\Programme\\Mankind\
\Mankind\\mk.cfg" ->
"$HOME/.wine/dosdevices/c:/Programme/Mankind/Mankind/mk.cfg"
trace:file:CreateFileW returning 0x18
trace:file:ReadFile 0x18 0x7f9de748 4 0x7f9de6dc (nil)
...
trace:file:CreateFileW L"C:\\Programme\\Mankind\\Mankind/Mankind.mip"
GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE  creation 3 attributes
0x80
trace:file:RtlDosPathNameToNtPathName_U (L"C:\\Programme\\Mankind\
\Mankind/Mankind.mip",0x7ca79cac,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\Programme\\Mankind\
\Mankind/Mankind.mip" 520 0x7ca79a20 (nil))
warn:file:wine_nt_to_unix_file_name L"Mankind.mip" not found in
$HOME/.wine/dosdevices/c:/Programme/Mankind/Mankind
warn:file:CreateFileW Unable to create file L"C:\\Programme\\Mankind\
\Mankind/Mankind.mip" (status c0000034)
trace:file:CreateFileW returning 0xffffffff
trace:file:GetFileAttributesW L"C:\\Programme\\Mankind\
\Mankind/Mankind.npr"
trace:file:RtlDosPathNameToNtPathName_U (L"C:\\Programme\\Mankind\
\Mankind/Mankind.npr",0x7ca7e16c,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\Programme\\Mankind\
\Mankind/Mankind.npr" 520 0x7ca7def0 (nil))
warn:file:wine_nt_to_unix_file_name L"Mankind.npr" not found in
$HOME/.wine/dosdevices/c:/Programme/Mankind/Mankind
trace:file:CreateFileW L"C:\\Programme\\Mankind\\Mankind/Mankind.dpf"
GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE  creation 3 attributes
0x80
trace:file:RtlDosPathNameToNtPathName_U (L"C:\\Programme\\Mankind\
\Mankind/Mankind.dpf",0x7ca7ca7c,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\Programme\\Mankind\
\Mankind/Mankind.dpf" 520 0x7ca7c7f0 (nil))
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\Programme\\Mankind\
\Mankind\\Mankind.dpf" ->
"$HOME/.wine/dosdevices/c:/Programme/Mankind/Mankind/Mankind.dpf"
trace:file:CreateFileW returning 0x88
trace:file:SetFilePointerEx handle 0x88 offset 0 newpos 0x7ca7cb38
origin 2
trace:file:SetFilePointerEx handle 0x88 offset 0 newpos 0x7ca7cb30
origin 1
trace:file:SetFilePointerEx handle 0x88 offset 0 newpos 0x7ca7cb38
origin 0
trace:file:ReadFile 0x88 0x7fd45b48 16 0x7ca7cb58 (nil)
trace:file:GetFileAttributesW L"C:\\Programme\\Mankind\
\Mankind/Mankind.1.231.238.npr"
trace:file:RtlDosPathNameToNtPathName_U (L"C:\\Programme\\Mankind\
\Mankind/Mankind.1.231.238.npr",0x7ca7cad4,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\Programme\\Mankind\
\Mankind/Mankind.1.231.238.npr" 520 0x7ca7c858 (nil))
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\Programme\\Mankind\
\Mankind\\Mankind.1.231.238.npr" ->
"$HOME/.wine/dosdevices/c:/Programme/Mankind/Mankind/Mankind.1.231.238.npr"
trace:file:GetFileAttributesExW L"C:\\Programme\\Mankind\
\Mankind/Mankind.1.231.238.npr" 0 0x7ca7caa8
trace:file:RtlDosPathNameToNtPathName_U (L"C:\\Programme\\Mankind\
\Mankind/Mankind.1.231.238.npr",0x7ca7ca44,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\Programme\\Mankind\
\Mankind/Mankind.1.231.238.npr" 520 0x7ca7c7b8 (nil))
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\Programme\\Mankind\
\Mankind\\Mankind.1.231.238.npr" ->
"$HOME/.wine/dosdevices/c:/Programme/Mankind/Mankind/Mankind.1.231.238.npr"
trace:file:CreateFileW L"C:\\Programme\\Mankind\
\Mankind/Mankind.1.231.238.npr" GENERIC_WRITE FILE_SHARE_READ
FILE_SHARE_WRITE  creation 2 attributes 0x80
trace:file:RtlDosPathNameToNtPathName_U (L"C:\\Programme\\Mankind\
\Mankind/Mankind.1.231.238.npr",0x7ca7de18,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\Programme\\Mankind\
\Mankind/Mankind.1.231.238.npr" 520 0x7ca7db8c (nil))
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\Programme\\Mankind\
\Mankind\\Mankind.1.231.238.npr" ->
"$HOME/.wine/dosdevices/c:/Programme/Mankind/Mankind/Mankind.1.231.238.npr"
trace:file:CreateFileW returning 0x88

A note: .wine/dosdevices/c: is a link to ../drive_c where my fake
windows installation resides.

Mankind is unable to create the file Mankind.mip (purpose unknown). Wine
has sufficient permissions to do so.
The file Mankind.npr can't be found. Even if I create it before running
Mankind.
The question Im asking myself is: Is this a problem with the
DosPathNameToNtPathName/ReadFile/CreateFileW/... calls?

If anyone - probably with a lot more debugging experience than I have -
could help me or tell me where to look further, I'd appreciate very
much.


Georg Wolff


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 199 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://www.winehq.org/pipermail/wine-users/attachments/20060321/f9c2c13e/attachment.pgp


More information about the wine-users mailing list