Main > Software Forum

Creating a text list of roms available

(1/2) > >>

Turnarcades:
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:
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:

--- Quote from: samshaw946 on May 02, 2007, 04:42:46 am ---Is there a way (possibly using MAME32's filters or something) to create a simple text list of just my available roms?

--- End quote ---


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

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

Turnarcades:
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:

--- Quote from: samshaw946 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 -
--- End quote ---

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.


Navigation

[0] Message Index

[#] Next page

Go to full version