[mythtv] [PATCH] MythGame subdirectories for roms

Dan Morphis dan at milkcarton.com
Thu Feb 19 02:55:19 EST 2004


This patch adds the ability for roms to exist in subdirectories by 
system type.  Example, I have ~/roms/neogeo, ~/roms/pc10, 
~/roms/standard.  Before this patch, I had to pick between which dir 
(~/roms/standard usually won), rescan, play.  Now, you can set your Mame 
Roms Location to ~/roms, and all sub dirs within it (1 level deep only 
right now) will be searched for roms.  There are a few things broken, 
and a few things that could be optimized.  I do not think this is commit 
ready yet.  I'm hoping to get this out, and get feedback.

Things that are broke:
    * When scanning, the progress bar is only updated for the first dir 
scanned.  Haven't had time to delve into this.

The bulk of this patch is the 300-400 or so lines that got indented.  
One column in the db got added, "alter table mamemetadata add column 
rom_path varchar(128);"  You'll need to run that manually as I haven't 
added that to the db check code (yet).  After applying this patch, 
you'll need to re-scan your games in setup.  Any comments or feedback 
would be appriciated.

-dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mame_directories_patch.tar.bz2
Type: application/octet-stream
Size: 5286 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040218/8b6c4141/mame_directories_patch.tar.obj


More information about the mythtv-dev mailing list