shadPS4/src/qt_gui
DanielSvoboda 614a23b369
Cheats/Patches (#493)
* Cheats/Patches

Adds the possibility of applying cheats/patches according to the specific game serial+version

The logic for adding modifications has not yet been implemented!

Interface based on issues/372 https://github.com/shadps4-emu/shadPS4/issues/372

[X]Front-end
[]Back-end

Create a synchronized fork of the cheats/patches repository

* Clang Format

* separate files

The code has been separated into separate files as suggested by georgemoralis.
Added the Patch tab, which has not been implemented yet.
Added the 'applyCheat' area to apply the modification, not implemented yet...
And added LOG_INFO.

* reuse

* initial implementation of cheat functionality

* Update cheats_patches.cpp

sets all added buttons to the size of the largest button.
and fixes some aesthetic issues.

* move eboot_address to module.h

fixes the non-qt builds and makes more sense to be there anyway

* Patchs menu and fixes

adds the possibility to download Patches, it does not modify the memory yet.
and some other fixes

* MemoryPatcher namespace, activate cheats on start

* format

* initial patch implementation

* format

* format again...

* convertValueToHex

* Fixes

Choosing which cheat file to use.
And some other fixes

* fix bytes16, bytes32, bytes64 type patches

If a patch is any of these types we convert it from little endian to big endian

* format

* format again :(

* Implement pattern scanning for mask type patches

* add check to stop patches applying to wrong game

previously if you added a patch to a game, but closed the window and opened a different game it would still try to apply the patch, this is now fixed

* format

* Fix 'Hint' 0x400000 |  and Author

* Management |save checkbox | shadps4 repository

MENU - Cheats/Patches Management (implementing Patches)
save patches checkbox
add shadps4 repository

* Load saved patches, miscellaneous fixes

* Fix an issue with mask patches not being saved

* format + remove debug log

* multiple patches | TR translation for cheats/patches

* clang

* ENABLE_QT_GUI

* OK

* move memory_patcher to qt_gui

* clang

* add cheats hu_HU

* fix log

* Remove the item from the patchesListView if no patches were added (the game has patches, but not for the current version)

---------

Co-authored-by: CrazyBloo <CrazyBloo@users.noreply.github.com>
2024-08-29 07:18:50 +03:00
..
translations Cheats/Patches (#493) 2024-08-29 07:18:50 +03:00
about_dialog.cpp About Window (#458) 2024-08-17 19:13:37 +03:00
about_dialog.h About Window (#458) 2024-08-17 19:13:37 +03:00
about_dialog.ui Lot of small fixes 2024-08-22 18:01:30 +02:00
cheats_patches.cpp Cheats/Patches (#493) 2024-08-29 07:18:50 +03:00
cheats_patches.h Cheats/Patches (#493) 2024-08-29 07:18:50 +03:00
elf_viewer.cpp Warnings fixes (#541) 2024-08-23 22:38:55 +03:00
elf_viewer.h Warnings fixes (#541) 2024-08-23 22:38:55 +03:00
game_grid_frame.cpp Replace remaining uses of QDir::currentPath() / user with UserDir. 2024-07-21 14:01:10 -07:00
game_grid_frame.h Warnings fixes (#541) 2024-08-23 22:38:55 +03:00
game_info.cpp gui: Implement gui translations 2024-08-25 12:17:54 +03:00
game_info.h Warnings fixes (#541) 2024-08-23 22:38:55 +03:00
game_install_dialog.cpp gui: Implement gui translations 2024-08-25 12:17:54 +03:00
game_install_dialog.h Minor Qt GUI update (#363) 2024-08-04 16:07:10 +03:00
game_list_frame.cpp Minor Qt GUI update (#363) 2024-08-04 16:07:10 +03:00
game_list_frame.h Warnings fixes (#541) 2024-08-23 22:38:55 +03:00
game_list_utils.h fix typo in LOG_INFO (#559) 2024-08-26 15:22:11 +03:00
gui_context_menus.h Cheats/Patches (#493) 2024-08-29 07:18:50 +03:00
main.cpp Warnings fixes (#541) 2024-08-23 22:38:55 +03:00
main_window.cpp Cheats/Patches (#493) 2024-08-29 07:18:50 +03:00
main_window.h gui: Implement gui translations 2024-08-25 12:17:54 +03:00
main_window_themes.cpp Minor Qt GUI update (#363) 2024-08-04 16:07:10 +03:00
main_window_themes.h Minor Qt GUI update (#363) 2024-08-04 16:07:10 +03:00
main_window_ui.h Cheats/Patches (#493) 2024-08-29 07:18:50 +03:00
memory_patcher.cpp Cheats/Patches (#493) 2024-08-29 07:18:50 +03:00
memory_patcher.h Cheats/Patches (#493) 2024-08-29 07:18:50 +03:00
pkg_viewer.cpp Warnings fixes (#541) 2024-08-23 22:38:55 +03:00
pkg_viewer.h Warnings fixes (#541) 2024-08-23 22:38:55 +03:00
settings_dialog.cpp gui: Implement gui translations 2024-08-25 12:17:54 +03:00
settings_dialog.h gui: Implement gui translations 2024-08-25 12:17:54 +03:00
settings_dialog.ui gui: Implement gui translations 2024-08-25 12:17:54 +03:00
trophy_viewer.cpp gui: Implement gui translations 2024-08-25 12:17:54 +03:00
trophy_viewer.h Warnings fixes (#541) 2024-08-23 22:38:55 +03:00