Failure to startup BF1942

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
maartsen
Newbie
Newbie
Posts: 3
Joined: Wed Apr 09, 2008 3:46 pm

Failure to startup BF1942

Post by maartsen »

Hi all,

I'm having some problems getting BF1942 up and running.

Some system info first
Gentoo installation on a AMD64 running linux 2.6.24.
Using the ~ builds, so I get a Wine update every 2 days now :wink:. So I'm using Wine 0.9.59 and it was build with the following properties

Code: Select all

"X alsa cups esd gecko jpeg ldap ncurses opengl oss xml -dbus -hal -jack -lcms -nas -samba -scanner"
The installation was a blast and the upgrade went just fine, but running the game is a complete different story.

Code: Select all

wildcard@amd64 ~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942 $ winedbg BF1942.exe
WineDbg starting on pid 0017
0x7ee43830: movl        %esi,0x0(%esp)
Wine-dbg>    
Ok. So to me it looks like a null pointer to me (or something). If you running it with "wine BF1942.exe", you will see anything at all.

I do think it's NOT related to the game itself but to some settings of Wine. When I was searching the web, I found that somebody else has got the same issue I have, but with a different game: http://appdb.winehq.org/objectManager.p ... on&iId=147

Does anybody have a bright idea on what to do next. More tracing in winedbg, wine in gdb??

Best regards,
Michel
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Re: Failure to startup BF1942

Post by jeffz »

maartsen wrote:Hi all,

I'm having some problems getting BF1942 up and running.

The installation was a blast and the upgrade went just fine, but running the game is a complete different story.

Code: Select all

wildcard@amd64 ~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942 $ winedbg BF1942.exe
WineDbg starting on pid 0017
0x7ee43830: movl        %esi,0x0(%esp)
Wine-dbg>    
[/url]
press c to start execution, execution is paused when you start winedbg like that.

on another note, bf1942 works for me with latest git from an existing wineprefix that I installed a few versions ago

I start the game with:
BlackScreen.exe 1 +game bf1942 +restart 1 +joinServer 203.14.173.130:14567 +isInternet 1 +reconnectPassword 2217


which video card and drivers do you have?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Failure to startup BF1942

Post by vitamin »

maartsen wrote:

Code: Select all

wildcard@amd64 ~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942 $ winedbg BF1942.exe
WineDbg starting on pid 0017
0x7ee43830: movl        %esi,0x0(%esp)
Wine-dbg>    
Don't use winedbg. Just normally run the program and describe what's the problem is.
maartsen
Newbie
Newbie
Posts: 3
Joined: Wed Apr 09, 2008 3:46 pm

Re: Failure to startup BF1942

Post by maartsen »

vitamin wrote:
maartsen wrote:

Code: Select all

wildcard@amd64 ~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942 $ winedbg BF1942.exe
WineDbg starting on pid 0017
0x7ee43830: movl        %esi,0x0(%esp)
Wine-dbg>    
Don't use winedbg. Just normally run the program and describe what's the problem is.
The problem if I run it normally is that the I don't see anything. I run wine BF1942.exe and it just exits. No errors what so ever.

Code: Select all

wildcard@amd64 ~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942 $ wine BF1942.exe
wildcard@amd64 ~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942 $
maartsen
Newbie
Newbie
Posts: 3
Joined: Wed Apr 09, 2008 3:46 pm

Re: Failure to startup BF1942

Post by maartsen »

jeffz wrote:
maartsen wrote:Hi all,

I'm having some problems getting BF1942 up and running.

The installation was a blast and the upgrade went just fine, but running the game is a complete different story.

Code: Select all

wildcard@amd64 ~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942 $ winedbg BF1942.exe
WineDbg starting on pid 0017
0x7ee43830: movl        %esi,0x0(%esp)
Wine-dbg>    
[/url]
press c to start execution, execution is paused when you start winedbg like that.

on another note, bf1942 works for me with latest git from an existing wineprefix that I installed a few versions ago

I start the game with:
BlackScreen.exe 1 +game bf1942 +restart 1 +joinServer 203.14.173.130:14567 +isInternet 1 +reconnectPassword 2217


which video card and drivers do you have?
Ok I've executed the BlackScreen startup, but still no show.

Code: Select all

wildcard@amd64 ~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942 $ winedbg BlackScreen.exe 1 +game bf1942 +restart 1 +joinServer 203.14.173.130:14567 +isInternet 1 +reconnectPassword 2217
WineDbg starting on pid 0018
0x7ee43830: movl        %esi,0x0(%esp)
Wine-dbg>c
Process of pid=0018 has terminated
Wine-dbg>
I know that BF1942 should work (it's got a platinum rating). The feeling I have is that it can be x64, libs and/or configuration.

Video is the latest NVidia driver 169.12 (latest stable driver).

Is there an howto on debugging these kind of issues??
johan
Newbie
Newbie
Posts: 1
Joined: Tue Dec 16, 2008 2:56 pm

Post by johan »

Got exactly the same problem! I try to run Battlefield1942 v1.6

Do you find a solution since April?

For your information, I have Ubuntu 8.10 (64bits) Linux 2.6.27-9-generic with an ATI radeon HD4850

Code: Select all

$wine --version
wine-1.0.1

$ wine BF1942.exe 
fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer

$ winedbg BF1942.exe 
WineDbg starting on pid 0015
fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer
0x7b879023: movl	%edi,0x0(%esp)
Wine-dbg>bt
Backtrace:
=>1 0x7b879023 in kernel32 (+0x59023) (0x0033ffe8)
  2 0xf7dced77 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
Wine-dbg>cont
Process of pid=0015 has terminated
Wine-dbg>quit
Seems to be a bug in Wine, isn't it?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Failure to startup BF1942

Post by vitamin »

maartsen wrote:Using the ~ builds, so I get a Wine update every 2 days now Wink. So I'm using Wine 0.9.59 and it was build with the following properties

Code: Select all

"X alsa cups esd gecko jpeg ldap ncurses opengl oss xml -dbus -hal -jack -lcms -nas -samba -scanner"
Don't F* with Wine build. You either build Wine from source (Wine source not gentoo e-built). Or you go to gentoo forums to complain.

Code: Select all

wildcard@amd64 ~/.wine/drive_c/Program Files/EA GAMES/Battlefield 1942 $ winedbg BF1942.exe
Don't use winedbg - most games check for debuggers present and refuse to start.
Locked