Almost everything, but it required a few special steps.
What does not
A few pieces of audio are still missing, not enough to be a problem though.
What was not tested
You need a mp3 codec with a .acm extension. Rename that to winemp3.acm and place it in your ~.wine/drive_c/windows/system32 folder. Otherwise the game will run so slow it is unplayable, and much of the audio will be missing. You also need to set "DirectDrawRenderer" to "opengl" for all of the textures to render. Having opengl hardware acceleration is of course a must. On 64bit systems, you may also need the 32bit opengl resource files installed. I did. You also need the msvcrt.dll override. A no-cd crack/fixed .exe/patch is not required. For further information you may want to read my how-to, url follows. http://forums.fedoraforum.org/forum/showthread.php?p=1035429
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Ubuntu 14.04 "Trusty" amd64 (+ variants like Kubuntu)||Feb 08 2018||3.1||Yes||Yes||No||Silver||lahtis|
|Show||Debian GNU/Linux 9.x "Stretch" x86_64||Dec 31 2017||2.21-staging||Yes||Yes||No||Platinum||Alex S.|
|Show||Debian GNU/Linux 9.x "Stretch" x86_64||Feb 17 2017||2.1||Yes||Yes||Gold||Alex S.|
|Show||Ubuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)||Feb 03 2017||2.0||Yes||Yes||Gold||Alex Monk|
|Show||Ubuntu 15.04 "Vivid" i386 (+ variants like Kubuntu)||Oct 12 2015||1.7.52||Yes||Yes||Silver||Jakub Ćwik|
If you are unable to start Freelancer due to a non-detected CD or debugger, use a no-cd version of Freelancer.exe.
If you are using a wine version earlier than 1.1.20 refer to http://freelancercommunity.net/viewtopic.php?p=2466#2466
For DirectPlay check this: http://wiki.winehq.org/DirectPlayGames
For intro videos: winetricks wmp9, amstream, devenum, quartz
Admin note: the following was taken from a user comment made on May 31st 2016 and may not be relevant to current Wine.
I've been able to play Freelancer multiplayer using the Discovery mod (4.88.1). I thought I'd share in case anyone's interested.
I think the key parts are installing directplay from Winetricks on a 32-bit Windows XP wineprefix. I'll go into more detail, though.
I'm on Arch Linux x86_64 with kernel 4.5.2-1-ck, but this should be doable with any Linux distro.
Here's how I did it:
- Set up a 32-bit Windows XP wineprefix (WINEARCH=win32, WINEPREFIX=/where/ever). Confirm it's Windows XP in winecfg.
Use Winetricks to install the following: d3dx9, directplay, dotnet20, dotnet30, dotnet40, mfc42, msls31, msvcirt, riched20, riched30, vcrun6, vcrun6sp6.
- Ensure you have the following DLL overrides (I think Winetricks will do this for you):
native: d3dx9_24 through _43, dplayxn, dpnet, dpnhpast, dpnsvr.exe, dpwsockx
native, builtin: riched20
By "d3dx9_24 through _43", I mean *every number* between 24 and 43.
I'm not sure if they're all necessary, but they're what I've got.
- Install Freelancer from disc, or copy an installed Freelancer directory.
If you copy a directory, you might not have the right fonts in-game. The ones you want are Agency FB and Arial Unicode MS, both in your Wineprefix's drive_c/windows/fonts directory. I think the game is fine
without them (it'll use your system fonts instead), but the UI might be weird.
- Install Discovery using its installer
- Run the Discovery launcher (DSLauncher.exe) to play the game.
At this point everything should work. It did for me. I was able to launch the game, start a singleplayer game, and find and connect to multiplayer servers in the server list. A friend of mine hosted a server
and we played multiplayer through Hamachi just fine.
I have *not* been able to host a server on this setup. It's probably possible, but the server crashes immediately for me and it was easier just to get my friend to host.
I also ran into a performance issue: Freelancer usually uses 100% of the CPU core it's on for me. This means the game hitches and freezes quite often -- e.g. opening the map freezes the game for several seconds on my PC (i5 2500 quad core @3.3GHz).
You can fix this with the "taskset" command (from package util-linux on Arch) to put Freelancer on its own CPU core, separate from Wine and whatever else.
e.g. `taskset -cp 3 666` will put PID 666 on the 4th cpu (the 1st core is 0).
It works impressively well to do this with Freelancer's PID. The game will just seamlessly move to that CPU core. You can get Freelancer's PID with `pgrep Freelancer`.
However, for some reason Freelancer will put itself back on the first CPU core whenever you enter or leave a station. To get around that I wrote a script and bound it to a hotkey in my window manager:
--- fix_freelancer.sh ---
fpid=$(pgrep Freelancer | head -n 1)
exec taskset -cp $fcpu $fpid
I bound that to Super+F1, so whenever I enter or leave a station I just press that key combination and I'm back to playing just fine.
Before I figured this out, the best suggestions I could find for multiplayer FL were to use Wine 1.1.20 or something, which I couldn't even get to work. Luckily, this setup lets me play FL with the latest Wine version just fine.
Hopefully this is helpful -- let me know if more info is needed. Cheers.