06-26-2013, 18:47
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...
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:
Install a few packages to compile and install Wine:
Now, you have to download wine 1.5.0:
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:
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:
3.- Installing windows runtimes libraries:
a.- Fonts:
b. .Net framework 2.0 and .Net Framework 3.0
c.- Visual C++ 2008, msxml 3 (required for visual c++ 2010) and Visual C++ 2010 redistributable package:
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:
You must also download our patched iw5m server for run @Nukem's Server Addon into same folder:
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!
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:
And edit it for run your server whit parameters:
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.
I hope you can run whitout troubles yoru iw5m servers...
Any question, just write me
regards,
rockStar.! / AlexRasen
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...
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*Note: the compiling process (make depend && make) will take long time (15-60 minutes), so just wait for finish
cd wine-1.5.0
./configure
make depend && make
cd tools
./wineinstall
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!
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
regards,
rockStar.! / AlexRasen