cd ~/.wine/drive_c/Program\ Files/Freelancer\ Mod\ Manager/mods
mkdir Discovery485
cd ./Discovery485
wget http://igiss.net/files/Discovery485.zip.flmod
unzip Discovery485.zip.flmod
Run FLMM and activate Discovery485.
I'm not sure why, but Discovery didn't automatically update, so I ran DSUpdate to install update 3.
Code:
cd ~/.wine/drive_c/Program\ Files/Microsoft\ Games/Freelancer/EXE/
wine DSUpdate.exe
After running into the sound loop bug, I tried using lame mp3 codec, but after that failed I copied C:\Windows\system32\l3codeca.acm from my windows install to ~/.wine/drive_c/windows/system32/winemp3.acm and specifying an override in winecfg. That's easy enough to do with the GUI.
Right now, I have it, flmm and Freelancer companion installed using wine. So far, here's what is working:
1. flmm 1.31 works flawlessly and has the Discovery Mod 4.85 activated. Had to run DSUpdate.exe to get it to update to latest but that worked too. No major issues.
2. FL Companion 2.02 works. but the fonts make the map almost unreadable. Working on that.
3. Freelancer itself installs fine (works only in windowed mode) starts up with Discovery, gives all the expected menus.
a. Multiplayer - just sits there when attempting to connect to servers. No wine output that seems pertinent.
b. Single player - Then wine throws the following error as it times out over and over and over (LOADING screen):
err:ntdll:RtlpWaitForCriticalSection section 0x90100 "?" wait timed out in thread 003b, blocked by 0047, retrying (60 sec).
So I'm stuck between "the internet says that I can get this working in both single and multiplayer" and the awful reality of my situation. Anyone ever make this work?
Also, a person named Danthritor was mentioned as makind Discovery work on wine but I can't even find that unusual name on the internet.
Here's a new tutorial for new Ubuntu versions:
1. Install playonlinux
2. Run POL and go Manage Wine versions, add 32 bit WINE 1.1.20
(1.1.7 is the one I used back in 2008 when I wrote that tutorial)
3. Install Freelancer in a new 32 bit WINE bottle (do NOT use the POL install script, use the install a non-listed program option).
Install overrides (Install some libraries):
Ignore all POL errors (Next). Select the Freelancer setup (install file to run) and install the game. Select Configure -> General and double check the WINE version of your newly created bottle (e. g. freelancer). WINE 1.1.20 must be selected in the combo box.
4. Then, select Configure, Miscellaneous, run a .exe file in this virtual drive. Get the files from: https://yadi.sk/d/Rc3g5dizdN9qc (as these are the ones I used, and they are working). Install msxml3, msxml4 and msxml6. Manually copy the winemp3.acm (made using l3codeca.acm) to your POL virtual HD (e. g.
5. You can now test your vanilla Freelancer installation. Install Freelancer Global Server Workaround: www.freelancerserver.de/download/flgls_workaround_v10.zip and try out the multiplayer! Now you're ready to test mods, FLMM, etc. Servers don't show up in the server browser if they aren't manually added, so edit the shortcut: Configure -> General -> Arguments:
Code:
-sdiscogc.game-host.org:2302
There are no spaces in the argument (note: replace the address after -s with any server address you need).
6. Install Discovery 4.87 (Configure, Miscellaneous, run a .exe file).
Copy your Discovery game folder over your vanilla Freelancer folder, so we can use the POL shortcut from its home page.
8. Play the game! Say no when it asks you to update to 4.87 update 7a.
Graphics work: check
Sound works: check
Online play works: check
Enjoy!
Tested using Kubuntu 14.10 Utopic Unicorn AMD64 KDE5.
NOTE: While it's possible to update Discovery to 48.77 using the update tool, Freelancer crashes to desktop when updated. You can update Discovery to 4.87 update 2, subsequent versions crash: http://discoverygc.com/updates/487update2.zip
Multiplayer is broken in versions of WINE newer than 1.1.20 due to DirectPlay issues.
This doesn't seem to work with the newest version of Discovery... I followed the tutorial very carefully three times (and two times with a bit of variation), all with the same result: DSLauncher just crashes, more or less immediately.
Debug gives me this error:
Code:
wine: could not load L"C:\\windows\\system32\\plugplay.exe": Module not found <------This was resolved by editing system.reg
fixme:actctx:parse_manifest_buffer root element is L"asmv1:assembly", not <assembly>
err:module:import_dll Library mscoree.dll (which is needed by L"C:\\users\\mikg\\Local Settings\\Application Data\\Discovery Freelancer 4.88.1\\DSLauncher.exe") not found
My system:
Ubunutu 14.04
PlayOnLinux 4.2.8
Note: I manually downloaded mscoree.dll and put it in the system32 folder, to no avail.
EDIT: The game runs fine on a Windows virtual machine running on VMware Player; but still, I'd much rather not have to use Win.