Frontpage Releases Forum Documents Downloads Gallery Links Join Us! Disclaimer Contact Us
0 Members and 1 Guest are viewing this topic.
Dedicated Linux Server Most rentable dedicated servers are operating on Linux for cost, security, administration reasons. So for most multiplayer games dedicated server version for Linux are available, even if the game itself is only available on Windows (For example, the Source Dedicated Server Valve Software Half-Life 2 and games based on it). Unfortunately, this is not the case with the IL-2 Sturmovik series and so far no dedicated server for Linux is available. Nevertheless, it is possible with some tricks, IL-2-a dedicated server running on Linux. Means to an end here is the program Wine, which a lot of Windows API calls is available. The furthermore the IL-2 Sturmovik Dedicated Server, is going ro be written IL2-DS here. Contents1 installation manual of the IL-2 Linux Dedicated Servers 1.1 installation without shell 1.2 Installation via Shell 1.2.1 Preparation and download the necessary files 1.2.2 Installation of Wine 1.2.3 Installation of the IL-2 Dedicated Server 1.2.4 Starting the Server 2 more steps 3 References How to install the IL-2 Linux Dedicated Servers The following configurations are already tested and functional: SuSE 9.3 (kernel 2.6.15) + Wine 0.9.28 + Dedicated Server v4.05m SuSE 9.3 (kernel 2.6.15) + Wine 0.9.28 + Dedicated Server v4.071m (Partial: Entries in the DS console are ignored, the output function, at least in part.) SuSE 9.3 (kernel 2.6.15) + Wine 0.9.28 + Dedicated Server v4.08m (Partial: Entries in the DS console are ignored, the output function, at least in part.) SuSE 10.2 + Wine 0.9.28 + Dedicated Server v4.05m SuSE 10.2 + Wine 0.9.28 + Dedicated Server v4.071m Debian 3.1 + wine-0.9.25 + Dedicated Server v4.08 (problem with Skindownload, apparently because of wine-library msvcrt.dll) Ubuntu Jaunty 64 + Wine 1.0.1 + Dedicated server 4.09mUbuntu Jaunty 64 + Wine 1.0.1 + Dedicated server 4.09m Ultrapack 1.8Notes This guide helps you install Version 4.05m + 4,071, the IL-2DS based on Wine 0.9.28. It will appear continuously new versions, however, is not about guaranteeing that the latest versions of both programs are compatible. However, you should be able to install updated versions on the basis of this Guide. 07/01/2007 The Dedicated Server v4.07m contains a bug that does not allow players may join the game if they have a different operating system. Please upgrade to version 4.071m. installation without shell The server is normally installed on a Windows machine and then up to the dedicated server load - it always works, but is recommended, depending on the connection due to the 1.1 gigabytes of data not necessarily. Installation via Shell Preparation and download the necessary files Create a new user account under which the IL2-to run DS, il2server for example, and log in under that username on the shell. Change to the directory home/il2server/bin /. If the bin folder does not exist, you you create it. Then you download the best download via wget following IL2-DS binaries: Example: Code: [Select]il2server@rootserver:~/bin> wget -c -t 3 http://files.games.1c.ru/perl_harbor/files/patches/server405m.exehttp://ftp.ubi.com/us/games/pacific_fighters/dedicated_servers/pf_dedicated_server_v204.exehttp://by.sturmovik.de/Serverpatch/pf_dedicated_server_2.04_repair_kit.ziphttp://ftp.ubi.com/us/games/pacific_fighters/dedicated_servers/pf_dedicated_server_v204_to_v303m.exehttp://ftp.ubi.com/us/games/pacific_fighters/dedicated_servers/pf_dedicated_server_v304m.exehttp://ftp.ubi.com/us/games/pacific_fighters/dedicated_servers/pf_dedicaded_server_v401m.exehttp://ftp.ubi.com/us/games/pacific_fighters/dedicated_servers/pf_dedicated_server_v402m.exehttp://ftp.ubi.com/us/games/pacific_fighters/dedicated_servers/pf_dedicated_server_v403m.exehttp://ftp.ubi.com/us/games/pacific_fighters/dedicated_servers/pf_dedicated_server_v404m.exehttp://by.sturmovik.de/Serverpatch/pf_dedicated_server_v405m.exehttp://by.sturmovik.de/Serverpatch/pf_dedicated_server_v406m.exehttp://by.sturmovik.de/Serverpatch/pf_dedicated_server_v407m.exehttp://by.sturmovik.de/Serverpatch/pf_dedicated_server_v4071m.exehttp://by.sturmovik.de/Serverpatch/pf_dedicated_server_v408m.exehttp://by.sturmovik.de/DaidalosTeam/server409m.exeDownload now Wine from SourceForge.net. http://sourceforge.net/projects/wine/files/Source/ Installing Wine Once you've downloaded Wine, log in as root. Code: [Select]il2server@rootserver:~/bin> suMake up a path in which you want to install Wine. I have / usr / wine chosen. Note that the user have il2server rights to read, write, and has to fulfill. Then change into that directory and unpack Wine: Code: [Select]rootserver:/usr/wine # tar -xjf /home/sturmovik/bin/wine-0.9.28.tar.bz2 (replace 0.9.28 with what ever version number you have downloaded)If the files are installed to a folder in wine-0.9.28, simply move all the files: Code: [Select]rootserver:/usr/wine # mv wine-0.9.28/* .rootserver:/usr/wine # rmdir wine-0.9.28Now we come to compiling. This may take a while. It is recommended to take this time (up to 30 minutes). Thus, the compilation process is not interrupted if the connection is cut off, restart the process in a screen. Code: [Select]rootserver:/usr/wine # screenFrom here there are two possibilities: Self-compiling: Code: [Select]rootserver:/usr/wine # ./configurerootserver:/usr/wine # make dependrootserver:/usr/wine # makePer Wine Installation Tool: Code: [Select]rootserver:/usr/wine # ./tools/wineinstallYou can now exit via the CTRL-A, CTRL-D to the screen. You want to access back onto the screen, use the command Code: [Select]screen -r Once Wine has been compiled, connect the screen by pressing CTRL-D, CTRL-K, and log back on as il2server. Do you follow the instructions up here, just type Code: [Select]exit. Installation of the IL-2 Dedicated Server Change to your home directory and run the following command to be able to run Wine in future: Code: [Select]il2server@rootserver:~> /usr/wine/programs/wineconsole/wineconsoleWine should now have created a folder .wine and within it a drive_c folder. Navigate there and create a folder il2server. Unzip the IL2-DS archives that were downloaded earlier, in order, into this folder. It is best to start again a screen (see above). Code: [Select]il2server@rootserver:~/.wine/drive_c/il2server> screenil2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicated_server_v204.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicated_server_v204_to_v303m.exe il2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicated_server_v304m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicaded_server_v401m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicated_server_v402m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicated_server_v403m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicated_server_v404m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x server405m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x server406m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x server407m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x server4071m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x server408m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar xserver409m.exeIt should be noted that at the time of creation of the IL-2 dedicated server version 2.04, the download was defect, meaning - some files in it were broken. Some of them will be overwritten by future patches, but the others need to be replaced, preferably by the same versions of an IL-2 Sturmovik client installation. These are the following: fb_maps.SFS fb_maps01.SFS fb_maps02.SFS fb_maps03.SFS fb_maps04.SFS fb_maps05.SFS fb_maps06.SFS lib / fonts / LucidaSansRegular.ttf These files are together about 170 MB. Pf_Dedicated_Server_V2.04_Reparatur_Kit http://by.sturmovik.de/Serverpatch/pf_dedicated_server_2.04_repair_kit.zipStarting the Server If you are no longer in a screen, start one. Launch the Windows command line with Wine: Code: [Select]il2server@rootserver:~/.wine/drive_c/il2server> /usr/wine/programs/wineconsole/wineconsole cmdPerhaps some errors to occur. The reason is that you have not installed any graphical interface. Nevertheless, the Windows shell environment should be functional. Now change it to c:\il2server\ and run it il2server_new.exe for version 4.05m or release il2server.exe for version 4.071m. You will again be shown a lot of mistakes. Ignore them. The server should now be running. Type help in the IL2-DS console, for testing. If the help is provided the whole thing works. If not, there were problems on start. Leave now the screen (CTRL-A, CTRL-D)! Restart IL-2 Sturmovik and connect to the server. If the connection is successful, everything works. Congratulations!
il2server@rootserver:~/bin> wget -c -t 3 http://files.games.1c.ru/perl_harbor/files/patches/server405m.exe
il2server@rootserver:~/bin> su
rootserver:/usr/wine # tar -xjf /home/sturmovik/bin/wine-0.9.28.tar.bz2
rootserver:/usr/wine # mv wine-0.9.28/* .rootserver:/usr/wine # rmdir wine-0.9.28
rootserver:/usr/wine # screen
rootserver:/usr/wine # ./configurerootserver:/usr/wine # make dependrootserver:/usr/wine # make
rootserver:/usr/wine # ./tools/wineinstall
screen -r
exit
il2server@rootserver:~> /usr/wine/programs/wineconsole/wineconsole
il2server@rootserver:~/.wine/drive_c/il2server> screenil2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicated_server_v204.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicated_server_v204_to_v303m.exe il2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicated_server_v304m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicaded_server_v401m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicated_server_v402m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicated_server_v403m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x pf_dedicated_server_v404m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x server405m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x server406m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x server407m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x server4071m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar x server408m.exeil2server@rootserver:~/.wine/drive_c/il2server> unrar xserver409m.exe
il2server@rootserver:~/.wine/drive_c/il2server> /usr/wine/programs/wineconsole/wineconsole cmd
sudo apt-get install xfce4
deb http://ppa.launchpad.net/marceloshima/ubuntu karmic main deb http://ppa.launchpad.net/freenx-team/ubuntu karmic main
sudo apt-get update sudo apt-get install freenx-server freenx-session-launcher
sudo apt-get install nxclient
sudo apt-get install rarrar x UP-firstarchive.exe
wine UPSetup.exe
Follow steps and you will have your desktop in no time. When connected try wine command again from desktop terminal.
#!/bin/shset -eUSER=il2#OPT="-dmS $USER" #detached modeOPT="-S $USER"DIR="/home/il2/.wine/drive_c/il2server-4.08m"SERVER="il2server.exe"screen $OPT su - $USER -c "cd $DIR; wineconsole --backend=curses $SERVER"
Hi,I think that a desktop does not needed. You can run wineconsole with --backend=curses option.I use this startup script:Code: [Select]#!/bin/shset -eUSER=il2#OPT="-dmS $USER" #detached modeOPT="-S $USER"DIR="/home/il2/.wine/drive_c/il2server-4.08m"SERVER="il2server.exe"screen $OPT su - $USER -c "cd $DIR; wineconsole --backend=curses $SERVER"PD: Sorry my englishBye
...As I sad you can run IL-2 server without X session but you won't be able to control it because there is no daemon that can run without X. Dedicated server without daemon software is almost unusable. Btw. xcfe is very light on resources, only one advice: disable screen saver (right click on desktop>Application>System>X screensaver)