shadPS4/src/core
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
..
aerolib fix typo in LOG_INFO (#559) 2024-08-26 15:22:11 +03:00
crypto crypto: Fix deallocation of key data while in use. 2024-08-28 03:39:51 -07:00
file_format fix typo in LOG_INFO (#559) 2024-08-26 15:22:11 +03:00
file_sys fix typo in LOG_INFO (#559) 2024-08-26 15:22:11 +03:00
libraries Merge pull request #624 from Exhigh/savedata-fix-4 2024-08-28 18:07:50 +03:00
loader moved elf logging to DebugDump fuction , which can be enabled in config . This reduces main log file a lot 2024-07-01 23:07:57 +03:00
address_space.cpp Fix unmapping bug 2024-08-20 20:07:32 -07:00
address_space.h Fix unmapping bug 2024-08-20 20:07:32 -07:00
cpu_patches.cpp fix tls patch on windows (#328) 2024-07-27 20:16:21 +03:00
cpu_patches.h Migrate TLS patches to new patching system. 2024-07-21 22:36:12 +03:00
linker.cpp memory: Fixes for direct memory allocation. (#615) 2024-08-28 13:42:53 +03:00
linker.h thread_management.cpp: Various Mandatory Threading Fixes | Resolve #398 (#394) 2024-08-13 09:08:03 +03:00
loader.cpp - Added trophy decryption when extracting a fpkg. trp icons and xmls are dumped to game_data/<title> (can be restored if deleted by accident by opening the trophy viewer) 2024-06-10 20:42:21 -06:00
loader.h - Added trophy decryption when extracting a fpkg. trp icons and xmls are dumped to game_data/<title> (can be restored if deleted by accident by opening the trophy viewer) 2024-06-10 20:42:21 -06:00
memory.cpp memory: Fixes for direct memory allocation. (#615) 2024-08-28 13:42:53 +03:00
memory.h memory: Fixes for direct memory allocation. (#615) 2024-08-28 13:42:53 +03:00
module.cpp Cheats/Patches (#493) 2024-08-29 07:18:50 +03:00
module.h kernel: Implement some functions 2024-06-22 18:09:03 +03:00
platform.h gnmdriver, amdgpu: added gpu idle IRQ; submission lock logic improved 2024-07-06 18:03:34 +02:00
tls.cpp Migrate TLS patches to new patching system. 2024-07-21 22:36:12 +03:00
tls.h Migrate TLS patches to new patching system. 2024-07-21 22:36:12 +03:00
virtual_memory.cpp several fixes (#112) 2024-04-13 22:37:21 +03:00
virtual_memory.h chore: Make shadps4 REUSE compliant 2024-02-23 23:33:43 +02:00