Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Turnarcades on May 02, 2007, 04:42:46 am

Title: Creating a text list of roms available
Post by: Turnarcades 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?
Title: Re: Creating a text list of roms available
Post by: Joystick Jerk 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.
Title: Re: Creating a text list of roms available
Post by: SGT 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/
Title: Re: Creating a text list of roms available
Post by: Turnarcades 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?
Title: Re: Creating a text list of roms available
Post by: SGT 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.


Title: Re: Creating a text list of roms available
Post by: Buddabing on May 07, 2007, 03:49:29 pm
My ListGen (http://cpmaker.mameprojects.com/files/LISTGEN.ZIP) utility allows this. You set the audit_roms parameter in the listgen.ini to 1, or call listgen with -audit_roms.

Title: Re: Creating a text list of roms available
Post by: Brad 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
Title: Re: Creating a text list of roms available
Post by: Buddabing 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.