Install Steam on Debian Jessie (Testing)

Finally, Jessie got the new libc 2.15 required for the Steam installer (2.17 even) – and no, I do not want to download system critical ubuntu debs and installing them somewhere in my home dir, especially not when it’s _libc6_.

# vim /etc/apt/source.list

deb http://ftp-stud.hs-esslingen.de/debian/ jessie main non-free contrib
deb-src http://ftp-stud.hs-esslingen.de/debian/ jessie main non-free contrib

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

# apt-get update
# apt-get upgrade
# reboot
# apt-get dist-upgrade
# reboot

As it seems that the steam deb package is sort of dependency wrapper for the steam-client, we’ll deal with all the dependencies first. Further, Steam is a 32 bit application and will require i386 libraries therefore. The guides on the internet for ubuntu and such just reference ia32-libs which have been deprecated/removed from wheezy in favor of real multiarch support with :amd64 and :i386 package name suffixes.

Note: Keep in mind that Debian Testing may require package migration from sid/experimental after wheezy release. Maybe it’s even better to wait for the first wheezy point release and let all on-hold packages from wheezy freeze first being migrated to testing, and then actually getting Steam to work here 😉

For the requirements – zenity (whatever that is).

# apt-get install zenity

The ugly part – the steam package requires the ubuntu-only jockey-common package. We’ll just wget and install here.

# wget http://ftp-stud.hs-esslingen.de/pub/Mirrors/ubuntu/pool/main/x/x-kit/python3-xkit_0.5.0ubuntu1_all.deb
# wget http://ftp-stud.hs-esslingen.de/pub/Mirrors/ubuntu/pool/main/j/jockey/jockey-common_0.9.7-0ubuntu11_all.deb
# dpkg -i python3-xkit_0.5.0ubuntu1_all.deb
# dpkg -i jockey-common_0.9.7-0ubuntu11_all.deb

On amd64, there are various i386 only packages required by Steam, so let’s enable that arch.

# dpkg --add-architecture i386

# apt-get install libc6:i386 libstdc++6:i386
# apt-get install libgl1-mesa-dri:i386
# apt-get install libgl1-mesa-glx:i386

Using nvidia graphics chip, install the openGL libraries for 32bit too (Steam is not built against 64bit, which is a shame, as even openarena is)

# apt-get install libgl1-nvidia-glx:i386

Then get the latest Steam deb and install it manually.

# wget http://media.steampowered.com/client/installer/steam.deb
# dpkg -i steam.deb

Now run steam as your preferred user …

steam_debian_jessie

 

 

… and install CS 🙂

steam_debian_jessie_install_cs

CS on Win7 VM – no jumping mouse pointer

“Steam on Linux” just means that some weird Ubuntu version got a package with tested dependencies, and is currently not of any fun to install on a real linux like debian provides.
So, the idea is fire up the windows 7 virtual machine and install Steam and Counter Strike in there. Not a problem at all – except for the mouse movements.

After a while, I figured 2 things:

* the vm must not use the absolute pointing device (“absolutes zeigegerät aktivieren”) in “Settings” – “System”

virtualbox_mauszeiger_probleme_01

* the game itself requires at least “raw mouse input”

virtualbox_mauszeiger_probleme_02

 

 

Then it’s time for …Fire in the hole….!

 

Z The Game in Dosbox

Install dosbox.

# apt-get install dosbox

Run dosbox once to create ~/.dosbox and the initial config. Then copy it to the unique name for “Z”.

$ dosbox
$ cd ~/.dosbox
$ cp dosbox-0.74.conf dosbox-z.conf
$ mkdir drive_c

Get “Z The Game” e.g. from over e.g. here. There’s an already installed image available here as well. Then copy the game folder “Z” to drive_c (and keep in mind to own the original game’s cd when applying the mini image trick here).

Add the following to your dosbox-z.conf in the [autoexec] section:

