libretro / libretro-database

Repository containing cheatcode files, content data files, etc.
Creative Commons Attribution Share Alike 4.0 International
892 stars 789 forks source link

Final Fantasy VII (USA) (Disc 2) not being added to playlist #1432

Open cardona150 opened 7 months ago

cardona150 commented 7 months ago

First and foremost consider this:

Description

Opening as per https://docs.libretro.com/guides/roms-playlists-thumbnails/ "For a normal scan, the content must match existing databases from the libretro-database README. If those conditions are met but content is still not being added automatically to a playlist, consider submitting an issue report on github."

Final Fantasy VII (USA) (Disc 2) not being added to playlist, I presume the problem stems from Disc 1 2 and 3 having the same serial in redump:

http://redump.org/disc/66/ http://redump.org/disc/67/ http://redump.org/disc/68/

as opposed to other multi disc games such as Final Fantasy VIII:

http://redump.org/disc/69/ http://redump.org/disc/70/ http://redump.org/disc/71/ http://redump.org/disc/72/

Doing a manual scan results in lpl containing: { "path": "/storage/emulated/0/RetroArch/games/PS1 - Top 15/Final Fantasy VII (USA) (Disc 1).chd", "label": "Final Fantasy VII (USA) (Disc 1)", "core_path": "DETECT", "core_name": "DETECT", "crc32": "SCUS-94163-0|serial", "db_name": "Sony - PlayStation.lpl" }, { "path": "/storage/emulated/0/RetroArch/games/PS1 - Top 15/Final Fantasy VII (USA) (Disc 2).chd", "label": "Final Fantasy VII (USA) (Disc 2)", "core_path": "DETECT", "core_name": "DETECT", "crc32": "00000000|crc", "db_name": "Sony - PlayStation.lpl" }, { "path": "/storage/emulated/0/RetroArch/games/PS1 - Top 15/Final Fantasy VII (USA) (Disc 3).chd", "label": "Final Fantasy VII (USA) (Disc 3)", "core_path": "DETECT", "core_name": "DETECT", "crc32": "00000000|crc", "db_name": "Sony - PlayStation.lpl" },

Expected behavior

All discs are added to the playlist

Actual behavior

Only Disc 1 is added to the playlist

Steps to reproduce the bug

Import content -> Scan Directory (for content that matches the database) Doing this on a directory which contains .chds, which within contain:

Bisect Results

N/A

Version/Commit

You can find this information under Information/System Information

N/A?

Environment information

persechini commented 6 months ago

I'm having the exact same issue, but on windows 11. Must be something with handling the CHD files, as using zip and 7z files from 2 different sources for discs 2 and 3 yields a successful scan and add to playlist, and all with the same CRC

{
  "path": "D:\\Jogos\\ROMS\\Sony - PlayStation\\Final Fantasy VII (USA) (Disc 3).zip#Final Fantasy VII (USA) (Disc 3).bin",
  "label": "Final Fantasy VII (USA) (Disc 3)",
  "core_path": "DETECT",
  "core_name": "DETECT",
  "crc32": "SLUS-00627|serial",
  "db_name": "Sony - PlayStation.lpl"
},
{
  "path": "D:\\Jogos\\ROMS\\Sony - PlayStation\\Final Fantasy VII (USA) (Disc 3).7z#Final Fantasy VII (USA) (Disc 3).bin",
  "label": "Final Fantasy VII (USA) (Disc 3)",
  "core_path": "DETECT",
  "core_name": "DETECT",
  "crc32": "SLUS-00627|serial",
  "db_name": "Sony - PlayStation.lpl"
},
{
  "path": "D:\\Jogos\\ROMS\\Sony - PlayStation\\Final Fantasy VII (USA) (Disc 2).zip#Final Fantasy VII (USA) (Disc 2).bin",
  "label": "Final Fantasy VII (USA) (Disc 2)",
  "core_path": "DETECT",
  "core_name": "DETECT",
  "crc32": "SLUS-00627|serial",
  "db_name": "Sony - PlayStation.lpl"
},
{
  "path": "D:\\Jogos\\ROMS\\Sony - PlayStation\\Final Fantasy VII (USA) (Disc 2).7z#Final Fantasy VII (USA) (Disc 2).bin",
  "label": "Final Fantasy VII (USA) (Disc 2)",
  "core_path": "DETECT",
  "core_name": "DETECT",
  "crc32": "SLUS-00627|serial",
  "db_name": "Sony - PlayStation.lpl"
},