The recent release of XMame, 0.84.1 (17 Jul 2004) includes everything
from MAME 0.84... and also removes --listinfo, which Freevo uses to
generate the rom list.  The new approved method uses --listxml, which
produces an XML tree of the ROM information.

I have changed mame_cache.py to switch based on the version of xmame
(for version 83 and above it uses --listxml and a SAX parser, for
versions below 83 it uses the original code).  The romlists produced
are identical except for two things:

1. The rom "buriki" was not being seen by the original code, which
   saved a rom when a new one was seen.  The last rom in the list was
   never saved, since a new rom was never seen.

2. The description of the rom "alien3" shows up in the original code
   as "Alien3: The Gun" but in the new XML code it shows up as
   "Alien\xb3: The Gun" because the new --listxml format uses an
   extended character to try and show a superscript.  I wanted to keep
   the rom names in ASCII, so the ASCII conversion did its best (the
   original string in --listxml is
      <description>Alien&#179;: The Gun</description>

The code is working fine under my home install of Freevo and I would
like to contribute it to the tree; the only file changed is
mame_cache.py.

How can I contribute?

-->VPutz

Attachment: signature.asc
Description: Digital signature

Reply via email to