Stepmania Online is a modification to the orignie Stepmania to play online. As a measure, this amendment was included in the game. Here is how to install a server SMO.

For information, the following installation was done on Ubuntu 8.10 with a base installation. I have not tested other distributions, nor even with Cygwin.

Before embarking on the installation, it is necessary to have the following :

  • The sources of the server (The latest tarball can be obtained here : http://smonline.svn.sourceforge.net…)
  • The following additional packages :
    • g++-4.2
    • litool
    • libmysql-dev
    • libxml2-dev
    • libboost-regex-dev
    • automake
    • autoconf

It is mandatory to use g ++ - 4.2. la version 4.3 have been changes at the headers makes it impossible compilation without change.

Go to the folder where you download the tarball and unpack its contents

takes xzvf SMOnline2.tar.gz

Then enter in the SMOnline2 file and change the permissions of file autogen.sh 777

chmod 777 autogen.sh

Then run this script with sudo (for Ububtu) configured to generate the file

sudo ./autogen.sh

Then run the configuration

sudo ./configure CXX=g++-4.2

Then the compilation

sudo make

You can then, if you want it, install the binary in / usr / local / bin with the command

sudo make install

finally, you can finish by making a cleaning to remove unnecessary files

sudo make clean (distclean or for as makfile remove / configure)

Avant de lancer le serveur, vous devez exécuter le script SQL StatsSqlTables.sql afin de créer les tables de stats nécéssaires (il ne crée pas la base). Vous devrez également créer les tables utilisateurs, soit en installant un forum phpBB, soit en exécutant ces 2 requêtes :

CREATE TABLE  `smo_forums`.`phpbb_users` (
  `user_id` int(10) NOT NULL auto_increment,
  `user_level` int(10) NOT NULL,
  `username` varchar(50) NOT NULL,
  `user_password` varchar(50) NOT NULL,
  PRIMARY KEY  (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1

CREATE TABLE  `smo_forums`.`phpbb_banlist` (
  `ban_userid` int(10) NOT NULL,
  PRIMARY KEY  (`ban_userid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1

Une fois les tables crées, il faudra modifier le fichier smoconfig.xml afin de modifier le user/password pour l’acces aux bases, ainsi que le nom des bases.

Une fois modifier, simply run the command

smonline2

And the server normally starts without error. Note that the smoconfig.xml file must be located in the folder where you run the command