Urban Terror Forums: q3ut from scratch - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

q3ut from scratch Rate Topic: -----

#1 Guest_erpel

Posted 14 October 2005 - 07:44 PM

I don't really know if anyone is interested in this, I mainly tried this out of interest since I haven't had the time for playing q3ut for some time :(

With the release of Q3 source in GPL and Q3UT being a full modification, it is relatively easy to play Q3UT without a pre-installed Q3.

This is a quick and dirty HOWTO

get the sources: svn co svn://svn.icculus.org/quake3/trunk quake3
$ cd quake3

modify the sources:
$ FILES=$(find . -type f | xargs grep baseq3); for i in $FILES; do vim +"%s/baseq3/q3ut/g" +wq $i; done

in /code/qcommon/files.c, put an "#if 0" before line 3265 and 3302 and an "#endif" on line 3269 and 3318 (after the curly brackets). It avoids errors on default.cfg, we assume everything is fine :roll:

compile:
$ make
unzip the contents of UrbanTerror37_full.zip in q3ut:
$ mkdir q3ut; unzip ../UrbanTerror37_full.zip
place in the correct location:
$ cd ..; mv q3ut code/unix/releasei386-glibc
play:
$ cd code/unix/releasei386-glibc; ./linuxquake3

There are a number of small issues I've seen.

Some fonts are replaced by blocks
Some minor textures are missing

For the rest, it looks quite playable, maybe a next release/patch can fix these problems, a task for the mappers out there ;)

Just posted this quickly maybe it's already contained in another thread, though...

If you run GNU/Debian, you'll need (at least) the following dev packages:
xlibmesa-gl-dev
libsdl1.2-dev


If I have time; I'll consider creating a debian package that compiles the sources and includes a wrapper to download the q3ut zipfile, much like the quake2-data package... :roll:

#2 User is offline   MrSentry Icon

  • Account: mrsentry
  • Main tag: 6th|
  • Country:
  • Joined: 28-February 10
  • Posts: 940

Posted 17 October 2005 - 03:41 PM

w0w
thats one way of doing it

#3 Guest_erpel

Posted 19 October 2005 - 12:37 PM

Quote

w0w
thats one way of doing it


I bought the game the first week it was out. But since ut is free (beer) and the Q3 engine is now free (beer/speech), we should at least be able to have a great free (beer) game.

#4 Guest_mrd

Posted 05 November 2005 - 05:06 AM

erpel: FILES=$(find . -type f | xargs grep baseq3); for i in $FILES; do vim +"%s/baseq3/q3ut/g" +wq $i; done

FYI, a more efficient script is: find . -type f | xargs sed -i s/baseq3/q3ut/g

Edit: Actually it's slower, though simpler and a one time fix. The vim invocation above could just be replaced with sed too. (grep needs the -l option to work though.)

#5 User is offline   mitsubishi Icon

  • Account: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 13,481

Posted 05 November 2005 - 05:34 AM

Quote

s/baseq3/q3ut/g

isn't all that hopeless with no support from sid/fs and no alternative to pb?

bullet_loaderAdvertisement
Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942