View previous topic :: View next topic |
Author |
Message |
sonicbhoc Veteran
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Tue Dec 26, 2006 8:54 pm Post subject: |
|
|
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 |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Tue Dec 26, 2006 10:17 pm Post subject: |
|
|
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 |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Wed Dec 27, 2006 7:59 am Post subject: |
|
|
PaulBredbury wrote: | unpack will unpack into the current directory, so just use cd first if you want to change the directory. |
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 |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Wed Dec 27, 2006 8:24 am Post subject: |
|
|
sirdilznik wrote: | Is there a way to make this setting a bit more permanent? |
add a line like in ~/.codered/arena/config.cfg |
|
Back to top |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Wed Dec 27, 2006 8:46 am Post subject: |
|
|
Phenax wrote: | sirdilznik wrote: | Is there a way to make this setting a bit more permanent? |
add a line like 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 |
|
|
Irritant Tux's lil' helper
Joined: 16 Jun 2005 Posts: 85
|
Posted: Wed Dec 27, 2006 2:12 pm Post subject: |
|
|
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 |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Wed Dec 27, 2006 6:37 pm Post subject: |
|
|
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 |
|
|
Irritant Tux's lil' helper
Joined: 16 Jun 2005 Posts: 85
|
Posted: Wed Dec 27, 2006 8:00 pm Post subject: |
|
|
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 |
|
|
Irritant Tux's lil' helper
Joined: 16 Jun 2005 Posts: 85
|
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Jan 23, 2007 6:54 pm Post subject: |
|
|
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 |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Tue Jan 23, 2007 9:42 pm Post subject: |
|
|
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! |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Mon Feb 26, 2007 3:44 pm Post subject: |
|
|
Is this game working on amd64 with ati-drivers? Will it be in portage soon? Thanks Roman |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Mon Feb 26, 2007 3:55 pm Post subject: |
|
|
It's already in Portage |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Mon Feb 26, 2007 4:42 pm Post subject: |
|
|
Hi PaulBredbury, you helped me a lot in the past.
Ok, I now, but for amd64, should I unmask the portage package?
|
|
Back to top |
|
|
Irritant Tux's lil' helper
Joined: 16 Jun 2005 Posts: 85
|
Posted: Fri Mar 02, 2007 2:44 pm Post subject: |
|
|
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 |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Fri Mar 02, 2007 8:39 pm Post subject: |
|
|
tw04l124 wrote: | Hi PaulBredbury, you helped me a lot in the past.
Ok, I now, but for amd64, should I unmask the portage package?
|
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 |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Fri Mar 02, 2007 8:42 pm Post subject: |
|
|
thanks for the information Phenax!! |
|
Back to top |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Thu Mar 22, 2007 11:30 pm Post subject: |
|
|
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 |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Mar 23, 2007 4:47 am Post subject: |
|
|
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)
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 |
|
|
|