Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Urban Terror - Best Practice for Updating
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
koopdi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2011
Posts: 100

PostPosted: Mon Mar 25, 2013 8:47 pm    Post subject: Urban Terror - Best Practice for Updating Reply with quote

Will a mod please move this to gaming and players? I goofed, thanks.

URT is my favorite game. :twisted:
When I searched portage, I saw that someone had made an ebuild for the latest version.
I unmasked it and it works flawlessly. ! 1 yes!
Now Frozen Sand has released a new version, that means that there are basically no servers for me to play on. :cry:

There is an application called URT updater that should automatically update to the next version. Is it better practice to use URT updater or Portage/emerge to update?

Where do I need to put URT updater for it to function properly?

Any feedback is appreciated. I will update here with my findings.

Kind Regards,
K
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Mon Mar 25, 2013 8:53 pm    Post subject: Reply with quote

It's best to remove urt from your system imo and use the updater for 4.2.X

Assuming a 'single user' system you can create something like ~/.local/Games/Urt42/ and place the updater there.
Then you can alias to the binaries there, or scripts, or desktop files, whichever you prefer.
Back to top
View user's profile Send private message
koopdi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2011
Posts: 100

PostPosted: Mon Mar 25, 2013 8:59 pm    Post subject: Reply with quote

Ok, I will give that a try, thanks.

There is a tangential issue of my user not being able to see the games path.
I think it's a folder permission problem.

/etc/env.d/90games
Quote:
LDPATH="/usr/games/lib64:/usr/games/lib32:/usr/games/lib"
PATH="/usr/games/bin"


[strike]gpasswd koopdi -a games[/strike]

doesn't work...

okay that's backwards, user is koopdi, games is group. Still doesn't show in path though...


Code:
koopdi@spacerig ~/fsv-0.9 $ su   
Password:
gpasswd games -a koopdi
spacerig fsv-0.9 # env-update && source /etc/profile
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
>>> Regenerating /etc/ld.so.cache...


Code:
koopdi@spacerig ~ $ $PATH
bash: /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3: No such file or directory



Code:
koopdi@spacerig ~ $ groups koopdi
wheel cdrom video usb users portage games koopdi
Back to top
View user's profile Send private message
koopdi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2011
Posts: 100

PostPosted: Sun Mar 31, 2013 12:16 am    Post subject: Reply with quote

The updater worked. Except that I don't get sound in the game unless I run it as root. That isn't very secure...

My user is part of audio group and games group.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54578
Location: 56N 3W

PostPosted: Sun Mar 31, 2013 12:48 am    Post subject: Reply with quote

Moved from Portage & Programming to Gamers & Players.
As requested by OP
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Sun Mar 31, 2013 6:51 am    Post subject: Reply with quote

koopdi wrote:
The updater worked. Except that I don't get sound in the game unless I run it as root. That isn't very secure...

My user is part of audio group and games group.

Are you 100% sure you are in the audio group? Your previous output showed you as not being in it. Games group doesn't matter in this case.
I have no idea otherwise why only root would give you sound :P
Back to top
View user's profile Send private message
koopdi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2011
Posts: 100

PostPosted: Sun Mar 31, 2013 3:31 pm    Post subject: Reply with quote

Well, when you put it that way...

SO I tested it again and it works now. I must have added myself to audio group and not properly tested, hum.

There is still one thing though, a small 1px grey border on the right and bottom of the screen when playing as a user.

Also, flash nades ftw! >:D

