search -  faq -  rulez -  staff

forums






map cycle
irc              pwnalizer
voice         dswp bar




Register

Login


It is currently 05.20.12

 

All times are UTC + 1 hour




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 06.08.11 
Offline
posted some :)

Joined: 03.29.10
Posts: 670
(This page will be continuously edited upon each release)

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.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.


Attachments:
File comment: ****** LATEST VERSION ******
playdemo-0.0.6.1.gz [5.75 KiB]
Downloaded 2 times



 


Last edited by Pirat on 06.16.11, edited 4 times in total.
Top
 Profile  
 
PostPosted: 06.08.11 
Offline
Ingame Mod
User avatar

Joined: 05.15.10
Posts: 88
Pirat started a new project yepi!!.
I think i'll test it tomorrow :)



 


Top
 Profile  
 
PostPosted: 06.10.11 
Offline
Ingame Mod
User avatar

Joined: 02.23.09
Posts: 261
Location: kn03xh
tried it now, but it's not playing any demo :( .... Here's what I get in console

Code:
pingo@dhcppc0:~/UrbanTerror$ ./playdemo-0.0.4 -2                                                    
No demo(s) specified, looking for last demo(s) taken in
  '/home/pingo/.q3a/q3ut4/demos' ...                                                                

DEMOLIST:                                                                                          
/home/pingo/.q3a/q3ut4/demos/2011_6_9_18_41_56__4Pingo_SRB__ut4_subway_TDM.dm_68
/home/pingo/.q3a/q3ut4/demos/2011_6_9_18_42_21__4Pingo_SRB__ut4_subway_TDM.dm_68

{ Using tmpdir /tmp/playdemo-0.0.4-1000-hBXMZM8d }

The following key / mouse bindings are in effect:

  numpad 8:       toggle r_shownormals
  numpad 4/5/6/+: timescale 0.3 / 1 / 2 / 3
  mousewheel:     timescale 0.1 - 100
  numpad 1/2:     video / stopvideo
  numpad 0:       quit


DEMO: /home/pingo/.q3a/q3ut4/demos/2011_6_9_18_41_56__4Pingo_SRB__ut4_subway_TDM.dm_68
Watch this demo? &#91;Yn&#93;y
DEMO: /home/pingo/.q3a/q3ut4/demos/2011_6_9_18_42_21__4Pingo_SRB__ut4_subway_TDM.dm_68
Watch this demo? &#91;Yn&#93;pingo@dhcppc0:~/UrbanTerror$


I've run it with/without started game but neither way plays demo. Am I doing something wrong?

_________________
Image



 


Top
 Profile  
 
PostPosted: 06.10.11 
Offline
posted some :)

Joined: 03.29.10
Posts: 670
PingoSuSE wrote:
tried it now, but it's not playing any demo :( .... Here's what I get in console

Code:
pingo@dhcppc0:~/UrbanTerror$ ./playdemo-0.0.4 -2                                                    
&#91;...&#93;
DEMO: /home/pingo/.q3a/q3ut4/demos/2011_6_9_18_41_56__4Pingo_SRB__ut4_subway_TDM.dm_68
Watch this demo? &#91;Yn&#93;y
DEMO: /home/pingo/.q3a/q3ut4/demos/2011_6_9_18_42_21__4Pingo_SRB__ut4_subway_TDM.dm_68
Watch this demo? &#91;Yn&#93;pingo@dhcppc0:~/UrbanTerror$


I've run it with/without started game but neither way plays demo. Am I doing something wrong?

Yyyyno. :-}

I forgot to mention that it needs adaption of the first occurence of the
variable "URT" in the script (line 28). The variable should contain
the name of the Urban Terror binary, including the full path.

The next version will search in a few paths automatically, promised.
:-}

Thanks for the report!


--
Posted using postdemo 0.0.9.12



 


Top
 Profile  
 
