DoM P-Clone XMDB of GBA, NES & GBC - Errors - not useable

Post bug reports and suggestions for the website, forums and DOM here.
Post Reply
User avatar
rpg4e
Posts: 6
Joined: 22 Jul 2013 11:30

DoM P-Clone XMDB of GBA, NES & GBC - Errors - not useable

Post by rpg4e » 06 Jun 2016 11:23

I'm while merging my No-Intro-RomCollection. Game Boy; Super Nintendo & Nintendo 64 XMDB's are fine.
I'm using current versions of RomCenter & CLRmamepro for authoring my sets with No-Intro-Dat's of DoM.
I'm using GoodMerge 3.1.2199.25374; XMDB's & GM_Bias_Zone_Support from DoM.

There seem to be errors in XMDBs of Game Boy Advance, Nintendo Entertainment System & Game Boy Color. I currently haven't testet Nintendo DS.

Always get this error with GBA-NES-GBC:

Error: XML loading error.
The element 'zoned' has invalid child element 'clone'. List of possible elements expected: 'bias'.

What can i do. Is there a fix?

edit: While editing GBA-XMDB I recognized that all (Beta)-Games don't have a bias zone entry -> should be fixed

also i edited this lines:

<zoned type="deferred">
<bias zone="E" name="Overstorm (Unknown) (Proto)"/>
<bias zone="J" name="Overstorm (Unknown) (Proto)"/>
<bias zone="U" name="Overstorm (Unknown) (Proto)"/>
<clone name="Overstorm (Unknown) (Proto)"/>
</zoned>

<zoned type="deferred">
<bias zone="E" name="Banjo-Pilot (Europe) (En,Fr,De,Es,It)"/>
<bias zone="U" name="Banjo-Pilot (USA)"/>
<bias zone="E" name="Banjo-Pilot (Unknown) (Beta)"/>
<bias zone="J" name="Banjo-Pilot (Unknown) (Beta)"/>
<bias zone="U" name="Banjo-Pilot (Unknown) (Beta)"/>
<clone name="Banjo-Pilot (Europe) (En,Fr,De,Es,It)"/>
<clone name="Banjo-Pilot (USA)"/>
<clone name="Banjo-Pilot (Unknown) (Beta)"/>
</zoned>

ssjkakaroto
Posts: 19
Joined: 09 Aug 2008 04:32

Re: DoM P-Clone XMDB of GBA, NES & GBC - Errors - not useabl

Post by ssjkakaroto » 01 Jul 2016 03:16

rpg4e, i think the problem is that you have two bias zone entries for the same region, one of those should be clone name

But notice that the XMDB's do not match what's written here: http://datomatic.no-intro.org/stuff/xmdb_details.txt
For a while now, DoM is generating P/C files with incorrect set names (adding region and languages).

In your example the correct entries would be

<zoned type="deferred">
<bias zone="E" name="Banjo-Pilot"/>
<bias zone="U" name="Banjo-Pilot"/>
<clone name="Banjo-Pilot (Europe) (En,Fr,De,Es,It)"/>
<clone name="Banjo-Pilot (USA)"/>
<clone name="Banjo-Pilot (Unknown) (Beta)"/>
</zoned>

You can see the fix for the (Unknown) (Proto) here: viewtopic.php?f=2&t=2247#p11090

User avatar
xuom2
High Council
Posts: 1077
Joined: 22 May 2008 18:45

Re: DoM P-Clone XMDB of GBA, NES & GBC - Errors - not useabl

Post by xuom2 » 30 Jul 2016 14:28

please, try gba xmdb now
thanks

ssjkakaroto
Posts: 19
Joined: 09 Aug 2008 04:32

Re: DoM P-Clone XMDB of GBA, NES & GBC - Errors - not useabl

Post by ssjkakaroto » 30 Jul 2016 19:51

Almost there xuom ;)

This is what DoM generated:

Code: Select all

<zoned type="deferred">
	<bias zone="E" name="Banjo-Pilot (En,Fr,De,Es,It)"/>
	<bias zone="U" name="Banjo-Pilot"/>
	<clone name="Banjo-Pilot (Europe) (En,Fr,De,Es,It)"/>
	<clone name="Banjo-Pilot (USA)"/>
	<clone name="Banjo-Pilot (Unknown) (Beta)"/>
</zoned>
The countries tags are gone, but it still left the languages tags.

The correct one should be:

Code: Select all

<zoned type="deferred">
	<bias zone="E" name="Banjo-Pilot"/>
	<bias zone="U" name="Banjo-Pilot"/>
	<clone name="Banjo-Pilot (Europe) (En,Fr,De,Es,It)"/>
	<clone name="Banjo-Pilot (USA)"/>
	<clone name="Banjo-Pilot (Unknown) (Beta)"/>
</zoned>

User avatar
xuom2
High Council
Posts: 1077
Joined: 22 May 2008 18:45

Re: DoM P-Clone XMDB of GBA, NES & GBC - Errors - not useabl

Post by xuom2 » 31 Jul 2016 10:54

ok, actual settings:

Bios tag: bias + clone
Directory name: bias + clone
Title: bias + clone
Region: clone only
Languages: clone only
Version: bias + clone
Dev. status: bias + clone
Additional info: bias + clone
Special tag: bias + clone
File item: clone only
Licensed: bias + clone
Pirate: bias + clone
: bias + clone

:?

ssjkakaroto
Posts: 19
Joined: 09 Aug 2008 04:32

Re: DoM P-Clone XMDB of GBA, NES & GBC - Errors - not useabl

Post by ssjkakaroto » 31 Jul 2016 19:46

I think all of those should be "clone only".
Bias doesn't need any tags whatsoever.

The only exception, of course, is games without any clones, which have all tags.

User avatar
xuom2
High Council
Posts: 1077
Joined: 22 May 2008 18:45

Re: DoM P-Clone XMDB of GBA, NES & GBC - Errors - not useabl

Post by xuom2 » 31 Jul 2016 20:55

ssjkakaroto wrote: The only exception, of course, is games without any clones, which have all tags.
I need an example of this

ssjkakaroto
Posts: 19
Joined: 09 Aug 2008 04:32

Re: DoM P-Clone XMDB of GBA, NES & GBC - Errors - not useabl

Post by ssjkakaroto » 31 Jul 2016 21:05

http://datomatic.no-intro.org/?page=sho ... =23&n=0038

Code: Select all

0038 - Army Men Advance (USA, Europe) (En,Fr,De,Es,It).gba
Languages: English, French, German, Spanish, Italian
Publisher: 3DO
Save Type: None
SourceRom: Eurasia
P/C relationship: This is the parent. It has no clones.
The set name will be: Army Men Advance (USA, Europe) (En,Fr,De,Es,It)

If the game has no clones, there's nothing to be done. Just use the regular name without removing any tags.

User avatar
xuom2
High Council
Posts: 1077
Joined: 22 May 2008 18:45

Re: DoM P-Clone XMDB of GBA, NES & GBC - Errors - not useabl

Post by xuom2 » 03 Aug 2016 10:43

I think it works now as expected:

Code: Select all

<zoned type="deferred">
	<bias zone="E" name="007 - Everything or Nothing"/>
	<bias zone="U" name="007 - Everything or Nothing"/>
	<bias zone="J" name="007 - Everything or Nothing"/>
	<clone name="007 - Everything or Nothing (USA, Europe) (En,Fr,De)"/>
	<clone name="007 - Everything or Nothing (Japan)"/>
</zoned>

<zoned type="deferred">
	<bias zone="E" name="007 - NightFire (USA, Europe) (En,Fr,De)"/>
	<bias zone="U" name="007 - NightFire (USA, Europe) (En,Fr,De)"/>
	<clone name="007 - NightFire (USA, Europe) (En,Fr,De)"/>
</zoned>

ssjkakaroto
Posts: 19
Joined: 09 Aug 2008 04:32

Re: DoM P-Clone XMDB of GBA, NES & GBC - Errors - not useabl

Post by ssjkakaroto » 09 Aug 2016 13:32

Sorry for the late reply xuom. But yes, it's working correctly now. Thank you :D

I think you can expand this to the other systems also, as this is how XMDBs in general should work.

User avatar
xuom2
High Council
Posts: 1077
Joined: 22 May 2008 18:45

Re: DoM P-Clone XMDB of GBA, NES & GBC - Errors - not useabl

Post by xuom2 » 09 Aug 2016 14:52

ok, the engine works for any system. cached xmdb files will contain the old data until they are wiped or datfile is updated...
(lazy)

User avatar
xuom2
High Council
Posts: 1077
Joined: 22 May 2008 18:45

Re: DoM P-Clone XMDB of GBA, NES & GBC - Errors - not useabl

Post by xuom2 » 12 Dec 2016 22:08

Today I tried XMDB with "forced" default values for missing parents and regional parents.

Doing this, I saw some particular tags.

Maybe we need to update XMDB settings with:

NDS: Gr (Greece), Fy (Finland)
PSP: Hr (Hungary), Pr (Portugal), Pl (Poland)

The following systems used regional parents were linked to unknown regions:

SMD: Mexico?
PSP: Swiss? Belgium? Croatia?

Post Reply