Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alien Arena 2007 released!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Tue Dec 26, 2006 8:54 pm    Post subject: Reply with quote

I need to remember to check this out later... it looks really good. The latest ebuild in the bug report at the bottom works with gcc 4.1.1 right? Just wondering, I couldn't follow the whole thread that well...
_________________
I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Tue Dec 26, 2006 10:17 pm    Post subject: Reply with quote

sonicbhoc wrote:
I need to remember to check this out later... it looks really good. The latest ebuild in the bug report at the bottom works with gcc 4.1.1 right? Just wondering, I couldn't follow the whole thread that well...


If you grab the source, there's also a GCC 4.1 patch. The bin obviously works.
Back to top
View user's profile Send private message
sirdilznik
l33t
l33t


Joined: 28 Apr 2005
Posts: 731

PostPosted: Wed Dec 27, 2006 7:59 am    Post subject: Reply with quote

PaulBredbury wrote:
unpack will unpack into the current directory, so just use cd first if you want to change the directory.

Phenax wrote:

PostPosted: Tue Dec 26, 2006 3:31 pm Post subject:
http://corent.proboards42.com/index.cgi?board=aatech&action=display&thread=1162985436
Might be of relevance to your mouse issue. (The patch in the first few posts is not relevant)

If you get that ebuild working, post it.. It saves me the time of manually making a .zip in my distfiles and digesting.

Thanks for the tip PaulBredbury. I edited the ebuild in my post on page 3 and it should work "out of the box" (it does for me anyway :) ).
As for the mouse problem, I read through some of the thread in that link and the m_yaw -0.022 in console thing solves it... but only for the current game. It then immediately resets itself when I die, change games, or pretty much anything else. Is there a way to make this setting a bit more permanent? Also my mouse is quite choppy. I will try changing the xfree-dga option in my xorg.conf (as in the thread) next time I reboot and I'll report back if that fixes it.
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Wed Dec 27, 2006 8:24 am    Post subject: Reply with quote

sirdilznik wrote:
Is there a way to make this setting a bit more permanent?


add a line like
Code:
set m_yaw "-0.022"
in ~/.codered/arena/config.cfg
Back to top
View user's profile Send private message
sirdilznik
l33t
l33t


Joined: 28 Apr 2005
Posts: 731

PostPosted: Wed Dec 27, 2006 8:46 am    Post subject: Reply with quote

Phenax wrote:
sirdilznik wrote:
Is there a way to make this setting a bit more permanent?


add a line like
Code:
set m_yaw "-0.022"
in ~/.codered/arena/config.cfg

That was my thought too, but the game itself immediately overwrites that file when I start the game, rendering the change null.
Back to top
View user's profile Send private message
Irritant
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jun 2005
Posts: 85

PostPosted: Wed Dec 27, 2006 2:12 pm    Post subject: Reply with quote

Make sure you are running the game from the AlienArena script file and not launching crx directly.

Also, if all else fails, you can make an ~/.codered/arena/autoexec.cfg file and place that command in there, which will automatically get executed and override anything.
Back to top
View user's profile Send private message
sirdilznik
l33t
l33t


Joined: 28 Apr 2005
Posts: 731

PostPosted: Wed Dec 27, 2006 6:37 pm    Post subject: Reply with quote

Irritant wrote:
Make sure you are running the game from the AlienArena script file and not launching crx directly.

Also, if all else fails, you can make an ~/.codered/arena/autoexec.cfg file and place that command in there, which will automatically get executed and override anything.

That almost works. I made a file ~/.codered/arena/autoexec.cfg and put the following inside
Code:
set m_yaw "-0.022"
set in_dgamouse "1"
set in_mouse "0"

(game doesn't want to remember me switching off inverted mouse when I do it in the options menu)
Anyway the mouse works fine on the start screen/menu, but once I select and start a game the mouse goes right back to fucked up.
Back to top
View user's profile Send private message
Irritant
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jun 2005
Posts: 85

PostPosted: Wed Dec 27, 2006 8:00 pm    Post subject: Reply with quote

Hmm ok, I'll take a look at those c_vars and see how they are being stored. There may be reasons for them being as they are, but then again perhaps not.

I'm working on getting 6.03 ready as soon as possible, as there have been a few bugs/new features that are important enough to warrant another release so soon after 6.02. Probably about 2-3 weeks from now will be the release of 6.03
Back to top
View user's profile Send private message
Irritant
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jun 2005
Posts: 85

PostPosted: Tue Jan 23, 2007 3:56 pm    Post subject: Reply with quote

6.03 is released - patch here http://cor.planetquake.gamespy.com/codered/files/aa2k7-update20070121-x86.zip

Full versions at http://red.planetarena.org
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Jan 23, 2007 6:54 pm    Post subject: Reply with quote

Ebuilds updated :)

In the source ebuild, I set -O2 to -O0 in the Makefile, to fix audio crackling when jumping down from a ledge. This is also required to fix audio crackling in some Quake 1 ebuilds, e.g. joequake & qrack. Not sure why - my best guess is a bug in gcc - I'm using sys-devel/gcc-4.1.1-r3
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Tue Jan 23, 2007 9:42 pm    Post subject: Reply with quote

PaulBredbury wrote:
Ebuilds updated :)

In the source ebuild, I set -O2 to -O0 in the Makefile, to fix audio crackling when jumping down from a ledge. This is also required to fix audio crackling in some Quake 1 ebuilds, e.g. joequake & qrack. Not sure why - my best guess is a bug in gcc - I'm using sys-devel/gcc-4.1.1-r3


Hopefully Irritant and I will fix that coming up. Thanks for finding this problem -- now at least we know where to start.

Anyways, thanks for updating the ebuild! :wink:
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 Feb 26, 2007 3:44 pm    Post subject: Reply with quote

Is this game working on amd64 with ati-drivers? Will it be in portage soon? Thanks Roman
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Feb 26, 2007 3:55 pm    Post subject: Reply with quote

It's already in Portage :wink:
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 Feb 26, 2007 4:42 pm    Post subject: Reply with quote

Hi PaulBredbury, you helped me a lot in the past.

Ok, I now, but for amd64, should I unmask the portage package?

PaulBredbury wrote:
It's already in Portage :wink:
Back to top
View user's profile Send private message
Irritant
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jun 2005
Posts: 85

PostPosted: Fri Mar 02, 2007 2:44 pm    Post subject: Reply with quote

6.04 is officially released today, and I believe that portage is already patched for some days now with it.

Thanks to everyone helping out, and a very big thanks for everyone who's been involved with getting it into portage :)

This release has a massive content update, with 11 new maps, revamped Deathball and Team Core Assault modes, plus alot of little client side issues.

Next release will be code only, as I think we are set for content for a while(though a new map idea popped into my head yesterday, lol).
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Fri Mar 02, 2007 8:39 pm    Post subject: Reply with quote

tw04l124 wrote:
Hi PaulBredbury, you helped me a lot in the past.

Ok, I now, but for amd64, should I unmask the portage package?

PaulBredbury wrote:
It's already in Portage :wink:


Yes, I was speaking with the Portage maintainer and he updated it to -r1 but forgot to add ~amd64. I know for a fact it works on amd64, so you can unmask it.

Next version (6.05) should be unmasked for amd64..
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 Mar 02, 2007 8:42 pm    Post subject: Reply with quote

thanks for the information Phenax!!
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Thu Mar 22, 2007 11:30 pm    Post subject: Reply with quote

svn://svn.icculus.org/alienarena2007/

Feel free to anon checkout, it's got a few more fixes/features, and is fully compatible with previous servers.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Mar 23, 2007 4:47 am    Post subject: Reply with quote

AlienArena would be much easier to compile if the Makefile defined the directories - as done with e.g. QuDos, with its use of DATADIR and LIBDIR in the Makefile. This is easily used, without needing nasty seds - see QuDos ebuild (the -9999 ebuild) :wink:

Here's an ebuild for AlienArena subversion:

/usr/local/portage/games-fps/alienarena/alienarena-9999.ebuild

Code:
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

# From http://forums.gentoo.org/viewtopic-p-3973803.html#3973803

inherit eutils subversion flag-o-matic toolchain-funcs games

MY_PV="2007"

DESCRIPTION="Fast-paced multiplayer deathmatch game"
HOMEPAGE="http://red.planetarena.org/"
SRC_URI=""

ESVN_REPO_URI="svn://svn.icculus.org/${PN}${MY_PV}/trunk/"

LICENSE="GPL-2 free-noncomm"
SLOT="0"
KEYWORDS="~x86"
IUSE="debug opengl sdl"

UIRDEPEND="media-libs/jpeg
   virtual/glu
   virtual/opengl
   sdl? ( >=media-libs/libsdl-1.2.8-r1 )
   x11-libs/libXxf86dga
   x11-libs/libXxf86vm"
UIDEPEND="x11-proto/xf86dgaproto
   x11-proto/xf86vidmodeproto
   x11-proto/xproto"
RDEPEND="opengl? ( ${UIRDEPEND} )
   sdl? ( ${UIRDEPEND} )"
DEPEND="${RDEPEND}
   opengl? ( ${UIDEPEND} )
   sdl? ( ${UIDEPEND} )
   app-arch/unzip"

S=${WORKDIR}
builddir=${S}/source/unix
dir=${GAMES_DATADIR}/${PN}
libdir=${GAMES_LIBDIR}/${PN}

src_unpack() {
   subversion_src_unpack
   cd "${builddir}" || die

   # Main directory
   sed -i \
      -e "s:\"basedir\", \".\":\"basedir\", \"${dir}\":" \
      ../qcommon/files.c || die "sed files.c failed"

   # Library directory
   sed -i \
      -e "s:FS_AddHomeAsGameDirectory(BASEDIRNAME):FS_AddHomeAsGameDirectory(BASEDIRNAME);\tFS_AddGameDirectory (\"${libdir}\"):" \
      ../qcommon/files.c || die "sed files.c failed"

   # Build directory for executables
   sed -i \
      -e "s:debug\$(ARCH):release:" \
      -e "s:release\$(ARCH):release:" \
      Makefile || die "sed Makefile release failed"

   if [[ "$(gcc-fullversion)" == "4.1.1" ]] ; then
      # -O1 and higher make the audio crackle
      sed -i \
         -e "s:-O2:-O0:" \
         Makefile || die "sed Makefile -O0 failed"
   fi
}

src_compile() {
   cd "${builddir}"

   local target="release"
   use debug && target="debug"

   emake \
      $(use sdl && echo SDLSOUND=1) \
      CC="$(tc-getCC)" \
      build_${target} \
      || die "emake failed"
}

src_install() {
   cd "${builddir}"/release

   local arch="i386"
   use amd64 && arch="x86_64"

   exeinto "${libdir}"
   doexe game${arch}.so || die
   doexe *.${arch} || die

   # Always install the dedicated executable
   newgamesbin crded.${arch} ${PN}-ded || die "newgamesbin ded failed"

   if use opengl || use sdl ; then
      # SDL implies OpenGL
      newgamesbin crx.${arch} ${PN} || die "newgamesbin crx failed"
      make_desktop_entry ${PN} "Alien Arena" ${PN}.xpm
   fi

   if use sdl ; then
      newgamesbin crx.sdl.${arch} ${PN}-sdl || die "newgamesbin sdl failed"
      make_desktop_entry ${PN}-sdl "Alien Arena (SDL)" ${PN}.xpm
      if ! use opengl ; then
         # Make this the default
         dosym "${GAMES_BINDIR}"/${PN}{-sdl,}
      fi
   fi

   insinto "${dir}"
   doins -r "${WORKDIR}"/{arena,botinfo,data1} || die "doins dirs failed"
   doicon "${WORKDIR}"/${PN}.xpm || die "doicon failed"

   dodoc "${WORKDIR}"/*.txt

   prepgamesdirs
}
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
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
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