RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

Retroarch is unable to hash PSP CHDs converted with the "createdvd" option (correct option for iso files)

Open trotsky40 opened this issue 2 years ago • 2 comments

Description

Retroarch is able to run PSP titles that have been converted to the CHD with the "createdvd". However, they are not hashed correctly to activate RetroAchievements. This error is generated in the log: "[INFO] [RCHEEVOS]: RetroAchievements game load failed: hash generation failed" (full log attached).

Expected behavior

CHDs for PSP titles should run and activate RetroAchievements.

Actual behavior

CHDs created with "createdvd" run but do not activate RetroAchievements.

Steps to reproduce the bug

  1. Update Retroarch and PPSSPP core to the latest versions.
  2. Run a PSP title in CHD format created with "createdvd"
  3. RetroAchievements do not activate and give an error.

Bisect Results

This has happened in RetroArch since CHD support was added to the PPSSPP core. Standalone PPSSPP does not have this issue (it properly hashes the CHD files).

Version/Commit

You can find this information under Information/System Information

  • RetroArch 1.16.0 (Git 72c901a)
  • Core version: PPSSPP v1.16.6-156-g5de1a5f

Environment information

retroarch__2024_01_20__10_07_36.log

  • OS: Windows 10 22H2 (also see the same behavior on iOS and SteamOS)
  • Compiler: N/A. Sourced from the buildbot

trotsky40 avatar Jan 20 '24 18:01 trotsky40

libchdr, which RetroArch uses to read CHDs doesn't support dvd format yet: https://github.com/rtissera/libchdr/issues/101#issuecomment-1653233362

Additionally, the version of libchdr inluded in RetroArch is significantly out of date.

Jamiras avatar Jan 20 '24 18:01 Jamiras

I'm having the same issue. Retroarch actually launches the chd files created with "createdvd", but I get the hash error. Everything works with the "wrong" createcd setting.

SiriusVI87 avatar May 17 '24 21:05 SiriusVI87

See https://github.com/rtissera/libchdr/issues/101#issuecomment-2573651838

Apparently RetroArch is still having issues generating a hash for RetroAchievements for the CHD format, although the PPSSPP core does load and run the CHD format.

nickkeane avatar Jan 06 '25 18:01 nickkeane