WineHQ

Freelancer

The setting for this "space opera" game is the 23rd Century, which in a galactic time-frame can be roughly described as just before the insanity that was Buck Rogers and just after the Space Odyssey. A civil war has ripped Earth and our Solar System apart, with the losing faction, the Alliance, escaping to deep space to start over again.

Application Details:

Version: 1.x
License:
URL: http://www.microsoft.com/games...
Votes: 12
Latest Rating: Gold
Latest Wine Version Tested: 2.1

Maintainers: About Maintainership

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

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.

Workarounds

What was not tested

Network play.

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

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

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowDebian GNU/Linux 9.x "Stretch" x86_64Feb 17 20172.1Yes Yes GoldAlex S. 
ShowUbuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)Feb 03 20172.0Yes Yes GoldAlex Monk 
ShowUbuntu 15.04 "Vivid" i386 (+ variants like Kubuntu)Oct 12 20151.7.52Yes Yes SilverJakub Ćwik 
ShowUbuntu 14.04 "Trusty" i386 (+ variants like Kubuntu)May 27 20141.6.2Yes Yes Silveran anonymous user 
ShowUbuntu 12.10 "Quantal" amd64 (+ variants like Kubuntu)Mar 01 20131.5.24Yes Yes Silverlahtis 

Known Bugs

Bug # Description Status Resolution Other apps affected
4066 Online Play Doesn't Work (DirectPlay) NEW View
40336 Freelancer: Background Texture for in-game "NavMap" spreads across entire screen (Intel only) UNCONFIRMED View

Show all bugs

HowTo / Notes

HOWTO

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

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Regarding the font used in Freelancer...
by Alex S. on Tuesday February 21st 2017, 16:06
If you manage to launch your game you will see that Freelancer uses some sort of Arial font (more precisely, Arial Unicode MS). Arial is included in the corefonts package, so no problems here. Freelancer actually uses some sort of a condensed font. I found out it's Agency FB (www.microsoft.com/typography/fonts/family.aspx?FID=197 ).
The only way I found to make text show up in this font is to pull the TTFs from a Windows installation and install them in your distro. Wine seems to use them automatically.

Their paths are Windows/Fonts/agencyr.ttf and Windows/Fonts/agencyb.ttf.

Be careful, it might not be the most legal way to fix the fonts.
Intro video?
by Shmerl on Monday September 12th 2016, 19:12
Is there any way to make intro video work?
RE: Intro video?
by Alex S. on Tuesday February 21st 2017, 15:45
- winetricks wmp9, amstream, devenum, quartz.
Can't get it to work
by MrHudson on Sunday September 4th 2016, 15:51
I have been struggling with trying to get Freelancer to work on Ubuntu 16.04 and despite many attempts, I keep getting this in the debug:

pastebin.com/xhETbXvt

Any assistance would be appreciated.
no cursor/mouse pointer
by sislek on Thursday August 11th 2016, 14:32
hi, first sorry for my bad english.
tried with freelancer german v1.x or english v1.x original cds, with discovery mod.
i am using linux mint 17, playonlinux 4.2.9 and wine 1.9.12 (tested also 1.9.16, 1.9.1, 1.5.10,...)
installations runs fine. freelancer starts, but i can NOT see the mouse pointer?!
setting wine to win95, win98, xp, full screen or not, forced desktop size, ... nothing works.
system and videocard drivers are up to date. i dont use custom mouse pointer or such stuff.
any help? thx a lot!
RE: no cursor/mouse pointer
by lahtis on Thursday August 11th 2016, 14:41
RE: no cursor/mouse pointer
by sislek on Thursday August 11th 2016, 15:10
...adress not available..trying later
RE: no cursor/mouse pointer
by sislek on Thursday August 11th 2016, 15:12
looks like download link is offline/down
RE: no cursor/mouse pointer
by lahtis on Thursday August 11th 2016, 15:16
it is only patch download link in broken. You can install patch later.
RE: no cursor/mouse pointer
by lahtis on Thursday August 11th 2016, 15:30
you can try this installer source github.com/lahtis/playonlinux/blob/master/working/Freelancer there is diffrent source for patch. I dont have this computer in cd-drive. i cant test it.
Working multiplayer with Discovery mod
by Tre0n on Tuesday May 31st 2016, 4:24
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.