PostPosted: 06.10.11 
Offline
Ingame Mod
User avatar

Joined: 02.23.09
Posts: 261
Location: kn03xh
yay .... it works when I've changed line 28 :mrgreen: :D

_________________
Image



 


Top
 Profile  
 
PostPosted: 06.10.11 
Offline
posted some :)

Joined: 03.29.10
Posts: 670
PingoSuSE wrote:
yay .... it works when I've changed line 28 :mrgreen: :D

Yayyyyy! 8-)

If you want, you can test version 0.0.5 which I just uploaded, and
tell me where your Urban Terror binary resides, then I can
amend the search path, if necessary.

--
Posted using postdemo 0.0.9.12



 


Top
 Profile  
 
PostPosted: 06.10.11 
Offline
Ingame Mod
User avatar

Joined: 02.23.09
Posts: 261
Location: kn03xh
Well, it looked everywhere but my home directory :lol: .... after path change, it works OK ;)

_________________
Image



 


Top
 Profile  
 
PostPosted: 06.10.11 
Offline
posted some :)

Joined: 03.29.10
Posts: 670
PingoSuSE wrote:
Well, it looked everywhere but my home directory
:lol: .... after path change, it works OK ;)

w0000t?!

Can you give me the path to your binary (if it doesn't have a component
that is too personal :-)? Maybe it's something common ...

--
Posted using postdemo 0.0.9.12



 


Top
 Profile  
 
PostPosted: 06.11.11 
Offline
Ingame Mod
User avatar

Joined: 02.23.09
Posts: 261
Location: kn03xh
I have URT installed in
/home/pingo/UrbanTerror .... there resides my binary :)

What do you think about adding extra line between 208-216 like
Code:
/home/*/*/ioUrbanTerror.i386 \

so it looks whole home folder for binary :?:

_________________
Image



 


Top
 Profile  
 
PostPosted: 06.11.11 
Offline
Humppaimitat
User avatar

Joined: 07.15.08
Posts: 3771
Location: Behind U
dont u fear the suse!

_________________
Image



 


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Imprint

Powered by phpBB © 2000, 2002, 2005, 2007, 2008, 2009, 2010 phpBB Group

Skin by Lucas Kane
we use apache2 mod rewrite with phpBB SEO
map train_beta1-100 © 2009 by SteveMcQueen
Statistics Backend + Database by XLR Stats and B3 Bot
mapvote robot and gameserver monitor © 2009 by BlinKy
mumble viewer Copyright © 2008 Dominik Radner (aka Urmel)
mumble switcher and integration © 2008 by XTJ7, Unclefragger and Wursti
Localisation Plugin © 2009, Team Leads Plugin © 2009 and Knifer Plugin © 2009 by SvaRoX



voice server
tdm » dswp.de:22222
status: online
players: 0/45
map: ut4_abbey
 
bomb » dswp.de:22223
status: online
players: 0/12
map: ut4_tunis
 
jump » dswp.de:22224
status: online
players: 0/10
map: ut4_bstjumps_b4
 
team survivor » dswp.de:22225
status: online
players: 0/20
map: ut4_turnpike
 
siesta » dswp.de:22226
status: offline
btw test the new ajax serwer monitor here!
top 20 players


nameskillkills
RastaSkud1608.38403507
NormaSnockers1782.95356641
Hateyouall1601.33252483
Slevin.Kelevra1714.18189976
Wagner_Moura1562.9188001
Heretic1918.49181665
z0rn1608.41181016
[dswp]Ana1754.25177628
Goomba1710.31172531
Mad1716.4165419
sleepingsun1687.4162804
Zohan1611.07159737
ubercunt1691.1159016
[VR]Amantius1693.89155438
[dswp]Zottel1745.49150878
TG|Deviant1934.94148148
Graf_ZahlIII1695.64136286
ZEBRA(ESP)1598.25134104
DeletedUser0011537.41132992
marshallLaw1744.68128298