Persist per-game PS2RD cheat selections - #1748
Open
maddogx2x wants to merge 4 commits into
Open
Conversation
maddogx2x
marked this pull request as ready for review
July 22, 2026 03:39
Author
|
I there's anything that needs changing please let me know. Thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds persistent per-game PS2RD cheat selections to OPL's existing game configuration files.
Selections are stored by normalized cheat name rather than list position, so they remain stable when cheat databases are reordered. Required/master codes remain enabled and cannot be toggled off, while optional cheats default to disabled when no saved selection exists.
Changes
$CheatSelNNNvalues in the per-game CFG.Mastercode,Master Code, andEnable Code (Must Be On)as required-code headings.cheatconfig.candcheatconfig.h.Scope
This pull request intentionally excludes project-specific behavior:
Testing status
The earlier implementation of the persistence behavior was hardware-tested successfully on PS2 hardware, including saving and restoring selections by cheat name and enforcing the required code.
This branch is a refactored port against the current upstream
master. The refactored source was previously compiler-verified through final ELF linkage on the Beta-2245 base, but this exact current-upstream branch has not yet been hardware-tested. The PR is therefore opened as a draft pending maintainer review and hardware validation.Source project
Development source and documentation:
https://github.com/maddogx2x/OPL-Cheat-Persistence