Question for logiqx

Get help with running Romcenter 3 here. Please do not post roms requests or illegal links, posts will be deleted.

Moderator: Wanderer

Forum rules
No roms requests or illegal links
denzilla

Question for logiqx

Post by denzilla »

I haven't been able to generate a MAME datfile with romcenter. It says that the datfile was created, but when I load it, it just shows puckman and the dat file is barely 5kb in size. I'm running 2.70b2 with the newest datutility. Any ideas? 84u2 and u3 are the ones I've attempted so far. Uninstalled/re-installed, deleted the cache, etc.
User avatar
Logiqx
Puzzle bobble
Puzzle bobble
Posts: 129
Joined: Sun Sep 30, 2001 10:50 am
Contact:

Post by Logiqx »

Sorry but I have no idea. It's going to boil down to the XML being bad I think. Did you compile MAME yourself or download it? If compiling yourself, make sure that you do a clean compile first (either using 'make clean' or deleting the 'obj' directory).

If that doesn't work, see what xml2info does outside of RomCenter:

mame -listxml >listinfo.xml
xml2info <listinfo.xml >listinfo.txt
Does only puckman show up in listinfo.txt?

If not, then run this next:

datutil -f romcenter listinfo.xml
How many games does it say that it loaded?

How about this:

datutil -f romcenter listinfo.txt
How many games does it say that it loaded?
denzilla

Post by denzilla »

it appears as though the xml2info.exe is corrupt. I've compiled 3 times with fresh Mingw packages (from M32FX site) and dlownloaded fresh sources. It just simply won't output a Dat at all.
User avatar
Logiqx
Puzzle bobble
Puzzle bobble
Posts: 129
Joined: Sun Sep 30, 2001 10:50 am
Contact:

Post by Logiqx »

denzilla wrote:it appears as though the xml2info.exe is corrupt. I've compiled 3 times with fresh Mingw packages (from M32FX site) and dlownloaded fresh sources. It just simply won't output a Dat at all.
You misunderstood me, it isn't xml2info.exe that will be corrupt. It will be the -listxml output that is bad! What size is the XML in the test above? Not zero bytes I hope. ;)

Why are you compiling it yourself and not just downloading the executable? I've just downloaded 84u3 from their site and it works fine. If you have compiled previous versions of the emulator then for some reason it may not be generating valid XML now (I know people that have had this problem). It was always because they didn't clean up properly prior to compiling a new version of MAME.

Try downloading the M32FX executable and see what happens. If that works, take yourself over to the compiling board at MAMEWorld and ask what you might be doing wrong when compiling.
denzilla

Post by denzilla »

I compile my own version for 2 reasons:

1. To add back the 2001 Neogeo games (kof2001 - mslug4)
2. I hate the icon set included in the standard MAME32 source. I replace them with MAME32Plus icon set.

The filesize of the xml2info file is 132KB. I was thinking it might be the mingw package I got from Mamesick's site.

I don't like the mame.net forums. They enjoy cutting down, and flamming a little too much over there. You get you head bit off because you asked a simple question. God forbid someone else asked it before.!
denzilla

Post by denzilla »

Hey, you're new datutility allowed me to create a working datfile. Thanks :)
User avatar
Logiqx
Puzzle bobble
Puzzle bobble
Posts: 129
Joined: Sun Sep 30, 2001 10:50 am
Contact:

Post by Logiqx »

denzilla wrote:The filesize of the xml2info file is 132KB
Why does the size of exe matter? I was asking about the size of the XML and wanted to be sure that it was a file of many MB rather than an empty/incomplete file.

Anyway, it doesn't matter now because my XML parser is not strict like xml2info is and appears to work for you (since it does not check for badly formed XML or XML not adhering to the document schema). Anyway, it would definitely have been your XML that was bad, despite the fact that you seemed to be focusing all of your attention on xml2info. ;)
denzilla

Post by denzilla »

I got xml2info stuck in my head, sorry. I suck with DOS command style structures and admit it freely. I tried running the commands you mentioned above, but it just sat there, doing nothing. Just a blinking curser. Guess you wondering how the hell I learned to compile MAME, huh? Anyway, thanks for your help.
Locked