RollerCoaster 2000

Home - Links - Download - Contact - Forum

How to turn RollerCoaster 2000 into a xscreensaver graphics hack, to use it as a screen saver under Linux.

First of all you need the rollercoaster-1.0.0-src.tar.gz archive, and the patch made by Marcelo E. Magallon rollercoaster-1.0.0-src+ss.diff.gz. Then open a console and go to the directory where you have put the archive and the patch. To extract files from the archive type:
    gzip -d rollercoaster-1.0.0-src.tar.gz
    tar xvf rollercoaster-1.0.0-src.tar

After that you have to ungzip and apply the patch:
    gzip -d rollercoaster-1.0.0-src+ss.diff.gz
    patch -p0 < rollercoaster-1.0.0-src+ss.diff

To compile the screen saver type:
    cd rollercoaster-1.0.0-src
    make -f Makefile.linux screensaver

If everything went well there must be an executable called roller-ss in the bin directory. I assume xscreensaver is already installed on your computer. To install RollerCoaster 2000 you must put the executable in an appropriate directory, and the texture files in the /usr/share/rollercoaster directory (you must be root to do that):
    cp bin/roller-ss /usr/X11R6/lib/xscreensaver
    mkdir /usr/share/rollercoaster
    cp bin/*.tga /usr/share/rollercoaster
    cp bin/grass.bmp /usr/share/rollercoaster

Finally, to add RollerCoaster 2000 to the list of xscreensaver graphics hacks, edit the .xscreensaver file that lies in your home directory, and add the following line in the programs section:
    roller-ss -root \n\
After that, you can verify that roller-ss is accessible in the graphics hacks list by executing xscreensaver-demo. That's all folks.