Skip to content
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

Qt: patch creator #10816

Merged
merged 1 commit into from Sep 4, 2021
Merged

Qt: patch creator #10816

merged 1 commit into from Sep 4, 2021

Conversation

Megamouse
Copy link
Contributor

Adds a new dialog "Utilities -> Patch Creator".
The dialog is basically a big input form that can be used to create a valid patch in yml format.

Features:

  • Input fields for the usual keys that need to be added to a patch (one game only for now)
  • Editable instruction table for easy patch creation. Uses dropdowns for instruction type.
    Instruction table controls:
    Rightclick: context menu with a couple of actions (including the following)
    Del: Delete Selection
    Ctrl+Up/Down: Move Selection (if contiguous)
  • Patch file export (Ctrl+E)
  • Patch validation on the fly
  • yml preview on the fly
  • Splitter to resize both sides to your liking

Future ideas:

  • Validators for the offset and value fields depending on the chosen type
  • Stricter yml validation (Game version or Title-ID for example)
  • Patch and/or instruction import
  • Caching of the last window/patch states in some QSettings file
  • Support for alias (this one is a bit more tricky, so keep your expectations low)

The thing is still very basic, so no hard feelings if it sucks mkay?

image

@Megamouse Megamouse added the GUI label Sep 3, 2021
@Megamouse Megamouse merged commit 3c0681a into RPCS3:master Sep 4, 2021
@Megamouse Megamouse added the Patches Patches and Mods label Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI Patches Patches and Mods
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant