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

  • Download the latest Windows snapshot and extract it to a path owned by your user account.

    • On Windows Vista and Windows 7, we recommend extracting the snapshot to your Desktop.
  • Run the included Update.bat.

  • Run quake2world.exe.

GNU/Linux

  • Ensure you have the following dependencies:

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

  • On Ubuntu 11.04, simply run:

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

  • Compile the source code and install the binaries:

    svn co svn://quake2world.net/quake2world/trunk ~/quake2world

    cd ~/quake2world

    autoreconf -i

    ./configure

    make && sudo make install rsync-data

  • Run quake2world

Mac OS X

  • Install MacPorts by downloading the latest .dmg file from the MacPorts site. Prerequisites for MacPorts include XCode and X11, and you should have both before proceeding.

  • Install libsdl_image, libsdl_mixer, and anttweakbar through ports:

    sudo port -d selfupdate

    sudo port install libsdl_image libsdl_mixer anttweakbar

  • Compile the source code and install the binaries:

    svn co svn://quake2world.net/quake2world/trunk ~/quake2world

    cd ~/quake2world

    autoreconf -i

    ./configure

    make && sudo make install rsync-data

  • 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://quake2world.net/quake2world/trunk ~/quake2world

    cd ~/quake2world

    autoreconf -i

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

    gmake && gmake install rsync-data

FreeBSD1

  • Make sure you have all the dependencies installed. Use the ports system or pkg_add:

    subversion, gmake, automake, autoconf, sdl, sdl_image, sdl_mixer, curl, rsync

  • Compile the source code and install the binaries:

    svn co svn://quake2world.net/quake2world/trunk ~/quake2world

    cd ~/quake2world

    autoreconf -i

    ./configure CPPFLAGS=-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://quake2world.net/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, FreeBSD, and 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


  1. FreeBSD support is not fully tested, please contact WinstonW (on irc.freenode.net) with any additions or problems. 

Mac OS X build failed and how to fix it - December 31, 2008 - 09:06am

when I build it under leopard 10.5.5,I got the following error messages.

ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib
collect2: ld returned 1 exit status
make[3]: *** [quake2world] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

it's a problem of apple's X11's libGL.dylib.

we can fix it by add the follow arguments

LDFLAGS="-dylib_file
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib

All works fine on my new macbook 466(unibody) by disable GLSL using r_programs 0

Mac OS X compatibility - September 13, 2008 - 09:53am

Will this also run on OS X when it's released? Please make it Mac-compatible, i'd really appreciate it!

Lack of test hardware - September 13, 2008 - 13:33pm

If you donate a Mac capable of running Q2W, I will make sure that it runs on OSX.

That's really the only reason why Q2W isn't already running on a Mac. I simply don't have access to one. A relatively new member of our IRC channel (nymacro) has recently attempted building it on his Mac, tho. I think he has it compiling but not running stably. I'll certainly update the site as soon as those issues are resolved. You're welcome to find him on IRC and see how he's making out with it.

Quake2World
http://quake2world.net

compiling for mappers - March 20, 2008 - 12:22pm

If you're compiling q2w and want to create maps for it, replace

./configure

with

./configure --with-tools='q2wmap pak'

in the instructions above.

You'll also have the q2w bsp compiler and a pak tool then. :)

--
spirit

ebuild - December 31, 2007 - 12:55pm

How about making a *.ebuild file to make it easy installing q2w on gentoo?

Sure, submit one. - March 20, 2008 - 14:08pm

I don't personally run Gentoo at home. If someone wanted to contribute an ebuild, I would certainly accept a patch.

Quake2World
http://quake2world.net

User login

Who's new

  • KnuckleSangwich
  • zeb.relaxin
  • BTF Gator
  • jrabek
  • PermaFragBait