Code:
koopdi@spacerig ~/games/UrbanTerror42 $ ls -lah
total 9.2M
drwxrwxr-x 5 koopdi koopdi 4.0K Mar 26 02:15 .
drwxr-xr-x 3 root   root   4.0K Mar 25 22:35 ..
-rw-r--r-- 1 root   root   934K Mar 26 02:15 Quake3-UrT-Ded.exe
-rwxr-xr-x 1 root   root   787K Mar 26 02:15 Quake3-UrT-Ded.i386
-rwxr-xr-x 1 root   root   927K Mar 26 02:15 Quake3-UrT-Ded.x86_64
drwxr-xr-x 3 root   root   4.0K Sep 26  2012 Quake3-UrT.app
-rw-r--r-- 1 root   root   2.3M Mar 26 02:14 Quake3-UrT.exe
-rwxr-xr-x 1 root   root   1.6M Mar 26 02:14 Quake3-UrT.i386
-rwxr-xr-x 1 root   root   1.9M Mar 26 02:15 Quake3-UrT.x86_64
-rw-r--r-- 1 root   root    314 Mar 26 02:15 Quake3-UrT_Logitech_Game_Recognition.reg
drwxr-xr-x 3 root   root   4.0K Aug  3  2012 UrTLauncher.app
-rwxrwxr-x 1 koopdi koopdi 419K Mar 19 08:07 UrTUpdater.i386
-rwxrwxr-x 1 koopdi koopdi 431K Mar 19 08:07 UrTUpdater.x86_64
drwxr-xr-x 2 root   root   4.0K Mar 26 02:14 q3ut4

koopdi@spacerig ~/games/UrbanTerror42/q3ut4 $ ls -lah
total 1.3G
drwxr-xr-x 2 root   root   4.0K Mar 26 02:14 .
drwxrwxr-x 5 koopdi koopdi 4.0K Mar 26 02:15 ..
-rw-r--r-- 1 root   root    34K Mar 26 01:32 QIIIA_Game_Source_License.doc
-rw-r--r-- 1 root   root    261 Mar 26 01:32 autoexec_example.cfg
-rw-r--r-- 1 root   root    338 Mar 26 01:32 mapcycle_example.txt
-rw-r--r-- 1 root   root    64K Mar 26 01:32 readme42.txt
-rw-r--r-- 1 root   root   9.8K Mar 26 01:32 server_example.cfg
-rw-r--r-- 1 root   root   9.2M Mar 26 01:32 ut4_commune.pk3
-rw-r--r-- 1 root   root   126K Mar 26 01:32 ut4_jumpents.pk3
-rw-r--r-- 1 root   root   143M Mar 25 23:07 zUrT42_0001.pk3
-rw-r--r-- 1 root   root   162M Mar 25 23:26 zUrT42_0002.pk3
-rw-r--r-- 1 root   root   153M Mar 25 23:57 zUrT42_0003.pk3
-rw-r--r-- 1 root   root   147M Mar 26 00:13 zUrT42_0004.pk3
-rw-r--r-- 1 root   root   158M Mar 26 00:31 zUrT42_0005.pk3
-rw-r--r-- 1 root   root   161M Mar 26 00:49 zUrT42_0006.pk3
-rw-r--r-- 1 root   root   159M Mar 26 01:07 zUrT42_0007.pk3
-rw-r--r-- 1 root   root    11M Mar 26 01:08 zUrT42_0008.pk3
-rw-r--r-- 1 root   root   1.6M Mar 26 01:08 zUrT42_0009.pk3
-rw-r--r-- 1 root   root    20M Mar 26 01:10 zUrT42_0010.pk3
-rw-r--r-- 1 root   root    70M Mar 26 01:18 zUrT42_0011.pk3
-rw-r--r-- 1 root   root    18M Mar 26 01:21 zUrT42_0012.pk3
-rw-r--r-- 1 root   root   2.7K Mar 26 02:14 zUrT42_0013.pk3
-rw-r--r-- 1 root   root   2.7K Mar 26 01:21 zUrT42_0013.pk3.old
-rw-r--r-- 1 root   root   1.8M Mar 26 01:21 zUrT42_0014.pk3
-rw-r--r-- 1 root   root   5.0M Mar 26 01:21 zUrT42_0015.pk3
-rw-r--r-- 1 root   root    17M Mar 26 01:23 zUrT42_0016.pk3
-rw-r--r-- 1 root   root    18M Mar 26 01:25 zUrT42_0017.pk3
-rw-r--r-- 1 root   root   7.4M Mar 26 01:26 zUrT42_0018.pk3
-rw-r--r-- 1 root   root    43M Mar 26 01:30 zUrT42_0019.pk3
-rw-r--r-- 1 root   root   561K Mar 26 01:31 zUrT42_qvm.pk3


So maybe it's an ownership/permissions thing.
Back to top
View user's profile Send private message
koopdi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2011
Posts: 100

PostPosted: Sun Mar 31, 2013 3:47 pm    Post subject: Reply with quote

tried #chown -R koopdi:games .
and created a blank autoexec.cfg
Still has that weird border. The border is not present when running the game as root.

aaand I figured it out...fullscreen was off, it was just set to the exact resolution of my monitor so it /looked/ full screen.

woops, pilot error
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Sun Mar 31, 2013 4:12 pm    Post subject: Reply with quote

I'm glad it was just a pilot error ;)
The reason (I'm going to assume) you had an audio error was because you added yourself to the audio group but maybe didn't re-login so it would take effect.
Back to top
View user's profile Send private message
koopdi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2011
Posts: 100

PostPosted: Sun Mar 31, 2013 4:21 pm    Post subject: Reply with quote

I didn't know that was a necessary step. I learned something new just now. Well, time for some GSX dusty bomb... 8)
Back to top
View user's profile Send private message
hasufell
Retired Dev
Retired Dev


Joined: 29 Oct 2011
Posts: 429

PostPosted: Mon Apr 01, 2013 12:58 am    Post subject: Reply with quote

a few words from me on this, because I maintain urbanterror

a) upstream is incompetent and unable to upload tarballs. One would have to download the single files manually from here
http://www.dswp.de/old/wiki/doku.php/tutorials:urban_terror:beginner#downloading_and_installing
(scroll down to 4.2 features and installing), make a tarball (1.3gb) and upload it (have fun)
multiple packagers also from archlinux and opensuse have complained about non-existing tarballs but it seems urbanterror upstream is unable to handle it or just unwilling
If any of you have the bandwidth to upload that crap somewhere, I will update the ebuild. I have it done locally anyway, but due to my limited bandwidth I will not bother to upload it to the gentoo mirrors.

b) The updater is _closed_ source. When I asked for the source code they did not care. That you really have to user at your own risk. From what I heard, that one is also kinda broken.

In general: their behavior makes my motivation go down the sinkhole. If you want do do me a favor, ask them why they ignore distributions and why they are too incompetent to upload non-broken tarballs or even write an updater that is not broken, or why they add binaries to a git repository and... whatever.
Back to top
View user's profile Send private message
koopdi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2011
Posts: 100

PostPosted: Mon Apr 01, 2013 6:27 am    Post subject: Reply with quote

I will try and think of a constructive way to ask those things. Often critisism on the frozen sand forums is met with "it's done when it's done" and "it's free so stop complaining"

The updater does suck but it sucks less than previous updaters. Would be nice to have ability to update through package manager. It seems like one of the main draws to the game is that it works natively in linux. Would be nice if it worked well with Linux distros.

Binaries in the git? I don't get it. :lol:


Last edited by koopdi on Mon Apr 01, 2013 7:57 am; edited 1 time in total
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Mon Apr 01, 2013 7:15 am    Post subject: Reply with quote

@hasufell
@koopdi

I wouldn't bother trying to ask them anything relating to their incompetence, I have done several times over the years about various things via the forums and all you get is sh***y excuses, lies, loopholes or some retarded argument shouted at you with a load of brown-noser users jumping in to FS's defence.

That is why I am still on 4.1.1 with my own fork of ioq3 to play it, other then the occasional 4.2 test. I've also complained about their retarded updater when it came out and how they could have easily gone with something nicer but NOPE.

Also I'd love to upload the files for you but I have only 37kb/s upload sooo... hehe :(
Back to top
View user's profile Send private message
hasufell
Retired Dev
Retired Dev


Joined: 29 Oct 2011
Posts: 429

PostPosted: Mon Apr 01, 2013 5:26 pm    Post subject: Reply with quote

http://www.urbanterror.info/forums/topic/30568-unreliable-upstream-no-tarballs/
Back to top
View user's profile Send private message
koopdi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2011
Posts: 100

PostPosted: Wed Apr 03, 2013 8:11 pm    Post subject: Reply with quote

