The Freelancer Community Site by Team [RIP] » Board index » The FLC Public Forums » Freelancer Tutorials




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Freelancer in Ubuntu Linux under wine tutorial
 Post Posted: Sun May 17, 2009 12:25 pm 
Offline
Member
Member

Joined: Sat Feb 02, 2008 9:35 pm
Posts: 11
WARNING:: Use this fix at your own risk. This Fix will work for people that have normal systems.
Do not skip steps. Even if you think you've already got said file or install. If you're attempting to run Freelancer on a piece of junk laptop or a crappy video card I cannot predict what the results will be.

Yes I realize there are multiple ways to accomplish this process, but this tutorial is written for the linux newcomer so that an average windows user can wrap their brain around the process.
Assuming you already have freelancer installed this will get you up and running.

Step 1

Download archive file I've provided FreelancerSys32.tar.gz http://www.mediafire.com/?ghmmtijmbzk
Browse to your C Drive in Wine from your menu
Applications>Wine>Browse C Drive
Browse to windows/system32 folder
Drag and drop files from archive into system32 folder.

Step 2

Open terminal.

Type wget http://www.kegel.com/wine/winetricks
Wait for process to complete

Type
sh winetricks corefonts vcrun6
Type
chmod +x winetricks
Type
sudo mv winetricks /usr/local/bin

Step 3
Open terminal
type winetricks
A new window will pop open with a bunch of boxes to check
Check the following boxes
DirectX9

msxml3
msxml4
msxml6
Click Ok and wait for all packages to be installed.

Step 4
Your gonna have to do some tedious work here but browse to your wine config from the menu.
Applications>Wine>ConfigureWine
Look for tab that says Libraries
Individually type in the following names in the drop down box that is labeled “New override for library and click add. When the name appears in the box below labeled Existing Overrides highlight the file and click edit. Click the option either native (windows) or builtin (Wine) and designate the approprate Load order as designated next to the file name in the following list.

"d3d8"="builtin"
"d3d9"="builtin"
"d3dim"="native"
"d3drm"="native"
"d3dx8"="native"
"d3dxof"="native"
"dciman32"="native"
"ddrawex"="native"
"devenum"="native"
"dinput"="builtin"
"dinput8"="builtin"
"dmband"="native"
"dmcompos"="native"
"dmime"="native"
"dmloader"="native"
"dmscript"="native"
"dmstyle"="native"
"dmsynth"="native"
"dmusic"="native"
"dmusic32"="native"
"dnsapi"="native"
"dplay"="native"
"dplayx"="native"
"dpnaddr"="native"
"dpnet"="native"
"dpnhpast"="native"
"dpnlobby"="native"
"dsound"="builtin"
"dswave"="native"
"dxdiagn"="native"
"mscoree"="native"
"msdmo"="native"
"qcap"="native"
"quartz"="native"
"streamci"="native"

Step 5
Go back to browsing your C drive in Wine Applications>Wine>Browse C drive
Browse to windows folder and open regedit
Expand the tree 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.
Click on the Direct3D folder.
Click "Edit" then select New/String Value.
Name that new string "DirectDrawRenderer".
Right click on "DirectDrawRenderer and select Modify.
Enter the value data as "opengl" then click "OK".

Step 6
Download Fl Mod Manager 1.3 from http://downloads.ripteam.com/soup/The%2 ... taller.exe

Right click exe and say Open with Wine..
Install
You can launch freelancer from here without the disc and/or also install your favorite mod.

I suggest you try out the underverse mod which can be downloaded from

http://www.moddb.com/mods/the-undervers ... r-225-new1

Happy flying.


Restored and Updated 3/3/2011


Last edited by Gallows on Fri Jun 05, 2009 11:50 am, edited 4 times in total.

Top 
 Profile  
 
 Post subject:
 Post Posted: Thu May 21, 2009 7:38 pm 
Offline
Member
Member

Joined: Sat Aug 02, 2008 12:22 pm
Posts: 1
As a note: This tutorial was written using Ubuntu. Depending upon your distribution, exact steps may not apply to you. For example, on Kubuntu, the Wine menu is K Menu -> Wine -> Configure Wine, etc.


Top 
 Profile  
 
 Post subject:
 Post Posted: Thu May 21, 2009 9:13 pm 
Offline
Member
Member

Joined: Sat Feb 02, 2008 9:35 pm
Posts: 11
d3jake wrote:
As a note: This tutorial was written using Ubuntu. Depending upon your distribution, exact steps may not apply to you. For example, on Kubuntu, the Wine menu is K Menu -> Wine -> Configure Wine, etc.



aye


Top 
 Profile  
 
 Post subject:
 Post Posted: Mon May 25, 2009 2:43 pm 
Offline
Member
Member

Joined: Sat Feb 02, 2008 9:35 pm
Posts: 11
Thanks to Nathan, who emailed me earlier today:

He informs me that opensuse users need to change "dpnet.dll from native to builtin".


Top 
 Profile  
 
 Post subject:
 Post Posted: Mon Nov 09, 2009 11:44 pm 
Offline
Member
Member

Joined: Mon Nov 09, 2009 10:32 pm
Posts: 1
The UnofficialFLSPPatch1.4.zip will not extract properly due to the case sensitive nature of Linux. All Directories in the game Directory are capitalised so I extract the file to the desktop, use the terminal to the directory location, and execute the following command until all directories are are properly cased, then copy them merging directories and overwriting files.

Code:
user1@Unit1:~/Desktop/Fl$ find -type d -exec rename -v 'y/a-z/A-Z/' {} \;


Please note, that I provided the above code with the file location as well. This will change the case of every subdirectory up to a certain point. As I said above, you will have to run it multiple times until all directories have changed case.

And if you don't wish to take my word for it, look at man rename, and you will find the 'n' flag. where it will print the output without changing files. to do so, we'll add that flag before the 'v', verbose.

Code:
user1@Unit1:~/Desktop/Fl$ find -type d -exec rename -nv 'y/a-z/A-Z/' {} \;


Your output should look something like thing when actually changing files:

Quote:
user1@Unit1:~/Desktop/Fl$ find -type d -exec rename -v 'y/a-z/A-Z/' {} \;
./Data renamed as ./DATA
find: `./data': No such file or directory
./Exe renamed as ./EXE
find: `./exe': No such file or directory

_________________
Don't 'sudo' scripts or commands you don't trust.
Backup your data unless you want to lose it.
~~~~
Never play leap frog with a unicorn.


Top 
 Profile  
 
 Post subject:
 Post Posted: Sat Nov 14, 2009 11:43 pm 
Offline
Member
Member

Joined: Sat Feb 02, 2008 9:35 pm
Posts: 11
worked ok for me without doing all of that complicated stuff.

Then again, I opened with winrar from within wine. Simple, easy. No need to worry. Or one could simply open the zip and drag and drop the files to the folder by browsing the win dir from the wine menu. That's the easy windows GUI approach.

When doing anything with windows software it can complicate things to do part of the stuff outside of wine and the other part from within it. That's why I have a basic set of programs to perform common functions installed in wine. Headache free.

As always, E Mail me if you have any questions on getting Freelancer to work.


Top 
 Profile  
 
 Post subject: Re:
 Post Posted: Thu Jun 03, 2010 7:38 pm 
Offline
Member
Member

Joined: Sat Feb 02, 2008 9:35 pm
Posts: 11
Conzul wrote:
Hi everyone, first post, need help...
I know this is an old thread, but I've been trying to get it to work without success. I have followed the instructions to the letter (I have Ubuntu Karmic, Wine 1.0.1)
Freelancer installs fine, no problems, but when I run it it says "Freelancer failed to initialize sound. Please check that your sound card is working and that you have the latest version of DirectSound. Would you like to continue without sound?" I click yes, the screen resolution changes and I hear the MS-Games splash sound, (it has static mixed with it 4 some reason). Then nothing happens for a moment, then it gives the "Freelancer has experienced a problem and needs to close" dialog. (That's called an Unhandled Exception, right?) I click "Debug" and a debug file is made in c:/windows/tmp/ I browse to this but it is zero bytes in size (empty), so I can't even find what the problem is.
I'm going out of my mind over this, any help would be greatly appreciated.



It would appear your wine isn't getting along with your sound. I do know that the latest version of wine and ubuntu play nice together. I think Freelancer worked right out of the box and I didn't have to mess with it much.

All I really did in the latest version was use wintricks to install DX9. Dotnet and xml. I may have installed the codecs as well but for a different program.


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 7 posts ] 

The Freelancer Community Site by Team [RIP] » Board index » The FLC Public Forums » Freelancer Tutorials


Who is online

Users browsing this forum: No registered users and 2 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron