libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.17k stars 1.82k forks source link

CHD Hashing on Switch #17015

Closed ZeROOFALL closed 3 weeks ago

ZeROOFALL commented 3 weeks ago

Description

CHD games not being hashed and cheevos not working on any core (PCSX ReARMed) when using that format.

Expected behavior

CHD games are hashed and achievements should be available for recognized games.

Actual behavior

CHD games are unable to be hashed and since they are unrecognized, achievements are unavailable.

Version/Commit

1.19.1 Sep 3 2024 Nintendo Switch Horizon OS v16.0

I did some digging, and am pretty out of my depth but I did find something that may be useful. This relates to UMP builds but it looks like it could be something useful if this has been overlooked and could be implemented in the Switch and perhaps the PS3 version one day.

"For the longest time, CHD games were not working with RetroAchievements on the UWP builds of RetroArch. This was due to the frontend not being built with both CHD and 7zip support, which are required for CHD files to be hashed correctly, and subsequently work with RetroAchievements.

The solution to this is simple, simply add the HAVE_CHD, HAVE_7ZIP, and _7ZIP_ST build flags to the UWP builds. This effectively solves the issue, while adding 7zip support to the frontend as a nice bonus too." https://github.com/libretro/RetroArch/pull/13669

gouchi commented 3 weeks ago

Hi,

According to this PR, it CHD support has been enabled since one week ago.

May you try to make a test with nightly build and report if it is ok.

Thank you.

ZeROOFALL commented 3 weeks ago

Just tested a CHD PCSX_ReARMed on the nightly you posted and the cheevos worked Thank You. :D