Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10537 - New advancemame, with support for svgalib's development version
Summary: New advancemame, with support for svgalib's development version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement
Assignee: Martin Schlemmer (RETIRED)
URL: http://advancemame.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-10 12:09 UTC by Javier Marcet
Modified: 2002-11-20 06:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
new advancemame ebuild (advancemame-0.61.4.ebuild,2.78 KB, text/plain)
2002-11-10 12:10 UTC, Javier Marcet
Details
advancemame-0.62.0.ebuild (advancemame-0.62.0.ebuild,2.88 KB, text/plain)
2002-11-20 01:38 UTC, Javier Marcet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Marcet 2002-11-10 12:09:32 UTC
Sorry for the delay since I sent svgalib ebuild. 
I checked if there was any new version before commitiing, and there was. 
Thus, I got to install it and saw that quiet a few things had changed in the 
installation's configure. 
Needed changes were made, with the additional benefit that now you can build a 
binary for _both_ SDL and svgalib, which was my initial purpose. I can certify that 
running with svgalib on a Matrox G400 definitely rocks. 
You can have each console at an abolutely custom resolution, suited for each 
game, and best of all, _faaaast_. 
 
However, ... yes, there is something negative. Currently there is a problem in this 
version I didn't fix and which stops the compilation in the middle. 
I'll take a look at it ASAP, but if you find & fix it, please tell. 
I'm just tired right now. It's been a long day installing too many new things.
Comment 1 Javier Marcet 2002-11-10 12:10:15 UTC
Created attachment 5544 [details]
new advancemame ebuild
Comment 2 Javier Marcet 2002-11-11 02:41:43 UTC
Second time this hits me, please call it advancemame-0.61.4.ebuild  
Comment 3 Bret Towe 2002-11-15 23:03:31 UTC
Javier, 
might want to look at bug #9911
i merged some of your changes to a ebuild i had modified for that bug
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-19 14:09:33 UTC
You did see that we already have a ebuild that is a combination of advancemame
and advancemenu ?
Comment 5 Javier Marcet 2002-11-19 17:32:30 UTC
Martin, could you tell me where to find it? The advancemame in the current portage tree doesn't have any advancemenu, as far as I saw.  Anyhow the most interesting thing was support for SVGALib in its 'so-called' development version.  I attach an bumped version ebuild to today's advancemame 0.62 release. 
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-20 00:04:17 UTC
It does .. I should know as I created that ebuild ;)

Anyhow, would be nice if you could rather work on getting that ebuild
to work with latest versions.  If not, I'll do it when I get the chance.


-----
workshop gentoo-src # epm -ql advancemame
/usr/bin/advmame
/usr/bin/advmenu
/usr/share/doc/advancemame-0.61.1/advj.txt.gz
/usr/share/doc/advancemame-0.61.1/advline.txt.gz
/usr/share/doc/advancemame-0.61.1/advm.txt.gz
/usr/share/doc/advancemame-0.61.1/advmame.txt.gz
/usr/share/doc/advancemame-0.61.1/advs.txt.gz
/usr/share/doc/advancemame-0.61.1/advv.txt.gz
/usr/share/doc/advancemame-0.61.1/authors.txt.gz
/usr/share/doc/advancemame-0.61.1/build.txt.gz
/usr/share/doc/advancemame-0.61.1/card.txt.gz
/usr/share/doc/advancemame-0.61.1/faq.txt.gz
/usr/share/doc/advancemame-0.61.1/histemu.txt.gz
/usr/share/doc/advancemame-0.61.1/histmenu.txt.gz
/usr/share/doc/advancemame-0.61.1/install.txt.gz
/usr/share/doc/advancemame-0.61.1/license.txt.gz
/usr/share/doc/advancemame-0.61.1/off.txt.gz
/usr/share/doc/advancemame-0.61.1/readcab.txt.gz
/usr/share/doc/advancemame-0.61.1/reademu.txt.gz
/usr/share/doc/advancemame-0.61.1/readmenu.txt.gz
/usr/share/doc/advancemame-0.61.1/relecab.txt.gz
/usr/share/doc/advancemame-0.61.1/releemu.txt.gz
/usr/share/doc/advancemame-0.61.1/script.txt.gz
/usr/share/doc/advancemame-0.61.1/tips.txt.gz
/usr/share/doc/advancemame-0.61.1/vbe.txt.gz
/usr/share/doc/advancemame-0.61.1/vga.txt.gz
/usr/share/doc/advancemame-0.61.1/video.txt.gz
/usr/share/doc/advancemame-0.61.1/html/advcfg.html
/usr/share/doc/advancemame-0.61.1/html/advj.html
/usr/share/doc/advancemame-0.61.1/html/advk.html
/usr/share/doc/advancemame-0.61.1/html/advline.html
/usr/share/doc/advancemame-0.61.1/html/advm.html
/usr/share/doc/advancemame-0.61.1/html/advmame.html
/usr/share/doc/advancemame-0.61.1/html/advmenu.html
/usr/share/doc/advancemame-0.61.1/html/advs.html
/usr/share/doc/advancemame-0.61.1/html/advv.html
/usr/share/doc/advancemame-0.61.1/html/authors.html
/usr/share/doc/advancemame-0.61.1/html/build.html
/usr/share/doc/advancemame-0.61.1/html/card.html
/usr/share/doc/advancemame-0.61.1/html/faq.html
/usr/share/doc/advancemame-0.61.1/html/histcab.html
/usr/share/doc/advancemame-0.61.1/html/histemu.html
/usr/share/doc/advancemame-0.61.1/html/histmenu.html
/usr/share/doc/advancemame-0.61.1/html/install.html
/usr/share/doc/advancemame-0.61.1/html/license.html
/usr/share/doc/advancemame-0.61.1/html/off.html
/usr/share/doc/advancemame-0.61.1/html/portio.html
/usr/share/doc/advancemame-0.61.1/html/readcab.html
/usr/share/doc/advancemame-0.61.1/html/reademu.html
/usr/share/doc/advancemame-0.61.1/html/readmenu.html
/usr/share/doc/advancemame-0.61.1/html/relecab.html
/usr/share/doc/advancemame-0.61.1/html/releemu.html
/usr/share/doc/advancemame-0.61.1/html/relemenu.html
/usr/share/doc/advancemame-0.61.1/html/script.html
/usr/share/doc/advancemame-0.61.1/html/tips.html
/usr/share/doc/advancemame-0.61.1/html/vbe.html
/usr/share/doc/advancemame-0.61.1/html/vga.html
/usr/share/doc/advancemame-0.61.1/html/video.html
/usr/share/doc/advancemame-0.61.1/COPYING.gz
/usr/share/doc/advancemame-0.61.1/mame.txt.gz
/usr/share/doc/advancemame-0.61.1/whatsnew.txt.gz
/usr/share/doc/advancemame-0.61.1/ctrlr.txt.gz
/usr/share/doc/advancemame-0.61.1/listinfo.txt.gz
/usr/share/doc/advancemame-0.61.1/advcfg.txt.gz
/usr/share/doc/advancemame-0.61.1/advk.txt.gz
/usr/share/doc/advancemame-0.61.1/advmenu.txt.gz
/usr/share/doc/advancemame-0.61.1/histcab.txt.gz
/usr/share/doc/advancemame-0.61.1/portio.txt.gz
/usr/share/doc/advancemame-0.61.1/relemenu.txt.gz
/usr/share/man/man1/advmenu.1.gz
/usr/share/man/man1/advmame.1.gz
/usr/share/advance/rom
/usr/share/advance/sample
/usr/share/advance/artwork
/usr/share/advance/safequit.dat
workshop gentoo-src # 

Comment 7 Javier Marcet 2002-11-20 00:27:28 UTC
Ouch, OK. 
I might be somewhat aslept right now, but how's that it contains advancemenu 
yet advancemenu is not listed in SRC_URI? 
 
Anyway, I've checked that certainly there is some problem with 0.61.4 and 0.62.0 
which breaks compilation. I'll see if I find the cause. 
Comment 8 Javier Marcet 2002-11-20 01:38:29 UTC
Created attachment 5809 [details]
advancemame-0.62.0.ebuild

Checked it works fine, no sandbox violations, everything installed in the
correct path, fully optimized, and with a fix in the build for the compilation
error.
Comment 9 Javier Marcet 2002-11-20 01:46:36 UTC
Ok I found the problem, pretty silly. 
It failed when it tried to generate some doc files in ${S}/obj/doc which did not 
exist. I just put a mkdir in the ebuild. 
I'll send a mail to the author :) 
 
It's working pretty well, indeed if I didn't post it earlier was because I was playing 
Ghost'n'Goblins, one of my favorite games of all time. I used to play it when I was 
~10 years old :) 
 
Damnit my 8 button does have some problem with more than 2 of them in this 
development kernel. It might be SDL aswell, I can't check SVGA with this kernel 
either. 
 
Anyway, the speed difference between SVGALib and SDL mode, even both at full 
screen is amazing.Just try the SVGALib ebuild I posted and check it. You can play 
any emulated game at full screen and at decent speed :) 
 
It is nice to play in a small window too, though. 
 
BTW, I'll see if I find where does advmenu comes from in your original ebuild so I 
add it to this updated version. Besides the new advmenu version released today 
also supports SDL and SVGALib at the same time :) 
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-20 04:38:17 UTC
Its because advmenu was too broken at the time, so I used a cvs snapshot that
contained both advancemame and the menu.
Comment 11 Javier Marcet 2002-11-20 05:06:11 UTC
All right then, this new version comes with a much improved 'configure', in par 
with advancemame's. It works fine under X, and I'm pretty sure it still works well 
with SVGALib. 
Previous version worked at least. I'll try it as soon as possible. 
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-20 05:14:12 UTC
Commited advancemame-0.62.0.  If you want to add improvements, give
me a shout if you sure its working fine ...
Comment 13 Javier Marcet 2002-11-20 05:26:20 UTC
Ditto... 
Comment 14 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-20 05:59:53 UTC
It seems to be working with svgalib, but keyboard do not really function.
Can be my setup, as I do not really use svgalib much these days :/
Comment 15 Javier Marcet 2002-11-20 06:10:28 UTC
That's strange, I had no problems with neither the keyboard or the joystick. 
Check in your $HOME/.advance/advmame.rc how 'device_keyboard' is set. 
The default is auto, which should do the job. Mouse and joystick on the other 
hand default to none, so you have to enable them.