Sunday, June 10, 2007

Installing rcssserver3d-0.5.5

First of all, get the tar ball from the sourceforge site, or use these direct links.

http://jaist.dl.sourceforge.net/sourceforge/sserver/rcssserver3d-0.5.5-data.tar.gz

http://jaist.dl.sourceforge.net/sourceforge/sserver/rcssserver3d-0.5.5.tar.gz

Note that there are two distinct files, one containing the data (textures, models, etc.) for the fancier coloring, etc. of the bot, and the other the code files.

Extract the rcssserver3d-0.5.5.tar.gz

Run ./configure
(No need for --enable-kerosin, but you may want to put in the flag --with-gnu-ld)
(spades is not needed, besides that, the other dependencies are the same as the previous version)

Run make

(You can choose to run "make doc" after (apt-)getting doxygen and graphviz to generate the documentation too, though it will take a little while)

Run make install

Then where ever the files have been installed (/usr/local/share/rcssserver3d: NOTE follows),
there extract the rcssserver3d-0.5.5-data.tar.gz

In the ~/rcssserver3d-0.5.5/app/simspark/simspark.rb file:
change the 37th line from:

run "materials.rb"

to

run "materials-textures.rb"

NOTE: That installs the fancy textures. For the correct information of where the files need to be present, check the 9th line of "materials-texture.rb" file. This is the actual place where you need to extract the files. The first one was my best guess.

To enable the Force Perceptor (FRP) is a little more complicated. The rsg files in the simspark directory ned to be changed to do that. More on that will follow.

If simspark has a problem with finding the libraries, then make all the softlinks as in the last blog, then things should continue smoothly.