Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Risorse italiane (documentazione e tools)
  • Search

[HOWTO] xmame 0.86, gxmame 0.34b

Forum riservato alla documentazione in italiano.

Moderator: ago

Post Reply
  • Print view
Advanced search
13 posts • Page 1 of 1
Author
Message
mriya3
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 124
Joined: Tue Jul 27, 2004 7:29 am
Location: Switzerland

[HOWTO] xmame 0.86, gxmame 0.34b

  • Quote

Post by mriya3 » Sun Sep 19, 2004 4:07 pm

(cf. http://forums.gentoo.org/viewtopic.php? ... 99#1556199 , in english e http://bugs.gentoo.org/show_bug.cgi?id=57524)


Scaricate l'ebuild di xmame 0.86 da: http://bugs.gentoo.org/attachment.cgi?i ... ction=view
salvatelo come xmame-0.86-r1.ebuild e copiatelo in /usr/portage/games-emulation/xmame


Scaricate la patch di gxmame: http://bugs.gentoo.org/attachment.cgi?i ... ction=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: Select all

--- 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: Select all

# 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à!
Last edited by mriya3 on Mon Sep 20, 2004 1:41 pm, edited 5 times in total.
--
http://www.mriya3.tk | http://www.mriyasoftware.com
--
"Make everything as simple as possible, but not simpler."
-- Albert Einstein
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Sep 19, 2004 4:14 pm

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.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
mriya3
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 124
Joined: Tue Jul 27, 2004 7:29 am
Location: Switzerland

  • Quote

Post by mriya3 » Sun Sep 19, 2004 5:38 pm

Di nulla :)
--
http://www.mriya3.tk | http://www.mriyasoftware.com
--
"Make everything as simple as possible, but not simpler."
-- Albert Einstein
Top
X-Drum
Advocate
Advocate
User avatar
Posts: 2517
Joined: Sun Aug 24, 2003 6:48 pm
Location: ('Modica','Trieste','Ferrara') Italy
Contact:
Contact X-Drum
Website

  • Quote

Post by X-Drum » Sun Sep 19, 2004 8:02 pm

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..."
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Sep 19, 2004 8:41 pm

Assicurarsi che il link /usr/games/bin/xmame punti a /usr/games/bin/xmame.SDL
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Sep 19, 2004 11:12 pm

Altra cosa compilate libsdl e xmame con la use joystick se no avrete l'errore

Code: Select all

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.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
tuxer
Guru
Guru
Posts: 328
Joined: Mon May 10, 2004 12:48 pm

  • Quote

Post by tuxer » Mon Nov 01, 2004 11:07 am

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?
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Mon Nov 01, 2004 11:20 am

Hai settato il rom path come lanci i giochi? Le rom devono restare zip. Prova il comando

Code: Select all

xmame.SDL --fullscreen -rp /path/to/rom/ nome_gioco   // senza .zip
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
msimplay
Apprentice
Apprentice
User avatar
Posts: 161
Joined: Sun Jun 20, 2004 4:42 pm

  • Quote

Post by msimplay » Tue Nov 16, 2004 7:48 pm

totally broken with xmame 88
Top
saxtro
Apprentice
Apprentice
Posts: 153
Joined: Sun Nov 28, 2004 2:55 pm

  • Quote

Post by saxtro » Wed Dec 15, 2004 10:29 am

scusate se uppo questo vecchio post ma ho il seguente problema:

Code: Select all

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?
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Dec 15, 2004 3:52 pm

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.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
saxtro
Apprentice
Apprentice
Posts: 153
Joined: Sun Nov 28, 2004 2:55 pm

  • Quote

Post by saxtro » Wed Dec 15, 2004 4:28 pm

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?
Top
saxtro
Apprentice
Apprentice
Posts: 153
Joined: Sun Nov 28, 2004 2:55 pm

  • Quote

Post by saxtro » Wed Dec 15, 2004 5:04 pm

ci sono arrivato da solo, ho aggiunto

Code: Select all

games-emulation/xmame
in /etc/portage/package.keywords
Top
Post Reply
  • Print view

13 posts • Page 1 of 1

Return to “Risorse italiane (documentazione e tools)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic