• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial How to setup a MW3 Dedicated Server Linux
#1
Hi everyone!

I'll show you how to setup a MW3 Dedicated Server on Linux whit @Nukem's Server Addon.
Please, sorry my bad english because I'm latinamerican (Chilean) and I speak in spanish... Wink

For this tutorial I used Linux Ubuntu 12.10 lts (I also did it on Debian Squeeze).

Ok, let's go:

1.- Download and install Wine 1.5.0:
Open your Terminal, and navigate to your desktop:
Quote:cd Desktop

Install a few packages to compile and install Wine:
Quote:sudo apt-get install flex bison qt3-dev-tools qt4-qmake

Now, you have to download wine 1.5.0:
Quote:wget http://prdownloads.sourceforge.net/wine/....0.tar.bz2

Once you have downloaded wine, you have to decompress it in a new folder in your desktop, navitate into wine folder, configure it, compile* and install on your system:
Quote:tar -xjvf wine-1.5.0.tar.bz2
cd wine-1.5.0
./configure
make depend && make
cd tools
./wineinstall
*Note: the compiling process (make depend && make) will take long time (15-60 minutes), so just wait for finish Wink

2.- Now you need to use winetricks for install windows binaries fto run mw3 dedicated server:
download it into your desktop("cd .." in console up you 1 folder level for navitate to your desktop) and decompress it, and make this script an linux executable script:
Quote:wget http://winetricks.org/download/releases/...120819.tgz
tar -xvzf winetricks-20120819.tgz
chmod +x winetricks

3.- Installing windows runtimes libraries:
a.- Fonts:
Quote:sh winetricks corefonts

b. .Net framework 2.0 and .Net Framework 3.0
Quote:sh winetricks dotnet20
sh winetricks dotnet30

c.- Visual C++ 2008, msxml 3 (required for visual c++ 2010) and Visual C++ 2010 redistributable package:
Quote:sh winetricks vcrun2008
sh winetricks msxml3
sh winetricks vcrun2010

