[mythtv] [PATCH] Trivial kludge to get mythgame working with xmame 0.84+

Keith Alan Landry wirwzd at wirewizards.com
Tue Sep 7 08:15:35 EDT 2004


 >On Wednesday 18 August 2004 21:58, Isaac Richards wrote:
 >
 >
 >>On Tuesday 17 August 2004 08:49 am, Jon wrote:
 >>
 >>
 >>>This is just a simple single-line workaround to get mythgame
 >>>working with 0.84+ of xmame until such time as support for the new
 >>>-listxml switch is added.
 >>>
 >>>
 >>Do people mind if I apply this?  It'll mean dropping support for
 >>older versions...
 >>
 >>
 >
 >As long as 0.84 is apt-gettable for FC1...
 >

I had tossed together the attached path as a workaround for 
mythgame-0.15 on, I run on Gentoo.

It adds a selection to the mythgame menus to specify the location of the 
xml2info executable.

It has a version check to maintain compatibility with xmame <=84 which 
will use old -listinfo flag.

Also removes a section which was running the check for every 
sub-directory under the rompath when scanning for games. This caused the 
program to spike the cpu, etc when parsing chd file directories. 
Xmame-rompath is parsed recursively so I didn't see a need to parse each 
subdir individually, but YMMV. Cuts scan time by the number of subdirs 
you have (I have 30.....).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythgame.patch
Type: text/x-patch
Size: 5716 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040907/eea742b2/mythgame.bin


More information about the mythtv-dev mailing list