How to start

fasigno edited this page Jan 23, 2013 · 37 revisions

This is a guide for GNU/Linux only, but OpenGOO can also run on Windows and Mac OSX

Compile the source

Mind it could be unstable or buggy and the compilation process could not finish too!

What you need

  • A standard development environment
  • CMake
  • Qt4 with header files
  • OpenAL and freealut
  • OpenGOO source

Set up the build environment

First of all you'll have to set up your build environment:

  • install the standard development tools (gcc make ...) from repository

    • on Ubuntu: sudo apt-get install build-essential
    • on Fedora: yum groupinstall ‘Development Tools’ and yum groupinstall ‘Development Libraries’
  • install cmake from repository

    • on Ubuntu: sudo apt-get install cmake
    • on Fedora: yum install cmake
  • install OpenAL and FreeALUT from repository:

    • on Fedora: yum install openal-devel freealut-devel
  • install Qt4 with the header files from repository

    • on Ubuntu: sudo apt-get install libqt4-core libqt4-gui libqt4-xml libqt4-dev libqt4-opengl libqt4-opengl-dev
    • on Fedora: yum install qt

Build OpenGOO


  • Move into your home directory or any folder you like

    • cd ~
  • Download the code

  • Configure and compile the game

    • cd ~/OpenGOO/
    • qmake in some distribution like Fedora type qmake-qt4
    • make
  • Install (optional)

    • sudo -s or su
    • mkdir /opt/OpenGOO (creates the game directory in /opt)
    • mv OpenGOO /opt/OpenGOO/OpenGOO.bin (moves the executable)
    • mv *.index and mv *.level and mv *.svg (moves the resurces)
    • Create a script to run OpenGOO
      • touch /usr/bin/OpenGOO (creates an empty text file)

      • modify it with your favorite text editor (I use nano) nano /usr/bin/OpenGOO and add this

         `cd /opt/OpenGOO/`
      • make it executable chmod +x /usr/bin/OpenGOO

Now you can run OpenGOO directly from your console simply typing the OpenGOO command!

  • Clean the build directory
    • exit (returns to normal user)
    • rm -rf OpenGOO/

##Run the game

There are some flags you can use:

-debug  (for more debug output)
-fps    (to show current fps)
-opengl (use opengl for a higher performance)
./OpenGOO -opengl -debug


Installation in Foresight

sudo conary install

Start the game from the menu entry or use 'opengoo' in console


Download new levels or create and share yours here: OpenGOO Levels