You are not logged in.

#1 2009-02-21 13:45:05

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

AprQ2 - Quake2 game engine

http://jdolan.dyndns.org/trac/wiki/AprQ2
---------------------------------------

AprQ2 is a lesser known but fairly well-put-together Quake2 engine, and one of the few that actually compiles and runs on most modern flavors of GNU/Linux. It is also, apparently, no longer maintained by its original creator. I've adopted the AprQ2 source code, and have made some updates and minor tweaks to it so that Linux gamers can have a decent full-featured Quake2 client.

There are no releases for this project. Please use the anonymous Subversion access to obtain the source code.

Subversion: svn://jdolan.dyndns.org/aprq2/trunk

Installation instructions:

   1. Run aprq2 once and then exit the game using 'Esc' button to generate the config file.
   2. Open '~/baseq2/aprconfig.cfg'. Set the following parameters to the following values:

      set s_khz "48"
      set gl_decals_max "4096"
      set gl_decals_time "3000"
      set gl_decals "1"
      set gl_ext_max_anisotropy "16"
      set gl_ext_texture_filter_anisotropic "1"
      set gl_waterwaves "1"
      set gl_shadows "2"
      set gl_motionblur "1" (you'll possibly have to add this parameter to the list)


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#2 2009-02-21 21:26:41

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: AprQ2 - Quake2 game engine

This is my attemp to a PKGBUILD (not working):

EDIT: jay dolan say to me that i need to patch src/files.c to use some hard-coded path for fs_basedir, to /usr/share/quake2/

# Contributor:  Jay Dolan <jdolan@jdolan.dyndns.org>

pkgname=aprq2-svn
pkgver=205
pkgrel=1
pkgdesc="A lesser known but fairly well-put-together Quake2 engine"
url="http://jdolan.dyndns.org/trac/wiki/AprQ2"
arch=('i686' 'x86_64')
license=('GPL')
depends=('curl' 'sdl' 'sdl-image' 'bash' 'x-server')
makedepends=('subversion')
provides=('aprq2')

source=()
md5sums=()

_svntrunk=svn://jdolan.dyndns.org/aprq2/trunk
_svnmod=aprq2

build() {
  cd ${srcdir}

  if [ -d $_svnmod/.svn ]; then
    (cd $_svnmod && svn up -r $pkgver)
  else
    svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
  fi

  msg "SVN checkout done or server timeout"
  msg "Starting make..."

  cp -r $_svnmod $_svnmod-build
  cd $_svnmod-build

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=${pkgdir} || return 1

  rm -rf ${srcdir}/$_svnmod-build
}

This is the source INSTALL file:

AprQ2 installation is fairly straightforward.  Type 'make' to build the game.
Feel free to edit Makefile to meet your needs, but do so at your own peril.
By default, the binaries will be built to the 'releasei386' directory.  Copy
them to an appropriate path (e.g. ~/.quake2, /usr/share/games/quake2, etc).

There is also a small baseq2 directory included in this source tree.  It 
provides a few image files for things like bullet holes in walls.  To install
it, simply copy it to an appropriate path as above.

Last edited by leo2501 (2009-02-21 21:46:45)


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

Board footer

Powered by FluxBB