-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[develop] Add inital datel cheat support from filesystem #213
base: develop
Are you sure you want to change the base?
[develop] Add inital datel cheat support from filesystem #213
Conversation
Improve docs.
Minor fixes
Ensure people know that the feature is currently experimental.
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
It has been found that starting (loaded) ROMs causes TOC issues when there are no cheat files. |
This should be fixed in my recent commits (there may be unpushed stuff) since cheat_load is no longer called when selecting a game to boot |
Description
This pull request adds a file parser for cheat code support. If a file named the same as the selected rom with the extension .cht is found, it will attempt to parse the file for cheat codes and place them in
menu->boot_params->cheat_list
per the cheat API.Cheat files should be formatted this way:
The parser ignores lines that start with a
#
or$
, are under 12 characters or over 15 characters. Every other line should be valid cheat code inputs with the code on the left, and the value on the right separated by a space.Motivation and Context
next try of #204 (which was reverted).
Adds some initial cheat support in the frontend via file parsing to allow users to modify their games more easily, and take advantage of the backend cheat API support.
How Has This Been Tested?
Tested on real hardware with a Summercart64 and Super Mario 64.
Screenshots
Types of changes
Checklist:
Signed-off-by: XLuma