BF1942 - GOLD ? hah.. doesnt work

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Steve
Level 2
Level 2
Posts: 33
Joined: Thu Jul 03, 2008 2:09 am

BF1942 - GOLD ? hah.. doesnt work

Post by Steve »

On plain install wit patches etc...

wine version 1.1.3

Code: Select all

hysics@physics:~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942$ dir
AdminTool	   bfcprt.dll	    DedicatedServer.exe  mfc70.dll    Patch\ Data
backup		   bfdist.vlu	    eReg		 Mods	      pb
BF1942.pid	   binkw32.dll	    fpupdate.exe	 Movies
BF1942_w32ded.exe  BlackScreen.exe  lexiconDS.dat	 msvcr70.dll
physics@physics:~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942$ wine BF1942_w32ded.exe 
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
fixme:thread:NtQueryInformationThread Cannot get kerneltime or usertime of other threads
Fatal error: couldn't change console flags

physics@physics:~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942$ 
Steve
Level 2
Level 2
Posts: 33
Joined: Thu Jul 03, 2008 2:09 am

Post by Steve »

Code: Select all

physics@physics:~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942$ wine BF1942.exe 
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
physics@physics:~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942$ 
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

Steve wrote:

Code: Select all

physics@physics:~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942$ wine BF1942.exe 
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
physics@physics:~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942$ 
check that your cdrom drive is defined in winecfg, click 'detect drives', also make sure that the cd is mounted, eg you can browse it from gnome

Other than a memory leak which I've posted a patch for in bugzilla and to wine-patches, it works for me, I can play online.
Steve
Level 2
Level 2
Posts: 33
Joined: Thu Jul 03, 2008 2:09 am

Post by Steve »

Problem one solved, now for a second.. is this the memory leak u are talkin about or somethign else..??

Code: Select all

physics@physics:~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942$ wine BF1942.exe 
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
fixme:imm:ImmDisableIME (0): stub
fixme:system:SystemParametersInfoW Unimplemented action: 8193 (SPI_SETFOREGROUNDLOCKTIMEOUT)
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x32d51c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32d110,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x32d110,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32d110,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x32d110,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32cf20,0x00000000), stub!
wine: Call from 0x6d9b35bd to unimplemented function GDI32.dll.GdiEntry1, aborting
wine: Unimplemented function GDI32.dll.GdiEntry1 called at address 0x6d9b35bd (thread 0009), starting debugger...
Unhandled exception: unimplemented function GDI32.dll.GdiEntry1 called in 32-bit code (0x7bc45a7c).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7bc45a7c ESP:0032c888 EBP:0032c8ec EFLAGS:00000202(   - 00      - - I1)
 EAX:6dab0588 EBX:7bc8a5c4 ECX:00149150 EDX:0014918c
 ESI:0032c894 EDI:00000000
Stack dump:
0x0032c888:  f7ce8beb 0032cf00 f7db541c 80000100
0x0032c898:  00000001 00000000 6d9b35bd 00000002
0x0032c8a8:  6dab05d4 6dab0588 f7dd6ff4 7ec7bfb4
0x0032c8b8:  00000009 0032cedc f7ccaa7f 0032cf00
0x0032c8c8:  7ec7bfb4 00000009 00000000 00000000
0x0032c8d8:  0032ce20 00000000 ffffffd4 00149184
Backtrace:
=>1 0x7bc45a7c in ntdll (+0x35a7c) (0x0032c8ec)
  2 0x6d9b35bd in d3d8 (+0x135bd) (0x0032d144)
  3 0x6d9aeeaf in d3d8 (+0xeeaf) (0x0032d458)
  4 0x6d9afe28 in d3d8 (+0xfe28) (0x0032d484)
  5 0x6d9ae50a in d3d8 (+0xe50a) (0x0032d994)
  6 0x6d9ae9f8 in d3d8 (+0xe9f8) (0x0032dac0)
0x7bc45a7c: subl	$4,%esp
Modules:
Module	Address			Debug info	Name (100 modules)
PE	  330000-  384000	Deferred        msvcr70
PE	  400000-  a96000	Deferred        bf1942
PE	30000000-3006d000	Deferred        binkw32
PE	6d990000-6d996000	Deferred        d3d8thk
PE	6d9a0000-6dac8000	Export          d3d8
ELF	7b800000-7b93c000	Deferred        kernel32<elf>
  \-PE	7b820000-7b93c000	\               kernel32
ELF	7bc00000-7bca6000	Export          ntdll<elf>
  \-PE	7bc10000-7bca6000	\               ntdll
ELF	7bf00000-7bf03000	Deferred        <wine-loader>
PE	7c080000-7c0f3000	Deferred        bfcprt
PE	7c9d0000-7c9ed000	Deferred        dmusic
ELF	7cde6000-7db26000	Deferred        libglcore.so.1
ELF	7de0a000-7de1d000	Deferred        dpnhpast<elf>
  \-PE	7de10000-7de1d000	\               dpnhpast
