Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news


  

Author Topic: romlister MaLa gamelist xml example  (Read 1598 times)

0 Members and 1 Guest are viewing this topic.

bmanbdaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • I want to build my own arcade controls!
romlister MaLa gamelist xml example
« on: March 27, 2016, 09:29:59 am »
I have been toying with updating all my default (directory based) lists to have more gaming content (manufacturer, year, genre, button info) for the alternate (non-Mame) emulation. I have been using romlister to convert my xml to MaLa gamelist format and thought others may benefit from my default template. Let me know if anyone figured out a better way to make these gamelists than resorting to creating them from scratch.

Code: [Select]
<?xml version="1.0"?>
<!-- ROMDir2XML generated by ROMLister       -->
<!-- issues
broken
buttons= - anything over 2   
control type= - any value
input_players= - not showing number value
need
FRomPath - use for implicit paths
FExtension - use for alternate ext
values
nplayers      if blank, use next 2 options
alternating   0 = sim ; 1 = alt
input_players # = num of players
rotate        90,270 = vertical ; other = horizontal
-->
<romdir2xml>
<game name="GAMENAME" index="TRUE" image="0" romof="ROMOF" cloneof="CLONEOF" sourcefile="SOURCE">
<description>DESCRIPTION</description>
<year>1999</year>
<manufacturer>MANUFACTURER</manufacturer>
<category>GENRE</category>
<player buttons="2" coins="0"/>
<nplayers>1P Alt</nplayers>
<controls alternating="1" input_players="1"/>
<display type="RASTER" rotate="0" width="640" height="512"/>
<driver status="good" emulation="good" color="good" sound="good" graphic="good"/>
<control name="Kbd/Mouse/Joy"/>
<label name="P1_JOYSTICK_UP" value="Up"/>
<label name="P1_JOYSTICK_DOWN" value="Down"/>
<label name="P1_JOYSTICK_LEFT" value="Left"/>
<label name="P1_JOYSTICK_RIGHT" value="Right"/>
<label name="P1_BUTTON1" value="B 1"/>
<label name="P1_BUTTON2" value="B 2"/>
<label name="P1_BUTTON3" value="B 3"/>
<label name="P1_BUTTON4" value="B 4"/>
<label name="P1_BUTTON5" value="B 5"/>
<label name="P1_BUTTON6" value="B 6"/>
<label name="P1_BUTTON7" value="B 7"/>
<label name="P1_BUTTON8" value="B 8"/>
</game>
</romdir2xml>

NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • I stole my avatar.
    • winterMAME
Re: romlister MaLa gamelist xml example
« Reply #1 on: March 31, 2016, 09:07:38 pm »
I'm not sure if this is helpful or not, but it appears that romlister can use XML files from other projects, some of which may have the data you're looking for.
I found one for intellivision for example that looks like this:

Code: [Select]
<?xml version="1.0"?>
<datafile>
    <header>
        <name>ProjectMESS export file</name>
        <description>ProjectMESS export file</description>
    </header>
    <game name="4tris">
        <description>4-Tris (Download Version)</description>
        <year>2000</year>
        <manufacturer>IntelligentVision</manufacturer>
        <rom name="4-tris.50" size="16384" crc="b91488e2"
sha1="d3d1ea456991a5dd71804f62f59e88debd9cd86f" />
    </game>

I was able to use it as the main input and then output a full games list to Mala.
I did not attempt (yet) to load the list into mala, but we could definitely make it work if this is useful.
If you find any kind of raw XML input, like some of the hyperspin XMLs for other systems that do not work, let me know and I'll see what I can do.


-----------
FWIW, I just added a Mala list to XML converter to romlister which has been really lightly tested.
I would love it if a few others might give it a shot to see if it work for them and report back.  I don't want to derail your thread though. (sorry!)

http://www.waste.org/~winkles/ROMLister/RomLister32.zip

1. Run the program. Go to settings/Tools
2. Have a full merged XML file as your input file.
3. Click the Mala2XML button at the bottom.
4. Browse to *.mlg list
5. Enter new XML filename
6. New XML file should now have only roms from mala gamelist
7. romlister will set this new XML file as your main input XML.
8. On the main romlister screen, press "List all roms"
9. Select all roms in that list popup and right-click->add to my list
10. Output this new list as attract mode or any other front end you wish!

bmanbdaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • I want to build my own arcade controls!
Re: romlister MaLa gamelist xml example
« Reply #2 on: April 02, 2016, 08:05:18 pm »
I'm not sure if this is helpful or not, but it appears that romlister can use XML files from other projects, some of which may have the data you're looking for.
Yes, I have done just that with some Hyperlist files. The reason I posted the xml is because your tool uses slightly different settings (i.e. category<->genre) when I adapt it for using in RL, and others which are sometimes needed (path, ext), and some which appear broken.

I don't mind if you hijack this thread because it's your tool that allows me to do this work. I tested the conversion with some files and have some observation.

Your import only allows opening mlg files. Other emulators when added into mala use a .ml# based on the order they were added by default. The order is saved in mala.mle.
« Last Edit: April 02, 2016, 11:21:53 pm by bmanbdaman »

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31