You are not logged in.

#1 2010-06-12 08:51:21

mr1jan
Member
Registered: 2010-06-12
Posts: 4

[SOLVED] Urban terror - config files path

Hi, i have just migrated from gentoo to arch. i have installed this package of urbanterror: http://aur.archlinux.org/packages.php?ID=10284 (makepkg -s, pacman -U)

in gentoo when i run the game it created these configuration files

~/.q3a/q3ut4/q3config.cfg
~/.q3a/qkey
~/.q3a/servercache.dat
...

in arch it creates all files directly in user's home folder

~/qkey
~/servercache.dat
~/q3ut4/q3config.cfg
...

furthermore in arch it creates empty directory ~/.urbanterror, if i put there the config file the game ignores it. (http://linuxtidbits.wordpress.com/2009/ … ror-setup/)

i want to have the configuration files in hidden folder(.q3a or .urbanterror)

Any suggestions?

Last edited by mr1jan (2010-06-12 18:44:40)

Offline

#2 2010-06-12 11:42:29

grimi
Member
Registered: 2009-12-27
Posts: 27

Re: [SOLVED] Urban terror - config files path

Just move configs to ~/.urbanterror/q3ut4/
Regards.

Offline

#3 2010-06-12 11:49:44

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: [SOLVED] Urban terror - config files path

Hi Mr1Jan ... tongue

This package should save the config-files in ~/.urbanterror and not directly in /home. Strange problem, the same package does a friend use.
You could modify the urbanterror.sh script of the AUR package. If you use the zip file (like me) Urt will store it files in ~/.q3a/...

Offline

#4 2010-06-12 12:08:14

mr1jan
Member
Registered: 2010-06-12
Posts: 4

Re: [SOLVED] Urban terror - config files path

@grimi

if i move them to .urbanterror, the game ignores them and creates new configs in home dir. hmm

ioQ3 1.35urt linux-x86_64 Jun 12 2010
----- FS_Startup -----
Going through search path...

----------------------
8032 files in pk3 files
execing default.cfg
couldn't exec q3config.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----[
...

Offline

#5 2010-06-12 12:26:09

grimi
Member
Registered: 2009-12-27
Posts: 27

Re: [SOLVED] Urban terror - config files path

Not .urbanterror , but .urbanterror/q3ut4 ...

Last edited by grimi (2010-06-12 12:43:11)

Offline

#6 2010-06-12 12:59:09

mr1jan
Member
Registered: 2010-06-12
Posts: 4

Re: [SOLVED] Urban terror - config files path

doesnt work

ls -lR .urbanterror

.urbanterror:
total 4
drwxr-xr-x 2 jan jan 4096 Jun 12 05:51 q3ut4

.urbanterror/q3ut4:
total 16
-rw-r--r-- 1 jan jan 13667 Jun 12 05:51 q3config.cfg
.urbanterror:
total 4
drwxr-xr-x 3 jan jan 4096 Jun 12 05:54 q3ut4

.urbanterror/q3ut4:
total 4
drwxr-xr-x 2 jan jan 4096 Jun 12 05:51 q3ut4

.urbanterror/q3ut4/q3ut4:
total 16
-rw-r--r-- 1 jan jan 13667 Jun 12 05:51 q3config.cfg

Offline

#7 2010-06-12 13:22:22

grimi
Member
Registered: 2009-12-27
Posts: 27

Re: [SOLVED] Urban terror - config files path

Hmm... I mean q3config.cfg should be in '.urbanterror/q3ut4'... No important.

First listing, is correct .
Simply replace '.q3a' from gentoo with: '.urbanterror',
all rest (files and folders) is in same order.
100% working for me.

Last edited by grimi (2010-06-12 17:04:18)

Offline

#8 2010-06-12 18:43:59

mr1jan
Member
Registered: 2010-06-12
Posts: 4

Re: [SOLVED] Urban terror - config files path

so i found that if i run the game under root or another user, it creates config files correctly. So i deleted all my hidden config files in home directory. It did not help. then i changed my user home folder to new empty one. if i run urt, config files were created correctly. then i changed the home folder back and it helped...

i still dont know where the problem was. Thank you for your help, marking as solved.

Offline

Board footer

Powered by FluxBB