libretro / libretro/RetroArch

Some Sega CD redump.org images are not recognized

Open
#18,280 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Is there an existing issue for this?
  • This is a bug in RetroArch frontend
  • I have searched the existing issues
Description

RetroArch 1.21.0 doesn't recognize some redump.org Sega CD images. For example:

  • Bloodshot (Europe) (En,Fr,De,Es)
  • Road Rash (USA)

I can see that serial numbers are matching after normalization:

$ file Bloodshot\ (Europe)\ (En,Fr,De,Es)\ (Track\ 01).bin
Bloodshot (Europe) (En,Fr,De,Es) (Track 01).bin: Sega Mega CD disc image: "BLOODSHOT (C) 19" (GM T-88045 -50, (C)T-88 1995.MAR), 2352-byte sectors

$ file Road\ Rash\ (USA)\ (Track\ 1).bin
Road Rash (USA) (Track 1).bin: Sega Mega CD disc image: "ROAD RASH " (GM T-50085 , (C)EA 1995.MAR ), 2352-byte sectors

$ for F in *.bin; do SN=$(head -c 414 "$F" | tail -c 11); echo "${F}: '${SN}'"; done
Bloodshot (Europe) (En,Fr,De,Es) (Track 01).bin: 'T-88045 -50'
Road Rash (USA) (Track 1).bin: 'T-50085 '

The database lists both T-88045-50 and T-50085, so both should be recognized, if I understood the source code correctly. Maybe I'm missing something. Anyway, these are verified redump.org images, and should be recognized by RetroArch.

Expected behavior

No response

Steps to reproduce the bug
  1. Get the redump.org Bloodshot and Road Rash dumps
  2. Import Content -> point to a directory where dumps are stored
  3. Confirm that importing didn't work - games were not added to Mega-CD - Sega CD playlist
Version/Commit

1.21.0 (Git 54af661d95)

Bisect Results

No response

Present in the nightly version

I don't know

Platform & operating system

Linux amd64 (SteamOS Holo)

Affected Cores

No response

Environment information

No response

Relevant log output

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in RetroArch 1.21.0 by importing the redump.org Bloodshot and Road Rash images into the Mega-CD - Sega CD playlist. Start by tracing the content-import recognition path and comparing its serial normalization with the database entries T-88045-50 and T-50085. Done means both verified images are recognized and added to the playlist.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.