Unable to install Freelancer

Hope someone can help me here. This installation used to work on my previous Linux install when I was trying it out about a year ago. Recently moved my main system to Linux, but this process no longer works.

Installing Freelancer using the CD +HD Edition, but other scripts in Lutris have similar results. I put the CD in and run the script. It downloads the HD content from GitHub, and thenWine kicks off and sets up the environment. I’m prompted to point to the CD installation, and the game goes through the installation after I select “Express Install”. The installation completes, and I select the “Play Freelancer” option. It prompts to accept the EULA and says it can’t detect my 3d card. I tell it to proceed, and then it exits with return code 256.

lutris-wrapper: /home/aaron/.local/share/lutris/runners/wine/lutris-fshack-7.1-x86_64/bin/wine
Started initial process 226363 from /home/aaron/.local/share/lutris/runners/wine/lutris-fshack-7.1-x86_64/bin/wine /run/media/aaron/FL_v1/setup.exe
Start monitoring process.
wineserver: using server-side synchronization.
002c:fixme:winediag:LdrInitializeThunk Lutris Wine 7.1 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please don’t report bugs about it on winehq.org and use Issues · lutris/wine · GitHub instead.
Initial process has exited (return code: 256)
00fc:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux0
00fc:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux1
00fc:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux0
00fc:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux1
00fc:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00fc:fixme:imm:ImmReleaseContext (0004004C, 00000000): stub
00b8:fixme:imm:ImeSetActiveContext (0x930030, 0): stub
00b8:fixme:imm:ImmReleaseContext (00010020, 00930030): stub
00fc:fixme:sfc:SfcIsFileProtected (00000000, L"C:\windows\Fonts\AgencyR.TTF") stub
0140:fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 21f498,0
0148:fixme:imm:ImeSetActiveContext (0x4a0030, 1): stub
0148:fixme:imm:ImmReleaseContext (00030092, 004A0030): stub
0148:fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 21f498,0
0148:fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 21f498,0
0148:fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 21f498,0
0178:fixme:sfc:SfcConnectToServer 0
0178:fixme:sfc:SfcConnectToServer 0
0180:err:ole:TLB_ReadTypeLib Loading of typelib L"C:\windows\system32\logagent.tlb" failed with error 2
0194:fixme:file:NtLockFile I/O completion on lock not implemented yet
0194:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
019c:fixme:file:NtLockFile I/O completion on lock not implemented yet
019c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0130:fixme:shell:SHChangeNotify ignoring unsupported flags: 2001
0130:fixme:shell:SHChangeNotify ignoring unsupported flags: 2001
0130:fixme:shell:SHChangeNotify ignoring unsupported flags: 2001
0130:fixme:shell:SHChangeNotify ignoring unsupported flags: 2001
0130:fixme:shell:SHChangeNotify ignoring unsupported flags: 2001
0130:fixme:file:NtLockFile I/O completion on lock not implemented yet
0130:fixme:ieframe:Unknown_QueryInterface The IShellLinkA interface is not yet supported by InternetShortcut
0130:fixme:shell:SHChangeNotify ignoring unsupported flags: 2001
0130:fixme:ieframe:Unknown_QueryInterface The IShellLinkA interface is not yet supported by InternetShortcut
0130:fixme:shell:SHChangeNotify ignoring unsupported flags: 2001
0130:fixme:service:QueryServiceObjectSecurity 043F09F0 4 043BEF28 512 043BF338 - semi-stub
0130:fixme:service:SetServiceObjectSecurity 043F09F0 4 043BF128
0230:fixme:imm:ImeSetActiveContext (0xa30030, 1): stub
0230:fixme:imm:ImmReleaseContext (00060088, 00A30030): stub
0240:err:ole:CoUninitialize Mismatched CoUninitialize
0230:fixme:dpnet:IDirectPlay8ClientImpl_SetCaps (008D19B0):(0): Stub
0230:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0230:err:winediag:ntlm_check_version ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0230:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0230:err:richedit:ReadStyleSheet skipping optional destination
0230:err:richedit:ReadStyleSheet skipping optional destination
0230:err:richedit:ReadStyleSheet skipping optional destination
0230:err:richedit:ReadStyleSheet skipping optional destination
0230:err:richedit:ReadStyleSheet skipping optional destination
0230:err:richedit:ReadStyleSheet skipping optional destination
0230:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux0
0230:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux1
0230:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux0
0230:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux1
0230:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0230:fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
0230:fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
winegstreamer: failed to create decodebin, are 32-bit GStreamer “base” plugins installed?
0230:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0230:fixme:d3d:wined3d_device_reset Unimplemented swap effect 0x5.
0230:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0230:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x7e53ce9d
0244:fixme:advapi:RegisterEventSourceA ((null)," “): stub
0244:fixme:advapi:RegisterEventSourceW (L”",L" “): stub
0244:fixme:advapi:ReportEventA (CAFE4242,0x0001,0x0000,0x00000000,00000000,0x0001,0x00000060,0143FB88,018B652A): stub
0244:fixme:advapi:ReportEventW (CAFE4242,0x0001,0x0000,0x00000000,00000000,0x0001,0x00000060,01470430,018B652A): stub
0244:err:eventlog:ReportEventW L"3”
0244:fixme:advapi:DeregisterEventSource (CAFE4242) stub
0244:fixme:advapi:RegisterEventSourceA ((null)," “): stub
0244:fixme:advapi:RegisterEventSourceW (L”",L" “): stub
0244:fixme:advapi:ReportEventA (CAFE4242,0x0001,0x0000,0x00000000,00000000,0x0001,0x00000060,0143FB88,018B65AA): stub
0244:fixme:advapi:ReportEventW (CAFE4242,0x0001,0x0000,0x00000000,00000000,0x0001,0x00000060,014703F0,018B65AA): stub
0244:err:eventlog:ReportEventW L"6”
0244:fixme:advapi:DeregisterEventSource (CAFE4242) stub
0244:fixme:advapi:RegisterEventSourceA ((null)," “): stub
0244:fixme:advapi:RegisterEventSourceW (L”",L" “): stub
0244:fixme:advapi:ReportEventA (CAFE4242,0x0001,0x0000,0x00000000,00000000,0x0001,0x000002cc,0143FB88,018B664A): stub
0244:fixme:advapi:ReportEventW (CAFE4242,0x0001,0x0000,0x00000000,00000000,0x0001,0x000002cc,01470430,018B664A): stub
0244:err:eventlog:ReportEventW L"7”
0244:fixme:advapi:DeregisterEventSource (CAFE4242) stub
Monitored process exited.
Exit with return code 256

Thanks in advance!

1 Like

I know this is gonna sound off the wall, but I actually got around this issue when I was installing it. I use POL to install Freelancer, copied the Freelancer to the Lutris install folder and then ran Discovery from the lutris exe menu for Freelancer and manually added my link and it all works except the alt tab out which does the black screen and then you can not get it back so you have to kill it. Not sure why it is doing the exit code 256. I tried all the installers and all gave the same exact exit code.

In all honesty Freelancer Halo were the first two games I ever got installed in wine and running and playable other than at that time networking did not work.

I managed to get it to install by editing the JSON and adding “return_code”:“256”, in the “task” section i.e.
“task”: {
“arch”: “win32”,
“description”: “Installing Freelancer. Please choose "Express install".”,
“executable”: “$DISC/setup.exe”,
“name”: “wineexec”,
“prefix”: “$GAMEDIR”,
“return_code”: “256”
}

2 Likes

That worked perfectly, thanks!