-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
(Database) Serial scanning for Gamecube/MegaCD/SegaCD/Saturn/PSX/PSP/Dreamcast/Wii #11719
Conversation
Originally here, but rebuilt on RA 1.9.0. |
Cool work! I will ask @jdgleaver when he has more time (probably after the build infrastructure proceedings) to look into this. Rest assured, we have a high degree of interest in this and will get back to you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tested and it scanned the games I tested on Dreamcast, GAmeCube, Sega CD, PlayStation, PSP, Saturn and Wii.
There is a bug preventing the insertion of the serial into a playlist. Working on that bug. |
TestsSega - Dreamcast This is actually about 95%. |
Fixed in latest push. Playlists now contain proper crc32 or serials. |
This pull request introduces 1 alert when merging b735658 into 94beed5 - view on LGTM.com new alerts:
|
This PR looks very good. We should merge this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the conflicts are resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved string functions to libretro-common
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved string functions to libretro-common
This pull request introduces 15 alerts when merging 5485a64 into 9e84c5c - view on LGTM.com new alerts:
|
This PR is ready to merge. |
This has to do with scanning, not playing. I have no knowledge of openemu at all, so I'm not sure how it could tie in. I don't know if it's even libretro-based. |
The last commits resolved the LGTM alerts/overflow. With 0 alerts/errors it should now be ready. |
This is looking really good! Will do more testing on it this weekend. |
Any progress on this PR is welcome? |
@pkos Now there's merge conflict too. |
Ok, due to automated workflow actions that were recently enabled, the crowdin.yaml file was corrupted in my PR. To fix this I reverted several pushes and force pushed the original crowdin.yaml file from RA master. The PR has been compiled, tested and is bug fixed and in working order with all the latest change requests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finishing up now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did another test of this and it's looking really solid. Picked up files that I had from GC, Wii, Dreamcast, Sega CD, Saturn, PSP, PS1, and PSP(PSN). A couple code suggestions, addressed in pkos#1 .
Whitespace may exist, however in this diff no whitespace changes are marked. We've removed and replaced them at this point. |
"star wars" Amstrad - CPC | 7/7 | dsk |
"disney" Arcade (MAME 2000) | 0/4 | rom |
added prefix to PSX logic || (string_is_equal_fast(raw_game_id, "SCES_", 5)) test "disney" before after |
"marvel" Amstrad - CPC | 4/12 | dsk |
added conditional to fix raw "-5" and "50" suffix for Saturn:
test "marvel" before after |
added conditional to remove raw "." character for ps1
test "marvel" before after |
Additional scanning tests conducted by volunteers can help promote bug fixes. Enable logs to check serials. |
I compiled it and tested it on my catalog, on OSX. Everything went well. I think we can merge. |
Possible change "_" to "-" as I'm looking at this one in hex editor. |
I've found a more GC specific suffix match in the samples, which overrides -EUR. Looking into it. DL-DOL-G6TP-FRA |
How about we add SLPS- and SLPS_ both to be safe. |
This is the conditional catching the country code "P" which is usually in the dat file as -EUR, but in once case here it actually should be -FRA. No other known indicator can separate the P country code.
|
It's ready. |
These updates improve support for "Directory Scan". While previously the scan was made against raw disc serials, this code converts and parses those serials into redump.org curated serials.
Features
Related Issues
Add serials libretro-database#1026
Currently, scanner will not detect .gcz, .cso files, but it will crc them.
#7428
This PR code replaces changes already merged here:
Reworked magic numbers.
#6544
#6555
#5239
Serials are in playlists.
#6548
Related Pull Requests
The following libchdr issue will crash the scanner.
#10368
Issue resolved (3/31/20)
#10376
Reviewers
@realnc
@celerizer
@Alcaro
@panasonic
@phcoder
They have added support in #programming, fixing bugs and providing C code.