hasufell wrote:
One would have to download the single files manually from here
http://www.dswp.de/old/wiki/doku.php/tutorials:urban_terror:beginner#downloading_and_installing
(scroll down to 4.2 features and installing), make a tarball (1.3gb) and upload it (have fun)


Although my speeds suck, I would be willing to do this, overnight. I have no experience with creating packages. Can I use the files that I got from running urt_updater instead of downloading again?

Is there a particular way they need to be tar'ed?

Where do I upload it to?

Quote:

b) The updater is _closed_ source. When I asked for the source code they did not care. That you really have to user at your own risk. From what I heard, that one is also kinda broken.


That is strange that it is closed source. I will see if I can elicit a statement as to why they keep it that way. I can understand wanting to keep their upcoming anti-cheat code closed source, for security reasons but for the udater it seems like it would be beneficial to keep it open.

Quote:

In general: their behavior makes my motivation go down the sinkhole.


Yes, sometimes there are good responses to the bug/issues threads, and other times they see to brush off real problems as too much work, or not a real issue. For example, it is now possible to select freindly and enemy skins - great! But it is very confusing to be playing on the blue (or other arbitrary color,) skin team while all the information in the game calls it the "red" team. This issue was brought up and a dev is trying to brush it off as not an issue. If they don't want to fix it fine - but - that doesn't mean it's not broken.
Back to top
View user's profile Send private message
koopdi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2011
Posts: 100

PostPosted: Thu Apr 04, 2013 8:36 pm    Post subject: Reply with quote

hasufell wrote:
http://www.urbanterror.info/forums/topic/30568-unreliable-upstream-no-tarballs/


Well that thread is seriously depressing.

It sucks how much diplomacy is required just to talk about reall issues without getting into a fight.

silly hyoomans
hopefully something will come from it.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Fri Sep 19, 2014 12:58 pm    Post subject: Reply with quote

New version out and game servers kick me out of the game instantly. I checked gentoo bugzilla but there is no new ebuild.

I lost my bugzilla account, sorry. Else I would make a bug request. Anyway I think we need first someone to write an ebuild for this.
Back to top
View user's profile Send private message
hasufell
Retired Dev
Retired Dev


Joined: 29 Oct 2011
Posts: 429

PostPosted: Fri Sep 19, 2014 1:44 pm    Post subject: Reply with quote

+*urbanterror-4.2.019 (19 Sep 2014)
+
+ 19 Sep 2014; Julian Ospald <hasufell@gentoo.org> +urbanterror-4.2.019.ebuild,
+ +files/urbanterror-4.2.019-build.patch, metadata.xml:
+ version bump
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Fri Sep 19, 2014 6:07 pm    Post subject: Reply with quote

Thank you, I saw you were the dev for this package on bugs :) yay :))
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Oct 13, 2014 3:19 pm    Post subject: Reply with quote

New version out.

http://packages.gentoo.org/package/games-fps/urbanterror

my personal opinion. the older stable packages should be removed. there are hardly any servers out htere with players with these older game versions. Or lets call decent servers with decent ping / player base. Most admins upgrade after a few days with in game warning to upgrade the game via urtupdater(i assume this is windows only, i havent bothered checking so far).
Back to top
View user's profile Send private message
hasufell
Retired Dev
Retired Dev


Joined: 29 Oct 2011
Posts: 429

PostPosted: Mon Oct 13, 2014 4:32 pm    Post subject: Reply with quote

tw04l124 wrote:
New version out.

http://packages.gentoo.org/package/games-fps/urbanterror

my personal opinion. the older stable packages should be removed. there are hardly any servers out htere with players with these older game versions. Or lets call decent servers with decent ping / player base. Most admins upgrade after a few days with in game warning to upgrade the game via urtupdater(i assume this is windows only, i havent bothered checking so far).

To speed up the process you can send a pull request

https://github.com/hasufell/hasufell-overlay
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Oct 13, 2014 6:41 pm    Post subject: Reply with quote

hello i tried last time to send a pull request a few days ago. i am not sure if i send you a mail too.

as I badly failed to pull a send request on your website i wrote it here again. No idea what i did wrong, i just was unable to do it :( I am honest and admit it here ...

Thank you for maintaining this game :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum