Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 110972

Summary: Alien Arena 2006 - an awesome 3d FPS deathmatch [ebuild request]
Product: Gentoo Linux Reporter: Matija "hook" Šuklje <matija>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: VERIFIED FIXED    
Severity: enhancement CC: brebs, buddabrod, christian, dante333, david.helstroom, keletmaster, konsti, laurento.frittella, mathy, pez, triffid_hunter, voyageur, yoshi3
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://red.planetarena.org/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: alienarena-2006.ebuild
alienarena-2006.ebuild
alienarena-2006.ebuild
alienarena-bin-0.0.2006.1.21.ebuild
alienarena-bin-0.0.2006.1.21.ebuild
alienarena-bin-0.0.20060210.ebuild
alienarena-bin-20060530.ebuild
alienarena-bin-20060717.ebuild
alienarena-bin-20060530.ebuild
alienarena-bin-20060530.ebuild
alienarena-bin-20060831.ebuild
alienarena-20060831.ebuild
alienarena-20060831.ebuild
alienarena-20060831.ebuild
alienarena-bin-20060831.ebuild
Gcc 4.1.1 patch
alienarena-20060831.ebuild
alienarena-20060831-r1.ebuild
alienarena-20061216.ebuild
alienarena-bin-20061216.ebuild
alienarena-20070121.ebuild
alienarena-bin-20070121.ebuild
alienarena-bin-20070121.ebuild
alienarena-20070121.ebuild
alienarena-bin-20070225.ebuild

Description Matija "hook" Šuklje 2005-10-30 23:51:09 UTC
Haven't been able to find the license on their homepage, but their code should 
be GPL'd. 
  
[quote from HappyPenguin]  
 Alien Arena 2006 is the ultimate freeware deathmatch game!   
Included are 25 total levels, 9 detailed characters, 8 weapons, 2 vehicles, 5  
gameplay modes(DM, TDM, CTF, All Out Assault, Deathball), and much more!   
New for Alien Arena 2006 are five mutators(instagib, regeneration, vampire,  
rocket arena, and low grav), and Deathball, a mode in which you get points by  
capturing a ball and firing in into a goal. Eight new levels have been added,  
as well as alternate firing modes for several of the weapons. The game now runs  
on version 4.03 of the CRX engine, based on the id Software GPL source codes,  
and adding nextgen features such as reflective water, shaders, light bloom,  
improved lighting, and much more, while optimizations allow it to still run  
extremely fast even on modest systems. The game now features colored names, an  
improved console, and an enhanced in-game server browser.   
 Also available is the "Nightmare Bots" patch, which adds a fourth skill level  
to the in-game bots, which will challenge even the best players.  
[end quote]
Comment 1 Adomas Jackevicius 2005-10-31 04:19:16 UTC
Really nice game! Can't wait for the ebuild! :)
Comment 2 Wojciech Myrda 2005-11-04 14:38:27 UTC
Created attachment 72137 [details]
alienarena-2006.ebuild

EBUILD for Alien Arena 2006 is here ;)

Needs some testing as I did not test dedicated nor AMD64 (do not have it), but
on x86 it started the game for me. I used Enemy Territory ebuild from official
portage as my guide in creating this, so it should be following Portage rules,
but surely everyone is welcome to further develop this ebuild for its inclusion
into portage tree. 
What needs to be done is commented in the ebuild itself.
Comment 3 SpanKY gentoo-dev 2005-11-04 15:46:50 UTC
- never put arch stuff into IUSE
- when you unpack the .run file there is probably a license in $WORKDIR
- remove the pointless 'cd $S' in src_unpack/src_install
- dont quote variables when you set them ... just do S=${WORKDIR}
- move the chmod stuff to right after the doins
Comment 4 Wojciech Myrda 2005-11-05 02:40:15 UTC
Created attachment 72160 [details]
alienarena-2006.ebuild

Hi SpanKY,
Thanks for the quick response and the pointers.

- there is no licence present in the .run package or it is hidden in some sub
directory... I will asked about it in the game forums
http://corent.proboards42.com/index.cgi?action=display&board=crarena&thread=1131186002


- reason I put "-*" in ther was that their own setup provided some checking for
other archs (mips, ppc, hppa and mips if I remember correctly) it just I dont
know really what to do about it sinse my experience with those archs (and
AMD64) is zero...

-fix for the "engine" install part (fundamental change without which game
engine would not install in the proper place)

-I just found out the chmod stuff dont work... regardles of where I place it.
It informs me taht the directories in question do not exist. It needs to be
looked at us I just don't know (I made it work for myself manually)

- I placed there new chmod line (not working at present) to allow group to
write to the .cfg files. The game does not create any configs in users home dir
and I think it is sane that users have the option to change the game configs.

- changed the comments in the ebuild a little bit
Comment 5 Wojciech Myrda 2005-11-06 01:01:44 UTC
Created attachment 72264 [details]
alienarena-2006.ebuild

This is the best ebuild I could provide for the game. The link for the game is
changed and propoe licence is added. Other stuff remains constant.

Ebuild should install for everyone. Only problem there may be is that users by
defualt would not have write access to .cfg and therefore would not be able to
make their changes pernament (in some cases in may be a good thing).

Therefore is someone things chmod stuff needs to be fixed than let them provide
this final touch for the ebuild, but for me the ebuild is practicly done.

Thanks

P.S. Waiting its inclusion into the portage ;)
Comment 6 Paul Bredbury 2006-01-28 05:02:48 UTC
Created attachment 78338 [details]
alienarena-bin-0.0.2006.1.21.ebuild

Hi, here is a tidied ebuild which includes the 21-Jan-2006 patch. It does not set up an init script for the dedicated server. User files are in ~/.codered/

It uses the supplied binaries - the source does not compile with "make all", both with and without the patch's source - error is:
../client/qmenu.c:552: error: conflicting types for 'Menu_DrawString'
../client/qmenu.c:60: error: previous implicit declaration of 'Menu_DrawString' was here

Can someone test it on amd64? It's unclear as to whether the patch's binary supports amd64.
Comment 7 Paul Bredbury 2006-01-28 05:08:05 UTC
Created attachment 78341 [details]
alienarena-bin-0.0.2006.1.21.ebuild

Added games_pkg_postinst - silly me.
Comment 8 Paul Bredbury 2006-02-10 23:14:05 UTC
Created attachment 79484 [details]
alienarena-bin-0.0.20060210.ebuild

Here is an ebuild for the 2006 "Gold Edition".
Comment 9 Matija "hook" Šuklje 2006-02-12 05:12:35 UTC
I tried both ebuilds on AMD64

1) ryszard's doesn't even want to ebuild dist
2) Paul's ebuild dist's normally, and starts building, but exits on unpacking with this error:

[--start of quote--]
Archive:  /usr/portage/distfiles/midniteskins.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /usr/portage/distfiles/midniteskins.zip or
        /usr/portage/distfiles/midniteskins.zip.zip, and cannot find /usr/portage/distfiles/midniteskins.zip.ZIP, period.

!!! ERROR: games-fps/alienarena-bin-0.0.20060210 failed.
!!! Function src_unpack, Line 51, Exitcode 9
!!! unzip midniteskins failed
!!! If you need support, post the topmost build error, NOT this status message.
[--end of quote--]
Comment 10 Paul Bredbury 2006-02-12 05:21:57 UTC
That sounds like a bad download of the skins file. Delete it from /usr/portage/distfiles/ and digest the ebuild again.
Comment 11 Geoff Leach 2006-02-15 14:04:30 UTC
amd64 worksforme

But I did have problems with the download not completing a couple of times ... 
Comment 12 Michael Ploujnikov 2006-02-18 19:23:31 UTC
Installing alienarena-bin-0.0.20060210.ebuild printed this close to the end:
man:

QA Notice: the following files contain executable stacks
 Files with executable stacks will not work properly (or at all!)
 on some architectures/operating systems.  A bug should be filed
 at http://bugs.gentoo.org/ to make sure the file is fixed.
RWX --- --- opt/alienarena/crx
RWX --- --- opt/alienarena/crx.sdl
Comment 13 Michael Ploujnikov 2006-02-18 19:46:31 UTC
The game seems to install fine after 'ebuild ... unpack, compile, install, qmerge'
The game runs apart from the inverted mouse in the main menu. Unable to try multiplayer due to lack of servers.
Comment 14 Paul Bredbury 2006-06-03 07:16:53 UTC
Created attachment 88263 [details]
alienarena-bin-20060530.ebuild

Here is an ebuild for the "Uranium Edition".
Comment 15 Paul Bredbury 2006-07-17 11:04:44 UTC
Created attachment 92008 [details]
alienarena-bin-20060717.ebuild

Ebuild for an early "2007" test version.
Comment 16 Paul Bredbury 2006-07-17 21:58:53 UTC
Created attachment 92049 [details]
alienarena-bin-20060530.ebuild

Fixed "Uranium Edition" for download location. Removed the 3 third-party skins files.
Comment 17 h.schraepler 2006-08-27 15:05:20 UTC
(In reply to comment #16)
> Created an attachment (id=92049) [edit]
> alienarena-bin-20060530.ebuild
> 
> Fixed "Uranium Edition" for download location. Removed the 3 third-party skins
> files.
> 
At this time is the donload link is down in the ebuild. But i have found a new one
http://ftp.giga.net.tw/OS/FreeBSD/distfiles/

Comment 18 Paul Bredbury 2006-08-27 23:17:58 UTC
Created attachment 95249 [details]
alienarena-bin-20060530.ebuild

Added "ftp." to fix planetmirror link.

Not sure about the giga link - it's odd that it's mirrored there, but not in all the other FreeBSD mirrors.

The "2007 test" download has disappeared, so I've marked that ebuild as obsolete.
Comment 19 Paul Bredbury 2006-08-31 13:48:36 UTC
Created attachment 95578 [details]
alienarena-bin-20060831.ebuild

Ebuild for "2007" binaries.
Comment 20 Paul Bredbury 2006-08-31 13:51:14 UTC
Created attachment 95579 [details]
alienarena-20060831.ebuild

Ebuild for "2007" source code & data.
Comment 21 Michael Ploujnikov 2006-09-04 09:33:26 UTC
(In reply to comment #20)
> Created an attachment (id=95579) [edit]
> alienarena-20060831.ebuild
> 
> Ebuild for "2007" source code & data.
> 

This fails on AMD64 with:
>>> Install alienarena-20060831 into /var/tmp/portage/alienarena-20060831/image/ category games-fps
install: cannot stat `release/gamei386.so': No such file or directory

!!! ERROR: games-fps/alienarena-20060831 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_install
  ebuild.sh, line 1013:   Called src_install
  alienarena-20060831.ebuild, line 89:   Called die

!!! doexe gamei386.so failed

I checked the work directories and this is what I got:

# find /var/tmp/portage/alienarena-20060831 |grep gamei386.so
/var/tmp/portage/alienarena-20060831/work/engine/x86/arena/gamei386.so
/var/tmp/portage/alienarena-20060831/work/engine/x86/data1/gamei386.so

It appears that I have this file, however:
/var/tmp/portage/alienarena-20060831/work/source/linux/release/gamex86_64.so
Comment 22 Paul Bredbury 2006-09-04 10:00:36 UTC
Created attachment 95976 [details]
alienarena-20060831.ebuild

Fixes gamex86_64.so reference for amd64 :)
Comment 23 Paul Bredbury 2006-09-06 09:24:00 UTC
Created attachment 96182 [details]
alienarena-20060831.ebuild

Fixed the non-dependence on USE flags for the dedicated server. Added more mirrors to SRC_URI.

Added compilation warning in pkg_setup() - sounds like problems when using GCC 4.1.1 - http://forums.gentoo.org/viewtopic-t-493983.html
Comment 24 Paul Bredbury 2006-09-06 09:25:45 UTC
Created attachment 96183 [details]
alienarena-bin-20060831.ebuild

{arena,data1}/gamei386.so are identical, so now creates a symlink.
Comment 25 Mathy Vanvoorden 2006-09-10 19:21:05 UTC
I made a patch that allows compilation with gcc 4.1.1. I have yet to see if it's stable, but I don't see why not, since I only changed a few variables.
Comment 26 Mathy Vanvoorden 2006-09-10 19:22:20 UTC
Created attachment 96643 [details, diff]
Gcc 4.1.1 patch
Comment 27 Mathy Vanvoorden 2006-09-10 19:23:15 UTC
Created attachment 96644 [details]
alienarena-20060831.ebuild

Modified ebuild
Comment 28 Triffid Hunter 2006-09-16 10:05:00 UTC
2007 is out :)
Comment 29 Paul Bredbury 2006-11-03 23:59:11 UTC
Created attachment 101193 [details]
alienarena-20060831-r1.ebuild

Added patch from http://forums.gentoo.org/viewtopic-t-513207.html

Compiles OK on x86 with gcc-4.1.1-r1
Comment 30 Paul Bredbury 2006-12-18 11:12:20 UTC
Created attachment 104298 [details]
alienarena-20061216.ebuild

Produces crackling audio when landing after a fall, so alienarena-bin is probably a better choice.
Comment 31 Paul Bredbury 2006-12-18 11:12:53 UTC
Created attachment 104299 [details]
alienarena-bin-20061216.ebuild
Comment 32 Kyle Hunter 2006-12-30 17:39:42 UTC
http://corent.proboards42.com/index.cgi?board=crarena&action=display&thread=1132501476

12/28/06 update is out :)
Comment 33 Paul Bredbury 2007-01-23 18:45:49 UTC
Created attachment 107919 [details]
alienarena-20070121.ebuild

Version bump. Uses -O0 to fix crackling audio.
Comment 34 Paul Bredbury 2007-01-23 18:47:48 UTC
Created attachment 107920 [details]
alienarena-bin-20070121.ebuild

Uses precompiled binaries.
Comment 35 Paul Bredbury 2007-01-23 19:07:56 UTC
Created attachment 107922 [details]
alienarena-bin-20070121.ebuild

Oops, removed useless "debug" USE flag in -bin.
Comment 36 Paul Bredbury 2007-02-15 14:47:22 UTC
Created attachment 110288 [details]
alienarena-20070121.ebuild

Added check for gcc 4.1.1, because gcc 4.1.2 solves the audio crackle without needing -O0.
Comment 37 Tristan Heaven (RETIRED) gentoo-dev 2007-02-25 10:17:14 UTC
Fixed, thanks.
Comment 38 Régis Décamps 2007-03-15 18:51:42 UTC
Created attachment 113390 [details]
alienarena-bin-20070225.ebuild

The previous bin download link has been removed because the new version 6.04 is available. 

This ebuild differs from the current one in the install section, because the bin version now comes with two precompiled binaries (one for i686, the other for x86_64)

NB: makes alienarena-bin-20070121.ebuild obsolete
Comment 39 Chris Gianelloni (RETIRED) gentoo-dev 2007-03-16 19:09:01 UTC
If you expect something to be done about it, please file a new bug report.  This report was for the ebuild to be written/added, which has been done for some time now.

http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect9