[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#468325: RFP: urbanterror -- Quake 3 based first person shooter



Hi all,

I had a go at this bug a while ago, here is a short summary what
has to be done to include Urban Terror in Debian contrib.

- The urbanterror package should be modeled after the quake3 package
  in contrib.
- Use game-data-packager to package the non-free and partly non-distributable
  game data.
- Urban Terror 4.1 is the only version which works with the latest version of
  Debian's ioquake3 engine.
- Urban Terror 4.2 does not work with ioquake3 1.36+u20130504+g42eeb75-2 right now
  For more information see
  http://www.mail-archive.com/ioquake3@lists.ioquake.org/msg01149.html

- If you copy the q3ut4 directory from Urban Terror 4.1 to ~/.q3ut4, you can use
  the attached urbanterror.sh script to launch the game from your home directory
  provided you have also installed the ioquake3 engine.

- You have to download the full version of Urban Terror 4.1 from
  ftp://ftp.snt.utwente.nl/pub/games/urbanterror/full_install/linux_or_mac/UrbanTerror411.zip
  or a similar mirror.

- In general the Fedora packaging of Urban Terror is helpful for your own package.

In short it is possible to create a wrapper for Urban Terror 4.1 that launches the
game via Debian's ioquake3 engine. However you will have to enable cl_autodownload
otherwise you won't be able to join the majority of servers. Enable it at your own risk.

https://wiki.debian.org/Games/ioquake3
#!/bin/bash

set -e

    # We run from ~/.q3ut4, using ~/.q3a is a bad idea as that will
    # cause com_standalone to not get set if regular quake3 is also present
    CVARS="+set com_basegame q3ut4"
    CVARS="$CVARS +set com_homepath .q3ut4"
    # Urban Terror's default master server is different
    CVARS="$CVARS +set sv_master1 master.urbanterror.net"
    # update.quake3arena.com is pretty irrelevant if you're playing ut
    CVARS="$CVARS +set cl_motd 0"
    # And last some Urban Terror specific settings
    CVARS="$CVARS +set com_hunkMegs 256 +set cl_allowdownload 1"

    exec /usr/lib/ioquake3/ioquake3 $CVARS "$@"

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: