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
Lightguns Arcade1Up Try the site in https mode Site News

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

  

Author Topic: Creating a text list of roms available  (Read 4827 times)

0 Members and 1 Guest are viewing this topic.

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Creating a text list of roms available
« on: May 02, 2007, 04:42:46 am »
Does anyone know how I can create a simple .txt list of all my available MAME roms?

I've used a command line function to list my other platform roms in their directories, as the file name is the actual game name (eg. Sonic the Hedgehog.zip), but obviously when I do this with MAME it just gives me the file title which is the shortened 8-letter rom name (eg. astorm2p).

Is there a way (possibly using MAME32's filters or something) to create a simple text list of just my available roms?

Joystick Jerk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 491
  • Last login:June 26, 2024, 05:10:33 pm
  • Slave to the stick.
Re: Creating a text list of roms available
« Reply #1 on: May 02, 2007, 06:42:48 am »
I don't know about standard Mame32, but I use Mame32FX and there is option entitled "Save Current Game List" at the bottom of the File menu.

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1146
  • Last login:May 31, 2025, 10:10:32 pm
Re: Creating a text list of roms available
« Reply #2 on: May 02, 2007, 08:31:41 am »
Is there a way (possibly using MAME32's filters or something) to create a simple text list of just my available roms?


Use romlister.  Very easy to use and it will create a file for you.

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

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Creating a text list of roms available
« Reply #3 on: May 03, 2007, 06:10:21 pm »
Romlister is ok, but all it does is list the available roms in that version of mame, not the roms I actually have on my machine - do you know how to filter it down to do this?

I've tried MAME32fx too, but I need version 0.78b (or the closest to it) for my rom set. Where can I get the older version of it, as the homepage doesn't host the old versions?

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1146
  • Last login:May 31, 2025, 10:10:32 pm
Re: Creating a text list of roms available
« Reply #4 on: May 03, 2007, 10:42:48 pm »
Romlister is ok, but all it does is list the available roms in that version of mame, not the roms I actually have on my machine -

Oops. Sorry about that.  Well while not very elegant, a down and dirty method would be to use romlister to first create a csv file of all rom names and descriptions.  You could then create a text file with just your rom names from the command prompt using
dir /b > roms.txt

You could then pull these two sets of data into either MS Access or Excel and list only the rom descriptions of the roms that you possess.  In other words query the data from the csv file based upon each name in roms.txt using a function to leave off the zip extension such as (in Excel):

LEFT(rom_name,FIND(".",rom_name)-1)

In Excel, you could use a vlookup function to grab the rom description or in Access just a query after importing the files into two separate tables.



Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: Creating a text list of roms available
« Reply #5 on: May 07, 2007, 03:49:29 pm »
My ListGen utility allows this. You set the audit_roms parameter in the listgen.ini to 1, or call listgen with -audit_roms.

I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

Brad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 247
  • Last login:August 03, 2018, 05:43:23 pm
    • www.emuchrist.org
Re: Creating a text list of roms available
« Reply #6 on: May 07, 2007, 09:06:06 pm »
Command prompt anyone?

dir c:\mame\roms c:\ > c:\folderlist.txt   your paths, names will vary

Cheers,
Brad

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: Creating a text list of roms available
« Reply #7 on: May 07, 2007, 09:40:11 pm »
That'll work if there is only one rom path.

Or you could do a dir path1 > list1.txt, dir path2 > list2.txt, then do copy list*.txt temp.txt followed by type temp.txt | sort > sort.txt.


I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!