TomeNET client installation on Linux

Ubuntu

Open Synaptic Package Manager from System > Administration.

Install the following packages if they haven't already been installed: gcc, make, libc6-dev, libncurses5-dev, xorg-dev, libsdl1.2debian, libsdl1.2debian-dev, libsdl-mixer1.2, and libsdl-mixer1.2-dev.

Open Terminal from Applications > Accessories and run the following commands:

wget http://muuttuja.org/tomenet/downloads/tomenet-4.6.1a.tar.bz2
tar xjvf tomenet-4.6.1a.tar.bz2
cd tomenet-4.6.1a
cd src
make tomenet
mv tomenet ..
cd ..

You should also download this script file which allows you to change the fonts. Make the script executable by typing the command "chmod +x tomenet.sh" and then you can run the script itself by typing "./tomenet.sh".

You can also create a launcher for tomenet on your desktop for example. You should specify the tomenet.sh script file as the command to be run.

openSUSE

Make sure you have the following packages installed: gcc, make, ncurses-devel, xorg-x11-devel, libSDL, libSDL-devel, libSDL_mixer, and libSDL_mixer-devel. You can install packages through Software Management in YaST.

Open a terminal and run the following commands:

wget http://muuttuja.org/tomenet/downloads/tomenet-4.6.1a.tar.bz2
tar xjvf tomenet-4.6.1a.tar.bz2
cd tomenet-4.6.1a
cd src
make tomenet
mv tomenet ..
cd ..

You should also download this script file which allows you to change the fonts. Make the script executable by typing the command "chmod +x tomenet.sh" and then you can run the script itself by typing "./tomenet.sh".

You can also create a launcher for tomenet on your desktop for example. You should specify the tomenet.sh script file as the command to be run.

Fedora

Go to System > Administration > Add/Remove Software and make sure you have these packages installed: gcc, make, ncurses-devel, xorg-x11-proto-devel, xorg-x11-fonts-misc, SDL, SDL-devel, SDL_mixer, and SDL_mixer-devel.

Open Terminal from Applications > System Tools and run the following commands:

wget http://muuttuja.org/tomenet/downloads/tomenet-4.6.1a.tar.bz2
tar xjvf tomenet-4.6.1a.tar.bz2
cd tomenet-4.6.1a
cd src
make tomenet
mv tomenet ..
cd ..

You should also download this script file which allows you to change the fonts. Make the script executable by typing the command "chmod +x tomenet.sh" and then you can run the script itself by typing "./tomenet.sh".

If you get the following error message when trying to run the client try changing the font by setting the TOMENET_X11_FONT enviroment variable. You can also modify the script file. The plain "fixed" font should work at least.

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  1 (X_CreateWindow)
  Value in failed request:  0x0
  Serial number of failed request:  53
  Current serial number in output stream:  55

You can use a different font like this:

TOMENET_X11_FONT="fixed" ./tomenet

You can also create a launcher for tomenet on your desktop for example. You should specify the tomenet.sh script file as the command to be run.

Gentoo Linux

The ebuild in portage is very old and broken. Don't use it.

Follow the general instructions.

General instructions

You will need a compiler (gcc) and the "make" program to compile the client. These instructions also use the "wget" program to download the source code.

Also make sure you have glibc, ncurses and xorg headers installed. These are often found in -devel packages.

Open a terminal and run the following commands:

wget http://muuttuja.org/tomenet/downloads/tomenet-4.6.1a.tar.bz2
tar xjvf tomenet-4.6.1a.tar.bz2
cd tomenet-4.6.1a
cd src
make tomenet
mv tomenet ..
cd ..

You should also download this script file which allows you to change the fonts. Make the script executable by typing the command "chmod +x tomenet.sh" and then you can run the script itself by typing "./tomenet.sh".