[Bug 45050] Railroad Tycoon 3 crashes when trying to host a Multiplayer game ( IDirectPlay8PeerImpl_Host is a stub)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 23 08:04:17 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45050

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE
                 CC|                            |focht at gmx.net
          Component|-unknown                    |directx-dplay
            Summary|Railroad Tycoon 3 crashes   |Railroad Tycoon 3 crashes
                   |when trying to host a       |when trying to host a
                   |Multiplayer game            |Multiplayer game
                   |                            |(IDirectPlay8PeerImpl_Host
                   |                            |is a stub)

--- Comment #1 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

dupe of bug 17726

Use 'winetricks directplay' to work around.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/GOG Games/Railroad Tycoon 3

$ WINEDEBUG=+seh,+relay,+dpnet wine ./RT3.exe >>log.txt 2>&1
...
0030:Call
KERNEL32.CreateThread(00000000,00000000,00563dd0,03324010,00000000,03324018)
ret=00563e78
0030:Ret  KERNEL32.CreateThread() retval=00000124 ret=00563e78
...
0047:Starting thread proc 0x563dd0 (arg=0x3324010)
0047:Call KERNEL32.SetThreadPriority(00000124,00000002) ret=004efa95
0047:Ret  KERNEL32.SetThreadPriority() retval=00000001 ret=004efa95
...
0047:fixme:dpnet:IDirectPlay8PeerImpl_SetPeerInfo
(0x3012480)->(0x1fcfa78,(nil),(nil),80000000) Semi-stub.
...
0047:trace:dpnet:IDirectPlay8AddressImpl_AddComponent (0x30124d0, L"port",
0x1fcfb94, 4, 2)
0047:Call KERNEL32.lstrcmpW(005dcf70 L"port",03012530 L"provider") ret=7c3226fe
0047:Ret  KERNEL32.lstrcmpW() retval=ffffffff ret=7c3226fe
...
0047:trace:dpnet:IDirectPlay8AddressImpl_AddComponent (0x1fcfb94, 4): DWORD
Type -> 9000
0047:trace:dpnet:IDirectPlay8AddressImpl_AddComponent (0x30124d0,
L"traversalmode", 0x1fcfba4, 4, 2)
0047:Call KERNEL32.lstrcmpW(005dcf9c L"traversalmode",03012530 L"provider")
ret=7c3226fe
0047:Ret  KERNEL32.lstrcmpW() retval=00000001 ret=7c3226fe
0047:Call KERNEL32.lstrcmpW(005dcf9c L"traversalmode",03012730 L"port")
ret=7c3226fe
0047:Ret  KERNEL32.lstrcmpW() retval=00000001 ret=7c3226fe
...
0047:trace:dpnet:IDirectPlay8AddressImpl_AddComponent (0x1fcfba4, 4): DWORD
Type -> 0
0047:Call KERNEL32.MultiByteToWideChar(00000000,00000000,01fcfbf0 "n550's
Game",ffffffff,01fcfd70,0000000b) ret=00557960
0047:Ret  KERNEL32.MultiByteToWideChar() retval=00000000 ret=00557960
0047:fixme:dpnet:IDirectPlay8PeerImpl_Host
(0x3012480)->(0x1fcfba8,0x375f06c,1,(nil),(nil),(nil),0): stub
0047:trace:seh:raise_exception code=c0000005 flags=0 addr=0x4efaec ip=004efaec
tid=0047
0047:trace:seh:raise_exception  info[0]=00000001
0047:trace:seh:raise_exception  info[1]=00002690
0047:trace:seh:raise_exception  eax=00000000 ebx=00000000 ecx=00000001
edx=0358fad8 esi=00000000 edi=00000000
0047:trace:seh:raise_exception  ebp=01fcfeec esp=01fcfea8 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010246
...
0047:trace:seh:start_debugger Starting debugger "winedbg --auto 47 304"
...
Backtrace:
=>0 0x004efaec in rt3 (+0xefaec) (0x01fcfeec)
  1 0x7bc954ce call_thread_func+0x63(entry=0x563dd0, arg=0x3324010)
[/home/focht/projects/wine/wine.repo/src/dlls/ntdll/signal_i386.c:2625] in
ntdll (0x01fcffdc)
  2 0x7bc9545a call_thread_entry+0x9() in ntdll (0x01fcffec)
0x004efaec: movl    %ecx,0x2690(%eax)
Modules:
Module    Address            Debug info    Name (171 modules)
PE      400000-  dc9000    Export          rt3
PE     2340000- 236b000    Deferred        msseax.m3d
PE    10000000-10016000    Deferred        d8tx
PE    21100000-21164000    Deferred        mss32
PE    22100000-22122000    Deferred        mssa3d.m3d
PE    22300000-2231b000    Deferred        mssds3d.m3d
PE    22400000-22419000    Deferred        msssoft.m3d
PE    22600000-2261f000    Deferred        mssdx7.m3d
PE    22700000-22768000    Deferred        mssrsx.m3d
PE    24100000-24121000    Deferred        mssdsp.flt
PE    26400000-26439000    Deferred        mssvoice.asi
PE    26f00000-26f2c000    Deferred        mssmp3.asi
PE    30000000-30072000    Deferred        binkw32
ELF    7a800000-7a949000    Deferred        opengl32<elf>
  \-PE    7a840000-7a949000    \               opengl32 
...
Threads:
process  tid      prio (all id:s are in hex)
...
0000002f (D) C:\GOG Games\Railroad Tycoon 3\RT3.exe
    00000047    2 <==
    00000046  -15
    00000044    0
    00000043    0
    00000042    0
    0000003f   15
    0000003d   15
    00000034   15
    00000033    0
    00000030    0
--- snip ---

ProtectionID scan:

--- snip ---
-=[ ProtectionID v0.6.9.0 DECEMBER]=-
(c) 2003-2017 CDKiLLER & TippeX
Build 24/12/17-21:05:42
Ready...
Scanning -> C:\GOG Games\Railroad Tycoon 3\RT3.exe
File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 2330624 (0239000h)
Byte(s) | Machine: 0x14C (I386)
Compilation TimeStamp : 0x413F16B6 -> Wed 08th Sep 2004 14:27:02 (GMT)
[TimeStamp] 0x413F16B6 -> Wed 08th Sep 2004 14:27:02 (GMT) | PE Header | - |
Offset: 0x00000120 | VA: 0x00400120 | -
[LoadConfig] CodeIntegrity -> Flags 0xA3F0 | Catalog 0x46 (70) | Catalog Offset
0x2000001 | Reserved 0x46A4A0
[LoadConfig] GuardAddressTakenIatEntryTable 0x8000011 | Count 0x46A558
(4629848)
[LoadConfig] GuardLongJumpTargetTable 0x8000001 | Count 0x46A5F8 (4630008)
[LoadConfig] HybridMetadataPointer 0x8000011 | DynamicValueRelocTable 0x46A66C
[LoadConfig] FailFastIndirectProc 0x8000011 | FailFastPointer 0x46C360
[LoadConfig] UnknownZero1 0x8000011
[File Heuristics] -> Flag #1 : 00000000000000000000000000000000 (0x00000000)
[Entrypoint Section Entropy] : 6.61 (section #0) ".text   " | Size : 0x1C6EF0
(1863408) byte(s)
[DllCharacteristics] -> Flag : (0x0000) -> NONE
[SectionCount] 5 (0x5) | ImageSize 0x9C9000 (10260480) byte(s)
[VersionInfo] Company Name : PopTop Software. Inc.
[VersionInfo] Product Name : Railroad Tycoon 3
[VersionInfo] Product Version : 0. 2. 0. 1
[VersionInfo] File Description : Railroad Tycoon 3
[VersionInfo] File Version : 1
[VersionInfo] Original FileName : RT3.EXE
[VersionInfo] Internal Name : RT3
[VersionInfo] Legal Trademarks : Railroad Tycoon 3
[VersionInfo] Legal Copyrights : Copyright © 2003
[ModuleReport] [IAT] Modules -> KERNEL32.dll | USER32.dll | comdlg32.dll |
ADVAPI32.dll | ole32.dll | mss32.dll | binkw32.dll | d8tx.dll | DINPUT8.dll |
DSOUND.dll | WS2_32.dll | VERSION.dll | WSOCK32.dll | GDI32.dll
[CompilerDetect] -> Visual C++ 7.0 (Visual Studio 2002)
[!] File appears to have no protection or is using an unknown protection
- Scan Took : 0.625 Second(s) [000000271h (625) tick(s)] [506 of 580 scan(s)
done]
--- snip ---

$ sha1sum setup_railroad_tycoon3_2.0.0.6.exe 
6f767d73e06812abaa7799580c69593a1a317a1c  setup_railroad_tycoon3_2.0.0.6.exe

$ du -sh setup_railroad_tycoon3_2.0.0.6.exe 
1.2G    setup_railroad_tycoon3_2.0.0.6.exe

$ wine --version
wine-3.6-138-ga373054b72

Regards

*** This bug has been marked as a duplicate of bug 17726 ***

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list