Skip to content

Feature Request: Support for PSPAR/TempAR Folder and Comment syntax in cheat files #21257

@DobleC

Description

@DobleC

What should happen

PPSSPP should implement support for Folder and Comment codes used by original hardware cheat engines like PSPAR and TempAR.

Currently, PPSSPP treats every line starting with _C0, _C1 or _C2 as a toggleable cheat. However, the PSPAR/TempAR standard uses specific codes to create hierarchical structures and descriptive text:

Folders/Comments:
_C0 [Name]
_M 0x0000000X 0x0000000N
This acts as a container with single/multi select or comment based on the value of X and affecting N codes after them.

Proposed Behavior:

  1. PPSSPP should recognize these codes and render a collapsible folder structure in the cheat menu.

  2. Comment lines should be displayed as static text (unclickable) to serve as additional info or visual separators.

  3. The emulator should ignore these structural lines when applying cheats to memory to avoid overhead or errors.

You can find the specific syntax documentation here: https://github.com/raing3/psp-cheat-documentation/blob/master/cheat-devices/pspar.md in the Folder/Comment Codes section.
Image

This is how cheats are being shown in PPSSPP when using this "organizer codes":
Image

This is how TempAR is able to proccess the same cheat file (understanding the folder structure and also being able to have folders where just 1 code can be on at the same time):
Image

Who would this benefit

This would benefit power users and cheat creators who manage large databases.

In my specific case, I have been developing a cheat file for Tales of Phantasia Cross Edition with over 1,500 cheats. Using folders is the only viable way to navigate such a massive list effectively.

Currently, I am forced to maintain two separate versions of the cheat file:

A "PSP" version for real hardware (TempAR) with folders.

A "PPSSPP" version where I have to remove folders because the emulator interprets folder headers as broken or dummy cheats, cluttering the UI and confusing users.

Supporting this standard would unify the experience between hardware and emulation and allow for much cleaner cheat organization.

The PSP cheat file:
PSP Cheats.txt

The PPSSPP version:
PPSSPP Cheats.txt

Platform (if relevant)

None

Games this would be useful in

Any game, the cheat engine is used in all of them, but in this specific case:
ULJS-00293 Tales of Phantasia: Narikiri Dungeon X

Other emulators or software with a similar feature

TempAR, the best cheat plugin for PSP: https://github.com/raing3/tempar/blob/master/docs/README.md

Checklist

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions