View previous topic :: View next topic |
Author |
Message |
telex4 l33t
Joined: 21 Sep 2002 Posts: 704 Location: Reading, UK
|
Posted: Fri Aug 08, 2003 8:39 pm Post subject: |
|
|
Ugh, some many Rogues and RPGs
Maybe it's time to split app-games into a few subdirectories according to genre? |
|
Back to top |
|
|
gralves Guru
Joined: 20 May 2003 Posts: 389 Location: Sao Paulo, Brazil
|
Posted: Sat Aug 09, 2003 3:33 pm Post subject: |
|
|
telex4 wrote: | Ugh, some many Rogues and RPGs
Maybe it's time to split app-games into a few subdirectories according to genre? |
You have my vote on that! |
|
Back to top |
|
|
Dogmatix Man n00b
Joined: 02 Aug 2003 Posts: 4 Location: Brisbane, Australia
|
Posted: Sat Aug 09, 2003 4:03 pm Post subject: |
|
|
Pythonhead wrote: | Ok, got Dungeon Crawler working, but I haven't tested it much. I'll submit it to portage if nobody posts problems |
Great work, Pythonhead. There's just one small issue. When a character dies, the game writes a file giving detailed information about that character. By default, it'll save this file in the same directory as the binary file (unless an environment variable is set). Because making /usr/games/bin/ group-writable isn't such a great idea, here's a quick workaround:
Edit chardump.cc and add the following else statement (context provided):
Code: | if (SysEnv.crawl_dir)
strncpy(file_name, SysEnv.crawl_dir, kPathLen);
else
strncat(file_name, "/usr/share/games/crawl/", kPathLen);
strncat(file_name, fname, kPathLen); |
Simple, but does the job, and still allows someone to set the environment variable if they really want to :p _________________ Bugger that for a game of soldiers. |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Sat Aug 09, 2003 5:03 pm Post subject: |
|
|
Thanks Dogmatix Man,
I'll use your code there. I'll stick it in /var/games though since we shouldn't be changing anything in /usr. |
|
Back to top |
|
|
LinuxDolt Tux's lil' helper
Joined: 05 May 2003 Posts: 104
|
Posted: Sat Aug 09, 2003 10:25 pm Post subject: |
|
|
i'd like to see a couple ebuilds for Arianne made... it sure looks very promising as a free linux MMORPG (ya know, like EQ)
and if they decided to start costing something, i wouldn't blame them, an MMO must be a pain to do...
EDIT: i forgot to include a link... here is one: http://www.arianne.cx/
and now i am gonna go and build it myself anyways... it is already in alpha3, so it is making good progress as well... |
|
Back to top |
|
|
maxmc Guru
Joined: 14 Oct 2002 Posts: 480 Location: Linköping, Sweden
|
Posted: Sun Aug 10, 2003 2:18 am Post subject: |
|
|
LinuxDolt wrote: | i'd like to see a couple ebuilds for Arianne made... it sure looks very promising as a free linux MMORPG (ya know, like EQ)
and if they decided to start costing something, i wouldn't blame them, an MMO must be a pain to do...
EDIT: i forgot to include a link... here is one: http://www.arianne.cx/
and now i am gonna go and build it myself anyways... it is already in alpha3, so it is making good progress as well... |
I wouldn't say that it's in a fully playable state. I'd rather see all these projects trying to do MMORPGS going togeather and for once make one.. or why not help at worldforge since you can do you own game when the enginge is done. |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Sun Aug 10, 2003 10:23 am Post subject: |
|
|
http://trophy.sourceforge.net
a nice car-racing game
from trophy's README
Quote: | Requirements
------------
TROPHY requires ClanLib 0.6.1 to run.
ClanLib 0.6.1 requires Hermes 1.3.2
|
both were already installed on my system from pingus, but i think that clanlib is/was marked as ~x86.
compiling went fine, game is fun.
any volunteers for an ebuild? |
|
Back to top |
|
|
ksuther Tux's lil' helper
Joined: 09 May 2003 Posts: 86 Location: New York
|
Posted: Sun Aug 10, 2003 1:37 pm Post subject: |
|
|
amne wrote: |
compiling went fine, game is fun.
any volunteers for an ebuild? |
I started working on an ebuild for trophy but ran into a few problems. Got it to compile fine but I don't know how to install it since it doesn't have make install or the likes.
Anyone help me out here?
Problem is after compiling, the executable is named trophy in ${S}/trophy/ and there is a file resources.scr and a folder resources there too. How would I go about putting them in /usr/share/games/trophy or whatever and then symlink trophy to /usr/games/bin?
Thanks
Code: |
DESCRIPTION="a 2D car racing action game for Linux. There are many extras which are... er... 'untypical' for racing games. So you can shoot at other players for example."
HOMEPAGE="http://trophy.sourceforge.net/"
SRC_URI="mirror://sourceforge/trophy/${P}-src.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=clanlib-0.6.1
>=hermes-1.3.2
>=zlib-1.1.3"
S=${WORKDIR}/${P}
src_compile() {
cd ${S}-src/trophy
autoconf
econf || die
emake || die
}
src_install() {
#??make DESTDIR=${D} install || die
#??einstall || die
}
|
|
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Sun Aug 10, 2003 8:11 pm Post subject: |
|
|
ksuther: When there is no install target in a Makefile you need to get everything into ${D} with src_install(). When you emerge it, it'll copy everything in ${D} into the actual file system.
In this case I used the games.eclass's 'dogamesbin' to copy the binary to the correct place. Then I just copied the resource files into ${D}, as you can see below:
app-games/trophy-1.1.3.ebuild
Code: |
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit games
MY_P="${P}-src"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="2D Racing Game"
HOMEPAGE="http://sourceforge.net/projects/trophy"
SRC_URI="mirror://sourceforge/trophy/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=">=clanlib-0.6.1
>=hermes-1.3.2
>=zlib-1.1.3"
src_compile() {
cd trophy
autoconf
egamesconf
emake
}
src_install() {
dogamesbin trophy/trophy
dodir /usr/share/games/trophy/resources
cp -R trophy/resources/* ${D}/usr/share/games/trophy/resources
cp trophy/resources.scr ${D}/usr/share/games/trophy/
dodoc AUTHORS README TODO ChangeLog
prepgamesdirs
}
|
|
|
Back to top |
|
|
maxmc Guru
Joined: 14 Oct 2002 Posts: 480 Location: Linköping, Sweden
|
Posted: Tue Aug 12, 2003 1:18 pm Post subject: |
|
|
Shameles plug to put this on top again.
I have to say this was a succesfull project of mine since we now have around 10 more games with ebuilds for Gentoo.
There are still a few to shave of the list though. |
|
Back to top |
|
|
glitch13 Apprentice
Joined: 02 Oct 2002 Posts: 213 Location: New Orleans, LA
|
Posted: Tue Aug 12, 2003 1:28 pm Post subject: |
|
|
I made one for kiki the nanobot (http://kiki.sourceforge.net/) that made it to portage a page or so back that isn't on the front page, if you'd like to slap that one up there too.
(I crave the warm glow of the lime light). |
|
Back to top |
|
|
maxmc Guru
Joined: 14 Oct 2002 Posts: 480 Location: Linköping, Sweden
|
Posted: Tue Aug 12, 2003 7:12 pm Post subject: |
|
|
Will do as soon as I get home (at work atm).
Pythonhead and Glitch13: have you contacted the authors of the games you made ebuilds for? I was thinking it would be good for them to know that Gentoo have them in portage and a booster for them to fix bugs etc. |
|
Back to top |
|
|
glitch13 Apprentice
Joined: 02 Oct 2002 Posts: 213 Location: New Orleans, LA
|
Posted: Tue Aug 12, 2003 7:47 pm Post subject: |
|
|
I contacted the neverball author a day or so after I made the ebuild -- I guess I'll go ahead and shoot over an email to kiki's author now. |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Tue Aug 12, 2003 9:22 pm Post subject: |
|
|
maxmc wrote: | Will do as soon as I get home (at work atm).
Pythonhead and Glitch13: have you contacted the authors of the games you made ebuilds for? I was thinking it would be good for them to know that Gentoo have them in portage and a booster for them to fix bugs etc. |
One I contacted said they'd been contacted after it was put in portage, so maybe the Gentoo games developers do it as a matter of policy. |
|
Back to top |
|
|
Flammie Retired Dev
Joined: 02 Jun 2003 Posts: 633 Location: Dublin, Ireland
|
Posted: Tue Aug 12, 2003 10:05 pm Post subject: |
|
|
Mirror Magic is a great deflektor clone from makers of rocks 'n' diamonds. I haven't got the x11 part to compile yet, but I assume it's something trivial and ebuild shouldn't be too big of a job despite a bit exceptional Makefile. |
|
Back to top |
|
|
someguy Guru
Joined: 10 Jul 2003 Posts: 433 Location: (-_-) .::OH_WELL::. (-_-)
|
Posted: Wed Aug 13, 2003 1:44 am Post subject: |
|
|
anyone know the name of the linux game that is exactly like the playstation game marble masters ? its like slink or something _________________ print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done |
|
Back to top |
|
|
maxmc Guru
Joined: 14 Oct 2002 Posts: 480 Location: Linköping, Sweden
|
Posted: Wed Aug 13, 2003 12:22 pm Post subject: |
|
|
someguy wrote: | anyone know the name of the linux game that is exactly like the playstation game marble masters ? its like slink or something |
Eh. Trackballs? might be what you want. |
|
Back to top |
|
|
maxmc Guru
Joined: 14 Oct 2002 Posts: 480 Location: Linköping, Sweden
|
Posted: Sun Aug 17, 2003 12:52 am Post subject: |
|
|
I found RoboTournament, looks like a fun game, lacking an ebuild though. |
|
Back to top |
|
|
maxmc Guru
Joined: 14 Oct 2002 Posts: 480 Location: Linköping, Sweden
|
Posted: Wed Aug 20, 2003 5:49 pm Post subject: |
|
|
New version of neverball is out, just thought you should know!
Quote: | # Fixed the floor oscillation bug that several people reported on low-end hardware.
# Added a few new levels for a current total of 16.
# Made several minor fixes and general source cleanups.
# Fixed a couple potential buffer overflows in string handling.
|
|
|
Back to top |
|
|
glitch13 Apprentice
Joined: 02 Oct 2002 Posts: 213 Location: New Orleans, LA
|
|
Back to top |
|
|
hook Veteran
Joined: 23 Oct 2002 Posts: 1398 Location: Ljubljana, Slovenia
|
Posted: Thu Aug 21, 2003 6:02 am Post subject: |
|
|
another vote for trackballs.
and one for stepmania ...it's a great DDR (dance dance revolution), Pump it up, EZ2dancer and Para Para Paradise clone ...it can use song files of all of the above mentioned games _________________ tea+free software+law=hook
(deep inside i'm still a tux's little helper) |
|
Back to top |
|
|
maxmc Guru
Joined: 14 Oct 2002 Posts: 480 Location: Linköping, Sweden
|
Posted: Thu Aug 21, 2003 11:15 am Post subject: |
|
|
hook wrote: | another vote for trackballs.
and one for stepmania ...it's a great DDR (dance dance revolution), Pump it up, EZ2dancer and Para Para Paradise clone ...it can use song files of all of the above mentioned games |
Trackballs is already in portage but there's something wrong with the source so you have to add into general.h
and in map.cc
Code: | replace uint32_t by u_int32_t |
And make sure you have the lastest Guile release.
I recently discovered Stepmania too after PyDance began to crash on me. The Linux build of it seems to lag behind the others though. It's realy cool I have to get a dance mat for it soon! |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Sun Aug 24, 2003 6:58 am Post subject: |
|
|
app-games/freeciv-cvs
Here's an ebuild for Freeciv SDL CVS. I'd post in on my website but Source Forge is broken at the moment.
It only does SDL at the moment. I'll make future versions that do xaw, gtk, gtk2. It downloads the DELUXE5 tileset. Its the only tileset that works with SDL.
You don't need to un-emerge the regular Freeciv in portage. It keeps the files in /usr/bin and /usr/local/share. Mine is in /usr/games/bin and /usr/share/games. Just be sure to start the SDL version with:
Code: | /usr/games/bin/civclient -t deluxe
/usr/games/bin/civserver |
To get this ebuild working:
Code: |
mkdir -p /usr/local/portage/app-games/freeciv-cvs
cd !$
(copy the ebuild in this directory, name it freeciv-cvs-1.14.0.ebuild)
ebuild freeciv-cvs-1.14.0.ebuild digest
emerge freeciv-cvs |
[EDIT] Modified ebuild to download sound files.
The ebuild:
Code: |
# Copyright 1999-2003 Gentoo Technologies, Inc., Rob Cakebread
# Distributed under the terms of the GNU General Public License v2
# $Header: $
ECVS_SERVER="cvs.freeciv.org/home/freeciv/CVS"
ECVS_MODULE="freeciv"
ECVS_USER="freecvs"
ECVS_PASS="freecvs"
inherit cvs games
S="${WORKDIR}/${PN/-cvs/}"
DESCRIPTION="Clone of Civilization II - SDL CVS version"
HOMEPAGE="http://www.freeciv.org/"
SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/incoming/DELUXE5.tar.bz2
ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets/stdsounds2.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=">=media-libs/sdl-mixer-1.2.5-r1
>=media-libs/sdl-ttf-2.0.6
>=media-libs/libsdl-1.2.5-r2
>=media-libs/sdl-mixer-1.2.5-r1
>=media-libs/sdl-image-1.2.2"
RDEPEND="sys-libs/zlib"
src_compile() {
export WANT_AUTOCONF_2_5=1
if [ -x ./autogen.sh ] ; then
/bin/bash ./autogen.sh \
--prefix=${GAMES_PREFIX} \
--host=${CHOST} \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--datadir=${GAMES_DATADIR} \
--sysconfdir=${GAMES_SYSCONFDIR} \
--localstatedir=${GAMES_STATEDIR} \
--enable-client=sdl \
"$@" || die "autogen.sh failed"
else
die "no autogen.sh script found"
fi
emake || die 'parallel make failed'
}
src_install() {
dodir /usr/share/games/freeciv/deluxe
dodir /usr/share/games/freeciv/stdsounds
dodir /usr/games/bin
make \
datadir=${D}usr/share/games \
bindir=${D}usr/games/bin \
install || die
/bin/install -m 644 ${WORKDIR}/DELUXE5/deluxe/* ${D}/${GAMES_DATADIR}/freeciv/deluxe
/bin/install -m 644 ${WORKDIR}/DELUXE5/deluxe.tilespec ${D}/${GAMES_DATADIR}/freeciv
/bin/install -m 644 ${WORKDIR}/stdsounds/* ${D}/${GAMES_DATADIR}/freeciv/stdsounds
/bin/install -m 644 ${WORKDIR}/stdsounds.soundspec ${D}/${GAMES_DATADIR}/freeciv
cp /usr/X11R6/lib/X11/fonts/truetype/arial.ttf ${D}/${GAMES_DATADIR}/freeciv/stdfont.ttf \
|| die "Can't copy arial.tff font"
prepgamesdirs
}
src_unpack() {
unpack ${A}
cvs_src_unpack
cd ${S}
}
pkg_postinst() {
games_pkg_postinst
einfo "Run the game with:"
einfo "/usr/games/bin/civclient -t deluxe"
einfo ""
einfo "and:"
einfo "/usr/games/bin/civserver"
einfo ""
ewarn "Use must use the full path if you have the non-CVS version installed in /usr/bin"
}
|
Last edited by Pythonhead on Sun Aug 24, 2003 4:17 pm; edited 1 time in total |
|
Back to top |
|
|
Zeddicus Apprentice
Joined: 21 Apr 2003 Posts: 163
|
Posted: Sun Aug 24, 2003 8:01 am Post subject: |
|
|
I tried making an ebuild for psdoom, but failed miserably (couldn't detect processes, for some reason..)
Dunno if this is more of a sys-app or a game, but it's Doom, so I figure I won't get flamed by adding it to the list :p
Anyone care to give it a shot?
http://psdoom.sourceforge.net |
|
Back to top |
|
|
EliasP Guru
Joined: 06 Dec 2002 Posts: 318 Location: South-West Germany
|
Posted: Sun Aug 24, 2003 2:50 pm Post subject: |
|
|
Emerged kiki... really great game...!!
But in level "captured", what do I have to do there, to get to the exit ?
Greetings
Elias P. |
|
Back to top |
|
|
|