batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
2.05k stars 528 forks source link

DuckStation standalone can't open cheats list #6830

Open Hew-ux opened 2 years ago

Hew-ux commented 2 years ago

Issue: Unable to open the cheat list in DuckStation standalone.

Expected result: To be able to open and use the cheats.

Reproduction:

  1. Launch any NTSC PS1 game with DuckStation standalone.
  2. Open the quick menu with Hotkey + South.
  3. Navigate to "cheat list" and try to open it with East.
  4. DuckStation will instead just immediately resume the game. No cheats can be applied.

Logs: Error log: es_launch_stderr.log

Most notable line: [ 9.2134] W(LoadFromPackage): No codes found in package for Tony Hawk's Pro Skater 2 (USA)

Cheat database is present at /userdata/cheats/duckstation/cheats.cht, but the cheats themselves should already be included with DuckStation anyway (if online guides and instructions are anything to go by).

dmanlfc commented 2 years ago

what happens when you launch the emulator via F1 & follow the steps above? is there another setting in duckstation possibly?

Hew-ux commented 2 years ago

Cheats menu is (seemingly) only available while in a game.

There is no setting in the menus themselves in regards to activating cheats or anything.

Possibly a compilation flag that needs to be enabled?

dmanlfc commented 2 years ago

So running via F1 yields the same result... When you run it on your Solus PC it works?

Hew-ux commented 2 years ago

I don't have duckstation installed on my Solus PC. If you'd like to go as far as to check for that, I invite you to do so.

All I'm reporting here is that the functionality is broken in Batocera.

dmanlfc commented 2 years ago

I wouldn't know where to start with cheats tbh. It may be related to us not using QT. I will be adding QT6 to Batocera when I can as we need it for rpcs3

Radamanthys007 commented 2 years ago

I think this version of duckstation is not designed to read the cheats.txt file to which you would have to create a separate file with extension .cht ,,,

Radamanthys007 commented 2 years ago

,,,That it has the same name that duckstation would assign to the game you are running. For example Tony Hawk's Pro Skater 2 (USA).cht. I took the list of codes from the cheats folder that is created when downloading the file from the batocera repository. remember to activate the option to AutoLoadCheats