Jump to content
ZLOFENIX Games

How to create a Server on Linux (Ubuntu Distro)


Recommended Posts

Posted (edited)

 

HOW TO CREATE A BATTLEFIELD 3 SERVER UNDER LINUX

 

Requirements:

  • Ubuntu based Distro (Tested on Ubuntu Server 14.04 and Linux Mint Cinnamon), otherwise my commands wont work!
  • Basic knowledge about the Linux System
  • Atleast a Dual Core Cpu (2 Cores!)
  • 1GB RAM Minimum
  • Root Access
  • VNCSERVER with GUI (if you work on a remote Linux Server)
  • 20GB HDD Space

 

I GIVE NO WARRANTY ABOUT YOUR SERVER! YOU ARE THE ADMIN OF YOUR SERVER AND IT IS YOUR JOB TO SECURE YOUR DAMN SERVER!

 

What should i do ?

First be sure you updated your Linux to the last Version you can get. Just in case ;) I used Linux Mint 17.2 Cinnamon 64 Bit in my Tutorial. Commands and downloads are the same as Ubuntu Server/Client.

First of all, open a Terminal Window, duh!

Add Wine as PPA Repo (confirm the command with your root password & press enter!)

sudo add-apt-repository ppa:ubuntu-wine/ppa

After you added the new PPA Repo, you must update your Filelist. You can do this with:

sudo apt-get update

After the Update ( should not take so long ;) ), you can install Wine 1.7:

sudo apt-get install wine1.7

Now set the Winearch to 32 Bit and setup it:

WINEARCH=win32 winecfg

If you get a popup saying you need Wine Mono, install it just in case! Same goes for Wine Gecko!

Now you should see a "Wine configuration" Window. Go to the Dropmenu at the Bottem where it says "Windows Version" and set it from Windows XP to Windows Server 2008 r2.

Apply the Settings and close the Window. Now we need a little handy tool named winetricks, install it as following:

sudo apt-get install winetricks

Now start winetricks, just type winetricks and hit enter. Now you should see a popup window of Winetricks. Select the default wineprefix and click ok. 

After this click on "Install a Windows DLL or component" and hit ok. Now you should see a big list of Packages. You need to tick the following:

cmd
d3dx10
d3dx11_42
d3dx11_43
d3dx9
d3dx9_26
d3dx9_28
d3dx9_31
d3dx9_35
d3dx9_36
d3dx9_39
d3dx9_42
d3dx9_43
d3dxof
devenum
dinput
dinput8
directx9
dotnet20
dotnet30
dxdiag
dxdiagn
quartz
vcrun2008
vcrun2010

If you get some error messages during install, retry it. At the installation of Dotnet30 you get asked to download it. Place the downloaded file into the opened folder.

Ok the wine part is mostly done!

Now copy the BF3 Server folder to:

/home/YOUR USER/.wine/drive_c/

Now you can start the LauncherServer.exe with rightclick -> Open with Wine Windows Program Loader. Now you should see the oldschool serverlauncher :)

To be sure, that every .exe is opened by wine, do right click -> properties -> open with -> Wine Windows Program Loader -> Set as default.

Now right click your StartServer.bat and open it with Wine Windows Program Loader. Now you should see a CMD Window quickly flashing. After some seconds your Server should start and connect to master :)

Now you are done ;)

If you need help in Basis Battlefield 3 Server, you should read the How to by Despo :P

The Server supports Punkbuster too without any problems. You can connect to the server via rcon with Procon, but just for your Mind: Procon is not supported for Linux or Wine either! So be careful!

You can use www.bfrcon.com its free and easy to use :P

 

 

Edited by thetruestarr
  • 3 weeks later...
Posted (edited)

Did you test BF4 Server files on linux ?

dude...

the bf4 server files hasn't been released yet

Edited by Despo
Posted (edited)

dude...

the bf4 server files hasn't been released yet

yeh i know but as i think thetruestarr own the files so im asking him ^_^  if he tested it too 

Edited by (APT)ibrahemoof
Posted

yeh i know but as i think thetruestarr own the files so im asking him ^_^  if he tested it too 

what do you mean "as I think"?

Currently nobody except zlofenix himself has the bf4 server files.

Posted

hi i install wine1.7 with winetricks and i was abel to install everything except dotnet30 i did everything like in tutorial but i recieve error

"Note: command 'wine netframework3.exe' returned status 67. Aborting."

any sugestion how to bypass this and install dotnet ?

Im running dedi serv with ubuntu 14.04 and im usin lxde desktop for xrdp

  • 4 months later...
Posted
Just now, Saltypepper said:

can somone pls post a link for all bf3 server files needed to make a detected server pls and thanks

ok...well look in first post.....this is for LINUX

here is guide to server and  d/l links... all you needed to do was..look further down in the page you found this topic

 

  • 2 months later...
Posted
On 16.11.2015 at 9:47 PM, (APT)ibrahemoof said:

Did you test BF4 Server files on linux ?

 

On 16.11.2015 at 9:52 PM, Despo said:

dude...

the bf4 server files hasn't been released yet

Yes they Work on Linux.. but its abit hard to manage.. BF4 Server is 64bit only.. so you need do make your own wine with both archs

Guest
This topic is now closed to further replies.
×
×
  • Create New...