View previous topic :: View next topic |
Author |
Message |
mriya3 Tux's lil' helper
Joined: 27 Jul 2004 Posts: 124 Location: Switzerland
|
Posted: Sun Sep 19, 2004 4:07 pm Post subject: [HOWTO] xmame 0.86, gxmame 0.34b |
|
|
(cf. https://forums.gentoo.org/viewtopic.php?p=1556199#1556199 , in english e https://bugs.gentoo.org/show_bug.cgi?id=57524)
Scaricate l'ebuild di xmame 0.86 da: https://bugs.gentoo.org/attachment.cgi?id=38592&action=view
salvatelo come xmame-0.86-r1.ebuild e copiatelo in /usr/portage/games-emulation/xmame
Scaricate la patch di gxmame: https://bugs.gentoo.org/attachment.cgi?id=35714&action=view,
salvatela come gxmame-xml.patch e mettetela in /usr/portage/games-emulation/gxmame/files
Salvate anche la prossima patch (che risolve il problema dei parametri obsoleti di xmame 0.86) come gxmame-xmame-086.patch e mettetela in /usr/portage/games-emulation/gxmame/files
Code: | --- gxmame-0.34b/src/options.c 2003-12-18 20:03:13.000000000 +0100
+++ gxmame-0.34b-glpatch/src/options.c 2004-09-19 19:11:52.776640816 +0200
@@ -7398,11 +7398,11 @@
option_string = g_strdup_printf ("-%sfullscreen "
"-%sgldblbuffer "
"-gltexture_size %i "
- "-%sglforceblitmode "
- "-%sglext78 "
+ //"-%sglforceblitmode "
+ //"-%sglext78 "
"-%sglbilinear "
- "-%sgldrawbitmap "
- "-%sglcolormod "
+ //"-%sgldrawbitmap "
+ //"-%sglcolormod "
"-%sglalphablending "
"-%sglantialias "
"%s " /* gllibname */
|
Cambiate l'ebuild di gxmame ( gxmame-0.34b.ebuild ) che si trova in /usr/portage/games-emulation/gxmame:
con:
Code: | # Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/gxmame/gxmame-0.34b.ebuild,v 1.7 2004/09/12 23:35:02 mr_bones_ Exp $
DESCRIPTION="frontend for XMame using the GTK library"
HOMEPAGE="http://gxmame.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
inherit flag-o-matic gcc eutils games
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc ~amd64"
IUSE="nls joystick"
DEPEND="virtual/x11
=x11-libs/gtk+-2*
=dev-libs/glib-2*
sys-libs/zlib"
RDEPEND="nls? ( sys-devel/gettext )
games-emulation/xmame"
src_unpack() {
unpack ${A}
cd ${S}
# Patch for http://bugs.gentoo.org/show_bug.cgi?id=57524
# http://bugs.gentoo.org/attachment.cgi?id=35714&action=view
EPATCH_SINGLE_MSG="Applying XML Patch" \
epatch ${FILESDIR}/gxmame-xml.patch
EPATCH_SINGLE_MSG="Applying xmame compatibility patch" \
epatch ${FILESDIR}/gxmame-xmame-086.patch
sed -i \
-e "s:-O2 -fomit-frame-pointer -ffast-math:${CFLAGS}:" \
-e "s:-O2:${CFLAGS}:" \
configure
}
src_compile() {
econf \
$(use_enable nls) \
$(use_enable joystick) \
|| die
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS BUGS ChangeLog NEWS README TODO
}
|
Re-emergete xmame e gxmame e voilà! _________________ --
http://www.mriya3.tk | http://www.mriyasoftware.com
--
"Make everything as simple as possible, but not simpler."
-- Albert Einstein
Last edited by mriya3 on Mon Sep 20, 2004 1:41 pm; edited 5 times in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31019 Location: here
|
Posted: Sun Sep 19, 2004 4:14 pm Post subject: |
|
|
Ringrazio infinitamente mriya3 che (e tutti quelli a cui ho rotto le balle oggi in icq). A me pareva di avere applicato tutte le patch (a mano) ma chissa che casino ho fatto. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
mriya3 Tux's lil' helper
Joined: 27 Jul 2004 Posts: 124 Location: Switzerland
|
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Sun Sep 19, 2004 8:02 pm Post subject: |
|
|
fedeliallalinea wrote: | (e tutti quelli a cui ho rotto le balle oggi in icq). |
rotfl sei troppo autocritico _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31019 Location: here
|
Posted: Sun Sep 19, 2004 8:41 pm Post subject: |
|
|
Assicurarsi che il link /usr/games/bin/xmame punti a /usr/games/bin/xmame.SDL _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31019 Location: here
|
Posted: Sun Sep 19, 2004 11:12 pm Post subject: |
|
|
Altra cosa compilate libsdl e xmame con la use joystick se no avrete l'errore
Code: | xmame.obj/unix.SDL/sysdep/dsp-drivers/sdl.o xmame.obj/unix.SDL/frameskip-drivers/dos.o xmame.obj/unix.SDL/frameskip-drivers/barath.o xmame.obj/unix.SDL/osdepend.a -lz -L/usr/X11R6/lib `sdl-config --libs` -lz -lm -lasound `sdl-config --libs`
gcc -O1 -o xml2info xmame.obj/xml2info.o xmame.obj/libexpat.a
xmame.obj/unix.SDL/devices.o(.text+0x608): In function `osd_input_initpre':
: undefined reference to `joy_SDL_init'
collect2: ld returned 1 exit status
make: *** [xmame.SDL] Error 1
!!! ERROR: games-emulation/xmame-0.86 failed.
!!! Function src_compile, Line 130, Exitcode 2
!!! emake failed (SDL) |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
tuxer Guru
Joined: 10 May 2004 Posts: 328
|
Posted: Mon Nov 01, 2004 11:07 am Post subject: |
|
|
quella buon anima del portage mi ha messo la 0.83 di xmame così non ho avuto nessun problema di compilazione...
il problema è che non sono ancora riuscito a giocare a niente!!
le rom in che formato le metto??
ho provato sia a lasciare lo zip che a unzipparle ma senza risultato...
carica un po' di roba e un po' di altra non la trova, eppure sotto windows funzionano quelle roms!
any help? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31019 Location: here
|
Posted: Mon Nov 01, 2004 11:20 am Post subject: |
|
|
Hai settato il rom path come lanci i giochi? Le rom devono restare zip. Prova il comando
Code: | xmame.SDL --fullscreen -rp /path/to/rom/ nome_gioco // senza .zip |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
msimplay Apprentice
Joined: 20 Jun 2004 Posts: 161
|
Posted: Tue Nov 16, 2004 7:48 pm Post subject: |
|
|
totally broken with xmame 88 |
|
Back to top |
|
|
saxtro Apprentice
Joined: 28 Nov 2004 Posts: 153
|
Posted: Wed Dec 15, 2004 10:29 am Post subject: |
|
|
scusate se uppo questo vecchio post ma ho il seguente problema:
Code: |
bash-2.05b$ xmame.SDL --fullscreen -rp /mnt/cdrom/roms/1941
SDL: Info: SDL initialized
info: trying to parse: /usr/share/games/xmame/xmamerc
info: trying to parse: /home/marco/.xmame/xmamerc
info: trying to parse: /usr/share/games/xmame/xmame-SDLrc
info: trying to parse: /home/marco/.xmame/xmame-SDLrc
info: trying to parse: /usr/share/games/xmame/rc/pacmanrc
info: trying to parse: /home/marco/.xmame/rc/pacmanrc
Mouse/Trakball selected.
loading rom 0: pacman.6e
loading rom 1: pacman.6f
loading rom 2: pacman.6h
loading rom 3: pacman.6j
loading rom 4: pacman.5e
loading rom 5: pacman.5f
loading rom 6: 82s123.7f
loading rom 7: 82s126.4a
loading rom 8: 82s126.1m
loading rom 9: 82s126.3m
done
pacman.6e NOT FOUND
pacman.6f NOT FOUND
pacman.6h NOT FOUND
pacman.6j NOT FOUND
pacman.5e NOT FOUND
pacman.5f NOT FOUND
82s123.7f NOT FOUND
82s126.4a NOT FOUND
82s126.1m NOT FOUND
82s126.3m NOT FOUND
ERROR: required files are missing, the game cannot be run.
bash-2.05b$
|
ho emerso xmame di deafult nel portage, la versione 0.83.1 e come frontend ho emerso qmamecat (perchè usa le qt )
quello che non capisco è perchè xmame cerchi quelle rom e sopratutto dove le cerca le rom di default? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31019 Location: here
|
Posted: Wed Dec 15, 2004 3:52 pm Post subject: |
|
|
Io ti consiglio di scaricare xmame 0.86 (o 0.8. Le rom di default non so dove le cerchi ho sempre messo l'opzione -rp _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
saxtro Apprentice
Joined: 28 Nov 2004 Posts: 153
|
Posted: Wed Dec 15, 2004 4:28 pm Post subject: |
|
|
fedeliallalinea wrote: | Io ti consiglio di scaricare xmame 0.86 (o 0.8. Le rom di default non so dove le cerchi ho sempre messo l'opzione -rp |
seguendo il tuo consiglio ho scaricato l'ebuild dell' 0.86 però se faccio emerge search xmame mi esce solamente il 0.83.1 , qualcosa è sottinteso o non ho letto bene? |
|
Back to top |
|
|
saxtro Apprentice
Joined: 28 Nov 2004 Posts: 153
|
Posted: Wed Dec 15, 2004 5:04 pm Post subject: |
|
|
ci sono arrivato da solo, ho aggiunto
Code: |
games-emulation/xmame
|
in /etc/portage/package.keywords |
|
Back to top |
|
|
|