Now we have our linux operating system ready for run MW3 ^^
Make sure you have our mw3 game in a folder (I'll used my desktop for it). Navigate to that folder in your console, and copy d3d9.dll to load.dll.
I did it so in terminal:
Quote:cp d3d9.dll load.dll

You must also download our patched iw5m server for run @Nukem's Server Addon into same folder:
Quote:wget http://www.onecloud.cl/iw5m_server_plugin.exe

Close Terminal, navigate in folder explorer to your mw3 server and just double click in iw5m_server_plugin to run your server, type in iw5m console "start_map_rotate" and have fun!
[Image: QdLg3md.png]

Please Note: If you have running linux into a virtual machine, remember forward the iw5m ports to connect to your mw3 linux server.

If you wanna to run your server whit script (to set commands) you'll need to make a sh script into your Desktop (or whetever you want):
Navigate in terminal to where do you want your script and type in:
Quote:touch Launch_MW3_Server.sh && chmod +x Launch_MW3_Server.sh

And edit it for run your server whit parameters:
Quote:gedit Launch_MW3_Server.sh

It will open text editor, paste this code in it, edit at your preferencess and save it, close your terminal and launch your server whit double click in this file.
Quote:#!/bin/sh

cd /route/to/your/iw5m/folder

wine iw5m_server_plugin.exe + set dedicated 2 + start_map_rotate


I hope you can run whitout troubles yoru iw5m servers...

Any question, just write me Wink

regards,

rockStar.! / AlexRasen


Attached Files
.rar   iw5m_server_plugin.rar (Size: 1.53 MB / Downloads: 179)
[-] The following 2 users say Thank You to alexrasen for this post:
  • d0h!², Nekochan
  Reply
#2
"IW5M". At least it's a tutorial for something :/
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#3
Haha, I will try to launch it on Raspberry Pi ;D

Thanks,
C++/Obj-C developer. Neko engine wip
Steam: Click
  Reply
#4
(06-26-2013, 19:34)SailorMoon Wrote: Haha, I will try to launch it on Raspberry Pi ;D

Thanks,

If you get troubles installing any program just send me a pm... may you must update the sources lists...
  Reply
#5
ya que eres chileno, te hablo en español.

te comento. abri algunos servidores de MW3 (teknogods) en entorno linux, concretamente ubuntu 12.04 64bits.

son mis primeros pasos en linux, pero he conseguido progresar hasta cierto punto.

despues de conseguir instalar dotnet20, dotnet30 vcrun2008 msxml3 vcrun2010 algunos de ellos me dieron algo de problemas, pero finalmente conseguir q esten todos instalados, el caso es que al abrir el servidor de juego no se inician los addons, ni los plugins parecen estar activos dentro del juego.

aver si me puedes hechar una mano, desde ya gracias.

Quote:english version.

I commented. opened some MW3 servers (teknogods) in linux environment, specifically ubuntu 12.04 64bit.

are my first steps in linux, but I managed to progress to some extent.

after getting installed dotnet20, msxml3 vcrun2008 vcrun2010 dotnet30 some gave me some problems, but finally getting q're all installed, the fact is that when you open the game server addons do not start, or the plugins seem to be active in game.

aver if I can lend a hand, from already thank you.
  Reply
#6
(08-11-2013, 03:17)The_PaPo Wrote: ya que eres chileno, te hablo en español.

te comento. abri algunos servidores de MW3 (teknogods) en entorno linux, concretamente ubuntu 12.04 64bits.

son mis primeros pasos en linux, pero he conseguido progresar hasta cierto punto.

despues de conseguir instalar dotnet20, dotnet30 vcrun2008 msxml3 vcrun2010 algunos de ellos me dieron algo de problemas, pero finalmente conseguir q esten todos instalados, el caso es que al abrir el servidor de juego no se inician los addons, ni los plugins parecen estar activos dentro del juego.

aver si me puedes hechar una mano, desde ya gracias.

Quote:english version.

I commented. opened some MW3 servers (teknogods) in linux environment, specifically ubuntu 12.04 64bit.

are my first steps in linux, but I managed to progress to some extent.

after getting installed dotnet20, msxml3 vcrun2008 vcrun2010 dotnet30 some gave me some problems, but finally getting q're all installed, the fact is that when you open the game server addons do not start, or the plugins seem to be active in game.

aver if I can lend a hand, from already thank you.

tekno-.- ....buy the game !!!!
  Reply
#7
(08-11-2013, 03:17)The_PaPo Wrote: ya que eres chileno, te hablo en español.

te comento. abri algunos servidores de MW3 (teknogods) en entorno linux, concretamente ubuntu 12.04 64bits.

son mis primeros pasos en linux, pero he conseguido progresar hasta cierto punto.

despues de conseguir instalar dotnet20, dotnet30 vcrun2008 msxml3 vcrun2010 algunos de ellos me dieron algo de problemas, pero finalmente conseguir q esten todos instalados, el caso es que al abrir el servidor de juego no se inician los addons, ni los plugins parecen estar activos dentro del juego.

aver si me puedes hechar una mano, desde ya gracias.

Quote:english version.

I commented. opened some MW3 servers (teknogods) in linux environment, specifically ubuntu 12.04 64bit.

are my first steps in linux, but I managed to progress to some extent.

after getting installed dotnet20, msxml3 vcrun2008 vcrun2010 dotnet30 some gave me some problems, but finally getting q're all installed, the fact is that when you open the game server addons do not start, or the plugins seem to be active in game.

aver if I can lend a hand, from already thank you.

Compadre, edité el ejecutable del juego, ya que linux no reconoce el archivo d3d9.dll dentro de la carpeta del juego. Descarga el archivo adjunto al post (obvimante fijate que le teknogoods usa un archivo ejecutable para subir el server, este que subi, ponle el mismo nombre que ese, obviamente lo reemplazas), pegalo en la carpeta del server, y tienes que copiar el archivo d39.dll y pegarlo en la misma carpeta con el nombre "load.dll"
Si usas el ejecutable que subi, lo lee sin dramas, le detalle con ubuntu es que a veces no lo lee, otras veces si... para ello, si no lo lee, simplemente abre de nuevo hasta que agarre...

saludos Wink
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Release] Windows 8.1 Fix for MW3 Server Addon master131 16 10,566 09-29-2014, 23:08
Last Post: SuperNovaAO
  Help Your opinion on Linux Yamato 23 5,060 12-13-2013, 13:12
Last Post: Nekochan
Brick [Release] MW3 Server Administration Addon iRoNinja 5 5,466 11-10-2013, 15:46
Last Post: Casper
Exclamation Help cmdlist, dvarlist server crash Nerus 17 5,607 11-09-2013, 23:54
Last Post: Nerus
  Our Level Fastfile is Different from the Server. CheeseToast 6 3,381 11-03-2013, 17:52
Last Post: CheeseToast
  Dedicated Server External (public) IP Nerus 3 3,178 11-02-2013, 14:16
Last Post: Casper
  MW3 Server Version superg1973 7 7,873 10-28-2013, 01:15
Last Post: kotyra972
  Help how to turn off map in dedicated server pero123 8 3,373 10-15-2013, 19:00
Last Post: Nekochan
  Issue with server addon and NAT dimitrifrom31 3 2,200 10-08-2013, 18:11
Last Post: iRoNinja
  GETTING SERVER ONLINE raym 6 2,763 09-28-2013, 22:42
Last Post: Nekochan

Forum Jump:


Users browsing this thread: 1 Guest(s)