|
Joined: Feb 2004
Posts: 270
Senior Member
|
OP
Senior Member
Joined: Feb 2004
Posts: 270 |
Any possibility of a MacMAME widget and Spotlight Plug-in in the future?
I'd have a crack at a Widget myself, but don't have a copy of Tiger (yet) nor access to the Dashboard SDK from ADC.
|
|
|
|
Joined: Apr 2001
Posts: 45
Member
|
Member
Joined: Apr 2001
Posts: 45 |
What would a spotlight plugin do? What would the Dashboard widget do - something like the Konfabulator deal ?
|
|
|
|
Joined: Jul 2000
Posts: 497
MacMAME Author
|
MacMAME Author
Joined: Jul 2000
Posts: 497 |
Originally posted by shortstop: What would a spotlight plugin do? I had a vision of a Spotlight plug-in which searches zip files and associates them with the MAME "long name", so you could type in "Pac-Man" and get pacman.zip or something similar.
|
|
|
|
Joined: Feb 2004
Posts: 270
Senior Member
|
OP
Senior Member
Joined: Feb 2004
Posts: 270 |
Originally posted by Brad Oliver: Originally posted by shortstop: [b] What would a spotlight plugin do? I had a vision of a Spotlight plug-in which searches zip files and associates them with the MAME "long name", so you could type in "Pac-Man" and get pacman.zip or something similar. [/b]Sounds like a compelling "vision". 
|
|
|
|
Joined: Sep 2000
Posts: 286
Senior Member
|
Senior Member
Joined: Sep 2000
Posts: 286 |
Originally posted by Brad Oliver: so you could type in "Pac-Man" and get pacman.zip or something similar. You mean "puckman.zip" right ? There's no such thing as "pacman.zip" if your Rom's collection is fully merged. 
|
|
|
|
Joined: Jul 2000
Posts: 497
MacMAME Author
|
MacMAME Author
Joined: Jul 2000
Posts: 497 |
Originally posted by Marc Mame: Originally posted by Brad Oliver: [b]so you could type in "Pac-Man" and get pacman.zip or something similar. You mean "puckman.zip" right ? There's no such thing as "pacman.zip" if your Rom's collection is fully merged. [/b]Mine is not.  But yes - presumably you'd get a list of relevant zip files, merged or not.
|
|
|
|
Joined: Sep 2004
Posts: 26
Member
|
Member
Joined: Sep 2004
Posts: 26 |
Hmm... audit via spotlight? type in MAME 0.92 and get a list of zips that contain all the files needed? -should be possible, although it would be a heavy undertaking.
|
|
|
|
Joined: Jul 2000
Posts: 497
MacMAME Author
|
MacMAME Author
Joined: Jul 2000
Posts: 497 |
Originally posted by Em Adespoton: Hmm... audit via spotlight? type in MAME 0.92 and get a list of zips that contain all the files needed? -should be possible, although it would be a heavy undertaking. I'm not really thinking about audits (that would be a bit brutal), just a correlation between zip name and MacMAME descriptive name.
|
|
|
|
Joined: May 2005
Posts: 46
Junior Member
|
Junior Member
Joined: May 2005
Posts: 46 |
It wouldn't be hard to do... at least I don't think it would be.
The mdimport function is very powerful, and I don't think it would be hard to tweak things around to be spotlight-friendly. The easiest way would be to tackle on a new extension, for example. .mame onto the end of every folder/zip. But, this is a bit draconian, as while it would allow the game to open directly in MAME, would break MAME naming conventions.
An easier way would be to search by checksum and simply log in the mdimporter plugin every MAME game, and sync it with each release. Then, have MacMAME go in and change the filetype/creator on every MAME zip so that when you click on it in Spotlight, it bypasses OS X's BOM unzip tool and opens directly.
What? You want me to do it? Sorry, I just do the theory, someone else has to code it...
|
|
|
|
Joined: Nov 2000
Posts: 55
Member
|
Member
Joined: Nov 2000
Posts: 55 |
Originally posted by Brad Oliver: I'm not really thinking about audits (that would be a bit brutal), just a correlation between zip name and MacMAME descriptive name. Forgive the naivete (especially from someone who hasn't actually installed Tiger yet), but doesn't Spotlight just index metadata contained within the files on the disk? So in order for Spotlight to (know how to) index a rom zipfile we'd need a Spotlight importer, but wouldn't the zipfiles also have to already contain the metadata associating it with the MAME descriptive name? Not that it couldn't be done, but it seems like it would require adding metadata to the ROM files somehow. PtR
|
|
|
|
Joined: Jul 2000
Posts: 497
MacMAME Author
|
MacMAME Author
Joined: Jul 2000
Posts: 497 |
Originally posted by Promo The Robot: So in order for Spotlight to (know how to) index a rom zipfile we'd need a Spotlight importer, but wouldn't the zipfiles also have to already contain the metadata associating it with the MAME descriptive name? They do, in the form of CRCs and directory entries with the filenames. The proposed MacMAME spotlight plugin would have to take that data and mix it with its own current database to get something useful to Spotlight. That last bit would be pretty hacky, I think.
|
|
|
|
Joined: May 2005
Posts: 46
Junior Member
|
Junior Member
Joined: May 2005
Posts: 46 |
Originally posted by Brad Oliver: Originally posted by Promo The Robot: [b]So in order for Spotlight to (know how to) index a rom zipfile we'd need a Spotlight importer, but wouldn't the zipfiles also have to already contain the metadata associating it with the MAME descriptive name? They do, in the form of CRCs and directory entries with the filenames. The proposed MacMAME spotlight plugin would have to take that data and mix it with its own current database to get something useful to Spotlight. That last bit would be pretty hacky, I think. [/b]Yeah, Spotlight is designed to target meta-data, not CRCs, but, the end result is really what counts, and since MacMAME is dealing with known quantities (zipped ROMs), it's just a matter of cross-refencing. Heck, if you wanted to get lazy, you could just do it by filename and file size. Cross-reference those two, have MacMAME, do the filetype change, and it should work every time. Then you would be using pure metadata and not even have to go into CRC...
|
|
|
4 members (Vas Crabb, AJR, 2 invisible),
29
guests, and
3
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics8,853
Posts116,510
Members4,927
|
Most Online890 Jan 17th, 2020
|
|
|
|