Installation & Maintenance

Quake2World is under development, and moves quickly. Some of the game data has been borrowed from other projects, and is in placeholder status. You should only install Quake2World if you wish to preview or contribute to the project.

Installation

To install Quake2World, follow the instructions for your operating system below.

Windows

GNU/Linux

  • Ensure you have the following dependencies:

    subversion, gcc, autoconf, automake, libcurl, libsdl, libsdl-image, libtool

  • On Ubuntu 8.10, simply run:

    sudo apt-get install subversion autoconf automake libtool libcurl4-openssl-dev libsdl-image1.2-dev libsdl-mixer1.2-dev

  • Compile the source code and install the binaries:

    svn co svn://jdolan.dyndns.org/quake2world/trunk ~/quake2world

    cd ~/quake2world

    autoreconf -i

    ./configure

    make && sudo make install rsync-data

  • Run quake2world

Mac OS X

  • Install Darwin Ports, including the latest Xcode tools. Be sure to add /opt/local/bin to your $PATH.

  • Run the following commands from a Terminal: Applications->Utilities->Terminal.app

    sudo port -d selfupdate

    sudo port install autoconf automake glut libtool libsdl_image libsdl_mixer

  • Follow the Linux commands listed above, but run ./configure with these options:

    ./configure CPPFLAGS="-I/usr/X11/include/ -I/opt/local/include/" LDFLAGS=-L/usr/X11/lib --prefix=/opt/local/

  • Ensure the game data directory exists:

    sudo mkdir -p /opt/local/share

  • Start X11: Applications->Utilities->X11.app

  • Run quake2world

OpenBSD

  • Ensure you have the following dependencies, you can install them via ports or pkg_add:

    subversion, gmake, automake, autoconf, sdl, sdl-image, libcurl, sdl-mixer

  • Make sure to set the following environment variables:

    export AUTOCONF_VERSION=2.61

    export AUTOMAKE_VERSION=1.9

  • Compile the source code and install the binaries:

    svn co svn://jdolan.dyndns.org/quake2world/trunk ~/quake2world

    cd ~/quake2world

    autoreconf -i

    ./configure CFLAGS=-I/usr/local/include

    gmake && gmake install rsync-data

Gentoo

The following steps need to be performed as root.

  • Checkout the overlay:

    mkdir -p /usr/local/portage; cd /usr/local/portage; svn co svn://jdolan.dyndns.org/quake2world/trunk/gentoo/quake2world-overlay

  • Add the overlay to your make.conf:

    echo 'PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/portage/local/quake2world-overlay"' >> /etc/make.conf

  • Emerge quake2world:

    emerge -av quake2world

Gentoo Layman

This is a little more complex, but easier to maintain, especially if you use multiple overlays. The following steps need to be performed as root.

  • Install layman, if it's not installed:

    emerge layman -av

  • Configure portage to use layman overlays:

    echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf

  • Add the quake2world layman source:

    nano /etc/layman/layman.cfg

...
overlays = http://www.gentoo.org/proj/en/overlays/layman-global.txt
           http://jdolan.dyndns.org/svn/quake2world/trunk/gentoo/quake2world-layman-list.xml
...
nocheck  : yes
...

  • Add the quake2world overlay:

    layman -a quake2world

  • Install quake2word:

    emerge -av quake2world

Maintenance

Quake2World follows a rolling release development model. You should ensure that your copy of Quake2World is up to date on a regular basis. Follow the instructions for your operating system below.

Windows

  • Re-run Update.bat periodically to ensure you have the latest binaries and game data.

GNU/Linux, OpenBSD

  • Update your working copy of the source code, recompile it, and refresh your game data.

    cd ~/quake2world

    svn up

    make && sudo make install rsync-data

Mac OS X

  • Update your working copy of the source code, recompile it, and refresh your game data.

    cd ~/quake2world

    svn up

    make && sudo make install rsync-data

Gentoo

  • Update data:

    /usr/games/bin/quake2world-update-data

  • Update code:

    cd /usr/local/portage/quake2world-overlay; svn up; emerge -av quake2world

Gentoo Layman

  • Update data:

    /usr/games/bin/quake2world-update-data

  • Update code:

    layman -S; emerge -av quake2world

User login