Author Topic: MAME/MESS XML and include files  (Read 11767 times)

Picapika

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: MAME/MESS XML and include files
« Reply #45 on: February 10, 2020, 07:14:45 PM »
Hello, how are you?.

I'm a happy RetroFE user since 2018.

I have just a little question:
Usually I update MAME in my cabinet once a year.
Sometimes the XMLs for the current version are not avalaible. So I must wait for the next release until XMLs are avalaible.
Can you share any tutorial to create these XMLs myself?.
I have a menu of MAME arcade games separated by categories, using the provided XMLs here.
It would be great if I can create those files if are not avalaible for the MAME version avalaible at that time.

Thanks in advance ;)-

Agent47

  • Global Moderator
  • Full Member
  • *****
  • Posts: 132
  • Karma: +4/-1
    • View Profile
Re: MAME/MESS XML and include files
« Reply #46 on: February 10, 2020, 08:31:04 PM »
There should be a code folder in the xml download

Picapika

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: MAME/MESS XML and include files
« Reply #47 on: February 11, 2020, 11:39:50 PM »
There should be a code folder in the xml download

Thanks a lot, Agent47 ;).

What software should I use to generate the xml lists with "create_mame_xml.cpp" inside that folder?.
Another thing I forgot to mention is the need to generate the "include" txt files.
Maybe using "RomLister"?.

Regards.
« Last Edit: February 11, 2020, 11:44:38 PM by Picapika »

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1190
  • Karma: +19/-0
    • View Profile
    • Towel 42
Re: MAME/MESS XML and include files
« Reply #48 on: February 12, 2020, 04:36:48 PM »
The .cpp file is a C++ code file. You need to compile it in order to get an executable that you can run. If you've never done that before, it might be a bit tricky. I generate these files twice a year now, and the last version of the XML is usually pretty compatible with the latest version of MAME; there's not a lot of changes in the arcade department these days.

Picapika

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: MAME/MESS XML and include files
« Reply #49 on: February 12, 2020, 04:57:48 PM »
The .cpp file is a C++ code file. You need to compile it in order to get an executable that you can run. If you've never done that before, it might be a bit tricky. I generate these files twice a year now, and the last version of the XML is usually pretty compatible with the latest version of MAME; there's not a lot of changes in the arcade department these days.

Thanks a lot, Pieter ;).

So if I compile the cpp file will I be able to generate the "include.txt" files?.

I understand, if the last version of the xmls will be compatible maybe I'll just wait for next release when I'll update Mame again.

Just wanted to know how to generate the xmls and include.txt files because I'm a bit meticulous :P.

Regards.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1190
  • Karma: +19/-0
    • View Profile
    • Towel 42
Re: MAME/MESS XML and include files
« Reply #50 on: February 13, 2020, 07:08:34 PM »
No, sorry. The include files are created by a Linux script that extracts the name field from each xml file. Perhaps I should expand my program to output that as well.

Picapika

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: MAME/MESS XML and include files
« Reply #51 on: February 13, 2020, 07:45:06 PM »
No, sorry. The include files are created by a Linux script that extracts the name field from each xml file. Perhaps I should expand my program to output that as well.

No problem, Pieter. Thanks again.
It would be great to have the program with full capability.
I'll follow your advice and use the latest version avalaible at that time.
Have a nice weekend.
Regards ;).