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.
To install Quake2World, follow the instructions for your operating system below.
Download the latest Windows snapshot and extract it to a path owned by your user account.
Run the included Update.bat.
Run quake2world.exe.
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
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
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
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
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
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
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.
Update.bat periodically to ensure you have the latest binaries and game data.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
Update data:
/usr/games/bin/quake2world-update-data
Update code:
cd /usr/local/portage/quake2world-overlay; svn up; emerge -av quake2world
Update data:
/usr/games/bin/quake2world-update-data
Update code:
layman -S; emerge -av quake2world
FreeBSD support is not fully tested, please contact WinstonW (on irc.freenode.net) with any additions or problems. ↩
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
Will this also run on OS X when it's released? Please make it Mac-compatible, i'd really appreciate it!
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
If you're compiling q2w and want to create maps for it, replace
./configurewith
./configure --with-tools='q2wmap pak'in the instructions above.
You'll also have the q2w bsp compiler and a pak tool then. :)
--
spirit
How about making a *.ebuild file to make it easy installing q2w on gentoo?
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