Old Windows 95 Game Firefight, no multiplayer networking

Questions about Wine on Linux
Locked
MoffD
Newbie
Newbie
Posts: 2
Joined: Mon Jan 07, 2013 12:04 pm

Old Windows 95 Game Firefight, no multiplayer networking

Post by MoffD »

Hello,

I need to get a game working in wine with network support

OS specs:
Ubuntu 10.4 (lucid, I know it's old :wink: )
running wine version 1.1.42 with winetricks

The game is running from an ISO image (because I have no CD drive for the disk)
and is setup as a drive in wine

Game runs fine except for occasional crash and crashes when you attempt to start server/client game

dump from wine debugging:
Unhandled page fault on read access to 0x00000008 at address 0x2d870f8a (thread 001f), starting debugger...
Unhandled exception: page fault on read access to 0x00000008 in 32-bit code (0x2d870f8a).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:2d870f8a ESP:0033f5c8 EBP:0033f600 EFLAGS:00010206( R- -- I - -P- )
EAX:00000000 EBX:2d890ff4 ECX:00110064 EDX:00543fe8
ESI:00135f90 EDI:0033f7a0
Stack dump:
0x0033f5c8: 00000003 0033f61c 2d8763da 00110000
0x0033f5d8: 00000000 001363d0 a9920800 00310079
0x0033f5e8: 00660063 00136430 00000000 0033f734
0x0033f5f8: 2d890ff4 00135f90 0033f660 2d8736df
0x0033f608: 00000001 2d87546b 2d890ff4 0033f734
0x0033f618: 00000000 0033f67c 2d87a397 00110000
Backtrace:
=>0 0x2d870f8a in dplayx (+0x10f8a) (0x0033f600)
1 0x2d8736df in dplayx (+0x136de) (0x0033f660)
2 0x2d8737cd in dplayx (+0x137cc) (0x0033f680)
3 0x0048140c in firefght (+0x8140b) (0x2d890860)
4 0x2d872330 in dplayx (+0x1232f) (0x2d8787a0)
0x2d870f8a: movl 0x8(%eax),%esi
Modules:
Module Address Debug info Name (89 modules)
PE 400000- 55d000 Export firefght
ELF 20000000-200fc000 Deferred ole32<elf>
\-PE 20020000-200fc000 \ ole32
ELF 200ff000-20141000 Deferred libpulse.so.0
ELF 20141000-2014f000 Deferred libxi.so.6
ELF 2014f000-2019c000 Deferred libflac.so.8
ELF 2019c000-201a3000 Deferred libasound_module_pcm_pulse.so
ELF 201a3000-201bb000 Deferred msacm32<elf>
\-PE 201b0000-201bb000 \ msacm32
ELF 201bb000-201d2000 Deferred dpwsockx<elf>
\-PE 201c0000-201d2000 \ dpwsockx
ELF 21f57000-21f5d000 Deferred libxtst.so.6
ELF 28954000-2895d000 Deferred libwrap.so.0
ELF 28e0f000-28e25000 Deferred midimap<elf>
\-PE 28e10000-28e25000 \ midimap
ELF 2d85d000-2d892000 Export dplayx<elf>
\-PE 2d860000-2d892000 \ dplayx
ELF 43520000-43549000 Deferred libvorbis.so.0
ELF 43ade000-43b29000 Deferred libpulsecommon-0.9.21.so
ELF 47037000-4704d000 Deferred winejoystick<elf>
\-PE 47040000-4704d000 \ winejoystick
ELF 47630000-47698000 Deferred libsndfile.so.1
ELF 4917b000-49182000 Deferred libogg.so.0
ELF 5091a000-5092e000 Deferred dplay<elf>
\-PE 50920000-5092e000 \ dplay
ELF 55d05000-55d3e000 Deferred libdbus-1.so.3
ELF 56d19000-56e15000 Deferred libvorbisenc.so.2
ELF 5d1cd000-5d215000 Deferred dsound<elf>
\-PE 5d1d0000-5d215000 \ dsound
ELF 61a8b000-61a94000 Deferred librt.so.1
ELF 6466d000-646a4000 Deferred winealsa<elf>
\-PE 64680000-646a4000 \ winealsa
ELF 68000000-6801d000 Deferred ld-linux.so.2
ELF 6801d000-68158000 Deferred libwine.so.1
ELF 68158000-68171000 Deferred libpthread.so.0
ELF 68171000-682d0000 Deferred libc.so.6
ELF 682d0000-682d4000 Deferred libdl.so.2
ELF 682d4000-682dc000 Deferred libnss_compat.so.2
ELF 682dc000-682f3000 Deferred libnsl.so.1
ELF 682f3000-682fd000 Deferred libnss_nis.so.2
ELF 682fd000-68309000 Deferred libnss_files.so.2
ELF 68309000-68418000 Deferred user32<elf>
\-PE 68320000-68418000 \ user32
ELF 68418000-684a2000 Deferred gdi32<elf>
\-PE 68420000-684a2000 \ gdi32
ELF 684a2000-684fb000 Deferred advapi32<elf>
\-PE 684b0000-684fb000 \ advapi32
ELF 684fb000-6856c000 Deferred rpcrt4<elf>
\-PE 68510000-6856c000 \ rpcrt4
ELF 6856c000-6863a000 Deferred comctl32<elf>
\-PE 68580000-6863a000 \ comctl32
ELF 6863a000-686b0000 Deferred libfreetype.so.6
ELF 686b0000-686c5000 Deferred libz.so.1
ELF 686c5000-686f5000 Deferred libfontconfig.so.1
ELF 686f5000-6871d000 Deferred libexpat.so.1
ELF 6871d000-68726000 Deferred libsm.so.6
ELF 68726000-6873f000 Deferred libice.so.6
ELF 6873f000-6885c000 Deferred libx11.so.6
ELF 6885c000-68861000 Deferred libuuid.so.1
ELF 68861000-6887b000 Deferred libxcb.so.1
ELF 6887b000-6887f000 Deferred libxau.so.6
ELF 6887f000-68885000 Deferred libxdmcp.so.6
ELF 68885000-688a6000 Deferred imm32<elf>
\-PE 68890000-688a6000 \ imm32
ELF 688a6000-688aa000 Deferred libxinerama.so.1
ELF 688aa000-688b0000 Deferred libxxf86vm.so.1
ELF 688b0000-688ba000 Deferred libxrender.so.1
ELF 688ba000-688be000 Deferred libxcomposite.so.1
ELF 688be000-688c8000 Deferred libxcursor.so.1
ELF 688c8000-688fb000 Deferred uxtheme<elf>
\-PE 688d0000-688fb000 \ uxtheme
ELF 6b49a000-6b521000 Deferred winmm<elf>
\-PE 6b4a0000-6b521000 \ winmm
ELF 6ffb9000-6ffbf000 Deferred libxfixes.so.3
ELF 70657000-7071f000 Deferred libasound.so.2
ELF 71f66000-71f76000 Deferred libxext.so.6
ELF 73017000-730b6000 Deferred winex11<elf>
\-PE 73030000-730b6000 \ winex11
ELF 75584000-755aa000 Deferred msacm32<elf>
\-PE 75590000-755aa000 \ msacm32
ELF 779d7000-779df000 Deferred libxrandr.so.2
ELF 79cca000-79cf6000 Deferred ws2_32<elf>
\-PE 79cd0000-79cf6000 \ ws2_32
ELF 7b2f5000-7b31b000 Deferred libm.so.6
ELF 7b800000-7b93a000 Deferred kernel32<elf>
\-PE 7b810000-7b93a000 \ kernel32
ELF 7bc00000-7bcb6000 Deferred ntdll<elf>
\-PE 7bc10000-7bcb6000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
Threads:
process tid prio (all id:s are in hex)
0000000e services.exe
00000018 0
00000015 0
00000014 0
00000010 0
0000000f 0
00000011 winedevice.exe
00000017 0
00000016 0
00000013 0
00000012 0
0000001b explorer.exe
0000001c 0
0000001e (D) C:\users\moffd\Temp\firefght.exe
00000021 0
00000020 15
0000001f 0 <==
Backtrace:
=>0 0x2d870f8a in dplayx (+0x10f8a) (0x0033f600)
1 0x2d8736df in dplayx (+0x136de) (0x0033f660)
2 0x2d8737cd in dplayx (+0x137cc) (0x0033f680)
3 0x0048140c in firefght (+0x8140b) (0x2d890860)
4 0x2d872330 in dplayx (+0x1232f) (0x2d8787a0)
fixme:winmm:MMDRV_Exit Closing while ll-driver open
fixme:winmm:MMDRV_Exit Closing while ll-driver open
fixme:winmm:MMDRV_Exit Closing while ll-driver open
sorry about the length
as far as I can tell it's a problem with a directx driver or something (dplayx?)

Should I try to install the directx packaged with the game instead of the winetricks one or do something else?

any help would be appreciated :mrgreen:
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Old Windows 95 Game Firefight, no multiplayer networking

Post by dimesio »

Your Wine version is almost 3 years old and no longer supported. Upgrade to at least the latest stable release.
MoffD
Newbie
Newbie
Posts: 2
Joined: Mon Jan 07, 2013 12:04 pm

Re: Old Windows 95 Game Firefight, no multiplayer networking

Post by MoffD »

I need lucid on this computer because it wont handle anything newer and that version of wine is the only one in the repos, should I try getting a newer source version and compile it? and do you know which one would be the latest lucid compatible one?

Also I found out what was wrong with the networking but strangely it still won't work in windowz
It was missing a secondary dll called dpnet.dll

Now I just need to fix the random crashes when it tries to draw a specific object on the screen with another dll I guess?
It's late here though so I'll get a debug dump later
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Old Windows 95 Game Firefight, no multiplayer networking

Post by dimesio »

Ubuntu likes to confuse its users. There is a "wine1.3" package for 10.04 that contains Wine 1.4.
https://launchpad.net/~ubuntu-wine/+archive/ppa

For anything newer than that, you'll have to build Wine yourself. That should be easier on 10.04 than on recent Ubuntu version.
Locked