MAME 2003 PLUS libretro core xml error

Create issue
Issue #128 resolved
Former user created an issue

Hi! I'm about to create new romsets for the new Retroarch MAME 2003 PLUS libretro core I use the core generated xml

Romcenter 4 rc3 … got error message: Dat in Mame070 format Loading games from mame2003-plus.xml Error: Unable to cast object of type ‘System.DBNull’ to type ‘System.String’. Duration: 00:00:53

Romcenter 3.7.1 works flawless with this ,xml

hope you can make it work with the new version too,,, ...thank you in advance,,,

Comments (12)

  1. Eric Bole-Feysot repo owner

    The dat has two times the same tag in xml: <driver>puckman</driver> ... <driver status="good" color="good" sound="good" palettesize="16"/> This is not allowed. I will see if I can do something, but it's not sure...

  2. Mark W. Kidd

    You are also welcome to create an issue in the mame2003-plus GitHub repo. I'm a maintainer and if we are out of compliance with XML spec then we will need to fix it.

    Together I think we can solve this issue 😉 thank you for taking a look and please let me know how you want to proceed.

  3. Eric Bole-Feysot repo owner

    Thanks for the reply. I managed to solve it manually, I still have to do some tests to identify any side effects. Anyway, according to the dtd included in the dat header, the <driver> tag is defined like this:

            <!ELEMENT driver EMPTY>
                <!ATTLIST driver status (good|preliminary|test) #REQUIRED>
                <!ATTLIST driver color (good|imperfect|preliminary) #REQUIRED>
                <!ATTLIST driver sound (good|imperfect|preliminary) #REQUIRED>
                <!ATTLIST driver palettesize CDATA #REQUIRED>

    so the <driver>puckman</driver> is not compliant. In my opinion, it should be removed, as there is no definition in the dtd for 'sourcefile' data.

  4. Log in to comment