1g1r-romset-generator icon indicating copy to clipboard operation
1g1r-romset-generator copied to clipboard

Feature Request

Open kaichou123 opened this issue 4 years ago • 5 comments

Hello,

I've been working on a python project as I have time, but it's slow going, when I ran across your script. You're script is so much farther along and does a lot of what I'd like to do. Do you think you could add MD5 hash verification and missing roms to your scripts? I can share what I've created thus far, it is a hack'n'slash script, but you are welcome to glean whatever you want from it.

-Create a missing ROMs list, and maybe something to help me rename the roms I have appropriately. Still trying to figure out how to handle the different versions of files. -Verify the MD5/CRC32 Hash and compare it to the info from No-Intro DATs -Filter out Beta/proto and various other keywords to create a rom-set


From Andre Brait


My script already checks file hashes using SHA-1 and it's already capable of handling renaming and generating a list of missing ROMs, though I don't exactly document it.

In order to do that, just get a "Standard DAT" on DAT-O-Matic, instead of a "Parent/Clone XML" DAT. Use it with the tool and it will:

  • Scan your ROMs and check if they match some of the ROMs from the DAT using SHA-1 (which is the most reliable method so far, though I'll add MD5 and size+CRC32 on v2.0)
  • Rename (if you choose to move them), or copy with the new name, the files that matched.
  • Generate a file called "generate.log" in the script's folder letting you know what was missing (when used with a Parent/Clone XML DAT, this serves a different function, but with a Standard DAT, it'll be the same as a missing files list).

This is all going to work a lot better on v2.0 ;-)

Thanks for the email and I would like to see your tool if you want. Maybe there's something I can use :-)

kaichou123 avatar May 18 '20 16:05 kaichou123

Thank you! I'll repost on the issues page.

Thats great! Why didn't I think of using that to identify the file? I've been basing it on names, but you totally should use the hash.

-I got to the point where my script fully works on non-zipped files. I started to work on figuring out the best way to deal with zipped, 7zip, winrar files. Didn't get very far.
-win32gui to give me a directory and file selector. Though I started to look at Python GUI's. -I went down a different road than the .dat file. It's been a few months since I worked with these files, but I seem to recall that they used to have an option to download everything as a CSV file. So I had used that since I was more familiar with it. However i can't find where to download the csv files anymore. -I did a lot of fighting on figuring out how to get things in the right format for comparing things. Lists vs generator vs dictionary vs who knows what else. So far that's been the biggest bane of my existence since different libraries output to different types. Thus my noviceness.

If you have any questions on how my script works, let me know.

kaichou123 avatar May 18 '20 16:05 kaichou123

I am running into a little issue. The generate.log that is created never has any content. It is always 0 bytes in size. How can I fix that? Also is 2.0 still in progress?

ghost avatar May 30 '21 07:05 ghost

Hey there,

Technically, 2.0 is not being developed because I moved to making a new tool from scratch. But whatever issues this one has will be solved on the new one, which is nearly complete already.

And that's very odd. Do you see logs being printed to the screen, though?

Andre Brait

On Sun, May 30, 2021, 09:05 kephreN7 @.***> wrote:

I am running into a little issue. The generate.log that is created never has any content. It is always 0 bytes in size. How can I fix that? Also is 2.0 still in progress?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andrebrait/1g1r-romset-generator/issues/26#issuecomment-850953491, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLX5OX72BDA2ON7OQT7Q2TTQHPVBANCNFSM4NEHOOOA .

andrebrait avatar May 30 '21 12:05 andrebrait

It shows me what roms are found and copied however it does not show me what is missing...

ghost avatar May 30 '21 15:05 ghost

What options are you using on the command line? André Brait

On Sun, May 30, 2021 at 5:17 PM kephreN7 @.***> wrote:

It shows me what roms are found and copied however it does not show me what is missing...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/andrebrait/1g1r-romset-generator/issues/26#issuecomment-851015921, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLX5OTP5XGHUDHQ33CYJKLTQJJJXANCNFSM4NEHOOOA .

andrebrait avatar Jun 08 '21 14:06 andrebrait