[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
keyb gr
mount c /home/michi/.dosbox/drive_c

imgmount d /home/michi/.dosbox/drive_c/Z/Z_DOS.iso -t iso
c:
cd Z
z
exit

To start it full screen, put a new alias e.g. in your bashrc and start it.

alias z_game='dosbox -conf ~/.dosbox/dosbox-z.conf -fullscreen'

Siedler 2 maps and resources

There are quite a few maps, campaigns and also editors to be found on the internet, but sadly some links are dead or hard to find. Some maps are modified versions and not just a single player map, but those which actually provide harbors (which cannot be done with the map editor provided by bluebyte).

In order to install those map packs, make sure to do the following

$ cd mapname
$ cp *.das *.DAS *.exe *.EXE ~/.dosbox/drive_c/bluebyte/siedler2/save
$ cp *.lst *.LST ~/.dosbox/drive_c/bluebyte/siedler2/data
$ cp *.ger *.GER ~/.dosbox/drive_c/bluebyte/siedler2/data/txt

Now get onto your dosbox and replace current save slots with the copied .das saves (this is necessary in order to load the modified harbor positions)

$ dosbox
cd bluebytesiedler2save
dirinst.exe

Mark the new map on the left, use tab to change to the right, select the target, and hit return to make it happen.

The campaigns normally would overwrite existing data, so make sure to keep backups.

$ cd ~/.dosbox/drive_c/bluebyte/siedler2
$ zip -r data-backup.zip data/
$ zip -r save-backup.zip save/

After that, copy the files manually – and keep in mind that linux will recognize case sensitivity while the files where originally saved on windows (make sure not to have duplicates in there).

In order to use the editors, place them either in main directory (c:bluebyte/siedler2) or one down below into the save directory. Starting is the same as the main game, the inner menues are rather self explainary.

Editor Package
Maps 1

Further resources:

http://www.muenster.de/~niki/
http://jh-isch.de/s2/seiten/mapdownload.php
http://jnsoftware.de/Siedler2/download.htm
http://mitglied.multimania.de/siedler5/sied2map.htm
http://jh-isch.de/s2/seiten/downloadhafenpack.php

install siedler2 gold edition in dosbox

Initially this game was “the first one” I actually bought and played very long on the Pentium 75Mhz, 8MB RAM and 650MB HDD with a single speed CDROM. Time goes by, 16 bit native dos mode is not even supported anymore in current 64 bit architectures (Windows 7 fail), so you’d just grab your dosbox and install the game over there. Good thing is – you don’t require Windows for that, just go with your favorite linux distribution and install dosbox.

Install it, and depending on the version, copy it over (we do this because games might have different tweaks applied)

$ sudo apt-get install dosbox
$ cd ~/.dosbox/
$ cp dosbox-0.74.conf dosbox-siedler2.conf

Now actually install the game – this is mainly done using this guide in the dosbox section.

$ cd ~/.dosbox/
$ mkdir drive_c

Start dosbox and mount your “Siedler 2 Gold Edition” CDROM. If you have copied it already locally, make sure to navigate over there within dosbox or mounting that as “D:”.

$ dosbox

mount c /home/michi/.dosbox/drive_c
mount d /home/michi/Siedler2 -t cdrom
d:
INSTALL.BAT

Choose the default location for install – C:BLUEBYTESIEDLER2
After install chose to setup the sound. Dosbox got a better sound emulation than dosemu or freedos, so you can just select the following

  • midi sound – Sound Blaster or 100% compatible
  • digital audio – Sound Blaster Pro or 100% compatible

(if it doesn’t work, expirement a bit with the game – dosbox works fine with alsa)

Now it’s time to configure the game for our needs, and automate various dos commands

$ vim dosbox-siedler2.conf

Change the following

 core=dynamic
 cycles=auto
 sbtype=sbpro2

and at the end of the config, add the following in order to mount C: and automagically start s2.exe and exit afterwards.

[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
mount c /home/michi/.dosbox/drive_c
c:
cd bluebyte
cd siedler2
s2.exe
exit

Starting dosbox in fullscreen and with this custom config can be wrapped into a small script, put in PATH.

$ sudo vim /usr/local/bin/siedler2
#!/bin/bash
/usr/bin/dosbox -conf ~/.dosbox/dosbox-sieder2.conf -fullscreen
$ sudo chmod +x /usr/local/bin/siedler2

Now simply type “siedler2” into your shell and see what happens. In case of errors check the paths matching and redo each step manually from the autoexec section.

Upgrade ManiaLive and MLEPP as Trackmania 2 dedicated server manager

Following up from this install guide, always make sure that you are using ManiaLive only with the version MLEPP supports.

Download Manialive, the standard plugins and MLEPP.

For upgrading, stop the server (or at least manialive).

$ cd ~
$ mv ManiaLive2_r260.zip manialive/
$ mv MLEPP_r1050.zip manialive/
$ mv standard_plugins_r260.zip manialive/
$ cd manialive/
$ mkdir mlepp
$ mv MLEPP_r1050.zip mlepp/
$ cd mlepp/
$ unzip MLEPP_r1050.zip
$ cd ..
$ unzip ManiaLive2_r260.zip
$ unzip standard_plugins_r260.zip

Copy the extracted plugins over.

$ cp -r standard_plugins_r260/* ManiaLive2_r260/
$ cd mlepp/
$ cp -r config libraries tools update ../ManiaLive2_r260/
$ cd ../ManiaLive2_r260

Now copy the old configs.

$ cd config/
$ cp ../../ManiaLive2_r251/config/* .

Verify them ok. Check that the copied content from config-mlepp-example.ini is still working, meaning that logs/runtime.log is loading all plugins!

Now copy the run.ini if missing in ManiaLive release and make ‘run’ executable.

$ cd ..
$ cp ../ManiaLive2_r251/run.ini .
$ chmod +x run

Edit the path in runall script

$ cd ~
$ vim runall

cd ~/manialive/ManiaLive2_r260
./run --start

Start the server.