To make it launch the game, not just exit silently, make sure
your cd drive is configured in winecfg properly - the content of the CD
has to be accessible through some drive letter and the drive type
has to be CD-ROM.
To start the game from a terminal:
$ cd ~/.wine/drive_c/Program\ Files/EA\ Games/Battlefield\ 1942
$ wine BF1942.EXE
The main menu resolution being different from the in-game resolution is normal: the game programmers hard coded the menu screen to a fixed resolution.
If you want a faster startup time, you can delete the .bik files in the Movie folder and it will load directly to the menu.
Patching to 1.6 is done by installing two patches:
There is some confusion over whether or not online play works with Punkbuster.
Punkbuster works for up to 30 minutes, thereafter it attempts to update itself, when the update occurs it fails to run correctly causing you to be kicked from a punkbuster enabled server.
Servers that do not require punkbuster work 100% - there are several out there.
This note is true of wine version 0.9.58.
Punkbuster enabled servers appear to work ok with Wine 1.1.10 or greater.
Atleast with 1.1.13 and 1.1.14, online play has stopped working
Unfortunately due to the design of Punkbuster it will never work in Wine without the cooperation of Evenbalance, it is designed to compare the internals of Windows while the game runs to make sure nothing is modified. As Wine is not Windows, it will always detect a problem.
The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.
by Edward R. on Wednesday June 20th 2012, 6:18
Guys, lightmaps work! You just have them enabled BEFORE you play the game. You need to enable them in menu first. If you do this in-game, they WON'T WORK!
Tracking Wine Exceptions in Dumps
by Roger on Monday February 13th 2012, 23:06
I was getting "wine: Unhandled page fault on read access to 0xffffffff at address 0x4ff39164 (thread 0020), starting debugger..." exception on initial run of Battlefield 1942 at the point where it was almost getting into the GUI Menu system startup.
Luckly using the Battlefield1942.tie install file, cxrun would dump debugging output on exceptions and other breaks.
In this case, you'll notice the break is at address 0x4ff39164 in the above debug data.
Further into the debug output is a list of library names with their execution address ranges in memory.
Module Address Debug info Name (92 modules)
PE 340000- 394000 Deferred msvcr70
PE 400000- a96000 Deferred bf1942
PE 30000000-3006d000 Deferred binkw32
ELF 4f129000-4f132000 Deferred librt.so.1
ELF 4fee2000-4ffb5000 Export libasound.so.
... surprisingly, you'll see the exception address falls within libasound.so! This means my sound isn't working or configured properly. Going into cxsetup > winecfg or windows configure and toggle to the Sound menu. You'll have some options to play with choosing Alsa or OSS sound systems. To quickly work around this bug, I just disabled/unchecked both the sound modules and found myself quickly working around this exception and into the initial game GUI menus.
(This sound bug will likely resolve into a kernel level problem with my sound card as it's been acting up for the past week or so with kexec reboots instead of hard boots, as well as a recent kernel upgrade.)
Text: Invalid videomode specified
by Roger on Monday February 13th 2012, 22:57
On initial start, you see an "Text: Invalid videomode specified" error before or after the initial splash screen.
You're probably running at 16 bit color.
Battlefield 1942 starts at a default 800x600@32, or 32 bit color and requires this for the first run under Wine. After you get into the GUI menus, you can edit the video resolution to your liking such as using 16 bit color. Make sure your /etc/X11/xorg.conf file matches the bit depth.
(On a side not, I'm not sure if it's required to have the 800x600 resolution or other resolutions also listed within the xorg.conf)
I have very poor performance in BF1942 with Wine 1.2RC2. On Windows Vista I have 100 FPS (this is upper fps limit in BF1942), but in Wine I have only 20 FPS. I think that bootlenecks are draw calls. My platform is:
AMD Phenom X3 8650
2x Radeon HD4850 (with Catalyst 10.5)
Other apps in Wine works very nice, only in BF1942 (this is DX8 game) I see poor performance.
Main Menu scaled wrong
by Daniel on Saturday October 17th 2009, 17:07
I'm using the latest Wine 22.214.171.124, Ubuntu 9.04, latest (177?) NVidia hardware drivers, BF1942 patched to 1.61b with and without the DC_Final mod. I installed this configuration on one good widescreen laptop and one average PC with 4:3 monitor, the laptop using x64, the PC using x86. If it weren't for lack in disk space, I'd install the same setup on my third engine as well for testing purposes.
Installing and starting the game works well.
Problem: The main menu has a downward offset in both cases, displaying or not displaying the upper panel on either of them. Moving the panel to the bottom or fading it away did not change anything. The bottom part (start/join game, see version) is accessible, but not visible from full screen. It miraculously works now (most times) on the laptop, but the PC really fucks it up.
- When the main menu is loaded, the desktop size is scaled to an almost 1:1 ratio. The menu itself is stretched downwards and the panels are attached as well. I actually zoomed out (Super+E) to view both desktops (entire menu gets visible when zoomed out) and took measures and they're close to being squares, I have no idea why.
- Changing the ingame resolution or emulating a virtual desktop with any resolution does not help. Disabling the game's control over the window results in a twice as harsh stretch, so only the upper part is visible.
- Forcing a centered gpu scaling causes in the screen to blacken out entirely, no zooming out or switching desktops. Alt+F4 still quits the application and restores the desktop's default resolution.
I have no clue as to why the desktop is scaled at all, I haven't found any reference to this square-shaped resolution, the NVidia graphic driver's menu shows a default 4:3 resolution where it is definitely not and I've been literally spending days to find any solution or other users' experience with this, but trying to find anything valuable to me related to this topic is a pain in the arse. Linux 0:1 Windows.
The game itself works fine, as soon as the loading screen is displayed, the preset resolution is applied and stretched to full screen. The game runs with a good speed depending on the system. Sounds don't play correctly and to their full extent, but that has been mentioned before. Multiplayer games on LAN work fine. The application is not being terminated due to timeout like in Vista. Linux 1:1 Windows.
Please adress me if you have any questions concerning installed applications or my system settings to find a solution to this. Since the main menu doesn't constantly display properly, leaving me guessing and hoping I hit the right button down there, I also recommend rating the application compatibility to silver. Even if this issue gets solved, I'd not vote for gold as long as the solution is not implemented in Wine itself and easy to apply. I'm new to Linux and although I really think it's cool, I don't know how to use anything that's not a graphical interface and with problems and dissatisfying issues appearing every day, it's just hard to "spread the word" and convince people to try it. It needs to become much much simpler indeed. Sorry, gurus and hackers. I'm a n00b.
Widescreen clips bottom of screen
by togaclad on Saturday December 6th 2008, 19:00
The bottom gets clipped and I can't see things like ammo limits.
I'm running with:
Kubuntu Intrepid (8.10)
nvidia driver 177
I have twin 7600s but have not enabled the sli currently. Waiting till I get this sorted out.
I have a 206BW widescreen set at 1680x1050
Install went fine. I patched to 1.6.19 and 1.61b.
I've tried altering nvidia server settings with and without force full gpu scalling (stretched,centered and aspect ratio scaled). As well as changing winecfg to all combinations of “Emulate a virtual desktop” & “Allow win manager to ctrl the win”
I updated the following files with game.setGameDisplayMode 1680 1050 32 60
C:\Program Files\EA GAMES\Battlefield 1942\Mods\bf1942\Settings\Profiles\Default\VideoCustom.con
C:\Program Files\EA GAMES\Battlefield 1942\Mods\bf1942\Settings\Profiles\Default\Video.con
C:\Program Files\EA GAMES\Battlefield 1942\Mods\bf1942\Settings\Profiles\Custom\VideoCustom.con
C:\Program Files\EA GAMES\Battlefield 1942\Mods\bf1942\Settings\Profiles\Custom\Video.con
as well I changed renderer.fieldOfView 1.1 to handle the 16x10 ratio in file C:\Program Files\EA GAMES\Battlefield 1942\Mods\bf1942\Settings\VideoDefault.con
My best results have beeen with Force full gpu scalling(stretched) and Allow win mgr to cntr but no Emulate vir desktop. But with this the bottom strip of my screen gets clipped. Any ideas?
Application works excellently for ‘normal’ use; a game works fine in single-player but not in multi-player, Windows Media Player works fine as a plug-in and stand-alone player, but cannot handle DRM etc.