QUOTE(Bomb Bloke @ May 28 2010, 12:24 AM)

Sooner or later I'll find a simple referrence document that can be used to automatically deal with MAME naming. Or have one shown to me. Wink wink.

BombBloke,
I think this can work for you...
http://mindcaster.tr...me/gamelist.txtMaybe it is easy to turn it to something like (filtering the unnecessary info)
#Real Game Name1@romname1;
#Real Game Name2@romname2;
#Real Game Name3@romname3;
...
and use it on the Shortcut Creator.
What do you think?
What else do you need?
I am like a open door to help on this.
Another suggestion regarding MAME:
In my case I have a large collection of flyers. This is easy to get around, there are many compilation of flyers available on the internet. Since MAME rom names and flyers are 100% compatible to each other due to the internal mame naming system, Shortcut creator is a guaranteed success --- but now comes the tricky part.
To have the directory with the shortcuts to be image-cached on XBMC we need TBN files, correct? At the moment those TBN need to be manually created somewhere else, or then the user should just point to the original PNG files (since they are all gathered together on a same directory [like F:/icons]) and keep the things UN-CACHED. So my idea is:
- The user runs
GenerateDirectoryListing.py on the ROM list
- The user obtains the
listing.txt- The user copy the
listing.txt to inside the
flyers-or-screenshots directory
- The the user runs a new .py file - something like:
GenerateTBNfromListing.py - and this script creates a new folder and make a copy with only the necessary image files (pointed by the listing.txt) with extension renamed to thumb.
Bingo! Now we have shortcuts with TBN for MAME flyers (or even shots) without the need of manually picking a flyer for each game and renaming to TBN. And also, this avoids the user to have the full 3000 flyers directory duplicated inside the Xbox with 3000 images renamed to thumb.
If you are out of time (or have no interest on this) I will bulk-rename all my 3000 flyers to TBN, create the shortcuts again, run the XBMC, and - after all files have been cached - I will rename the TBNs back to PNGs.
=D Easy move too.
Maybe it will be easier to to that than to bother you, ha ha...
=D
And one final point - I am no big fan of having cuts using the screenshot of a game, but yesterday I was curious to try with some Xport Emulators... however, I can't proceed due to Xports screenshots directory format.
How complex it to modify the script (or add a Xport parameter on the Config) to, at the moment of pointing to the shots dir, having a extra addendum with the game name (that cames from listing.txt) as a subdirectory in the screenshots path? I do basic PHP... and with some extra time maybe I could modify the java by myself (maybe maybe maybe maybe), but for sure this is much more simpler for you.
Thanks again, man.
And don't need to worry much about this.
Its only ideas.
Cospefogo.