Re: [mythtv-users] mythgame and xmame
Marty Ravell wrote: Jason, what I usually do when there's a difference between the xmame command line args and MythGame is write a wrapper script for myth to call that parses the command line and calls xmame with xmame's flavor of the day command line args. (drives me nuts the way they change that every other rev, it seems.) Thanks, -Scott Hi Scott, Would you mind sharing your scripts for those of us less able at writing them? Regards Marty Note, also, that SVN fixes the dependence of Myth on a particular version of MAME (excellent work Greg, Jochen, and all others involved in the change). Mike ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
RE: [mythtv-users] mythgame and xmame
Jason, what I usually do when there's a difference between the xmame command line args and MythGame is write a wrapper script for myth to call that parses the command line and calls xmame with xmame's flavor of the day command line args. (drives me nuts the way they change that every other rev, it seems.) Thanks, -Scott Hi Scott, Would you mind sharing your scripts for those of us less able at writing them? Regards Marty ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
[mythtv-users] mythgame and xmame
I have a big self inflicted issue with mythgame and xmame. I just upgraded to xmame .100 from 0.91 (debian packages). At first it would not play at all as it did not recognize the -history_file option in the command line. That was an easy fix just blank the line in mythgame settings and successful playing of the games. But now I have lost all my rom entries as i did a scan for games and it stated "this version of mame not supported." Entering the rom details direct into the database works but is not fun. Any ideas folks? Steve ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] mythgame and xmame
Scott Rowe wrote: > > Jason, what I usually do when there's a difference between the xmame > command line args and MythGame is write a wrapper script for myth to > call that parses the command line and calls xmame with xmame's flavor > of the day command line args. (drives me nuts the way they change that > every other rev, it seems.) > > Thanks, > -Scott Yes, thats the conclusion I was coming to. God knows why they keep changing the command line arguments. Thanks, Jason ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] mythgame and xmame
On 8/31/05, Jason Lewis <[EMAIL PROTECTED]> wrote: Hi,I have been trying to get mythgame and xmame to play nicely together andI'm having a few problems.I'm really trying to build a stable system for production use in theliving room, so I have done my best to stick with standard installs of everything.I have based the system on debian Testing, installed the .debs of mythtv0.18.1 and the debian testing version of xmame 0.86-3. But i found thatversion if xmame didn't support lirc. So with a bit of fiddling around I mamange to get the 0.99 version of xmame from unstable, which worksgreat with lirc, but unfortunatley it appears they have changed thecommand line options for xmame and now it won't run when its called bymythgame. Has anyone encountered this problem? Is there an easy solution to it?(ie that does not require hacking mythtv code to make it work)I'd like to avoid going to an SVN version of myth if possible. Any ideas would be greatly appreciated.Thanks,Jason Jason, what I usually do when there's a difference between the xmame command line args and MythGame is write a wrapper script for myth to call that parses the command line and calls xmame with xmame's flavor of the day command line args. (drives me nuts the way they change that every other rev, it seems.) Thanks, -Scott ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
[mythtv-users] mythgame and xmame
Hi, I have been trying to get mythgame and xmame to play nicely together and I'm having a few problems. I'm really trying to build a stable system for production use in the living room, so I have done my best to stick with standard installs of everything. I have based the system on debian Testing, installed the .debs of mythtv 0.18.1 and the debian testing version of xmame 0.86-3. But i found that version if xmame didn't support lirc. So with a bit of fiddling around I mamange to get the 0.99 version of xmame from unstable, which works great with lirc, but unfortunatley it appears they have changed the command line options for xmame and now it won't run when its called by mythgame. Has anyone encountered this problem? Is there an easy solution to it? (ie that does not require hacking mythtv code to make it work) I'd like to avoid going to an SVN version of myth if possible. Any ideas would be greatly appreciated. Thanks, Jason ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] MythGame and XMame -sound and -mouse option
If you don't want to wait or recompile/grab the latest CVS, here is a quick fix that is easy to manage: What I did is modify the shell script that launches xmame. On my system, the script was: /usr/bin/xmame and originally read: #!/bin/sh PROG=`basename $0` if [ -x /usr/bin/$PROG.xgl ]; then RUN=$PROG.xgl elif [ -x /usr/bin/$PROG.SDL ]; then RUN=$PROG.SDL elif [ -x /usr/bin/$PROG.x11 ]; then RUN=$PROG.x11 else echo "No suitable binary for $PROG found?!?" exit 1 fi exec $RUN $* What I did is use SED to filter out the options that are no longer supported. I created a new file called: /usr/bin/xmame.strip that reads: #!/bin/sh PROG=`basename $0` if [ -x /usr/bin/$PROG.xgl ]; then RUN=$PROG.xgl elif [ -x /usr/bin/$PROG.SDL ]; then RUN=$PROG.SDL elif [ -x /usr/bin/$PROG.x11 ]; then RUN=$PROG.x11 else echo "No suitable binary for $PROG found?!?" exit 1 fi ARGS=`echo $* | sed -e 's/-sound//g' -e 's/-nosound//g' -e 's/-mouse//g' -e 's/-nomouse//g'` #echo $ARGS exec $RUN $ARGS Change the execute permissions using 'chmod +x /usr/bin/xmame.strip' and then in your setup->media settings change the XMAME executable to '/usr/bin/xmame.strip. Simple solution that lets you keep the latest and greatest version of xmame... Shawn - Original Message - From: "Charlie Brej" <[EMAIL PROTECTED]> To: "Discussion about mythtv" <[EMAIL PROTECTED]> Subject: Re: [mythtv-users] MythGame and XMame -sound and -mouse option Date: Sat, 18 Dec 2004 11:39:30 + > > Shawn Taras wrote: > > xmame.SDL works perfectly outside of Myth, but within MythGame, > > it doesn't launch. I have tracked the problem down to MythGame > > launching xmame.SDL with two options that don't seem to be > > supported: > > > > -mouse (or -nomouse) > > -sound > This has been fixed in CVS > http://cvs.mythtv.org/cgi-bin/viewcvs.cgi/mythgame/mythgame/mamehandler.cpp?r1=1.32&r2=1.33 > > You will either need to wait for the next version of mythtv, > downgrade xmame or download and compile the cvs of mythgame. > > -- Charlie Brej > APT Group, Dept. Computer Science, University of Manchester > Web: http://www.cs.man.ac.uk/~brejc8/ Tel: +44 161 275 6844 > Mail: IT302, Manchester University, Manchester, M13 9PL, UK > ___ > mythtv-users mailing list > [EMAIL PROTECTED] > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] MythGame and XMame -sound and -mouse option
Shawn Taras wrote: xmame.SDL works perfectly outside of Myth, but within MythGame, it doesn't launch. I have tracked the problem down to MythGame launching xmame.SDL with two options that don't seem to be supported: -mouse (or -nomouse) -sound This has been fixed in CVS http://cvs.mythtv.org/cgi-bin/viewcvs.cgi/mythgame/mythgame/mamehandler.cpp?r1=1.32&r2=1.33 You will either need to wait for the next version of mythtv, downgrade xmame or download and compile the cvs of mythgame. -- Charlie Brej APT Group, Dept. Computer Science, University of Manchester Web: http://www.cs.man.ac.uk/~brejc8/ Tel: +44 161 275 6844 Mail: IT302, Manchester University, Manchester, M13 9PL, UK ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
[mythtv-users] MythGame and XMame -sound and -mouse option
xmame.SDL works perfectly outside of Myth, but within MythGame, it doesn't launch. I have tracked the problem down to MythGame launching xmame.SDL with two options that don't seem to be supported: -mouse (or -nomouse) -sound When I run 'mythfrontend &> myth.log' I get the following output: 2004-12-17 13:08:12 mythfrontend version: 0.16.20040906-1 www.mythtv.org 2004-12-17 13:08:12 Enabled verbose msgs : important general 2004-12-17 13:08:12 Registering Internal as a media playback plugin. 2004-12-17 13:08:12 Registering MythDVD DVD Media Handler as a media handler 2004-12-17 13:08:12 Registering MythDVD VCD Media Handler as a media handler 2004-12-17 13:08:13 Registering MythMusic Media Handler as a media handler SIP listening on IP Address 192.168.0.102:5060 NAT address 192.168.0.102 SIP: Cannot register; proxy, username or password not set 2004-12-17 13:08:13 Mediamonitor: Adding /dev/cdrom 2004-12-17 13:08:13 Starting media monitor. 2004-12-17 13:08:13 Media status changed... New status is: MEDIASTAT_OPEN old status was MEDIASTAT_NOTMOUNTED Error loading image file: /usr/share/mythtv/themes/default/NOTHING.png MythThemedDialog.o: something is requesting a screen update of zero size. A widget probably has not done a calculateScreeArea(). Will redraw the whole screen (inefficient!). MythThemedDialog.o: something is requesting a screen update of zero size. A widget probably has not done a calculateScreeArea(). Will redraw the whole screen (inefficient!). MythThemedDialog.o: something is requesting a screen update of zero size. A widget probably has not done a calculateScreeArea(). Will redraw the whole screen (inefficient!). MythThemedDialog.o: something is requesting a screen update of zero size. A widget probably has not done a calculateScreeArea(). Will redraw the whole screen (inefficient!). MythThemedDialog.o: something is requesting a screen update of zero size. A widget probably has not done a calculateScreeArea(). Will redraw the whole screen (inefficient!). MythThemedDialog.o: something is requesting a screen update of zero size. A widget probably has not done a calculateScreeArea(). Will redraw the whole screen (inefficient!). MythThemedDialog.o: something is requesting a screen update of zero size. A widget probably has not done a calculateScreeArea(). Will redraw the whole screen (inefficient!). MythThemedDialog.o: something is requesting a screen update of zero size. A widget probably has not done a calculateScreeArea(). Will redraw the whole screen (inefficient!). MythThemedDialog.o: something is requesting a screen update of zero size. A widget probably has not done a calculateScreeArea(). Will redraw the whole screen (inefficient!). MythThemedDialog.o: something is requesting a screen update of zero size. A widget probably has not done a calculateScreeArea(). Will redraw the whole screen (inefficient!). MythThemedDialog.o: something is requesting a screen update of zero size. A widget probably has not done a calculateScreeArea(). Will redraw the whole screen (inefficient!). MythThemedDialog.o: something is requesting a screen update of zero size. A widget probably has not done a calculateScreeArea(). Will redraw the whole screen (inefficient!). /usr/bin/xmame.SDL -rompath /usr/share/xmame/roms -history_file /usr/share/xmame/history.dat -snapshot_directory /usr/share/xmame/screens -hiscore_directory /var/lib/mythgame/hiscore -hiscore_file /var/lib/mythgame/hiscore.dat -skip_disclaimer -skip_gameinfo -nofullscreen -noscanlines -artwork -noautoframeskip -scale 1 -antialias -translucency -beam 1.00 -flicker 0.00 -analogstick -mouse -joytype 4 -sound -samples -volume -20 -cheat -skip_disclaimer -skip_gameinfo mspacman /usr/bin/xmame.SDL -rompath /usr/share/xmame/roms -lr "mspacman" 2>/dev/null The second last line seems to be the one that lauches xmame. When I try to run this command outside of myth, xmame complains about the -mouse and the -sound options so I would imagine this is why the games are not launching within Myth. The version of xmame I have installed is: xmame (SDL) version 0.87 (Oct 4 2004) Is there a later version that I have to get? I already tried 'apt-get install xmame' and it says I have the latest version. Or perhaps I need an older version of xmame that supports -mouse and -sound?!? Any suggestions would be greatly appreciated! Shawn -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ___ mythtv-users mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users