MAME 2003 PLUS libretro core xml error
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)
-
-
repo owner - changed milestone to 4.0
-
assigned issue to
-
repo owner Confirmed on 4.0.0rc4.
-
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...
-
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.
-
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.
-
repo owner I will open an issue on GitHub
-
repo owner -
repo owner - changed status to resolved
-
repo owner The problem is fixed in rc4 final. The problem is also fixed in libretro.
-
Thank you for working on this! Have a great day.
-
repo owner - removed milestone
Removing milestone: 4.0 (automated comment)
- Log in to comment
Here is a direct link to the DAT: https://github.com/libretro/mame2003-plus-libretro/raw/master/metadata/mame2003-plus.xml