Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO] xmame 0.86, gxmame 0.34b
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
mriya3
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2004
Posts: 124
Location: Switzerland

PostPosted: Sun Sep 19, 2004 4:07 pm    Post subject: [HOWTO] xmame 0.86, gxmame 0.34b Reply with quote

(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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Sun Sep 19, 2004 4:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
mriya3
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2004
Posts: 124
Location: Switzerland

PostPosted: Sun Sep 19, 2004 5:38 pm    Post subject: Reply with quote

Di nulla :)
_________________
--
http://www.mriya3.tk | http://www.mriyasoftware.com
--
"Make everything as simple as possible, but not simpler."
-- Albert Einstein
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Sun Sep 19, 2004 8:02 pm    Post subject: Reply with quote

fedeliallalinea wrote:
(e tutti quelli a cui ho rotto le balle oggi in icq).


rotfl :D sei troppo autocritico
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Sun Sep 19, 2004 8:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Sun Sep 19, 2004 11:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
tuxer
Guru
Guru


Joined: 10 May 2004
Posts: 328

PostPosted: Mon Nov 01, 2004 11:07 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Mon Nov 01, 2004 11:20 am    Post subject: Reply with quote

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
View user's profile Send private message
msimplay
Apprentice
Apprentice


Joined: 20 Jun 2004
Posts: 161

PostPosted: Tue Nov 16, 2004 7:48 pm    Post subject: Reply with quote

totally broken with xmame 88
Back to top
View user's profile Send private message
saxtro
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 153

PostPosted: Wed Dec 15, 2004 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Wed Dec 15, 2004 3:52 pm    Post subject: Reply with quote

Io ti consiglio di scaricare xmame 0.86 (o 0.88). 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
View user's profile Send private message
saxtro
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 153

PostPosted: Wed Dec 15, 2004 4:28 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Io ti consiglio di scaricare xmame 0.86 (o 0.88). 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
View user's profile Send private message
saxtro
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 153

PostPosted: Wed Dec 15, 2004 5:04 pm    Post subject: Reply with quote

ci sono arrivato da solo, ho aggiunto
Code:

games-emulation/xmame

in /etc/portage/package.keywords
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Page 1 of 1

 
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