Then:
- 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 ---
#!/usr/bin/env sh
fpid=$(pgrep Freelancer | head -n 1)
fcpu=3
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.
RE: Working multiplayer with Discovery mod
by Alex Monk on Tuesday May 31st 2016, 4:54
Thank you so much Tre0n!
Would you mind submitting a test result? It sounds like this warrants a Gold rating. We haven't had those for years.
RE: Working multiplayer with Discovery mod
by Tre0n on Tuesday May 31st 2016, 6:57
Sure, I'll get on it.
RE: Working multiplayer with Discovery mod
by Tre0n on Tuesday May 31st 2016, 8:55
I've just re-run my steps and I've got singleplayer and multiplayer working in Discovery mod, but can't get the vanilla singleplayer campaign working with this setup (the game crashes as soon as I click "new game").

Discovery's singleplayer doesn't contain the campaign, so I don't think these steps lead to a gold-worthy state. I'll also have to update my comment with some new steps to get the multiplayer working.

I'll try a few more things, but I'm not going to bother submitting test results without working SP campaign (unless you really think I should).
UPDATE: Get DSLauncher.exe working
by Tre0n on Tuesday May 31st 2016, 9:03
I re-ran these steps and I missed few things:

1. Vanilla Freelancer's singleplayer campaign doesn't work for me.
2. DSLauncher.exe complains about not having a config file.

I fixed this by copying an old launcherconfig.xml over and editing it to empty the list of installed patches.

Here's a pastebin of that file: pastebin.com/raw/S3Kz5EDL

Simply save the contents of that file as "launcherconfig.xml" in the same directory as DSLauncher.exe and it should work okay.

Also, in my experience clicking "OK" on some of DSLauncher's pop-ups doesn't work, but pressing Enter does.past
game works perfectly
by marcin kowalski on Friday September 25th 2015, 7:10
I tried running the game with wine-staging. Had the sound problem.

The fix with recoding the audio did not help much.

So i tried the unofficial 1.4 patch and "swag pack" mod which improves some textures and audio.

Now everything works perfectly.
Last supported WINE version
by darkshadow on Monday December 15th 2014, 2:36
Freelancer works perfectly (using overrides) in WINE 1.1.20. That includes multiplayer. All subsequent versions break DirectPlay. You need to use PlayOnLinux, because WINE 1.1.20 is ancient. How-to here:
discoverygc.com/forums/showthread.php?tid=48363&pid=1610948#pid1610948
RE: Last supported WINE version
by lahtis on Thursday January 22nd 2015, 7:57
You can use PlayOnLinux Freelancer installer.
RE: Last supported WINE version
by darkshadow on Sunday January 25th 2015, 12:01
By using WINE 1.5.24 you won't be able to play Freelancer multiplayer.
Use the "install an unsupported application" method and WINE 1.1.20.
Multiplayer
by Eugene Menyhart on Monday April 29th 2013, 2:49
The global server is down since 5 years ago so you cannot join to any server without the workaround "mod". It's downloadable from Lancer's reactor.

The another way is the Hamachi (or any other Hamachi-like program).
Freelancer working very nice
by lahtis on Monday March 11th 2013, 14:34
Im using Freelancer playonlinux install script.

- 1.5.24 wine
- virtual desktop 800 x 600
- directplay
- offical 1.1 patch (no cd fix installed).

It is running very good in Ubuntu 12.10.
RE: Freelancer working very nice
by Alex Monk on Monday March 11th 2013, 14:40
Does it work with multiplayer?
RE: Freelancer working very nice
by lahtis on Monday March 11th 2013, 14:46
not tested.
RE: Freelancer working very nice
by lahtis on Monday March 11th 2013, 15:14
Multiplayer not working. Server program working, but game not found to the server. Also when server close, server program crash.
RE: Freelancer working very nice
by Alex Monk on Monday March 11th 2013, 15:15
A shame, but interesting. Can you get windows clients to connect to a Wine FLServer?
RE: Freelancer working very nice
by lahtis on Tuesday March 12th 2013, 11:18
I do not have Windows. shame.
Mouse not working
by SergeM on Wednesday April 11th 2012, 13:41
I know some people have had problems with the mouse in this game. My problem is that it jumps all over the place whenever I move it, making targeting (or even moving around) nearly impossible and very frustrating.

I am on a Mac OSX Snow Leopard and using wineskin 1.4. Thanks for the help!
RE: Mouse not working
by Frank Schlegel on Saturday August 18th 2012, 11:48
Hi,

