silar Posted April 21, 2013 Posted April 21, 2013 Since I've been using Hyperspin over the past couple of weeks, one of the things I've noticed that's completely lacking is having a program to automatically check roms against media to make sure that each cart or box art or video, etc matches the Rom name exactly. Are you tired of going file by file and renaming each picture to match your Rom names? Do you have a complete set of artwork but the names do not match the Roms, even though the Roms match the XML? If you run into these problems, then this program is for you. What this program does: * Compares files within a primary and secondary directory and attempts to match the file names of the secondary source to the primary source. * If a match is found, it will automatically rename the secondary source file based on the primary source file. * If multiple matches are found, a list of both the primary and secondary files will be displayed for the user to choose what the secondary file name should be. This is currently a work in progress as I perform testing. Just a little background... I have been a programmer for about 30 years. From basic, to Turbo Pascal, to Delphi, to Visual Basic, to C++, etc.. You get the picture. I was also a cryptanalyst in the Army. I'll update this over the next couple of weeks and will also soon request users to submit to alpha/beta testing... Please be patient as I work out the bugs and ensure the algorithms used work properly. ---------------------------------------------------------------------------------------------------------------------- Update: I decided to change the name of the program to NaEMU (pronounced Nameu - Name & Emulator) Sounded more fitting... I've also attached a screenshot of the program... More to come of course.. Continuing to work out the comparison logic...
relic Posted April 21, 2013 Posted April 21, 2013 sounds like a brilliant idea for a program ill be more then proud to test it for you freind as i to am tired of renaming stuff which dont match 100%
emb Posted April 21, 2013 Posted April 21, 2013 Sounds like a useful tool. I look forward to seeing it. Doesn't HyperSync already take care of this problem? Sent from my iPhone using Tapatalk %5BSIGPIC%5D[/sIGPIC] Download HyperSpin Tools and check out my MAME cabinet
silar Posted April 21, 2013 Author Posted April 21, 2013 Sounds like a useful tool. I look forward to seeing it. Doesn't HyperSync already take care of this problem? Sent from my iPhone using Tapatalk Not at all... Let's say you have a Atari 2600 xml and rom list like what Stupus created. Roms match the xml fine, but when you go to EmuMovies, the boxes, carts, etc don't match, so to use them within Hyperspin, you have to go through file by file renaming those box and cart art pics to match the xml (or get Stupus's matched box art - Thanks for all the hard work Stupus!!!). That's what this program will attempt to do automatically. It won't just be limited to that though. Say you have a xml but you don't have the no-intro roms and want to keep what you have. It will also allow you to take the xml list you have and rename the roms to match (ignoring the CRC), or rename the roms based on artwork names. You can also use an XML to rename artwork files too. How it works: * It will take a source directory or XML and compile a list of the file names. It then compares the naming of each file within the source directory or XML to the secondary or target directory by looking for similar text, characters, etc. If a match is found with enough similarities, it will automatically change the name of the file in the target directory. * If there is not enough similarities between the files, then once it has completed processing, it will pop up another window to allow you to choose between the target and source, what files in the target should be renamed from the source. You can drag the name from the source onto the name in the target, and it'll automatically change it for you. (this is the first part I'm finalizing) * Also, instead of creating a separate backup of the files, or having them rename into another folder, it will store all changes in a small database each time you run it so that if you need to, you'll be able to revert the target names back. This keeps you from having multiple directories of differently named roms, artwork, etc and having to do the whole manual copy and paste to move those that were renamed back into your Rom or Artwork directories. The information is stored with a name you provide, and includes the date it was performed, a listing of the source directory or xml and target directory, etc. There's a check box automatically selected when you start the program called 'Backup Original Configuration' that is on the main interface screen. You'll have the option to de-select it, but not sure why you'd want to. (this is the other part I'm finalizing) One thing I'm also working on is if say the source file name is 'Street Fighter II.png' but the target name it should change is 'SF2.bin' or vice versa. This is the really fun part (sarcasm of course). For me, it seems like such a chore in Hyperspin for certain systems that are not fully supported like the Atari 2600. There's box art, there's cart art, there's screenshots, but there's not a true minted xml/rom set. I'm just using the Atari 2600 as an example. There are others like with Future Pinball, etc.. Unless I'm missing something, I've not been able to find a tool out there that will do this...
silar Posted April 21, 2013 Author Posted April 21, 2013 sounds like a brilliant idea for a program ill be more then proud to test it for you freind as i to am tired of renaming stuff which dont match Will definitely get a hold of you for sure Relic!
silar Posted April 22, 2013 Author Posted April 22, 2013 I decided to change the name to NaEMU. See the original post for updated info.
Jumpstile Posted April 24, 2013 Posted April 24, 2013 Oh, I need this. Please let me assist in testing! Thanks! - J* How to rebuild your MAME ROM set using CLRMAMEPRO - Walkthrough HERE!
silar Posted April 25, 2013 Author Posted April 25, 2013 Will do Jumpstile! Just give me a few days to a week or so to get everything finalized.
Obiwantje Posted April 30, 2013 Posted April 30, 2013 Silar - many thanks for using your talents to try and help fix the #1 problem with HS/EMUmovies - I would LOVE to be a tester of any kind
shinobi68 Posted May 1, 2013 Posted May 1, 2013 Hi Silar, At the moment, I'm using 2 software to manage my roms and artwork: rom2xml to create my own xml and RomManager 1.1c to rename all my stuffs: http://www.emulation-evolved.net/?q=node/17 It's not always very accurate, so I'm very interested in testing your program. Let us know when it will be released!! Thanks.
silar Posted May 3, 2013 Author Posted May 3, 2013 It will be another week or so before I'm ready to make it public for testing. Got a few other projects I'm working on also, so I've not had alot of time over the past week to work on it... When it's ready, I'll post a download link here so that anyone can jump in and try it out.
silar Posted June 8, 2013 Author Posted June 8, 2013 Sorry for the delay in this. My vehicle crapped out and I've been spending all of my spare time over the past month rebuilding the engine. Hopefully I'll be able to get back to this in a few....
Akelarre Posted June 29, 2013 Posted June 29, 2013 Great project! One question, if the program finds multiple roms for the same game (USA, EU and JP versions) and only one art (lets say a wheel or a snapshot), is it possible that the program matches the 3 roms with only one art? Or duplicate the art for each rom? Thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.