Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
Created RomCenter Datfile for v0.102? #1559
11/16/05 06:38 PM
11/16/05 06:38 PM
Joined: Aug 2001
Posts: 21
Lleida, SPAIN
N
Neville Offline OP
Member
Neville  Offline OP
Member
N
Joined: Aug 2001
Posts: 21
Lleida, SPAIN
I use to create my own MAME / MESS datfiles for RomCenter, using the following BAT file:

@echo off
mess.exe -listxml >listinfo.xml
echo.
pause
echo.
datutil -f romcenter2 listinfo.xml

However, turns out that something has changed in the latest version available, v0.102, and the second instruction, the one concerning datutil, no longer works, although I'm using its latest release.

It's not a problem for Mame, because all I have to do is wait for Logiqx's dat, but I'd like to know the new datutil command so I can create a Mess datfile. Thank you.


I'm changing. I'm no longer trapped. Not by Cortman, not by me. I have hope. (pause)
I was born in Des Moines, Iowa in 1960. I had a wife Ellen and a daughter Grace. My name is Robert Neville. I am legend.
Re: Created RomCenter Datfile for v0.102? #1560
11/16/05 07:02 PM
11/16/05 07:02 PM
Joined: Sep 2001
Posts: 534
F
Firewave Offline
Senior Member
Firewave  Offline
Senior Member
F
Joined: Sep 2001
Posts: 534
Does it output an error? Bletch added <ramoption> nodes to the output format, maybe datutil can't handle those properly.

Re: Created RomCenter Datfile for v0.102? #1561
11/16/05 09:38 PM
11/16/05 09:38 PM
Joined: Nov 1999
Posts: 627
Lexington, MA
B
Bletch Offline

Senior Member
Bletch  Offline

Senior Member
B
Joined: Nov 1999
Posts: 627
Lexington, MA
Maybe I screwed up the DTD? I did not add corresponding nodes there.

Sounds like a good idea for a consistency check. I'll have to check to see if expat can validate this stuff.

Re: Created RomCenter Datfile for v0.102? #1562
11/16/05 10:06 PM
11/16/05 10:06 PM
Joined: Sep 2001
Posts: 534
F
Firewave Offline
Senior Member
Firewave  Offline
Senior Member
F
Joined: Sep 2001
Posts: 534
You screwed up the DTD, because you didn't add the node sthere - dang!
It's already in the makefile as "check" target, but you need xmllint from libxml2 to run it. I could add a DTD validation check in mame_regtest by loading it with DTD validation enabled first and report the errors. Not sure, if it's really necessary.

Re: Created RomCenter Datfile for v0.102? #1563
11/17/05 01:43 AM
11/17/05 01:43 AM
Joined: Aug 2001
Posts: 21
Lleida, SPAIN
N
Neville Offline OP
Member
Neville  Offline OP
Member
N
Joined: Aug 2001
Posts: 21
Lleida, SPAIN
Errr... I can't understand anything you're saying here, people. XD

OK, so I have to assume tha the batch file is alright as it is but the latest MAME / Mess releases have some kind of bug concerning dat generation?


I'm changing. I'm no longer trapped. Not by Cortman, not by me. I have hope. (pause)
I was born in Des Moines, Iowa in 1960. I had a wife Ellen and a daughter Grace. My name is Robert Neville. I am legend.
Re: Created RomCenter Datfile for v0.102? #1564
11/17/05 04:42 AM
11/17/05 04:42 AM
Joined: Apr 2004
Posts: 1,554
J
judge Offline
Very Senior Member
judge  Offline
Very Senior Member
J
Joined: Apr 2004
Posts: 1,554
Why not use a simple xslt to generate datfiles?

Re: Created RomCenter Datfile for v0.102? #1565
11/17/05 02:22 PM
11/17/05 02:22 PM
Joined: Aug 2001
Posts: 21
Lleida, SPAIN
N
Neville Offline OP
Member
Neville  Offline OP
Member
N
Joined: Aug 2001
Posts: 21
Lleida, SPAIN
If that's not too complicated, I guess I could. Problem is I'm not familiarised with other dat generation systems other than the one I mentioned, via DatUtil.

So, yes, xslt is an option, but I'm afraid I'll need some more guidance in order to follow that path.


I'm changing. I'm no longer trapped. Not by Cortman, not by me. I have hope. (pause)
I was born in Des Moines, Iowa in 1960. I had a wife Ellen and a daughter Grace. My name is Robert Neville. I am legend.
Re: Created RomCenter Datfile for v0.102? #1566
11/17/05 10:04 PM
11/17/05 10:04 PM
Joined: Dec 1999
Posts: 1,170
Vancouver Island, BC, Canada
J
Justin Offline
Very Senior Member
Justin  Offline
Very Senior Member
J
Joined: Dec 1999
Posts: 1,170
Vancouver Island, BC, Canada
I think that was more directed towards whoever maintains datutil.

Re: Created RomCenter Datfile for v0.102? #1567
11/17/05 10:50 PM
11/17/05 10:50 PM
Joined: Sep 2001
Posts: 534
F
Firewave Offline
Senior Member
Firewave  Offline
Senior Member
F
Joined: Sep 2001
Posts: 534
Quote:
Originally posted by Justin:
I think that was more directed towards whoever maintains datutil.
Logiqx maintains datutil and datlib.

Re: Created RomCenter Datfile for v0.102? #1568
11/18/05 12:01 AM
11/18/05 12:01 AM
Joined: Aug 2001
Posts: 21
Lleida, SPAIN
N
Neville Offline OP
Member
Neville  Offline OP
Member
N
Joined: Aug 2001
Posts: 21
Lleida, SPAIN
Then he must know by now that his latest DatUtil is buggy, since he always updates his datfiles with every new Mame release.


I'm changing. I'm no longer trapped. Not by Cortman, not by me. I have hope. (pause)
I was born in Des Moines, Iowa in 1960. I had a wife Ellen and a daughter Grace. My name is Robert Neville. I am legend.
Page 1 of 2 1 2

Who's Online Now
3 registered members (Reznor007, 2 invisible), 115 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,606
Posts112,515
Members4,827
Most Online296
Dec 5th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.070s Queries: 14 (0.029s) Memory: 5.7158 MB (Peak: 5.9273 MB) Zlib enabled. Server Time: 2018-12-15 13:28:21 UTC