To avoid this problem you need to use a Wine version with 'NoXInput2' enabled.
I use Wineskin 2.5.6 with the WS9Wine1.5.10NoXInput2 engine and I had no problems so far.
No 3D capable video card
by Ian on Thursday August 18th 2011, 1:35
I realise this error has been reported before but that didn't get any helpful answers. I'll repeat the error-
"Freelancer did not detect a 3D capable card in your system. If you do have a 3D capable video card installed please try rebooting. You may need to reinstall the game." Then the program quits itself.

How can I make Freelancer run?
I'm on an iMac (10.6.4) with Wine 1.4.44
Thanks.
Image upside/down then Blank screen
by Lionel on Sunday June 26th 2011, 17:23
Hi,

Using Winebottler on Mac, I got the splash screen upside/down followed by a blank screen.

To fix it, I set HKEY_CURRENT_USER->Software->Wine->Direct3D->OffscreenRenderingMode to backbuffer
RE: Image upside/down then Blank screen
by Lionel on Sunday June 26th 2011, 17:31
Oh and I also had to set common.dll to native. Both settings were needed to fix the problem.
FL MP
by Sebastian Eckert on Sunday May 8th 2011, 12:57
For multiplayer you surely need to install the GLS Workaround from www.flserver.de
For widescreen see here:
www.moddb.com/mods/widescreen-wondermods
You might also want to try HUD shift for widescreen resolutions:
adoxa.110mb.com/freelancer/index.html
RE: FL MP
by Wouldn't you like to know? on Sunday May 8th 2011, 19:44
I made the widescreen mod. Don't PM me about how widescreen wasn't rendering properly.

I was playing at 1680x1050 resolution, but due to the inefficiencies of the wine layer, the screen could not be re-rendered smoothly at that resolution.
DirectPlay workaround
by Jazz on Monday May 2nd 2011, 3:22
Can anyone tell me, what specifically I have to do to get Freelancer multiplayer working? I've tried installing dplay via winetricks, but if I set dpnet.dll as native, game crashes on launch.
FreeLancer Sound Workarround
by Simon Beer on Thursday February 3rd 2011, 17:51
There are some problems with the sound of the game most probably because some of the audio files are compressed as mp3 with exotic settings and stored in wave files.

So, i wrote a skript to convert all the files to plain pcm files to get things working without using a nativ winemp3.acm (not really working for me)

It was a little bit tricky because all the files are wave files, but some are compressed with mp3 and other aren't (don't know why). script uses mediainfo to check weather they're compressed as mp3 or not. Don't really know a better way to do so because mpg123 don't check if it is really an mp3 compressed file and procduces garbage if it isn't.

Copy to Freelancer root dir and run.

Without guarantee.



#!/bin/sh

AUDIO_DIR="./DATA/AUDIO/"

find "$AUDIO_DIR" -name \*.wav | while read FILE
do
TYPE=$(mediainfo "$FILE" | grep "MPEG Audio")
if test -z "$TYPE"
then
echo "$FILE is PCM, do nothing." | tee -a log.txt
else
echo "$FILE is MP3, converting..." | tee -a log.txt
mpg123 -q -w new.wav "$FILE"
mv -f new.wav "$FILE"
fi
done
RE: FreeLancer Sound Workarround
by Fred on Wednesday January 21st 2015, 20:09
Thank you sir, it's working! You need to install mediainfo before using the script, but it does the job.
3D card troubles
by jake on Wednesday November 3rd 2010, 16:56
I get two alerts from within Freelancer that are essentially the same. "Freelancer does not recognize your 3D video card. Freelancer may have trouble running." Followed by "Freelancer did not detect a 3D capable card in your system. If you do have a 3D capable video card installed please try rebooting. You may need to reinstall the game." Then the program quits itself. Everything on the wine end of things seems to be working at this point, how do I get wine to tell Freelancer I have a 3D card that it accepts?


