New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PCE CD, Sega/Mega-CD and Saturn Games will not scanned correctly #423
Comments
The scanner in lakka and in Windows has not been detecting Redump validated Sega CDs for me either. |
There's a few discussions about this:
We have a serial scanning method, which detects the serial key from an ISO file, which is faster then finding the CRC value. The problem is that once it finds that it's an ISO, it ignores the CRC detection: We need to figure out a way to have it fallback from when the serial doesn't match. |
Am I understanding this (finally)? In the past I haven't been able to quite suss out the issue. Situation: There there are no Redump serials for these systems, only CRCs that match Redump cue/bins Edit: I'm not sure I've got Step 1 correct. I don't know this code yet, but there must be a way to find the end of the code path for the serial scanning process and add a function call to the CRC scanner? |
I fixed the magic number detection for PCE-CD. But it looks like the game serial is not in the ISO! |
I have this issue too, why not just use crc32 on the iso/bin for now, it will be slower but only if you update the playlist every launch. |
Saturn cue/iso conversions have this problem too. This is troublesome because these conversions are used for hacks (to keep distribution size down by stripping error correction data), so they don't usually have crcs in dat files. For more details see here: I believe the issue explains what is actually happening with the isos (i haven't really debugged). They simply get ignored in the scan because the header signature is different when a cue/bin gets turned into a iso. A bit of padding gets removed, the header starts immediately at offset zero, then it doesn't get assigned a machine. This doesn't explain why all the other files, which aren't cue/isos, but cue/bin are not being accepted though. |
I'm hitting this issue with PC Engine CD cue/bin files. RetroArch refuses to recognize them when scanning, yet I can manually launch them just fine using the Beetle/Mednafen core. This is on a GPD XD Android 4.4.4 handheld console. This is super annoying; please prioritize fixing it. |
Is this fixed? I still can't detect mostly of my sega cd redump collection, some games from saturn and turbografx-cd don't show up too. All of them are redump collections except saturn which I have some darkwater rips. I'm loading them manually without problems but it would be cool to have a playlist. |
This problem persists. Have to use launchbox as a workaround. |
Let's switch to cue name matching instead of the serial? |
What would we do to have that work? Is there something on the dat-side that we'd need to change? I could update https://github.com/robloach/libretro-dats , which handles redump. Could inject the cue names automatically somewhere. |
Could update libretro-dats to always select the .cue file instead........ Before
After
|
We'd also want to update libretro-build-database to reference rom.name: |
Are there any cases where the cue filename is going to be different than the If I am correct there would be no need to rebuild the DATs to include the cue in the |
Right now, the Redump roms reference the first Unsure which cores support .cue loading instead of the .iso though. |
This makes Sega/Mega CD, Sega Saturn, and PC Engine CD run `rom.name` for the database matching. CRC sometimes don't apply to CD media, and the rom's name should be consistent with Redump naming in the DB. References libretro/libretro-database#423
Submitted a PR over at libretro/libretro-super#979 I don't see a check against Is that handled somewhere else? |
Got Chuck Rock to scan with that update! YAAAAYYYYYYYYYYYYYYYYY |
But crc of cue files is not unique. Or are you not touching the crc and the 'name' on the rom is just supposed to be the entry file and keep the crc to the first BIN/ISO now? If the second, that could solve some annoyances in hack roms in cds that need audio (well, if retroarch actually used the crcs, which it doesn't). But if that's the intent, it should be documented. |
@RobLoach i dont get how that suppose to work or help the issue. rom.name is the name of the first-track of the cd-image renamed Exile (USA) (Track 01).bin as expected and nothing happens during scan. i already updated the database using libretro-build-database.sh |
Is it possible that the Chuck Rock scan is a false positive? |
This PR updates the scanner to detect Redump serials and Rob has updated the databases. If you wish, please clone this PR and test your issue again, |
have tried scanning some games from this Image Collections:
Sega Saturn (Redump 20160527)
NEC - PC Engine CD - TurboGrafx-CD Full Set (ReDump 20161106)
and Sega Mega-CD and Sega-CD Reference Set (ReDump 20160827)
but no playlists for that Systems was created after scanning
only my PS1 Set (ReDump 20150524) will recognized and most games (not all!!!) i try to add, appear in a playlist
CD-Image format of all images is : "cue/bin" (unzipped in folders named like images)
use Lakka-Generic.x86_64-8.0-devel-20170213022116-r25642
The text was updated successfully, but these errors were encountered: