This is a simple script for easily playing back Urban Terror demos on Linux.
Not thoroughly tested, but seems to work. =)
ADVANTAGES:
- No need to rename file names due to Urban Terror case
sensitivity bug. - Very easy selection of last <n> demos.
- Very easy selection of demos downloaded to arbitrary
directory..
NEEDS:
- GNU/Linux incl. bash.
KNOWN LIMITATIONS: See list "TODOs" in the script.
DOWNLOAD: See attachment. Send PM for older versions.
INSTALLATION and INVOCATION
- download and save as "playdemo.gz"
- gunzip playdemo.gz
- chmod a+rx playdemo
- ./playdemo -h
SUPPORT: There is no guaranteed support of any kind, but if you have
problems, questions or suggestions, you can reply to this
post and hope for someone answering -- after reading the following:
- playdemo -h
ChangeLog:
0.0.6.3
- Fix: When multiple demos were specified, only maps for
one of the demos were linked.
0.0.6.2
- Fix: fs_basebath was not set, so it was always the latest client version
that was used to play the demo. - Fix: UrT always reads the directory where the executable resides in
(symlink does not help), so now the executable is an actual copy
instead of a link. If you want the old behavior due to mass storage
space constraints, use "--link-exe".
0.0.6.1
- Add: Installed UrT versions are auto-detected now.
Supported versions are 4.1 and 4.1.1.
0.0.6
- Add: New flags '--urtversion=<desired UrT version number>' and
'-u <desired UrT version number>'. Currently, only "4.1" and
"4.1.1" are supported. May be needed if you want to watch a demo
that was taken on a map where the server's version of the map
differs from the client's version of the map, e.g. (IIRC) on 4.1.1,
the following maps changed: ut4_ramelle, ut4_swim, ut4_uptown.
You need to set this to the server version. Default is UrT 4.1.
NOTE: With 'dm_68' installed, this switch is usually not needed,
as the used UrT version gets auto-detected then. - New: Make use of the program 'dm_68', if installed, to link only the
the map used in the demo, which makes UrT fire up *much* faster.
dm_68 can be found here:
http://skuller-vidnoe.narod.ru/downloads/dm_68.zip
(You need an older version of GCC or alternatively patch it,
see
post34852.html#p34852
)
Needed if 'dm_68' cannot detect the map used, or if more than
one (non-builtin) map is used in the demo. - Add: New flags '--all-maps' and '-a' to link *all* available maps, not
only the one detected by dm_68. - New: If 'dm_68' is installed, the UrT version that was used on the server
where the demo was taken is auto-detected, so you usually do not have
to use '-u'.
0.0.5.2
- Chg: Bound "toggle r_shownormals" to MOUSE2, too.
0.0.5.1
- Chg: Improved Urban Terror binary search paths.
0.0.5
- Chg: Will search for Urban Terror binary automatically, if $URT is not set.
0.0.4
- Add: Select the last <n> demos to be played via "-<n>" option.
- Chg: More robustness.
- Chg: yes/no prompt for each demo.
- Chg: Print key / mouse bindings.