ELF	7de3f000-7dee4000	Deferred        libgl.so.1
ELF	7defb000-7df7c000	Deferred        opengl32<elf>
  \-PE	7df10000-7df7c000	\               opengl32
ELF	7df7c000-7e08a000	Deferred        wined3d<elf>
  \-PE	7df90000-7e08a000	\               wined3d
ELF	7e111000-7e113000	Deferred        libnvidia-tls.so.1
ELF	7e13b000-7e16e000	Deferred        uxtheme<elf>
  \-PE	7e140000-7e16e000	\               uxtheme
ELF	7e16e000-7e194000	Deferred        msacm32<elf>
  \-PE	7e170000-7e194000	\               msacm32
ELF	7e194000-7e257000	Deferred        libasound.so.2
ELF	7e257000-7e26e000	Deferred        msacm32<elf>
  \-PE	7e260000-7e26e000	\               msacm32
ELF	7e26e000-7e2a3000	Deferred        winealsa<elf>
  \-PE	7e280000-7e2a3000	\               winealsa
ELF	7e2a3000-7e2ac000	Deferred        libxcursor.so.1
ELF	7e2ac000-7e2b1000	Deferred        libxfixes.so.3
ELF	7e2b1000-7e2b4000	Deferred        libxcomposite.so.1
ELF	7e2b4000-7e2ba000	Deferred        libxrandr.so.2
ELF	7e2ba000-7e2c2000	Deferred        libxrender.so.1
ELF	7e2c2000-7e2c7000	Deferred        libxxf86vm.so.1
ELF	7e2c7000-7e2ca000	Deferred        libxinerama.so.1
ELF	7e2ca000-7e2cf000	Deferred        libxdmcp.so.6
ELF	7e2cf000-7e2e7000	Deferred        libxcb.so.1
ELF	7e2e7000-7e2e9000	Deferred        libxcb-xlib.so.0
ELF	7e2e9000-7e2ec000	Deferred        libxau.so.6
ELF	7e2ec000-7e3d3000	Deferred        libx11.so.6
ELF	7e3d3000-7e3e1000	Deferred        libxext.so.6
ELF	7e3e2000-7e3f6000	Deferred        midimap<elf>
  \-PE	7e3f0000-7e3f6000	\               midimap
ELF	7e3f8000-7e490000	Deferred        winex11<elf>
  \-PE	7e410000-7e490000	\               winex11
ELF	7e4bf000-7e4e0000	Deferred        libexpat.so.1
ELF	7e4e0000-7e50a000	Deferred        libfontconfig.so.1
ELF	7e50a000-7e51f000	Deferred        libz.so.1
ELF	7e51f000-7e58f000	Deferred        libfreetype.so.6
ELF	7e5a6000-7e5bf000	Deferred        version<elf>
  \-PE	7e5b0000-7e5bf000	\               version
ELF	7e5bf000-7e629000	Deferred        msvcrt<elf>
  \-PE	7e5d0000-7e629000	\               msvcrt
ELF	7e629000-7e661000	Deferred        dinput<elf>
  \-PE	7e630000-7e661000	\               dinput
ELF	7e661000-7e679000	Deferred        dinput8<elf>
  \-PE	7e670000-7e679000	\               dinput8
ELF	7e679000-7e6dd000	Deferred        rpcrt4<elf>
  \-PE	7e690000-7e6dd000	\               rpcrt4
ELF	7e6dd000-7e781000	Deferred        ole32<elf>
  \-PE	7e6f0000-7e781000	\               ole32
ELF	7e781000-7e7cb000	Deferred        dsound<elf>
  \-PE	7e790000-7e7cb000	\               dsound
ELF	7e7cb000-7e7de000	Deferred        libresolv.so.2
ELF	7e7e1000-7e7f5000	Deferred        lz32<elf>
  \-PE	7e7f0000-7e7f5000	\               lz32
ELF	7e7f5000-7e814000	Deferred        iphlpapi<elf>
  \-PE	7e800000-7e814000	\               iphlpapi
ELF	7e814000-7e840000	Deferred        ws2_32<elf>
  \-PE	7e820000-7e840000	\               ws2_32
ELF	7e840000-7e85a000	Deferred        wsock32<elf>
  \-PE	7e850000-7e85a000	\               wsock32
ELF	7e85a000-7e87a000	Deferred        imm32<elf>
  \-PE	7e860000-7e87a000	\               imm32
ELF	7e87a000-7e93a000	Deferred        comctl32<elf>
  \-PE	7e880000-7e93a000	\               comctl32
ELF	7e93a000-7e993000	Deferred        shlwapi<elf>
  \-PE	7e950000-7e993000	\               shlwapi
ELF	7e993000-7eaac000	Deferred        shell32<elf>
  \-PE	7e9a0000-7eaac000	\               shell32
ELF	7eaac000-7eafe000	Deferred        advapi32<elf>
  \-PE	7eac0000-7eafe000	\               advapi32
ELF	7eafe000-7eb9c000	Deferred        gdi32<elf>
  \-PE	7eb10000-7eb9c000	\               gdi32
ELF	7eb9c000-7ece4000	Deferred        user32<elf>
  \-PE	7ebc0000-7ece4000	\               user32
ELF	7ece4000-7ed76000	Deferred        winmm<elf>
  \-PE	7ecf0000-7ed76000	\               winmm
ELF	7efa1000-7efac000	Deferred        libnss_files.so.2
ELF	7efac000-7efc4000	Deferred        libnsl.so.1
ELF	7efc4000-7efe9000	Deferred        libm.so.6
ELF	7efed000-7eff7000	Deferred        libnss_nis.so.2
ELF	7eff7000-7f000000	Deferred        libnss_compat.so.2
ELF	f7c88000-f7c8c000	Deferred        libdl.so.2
ELF	f7c8c000-f7ddb000	Deferred        libc.so.6
ELF	f7ddc000-f7df4000	Deferred        libpthread.so.0
ELF	f7e0b000-f7f41000	Deferred        libwine.so.1
ELF	f7f43000-f7f62000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\EA GAMES\Battlefield 1942\BF1942.exe
	00000009    0 <==
0000000c 
	00000013    0
	00000012    0
	0000000e    0
	0000000d    0
0000000f 
	00000015    0
	00000014    0
	00000011    0
	00000010    0
00000016 
	00000017    0
Backtrace:
=>1 0x7bc45a7c in ntdll (+0x35a7c) (0x0032c8ec)
  2 0x6d9b35bd in d3d8 (+0x135bd) (0x0032d144)
  3 0x6d9aeeaf in d3d8 (+0xeeaf) (0x0032d458)
  4 0x6d9afe28 in d3d8 (+0xfe28) (0x0032d484)
  5 0x6d9ae50a in d3d8 (+0xe50a) (0x0032d994)
  6 0x6d9ae9f8 in d3d8 (+0xe9f8) (0x0032dac0)
wine: Call from 0x6d9b35bd to unimplemented function GDI32.dll.GdiEntry1, aborting
physics@physics:~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942$ 
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

Steve wrote:Problem one solved, now for a second.. is this the memory leak u are talkin about or somethign else..??

Code: Select all

physics@physics:~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942$ wine BF1942.exe 
wine: Call from 0x6d9b35bd to unimplemented function GDI32.dll.GdiEntry1, aborting
physics@physics:~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942$ 

Seems to be something else... did you install anything else than BF1942?

I keep mine in a separate WINEPREFIX to avoid conflicts.

Can I suggest that you install under a clean WINEPREFIX by doing:

WINEPREFIX=/home/physics/wine-bf1942 wine /cdrom/Setup.exe

Follow the install as usual, then once it completes, install the patches the same way: WINEPREFIX=/home/physics/wine-bf1942 wine battlefield_1942_patch_v1.6.19.exe

and

WINEPREFIX=/home/physics/wine-bf1942 wine bf1942_patch_v1.6_to_v1.61b.exe

Then you can cd ~/wine-bf1942/drive_c/Program\ Files/EA\ Games/Battlefield\ 1942/

WINEPREFIX=/home/physics/wine-bf1942 winecfg

do the detect drives again and

WINEPREFIX=/home/physics/wine-bf1942 BF1942.exe
Steve
Level 2
Level 2
Posts: 33
Joined: Thu Jul 03, 2008 2:09 am

Post by Steve »

ok, i have it running, fonts are a bit crude, cant really read them, and the sounds all messed up lol...

at least im gettin somehwhere..
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

Steve wrote:ok, i have it running, fonts are a bit crude, cant really read them, and the sounds all messed up lol...

at least im gettin somehwhere..
Yeah, http://bugs.winehq.org/show_bug.cgi?id=11351 is the text being cut-off and the sounds is http://bugs.winehq.org/show_bug.cgi?id=11499 - but I'm not sure if I still have that problem after upgrading from Ubuntu 7.10 to 8.04 I think it sounds ok, it's been awhile since I've compared it to what I think it should sound like.

which distro are you on?
Steve
Level 2
Level 2
Posts: 33
Joined: Thu Jul 03, 2008 2:09 am

Post by Steve »

Im using Ubuntu 8.04 64bit

wine 1.1.3 - no patches applied...

Sound is horrible... writting is horrible.. wish there was some fix's...
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

Steve wrote:Im using Ubuntu 8.04 64bit

wine 1.1.3 - no patches applied...

Sound is horrible... writting is horrible.. wish there was some fix's...
out of interest, which soundcard do you have?
Steve
Level 2
Level 2
Posts: 33
Joined: Thu Jul 03, 2008 2:09 am

Post by Steve »

Creative 5.1 Extreme Audio
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

Steve wrote:Creative 5.1 Extreme Audio
how would you describe the problem with the sound?
Steve
Level 2
Level 2
Posts: 33
Joined: Thu Jul 03, 2008 2:09 am

Post by Steve »

no ambient sound, all effects sound like there being cut short..
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

Steve wrote:no ambient sound, all effects sound like there being cut short..
I've had a thought that it might be that the sound effects are played as if we're further away from them, that is if there's some calculation of what volume certain things play at depending on how close you are to them.
Locked