wine on Mac OSX 10.6.4
NVidia GeForce 9600M GT
RE: 3D card troubles
by jake on Thursday November 4th 2010, 7:43
other info:
I've got it working in a win98 bottle with crossover games and a no CD crack, so I'm pretty sure it can be done in Wine, I just don't know what crossover is doing to fool it. No font issues either. I guess their 30 price actually gets you something.
MP ID -> blanko field
by Sebastian Eckert on Wednesday September 8th 2010, 10:47
Hi,
I have the problem that FL shows me a blank field where my ID should be (this might be because you don't really use windows but the ID is generated from the windows user's account name as well). Well, my solution was to manually import the registry entries where the ID is stated (or: create the lines in the registry which are used as the ID, this might mean that you need a previous ID (you might have friends who can create you one in their windows installation and pass it to you). There are also (windows) tools out there who create FL MP IDs.

If anyone wants to know which entries are important for the ID just tell me and I will post them here (These are three entries in total, no less)
RE: MP ID -> NEED ONE
by Charles on Monday January 21st 2013, 19:46
Hey man, I don't know if you are still using this site, but I would much appreciate an ID if you have one... Thanks!
RE: MP ID -> blanko field
by Sebastian Eckert on Tuesday January 22nd 2013, 17:26
For anyone having the smare problem you might want to try out
www.freelancerserver.de/v2/topic,21310_Freelancer_Multiplayer_ID_Generator.html
Freelancer exit after splash screen
by Jirik on Saturday August 21st 2010, 8:27
Hi,

I know that this problem was reported before but I don't know why freelancer trial demo is runnig flawlessly and full version even won't start up.

I tried install directx, some xml libraries but it only reduced items in wine log, game was crashing anyway.

this is part of wine out.
fixme:d3d:IWineD3DSwapChainImpl_Present Render-to-fbo with WINED3DSWAPEFFECT_FLIP
fixme:d3d:debug_d3dformat Unrecognized 0x38414144 (as fourcc: DAA8) WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized (0x38414144) in the format lookup table

Does anyone know how to resolve this?

wine 1.3.1
gentoo
DirectDrawRenderer opengl
sound was disabled but with mp3 codec was working well

p.s.
Should't be reopen this Bug 17934 ?
bugs.winehq.org/show_bug.cgi?id=17934

Sorry for my english
No sound after loadingscreens
by Felix on Sunday May 2nd 2010, 11:18
Hi,

apart from the "sound loop" bug, I got another sound problem with Freelancer. After loadingscreens, e.g. docking/undocking with planets or stations, the whole sound and music turns off. The only way to get the sound back is to restart the game.

I already tried different Wine versions, like 1.0.1, 1.1.38, 1.1.42 and 1.1.43 including the patched pulse-audio version. I also tried the "Freelancer Tutorial for noobs" mentioned below. I'm using Kubuntu 10.04 and my winecfg is set to override winemp3.acm as described in various comments.

Does any of you have similar problems and found a workaround?
RE: No sound after loadingscreens
by Alessa Morgendorffer on Friday August 6th 2010, 0:46
Have you tried it with a sound system that isn't notorious for breaking everything? Getting rid of PulseAudio seems to have fixed a lot of people's sound problems in pretty much every application ever since it was introduced. Though I'm not sure if Ubuntu even lets you remove it without trashing everything else any more.
RE: No sound after loadingscreens
by Felix on Friday August 6th 2010, 2:21
I solved this problem quite a while ago by doing a complete reinstall of wine and Freelancer (uninstall, delete all remaining files, reinstall)
Wine Version For best Results
by Dave on Friday June 5th 2009, 10:38
A bit of advice. I have freelancer working in both the stable version of wine 1.0.1 and the latest development release 1.1.22.

I seriously suggest that you run it on the latest stable release. 1.0.1

Sure freelancer runs in version 1.1.22 but you'll get a LOT more errors and quite a few crashes.

For best results, use the tried and tested stable release of wine.
RE: Wine Version For best Results
by Berillions on Sunday June 14th 2009, 12:26
Hello,

I use Wine 1.1.22 but when i click on "New Game", Wine quit and i have an error message.

But, i can change Option, Résolution etc... no crash. Only when i launch a new game.

I installed the .dll and vcrun, directx9 and msxml3 , msxml4 and msxml6.

have you got an idea of my problem?

Sorry for my english, i'm french
RE: Wine Version For best Results
by Dave on Sunday June 14th 2009, 14:29
Without seeing the errors I could only speculate.

Try getting rid of the version of wine you are using. Go back to Wine 1.0.1. Then follow the How-to from the link posted above the comment section.
RE: Wine Version For best Results
by Berillions on Sunday June 14th 2009, 15:39
Re,

In fact, i have'nt error message. Wine quite only.
But, in my other pc with a GeForce 6600Gt, i can play a new game...

And i have an ATI 4850HD. Maybe, it's a cause.
RE: Wine Version For best Results
by Dave on Sunday June 14th 2009, 20:08
Hmmm could be.

I know a lot of people that haven't had a lot of luck with ATI and linux. I haven't had an ATI card in a long time so I couldn't help you on that.

I'd try searching the ubuntu forums.
Freelancer Tutorial for noobs
by Dave on Sunday May 17th 2009, 11:41
This will even fix the xml text coding problem.

freelancercommunity.net/viewtopic.php?p=2466#2466
RE: Freelancer Tutorial for noobs
by Fabian Thoma on Sunday May 17th 2009, 12:00
If you use wine 1.1.20 you don't need any fix for XML if I'll remember right. I'll install it again and note my exact steps and include them as a HOWTO here.
RE: Freelancer Tutorial for noobs
by Dave on Sunday May 17th 2009, 19:04
Not everyone is using that version because it breaks other games.
RE: Freelancer Tutorial for noobs
by Alessa Morgendorffer on Monday August 2nd 2010, 14:19
Mind posting a link to the same information on a site that doesn't force you to register just to read it?

Though even registering doesn't let people view it. Would copying and pasting really have been so much trouble?
RE: Freelancer Tutorial for noobs
by Dave on Monday August 2nd 2010, 16:22
The tutorial was written a long time ago and out of date. That's why I took it down. Due to updates within wine and the distros of linux wine is on, an outdated tutorial could do a lot of damage in terms of resolving today's issues.

I did the responsible thing by NOT pasting it here.

I will say this though, winetricks is a must have if you want to get freelancer working. install all the directx stuff, your fonts, xml stuff, directplay, dotnet.... thats about all I can remember off the top of my head.

I don't play Freelancer anymore. But when I did, it worked and online multiplayer worked as well for the client side. Running a server never worked.
RE: Freelancer Tutorial for noobs
by Alessa Morgendorffer on Monday August 2nd 2010, 16:24
All right, sorry. All the information needed seems to be in these comment pages, and the DirectPlay Games thing, anyway, at least.
Mouse
by Thomas on Monday February 9th 2009, 10:33
as I posted before as a reply, I will now post as an entire new problem.

When I try to play the game my mouse lags very much. Which makes it pretty impossible to play. I've seen in a different post that someone else has had the same problem. If there are more people with this problem, please respond.

Does anyone know a fix for this mouse lag?
RE: Mouse
by Nathan Shearer on Monday March 9th 2009, 0:21
Disable vertical sync in your video card settings. This should fix the mouse lag issue (it did for me with my ATI Radeon HD2900)
RE: Mouse
by Joao Santiago on Saturday April 4th 2009, 5:27
hummm wish I knew how to do that with an Intel card :S
Missing Descriptions Fixed
by Adam Mellor on Monday January 19th 2009, 10:37
In previous versions of Wine, it didn't display the specs for guns,the mission descriptions and mission log, and the load button in the main menu had no text inside (just the outline of the button). It also crashed for me when I tried to land at Bedford Station. This is now fixed with Wine 1.1.13.
sound
by Joao Santiago on Friday January 2nd 2009, 11:19
sound still hangs and I can't find the file perfoptions.ini so I can't set my desired resolution and/or play in a window

what exact settings should I set fix the hanging sound?
RE: sound
by Joao Santiago on Friday January 2nd 2009, 11:24
oh and my mouse is messed too :S it isn't smooth
RE: sound
by Thomas on Sunday February 8th 2009, 14:00
I have the same problem. Does anyone know a way to fix this?
How To Install
by Nathan Shearer on Saturday November 29th 2008, 22:05
1. Set wine version to Windows 98
2. Install Freelancer
3. Install Freelancer Patch 1.1
4. (Optional) Install Unofficial Freelancer SP Patch 1.40
5. Install a No CD crack (version 1.0 cracks will work with all versions)
6. Fix Bug 3853 (looping music)
6.1. Download "l3codeca.acm" from somewhere (prefereably a working *clean* Windows XP isntall).
6.2. Remane it to winemp3.acm and copy it to the wine system32 directory.
6.3. Set an override for this file specific only to Freelancer.
7. Edit perfoption.ini to set resolutions that are more to your liking (Note that Freelancer was designed to only work at 4:3 aspect ratios).
RE: How To Install
by Nate on Wednesday December 10th 2008, 21:36
Are you able to play online? If I go to the multiplayer page the following is spewed nonstop and no games are listed:

fixme:dpnet:IDirectPlay8ClientImpl_EnumHosts (0x123718):((nil),0x67e834,0): Stub
RE: How To Install
by Nate on Wednesday December 10th 2008, 22:06
Well, I fixed that error by dropping dpnet.dll in wine/sys32 folder and adding an override for it (even though you're not supposed to have to do this now supposedly) but I still can't see any lan games.

If I throw up my own server I can't even see that.
RE: How To Install
by Nate on Wednesday December 10th 2008, 22:07
Heh. I apologize. Didn't even see the bug up above about online play.
Freelancer has encountered a problem and needs to close.
by Andreas Lausch on Tuesday August 19th 2008, 0:44
Running freelancer w/o CD fix shows me the message 'A Debugger Has Been Detected: Unload the Debugger and Try Again'. I believe this has sth. to do with the copy protection, so I tried it with a fixed Exe.
When if try to start w/ CD fix I keep getting the Message 'Freelancer has encountered a problem and needs to close. We are sorry for the inconvenience.'

Any known fix on that?
RE: Freelancer has encountered a problem and needs to close.
by Andreas Lausch on Tuesday August 19th 2008, 0:50
My wine version is
wine-1.1.2 (ubuntu hardy)

Here's the wine output:
pastebin.ca/1178388

I've tried Freelancer version 1.0 and patch 1.1
RE: Freelancer has encountered a problem and needs to close.
by John Smithen on Friday September 26th 2008, 1:22
I had a similar problem, several times in fact! I found this somewhere on the web - Credits to LeadGolem, whose profile and website I failed to get when I copied and pasted this information. Not carrying out steps 5,6 & 7 results in playable, but lagging game - I am assured that the ACM fix will fix that.


Once you have wine installed and direct rendering setup, installing freelancer is fairly simple.

1. Install freelancer by double clicking the setup.exe in the disks root folder. Then follow the installer.

Once installed you'll need to do just a bit of tweaking to get it to run acceptably.

2. Download a copy of msvcrt.dll and place it in your ~.wine/drive_c/windows/system32 folder. Please note that the .wine folder is a hidden folder in your home folder. The period before it designates it a hidden folder.

3. Add Freelancer specific Settings to your wine configuration
3A. Go to Applications/Wine/Wine Configuration
3B. Click Add applicaton
3C. Find your Freelancer.exe file and select it. Typically this is in Program Files/Microsoft Games/Freelancer/EXE.
3D. Click ok.

4. Add msvcrt dll override to Freelancer.
4A Click Freelancer.exe
4B. Click Libraries.
4C. Click the "New override for library:" dropdown.
4D. Select msvcrt from the dropdown.
4E. Click "Add".
4F. Click "OK" at the bottom of the screen.

5. Install a mp3 codec for windows in wine.

6. Rename the installed .acm mp3 codec file "winemp3.acm". If you install the Fraunhofer mp3 codec it will typically go in ~.wine/drive_c/Program Files/Fraunhofer MP3 Codec Pro.

7. Move the newly named winemp3.acm file to your ~.wine/drive_c/windows/system32

8. Tweak a rendering setting to get textures to show up properly.
8A. Go to Applications/Wine/regedit.
8B. Expand the tree for HKEY_CURRENT_USER/Software/Wine/Direct3D. You may need to create the Direct3D folder. You can do that by clicking the Wine folder, then clicking "Edit" and selecting New/Key. Then name the key Direct3D.
8C. Click on the Direct3D folder.
8D. Click "Edit" then select New/String Value.
8E. Name that new string "DirectDrawRenderer".
8F. Right click on "DirectDrawRenderer and select Modify.
8G. Enter the value data as "opengl" then click "OK".
8H. Then click Registry/Exit.

9. Play the game. The Freelancer installer should have put a Freelancer launcher on your Desktop.
RE: Freelancer has encountered a problem and needs to close.
by Torsten on Sunday March 10th 2013, 16:00
Same initial problem with running Freelancer of Mac OSX Snow Leopard. Install works fine, upon starting game I got the debugger message until I installed a no-cd fix. Then the game just crashes on startup.


wine: Unhandled page fault on write access to 0x00000000 at address 0x5b808e (thread 0009), starting debugger...
Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x005b808e).
Register dump:
CS:0017 SS:001f DS:001f ES:001f FS:1007 GS:0037
EIP:005b808e ESP:0032feb4 EBP:0032fec8 EFLAGS:00010212( R- -- I -A- - )
EAX:00000000 EBX:7b853601 ECX:0032fed0 EDX:00000000
ESI:7ffdf000 EDI:005b808e
Stack dump:
0x0032feb4: 7b8504ec 7ffdf000 7b85360f 7b853601
0x0032fec4: 7ffdf000 0032ff08 7b853647 7ffdf000
0x0032fed4: 005b808e 00000000 00000000 00000000
0x0032fee4: 00000000 00000000 00000000 00000000
0x0032fef4: 00000000 0032ff20 7bc66ddc feffeeb4
0x0032ff04: 00110850 0032ff28 7bc65dac 00000000
0200: sel=1007 base=7ffc0000 limit=00000fff 32-bit rw-
Backtrace:
=>0 0x005b808e in freelancer (+0x1b808e) (0x0032fec8)
1 0x7b853647 start_process+0x66() in kernel32 (0x0032ff08)
2 0x7bc65dac call_thread_func_wrapper+0xb() in ntdll (0x0032ff28)
3 0x7bc66e5a call_thread_func+0x89() in ntdll (0x0032ffa8)
4 0x7bc65d72 call_thread_entry_point+0x11() in ntdll (0x0032ffc8)
5 0x7bc3e95e start_process+0x1d() in ntdll (0x0032ffe8)
0x005b808e: addb %al,0x0(%eax)
Modules:
Module Address Debug info Name (33 modules)
ELF 0-7bf03000 Stabs
PE 400000- 686000 Deferred freelancer
PE 40001000-40142000 Deferred libwine.1.dylib
ELF 7b800000-7ba4f000 Stabs kernel32
\-PE 7b810000-7ba15000 \ kernel32
ELF 7bc00000-7bcd2000 Stabs ntdll
\-PE 7bc10000-7bc99000 \ ntdll
PE 90df6000-90e41000 Deferred ae
PE 91252000-91595000 Deferred security
PE 916a8000-91713000 Deferred metadata
PE 91788000-917e2000 Deferred systemconfiguration
PE 91ab3000-91ac6000 Deferred diskarbitration
PE 9207a000-92141000 Deferred libsqlite3.dylib
PE 922c2000-923ec000 Deferred osservices
PE 92613000-92626000 Deferred libz.1.dylib
PE 92833000-92866000 Deferred libxslt.1.dylib
PE 92ce0000-92dbc000 Deferred launchservices
PE 93590000-93926000 Deferred carboncore
PE 938b1000-939c2000 Deferred cfnetwork
PE 96231000-96355000 Deferred libxml2.2.dylib
PE 96395000-963d1000 Deferred dictionaryservices
PE 97c3d000-97c53000 Deferred netfs
PE 982bd000-98530000 Deferred corefoundation
PE 98aa6000-98aae000 Deferred coreservices
PE 98baa000-98bba000 Deferred libkxld.dylib
PE 98d0b000-98d11000 Deferred libmathcommon.a.dylib
PE 98de2000-98e5f000 Deferred iokit
PE 98f12000-98fc6000 Deferred searchkit
PE 993aa000-9958e000 Deferred libicucore.a.dylib
PE 99c75000-99e9e000 Deferred libsystem.b.dylib
PE 99e1d000-99e70000 Deferred libauto.dylib
PE 9a360000-9a37d000 Deferred libbsm.0.dylib
PE 9a63c000-9a6fd000 Deferred libobjc.a.dylib
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\Microsoft Games\Freelancer\EXE\Freelancer.exe
00000009 0
Playing Online
by Garrett Hylltun on Saturday August 16th 2008, 17:22
You will not be able to access any online games through Freelancer with a standard install. This is because Microsoft shut down the global servers listing server late in 2007, earlier than stated which was to be spring 2008.

But! You can do one of two things. Either enter a server IP directly using command line parameters, or the HTA file included for doing so... Or! Use the newer user made global server.

Open your freelancer.ini file and comment out the following line by add the ; character at the begining of the line:

hostname = fllistserver.zone.msn.com ; GUN server in Redmond (DNS entry)

That line up there, and make it like this:

;hostname = fllistserver.zone.msn.com ; GUN server in Redmond (DNS entry)

Then add the following line:

hostname = gun.fllistserver.com

Save, run Freelancer, goto multiplayer > internet. Provided online play works for FL under wine, you should then get a list of online servers that are currently registered with the new global server.
RE: Playing Online
by Adam Hirst on Saturday November 29th 2008, 14:24
I was just about to Google this now - thank goodness I was an the AppDB. Thanks for posting this information here, I'm sure many other Linuxers will find it as useful as I. ^_^
0.9.60 installer works again
by Frank on Saturday April 19th 2008, 9:50
I just tried Freelancer and it installs fine again now.
I still need to run native msvcrt , use the winemp3.acm as mentioned below, and of course the nocd fix. For my ATI graphics card I had to install the patch from bug report 12416 to be able to run, but with those tweaks all is well.
OS: PclinuxOs 2007
video card :ATI radeon x1950pro
sound card: Creative Audigy 2
Freelancer doesn't work anymore
by Aaron on Tuesday March 25th 2008, 19:06
I just upgraded from 0.9.56 to 0.9.56. The graphics glitches that were originally present are back! :(
The mp3 codec overide worked perfectly, though.
RE: Freelancer doesn't work anymore
by Aaron on Tuesday March 25th 2008, 21:05
Oops... I upgraded to 0.9.58, not 0.9.56
RE: 'IVBSAXXMLReader' Trouble
by frost666 on Saturday December 15th 2007, 13:49
khm... how to register these classes?
RE:
by dustin price on Saturday November 3rd 2007, 17:56
it works great on single player. alltho multiplayer has no server for me. i am seeing if theres a way to fix that :)
Cannot load game
by Dzimitryj Turaviec on Sunday September 23rd 2007, 2:53
After saving I cannot load a saved game, and after the game saves itself automatically, it is impossible even to start it. It closes after the splashscreen and shows reelancer's error window. Linux Gentoo. If anyone knows solutions, contact me...
RE: Cannot load game
by FeepingCreature on Tuesday January 22nd 2008, 20:29
I just ran into the very same problem using a freshly-built wine-0.9.53, on Gentoo running a 2.6.22 suspend2 kernel.

Quoted are the last few lines of FLSpew.txt:

E:\FL\Scratch\Source\Client\LoginMgr.cpp(351) : NOTICE:General:Starting single player game.
E:\FL\Scratch\Source\Server\PlayerDB.cpp(541) : *** WARNING: invalid costume part (3144214861) in ()
E:\FL\Scratch\Source\Server\PlayerDB.cpp(541) : *** WARNING: invalid costume part (2223155968) in ()
E:\FL\Scratch\Source\Server\PlayerDB.cpp(541) : *** WARNING: invalid costume part (2479975689) in ()
E:\FL\Scratch\Source\Server\PlayerDB.cpp(541) : *** WARNING: invalid costume part (2264565644) in ()
E:\FL\Scratch\Source\Server\PlayerDB.cpp(541) : *** WARNING: invalid costume part (3144214861) in ()
E:\FL\Scratch\Source\Server\PlayerDB.cpp(541) : *** WARNING: invalid costume part (2223155968) in ()
E:\FL\Scratch\Source\Server\PlayerDB.cpp(541) : *** WARNING: invalid costume part (2479975689) in ()
E:\FL\Scratch\Source\Server\PlayerDB.cpp(541) : *** WARNING: invalid costume part (2264565644) in ()
E:\FL\Scratch\Source\Common\Archetype.cpp(60) : *** ERROR: ArchDB::Get(2147483647) failed

PS: Just to make this abundantly clear, the game originally worked _fine_ up to the first autosave, at which point it crashed - and now it doesn't want to start anymore at all.

Hope somebody can help.
RE: Cannot load game
by FeepingCreature on Thursday March 27th 2008, 1:23
The problem is with the savegames.

Somehow, Freelancer under wine/gentoo is unable to produce working savegames, and crashes when it tries to parse them.

Still happens on 0.9.58->git head.

Since me and grandparent seem to be the only ones seeing this, might it be a gentoo-specific problem?

--feep
RE: Cannot load game [WORKAROUND]
by FeepingCreature on Thursday March 27th 2008, 2:09
Solved it.

Override msxml3.

--feep
RE: install wont work
by Willie Sippel on Thursday November 24th 2005, 18:21
I tried it a few days ago, and installation went perfectly. Some visual glitches in the installer, but no real problems. It's pretty much unplayable however, due to bug 3933. Bug 3853 is easy to work around, just use a native MP3 codec. And there are also lots of textures and all particle effects missing.
RE: install wont work
by darkangel on Saturday November 26th 2005, 5:27
But the game runs?
RE: install wont work
by Willie Sippel on Saturday November 26th 2005, 9:45
It starts, yes. But it's unplayable at the moment. Read the testing data I've added...
Back