Closed humantree closed 1 year ago
Thanks for the report, probably a regression, I'll look into it over the weekend.
Forgot to ask, do you have the cue
file alongside the chd
file? It should be named the same as the chd
file, AFAICT there is no way to extract a chd
file back to split bin
files without the TOC information, so you can't verify a standalone chd
that was originally split.
You probably already know that, but you can get thu cue
files from redump: http://redump.org/cues/psx/
Edit: This is the relevant code: https://github.com/alucryd/oxyromon/blob/ce096d69f320f7de61c6b0360767957518bc89f2/src/import_roms.rs#L599
If it works, you should see a line starting with CUE file found
, and hopefully your CHD will be verified.
@alucryd Ah, my bad, I'd misunderstood that. I thought it was able to use chdman
to determine how to split it, but I see now that there doesn't seem to be a way to do that.
I'll test it out with the cue
files and see how it goes, but I'm sure that will work.
A slightly unrelated question, but not sure where else to ask it, but how can I reset/remove a system from my Oxyromon database? Trying to reset my PlayStation directory so I can load up these to test again. I was hoping I could simple remove the existing files and run check-roms
but that just results in errors.
I'm working on a purge-systems
subcommand that I have yet to commit to develop
, but it's already working quite well for me. In the meantime, the only way to do that with the current stable release would be to remove the files like you did, but run purge-roms -m
to remove missing files from the database.
You're absolutely right though, check-roms
should be able to do the same if the rom is missing, will add that to my todo list.
Okay, I understand now. Because purge-roms
used the option --missing
I wasn't sure if this was going to be targeting the same set that would be output by sort-roms --missing
, which I wouldn't have wanted removed from the database. Might be worth considering a different word for one of those options? (Though maybe I just overthought it.)
But anyway, after purging them and adding the cue
files, these all imported perfectly! Thanks so much for your help, and for this great tool!
Glad I could be of help!
I see how that could be confusing, I think I'll change the sort-roms
flag to --wanted
instead. Thanks for the feedback :)
I've been testing this with PSX images against the Redump DAT.
To show some references from this DAT, here is one that validates correctly, when stores as a CHD:
However this one fails to be matched, as it seems only the first track is being extracted from the CHD before being validated: