Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

*View All Threads*Show in Threaded Mode


Subjectcreating dat files. new Reply to this message
Posted byjelwell
Posted on04/04/05 04:08 PM



I'm trying to create a dat file from my mame build so that I can write some perl scripts to glean some information from the dat file.

If i run "mame32 -listxml" in the command line I get nothing. However ClrMamePro imports the information just fine using the internal MAME support. The alert window that pops up right before it starts importing even has the command line information listed as "c:/program files/mame32/mame32 -listxml".

I'm wondering if I can extract the full dat from clrmamepro. I tried opening the dat file in the clrmamepro folder but it's practically empty. The cache directory didn't seem meaningful either.

I tried downloading a mame d9 dat from logiqx's website but, sadly, that did not contain input lines. Which is what I'm trying to script against.
Joseph Elwell.




SubjectRe: creating dat files. Reply to this message
Posted byRoman
Posted on04/04/05 04:19 PM



> If i run "mame32 -listxml" in the command line I get nothing.

you have to redirect the output to a file and you have to wait a while. The prompt is directly back but the redirected file is still being filled.



> I'm wondering if I can extract the full dat from clrmamepro.

You can export the cleaned version of the datfile with settings->export. But you don't need it since redirecting the xml output (or piping it through xml2info) works fine.

Roman Scherzer
ClrMamePro


View All Threads*Show in Threaded Mode