Multiplayer (using How To specified below)
What does not
Game very sluggish on main map screen
What was not tested
Incredibly slow gameplay on main map screen, but game runs fine on other screens and during tactical combat. CPU usage shows over 50% for X server during game run, max of over 40% for trek.exe which seems to cause the game to run very slow, even on a modern system
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Ubuntu 20.04 "Focal" (+ variants like Kubuntu)||Apr 27 2020||5.6-staging||Yes||Yes||No||Platinum||Maquis196|
|Show||Debian 10.x "Buster"||Jul 08 2019||4.0.1||Yes||Yes||No||Platinum||Lewis Cowles|
|Show||Debian GNU/Linux 7.x "Wheezy" x86_64||Feb 03 2013||1.5.23||Yes||Yes||Silver||Maquis196|
|Show||Gentoo Linux x86_64||Mar 25 2012||1.5.0||Yes||Yes||Silver||Maquis196|
|Show||Gentoo Linux x86_64||Feb 09 2012||1.4-rc2||Yes||Yes||Silver||Maquis196|
For multiplayer; simply run
"winetricks directplay" in your Birth of the Federation prefix as this will enable you to join multiplayer games over TCP/IP.
The following ports must be reachable on the host machine, and may need to be port forwarded if you are behind a router:
UDP 2350, 47624
The game seems to hang when trying to "cancel" out of multiplayer configuration screens; if this happens, you may need to kill the game ("killall trek.exe" from the command line). Be sure to also kill any .exe processes which are still running (using a tool such as ksysguard) to ensure you can still use multiplayer later. If you are running fullscreen and killing the game leaves you with the wrong screen resolution, try issuing the following command:
xrandr -s 1280x1024replacing "1280x1024" with your desired resolution.
The game's sound can work perfectly with ALSA, in later versions even with the default dmix (i.e. mixing sound with other apps like music players).
First, check you Wine sound settings in the winecfg configuration tool. Test your sound with some other application (like WinAmp). Some ALSA errors may show up on your console and sound will still work, so test it before trying to hunt all the errors down.
If you still don't have sound in the game, check that the option SOUNDON=ON is set in stbof.ini.
Perfect support of single player gaming, including sound and 3D graphics
Problems with network gaming. Hosting crashes game after you
select race screen, but it is possible to join game hosted by a Windows
There are two ways of installing the game within Wine:
Run SETUP.EXE from the CD or a mounted CD image and install as
you would on Windows. This also creates Start Menu links which should
show up in your window manager (confirmed for KDE).
Create symlinks to the files of an install of the game on a
Windows partition. Those can be read-only if you make local copies of
Running the game
There's a few ways to ensure the game finds the CD-ROM it looks for on startup:
Mount a CD image of the game to somewhere (e.g. mount -o loop,ro /var/botf.iso /mnt/image) and map the mount directory to a "CD-ROM"-type drive in Wine. Then enter that drive as CDPATH in stbof.ini.
Copy the contents of the CD to a local directory and map that
directory to a "CD-ROM"-type drive in Wine. Then enter that drive as
CDPATH in stbof.ini.
Replace trek.exe with a non-CD-checking version. You'll have to find those on your own, though...
The game slowdown after playing for a while (~50-200 rounds) due to
memory leaks and the random crashes during gameplay are no better or
worse than they've always been on Windows.
Note that the game grabs focus and changes the resolution to 800x600. It
will stay at that if the game crashes (see above), and you have to set
it back to your normal resolution with a command like xrandr -s 1152x864. You won't have this problem if you use Wine's Virtual Desktop mode.