From 576bc36118a4ad90c7ea9fa347c24121c747018f Mon Sep 17 00:00:00 2001 From: bucanero Date: Sat, 30 Apr 2022 18:47:02 -0300 Subject: [PATCH] add GTA 5 custom decryption fix #57 --- appdata/CUSA00411.savepatch | 20 ++++++++++++++++++++ appdata/CUSA00419.savepatch | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 appdata/CUSA00411.savepatch create mode 100644 appdata/CUSA00419.savepatch diff --git a/appdata/CUSA00411.savepatch b/appdata/CUSA00411.savepatch new file mode 100644 index 0000000..34973e6 --- /dev/null +++ b/appdata/CUSA00411.savepatch @@ -0,0 +1,20 @@ +;CUSA00411 +;PS4 Grand Theft Auto V +; by bucanero, ChendoChap + +:memory.dat + +[AES Decrypt memory.dat (Required)] +;BSD reads in big endian +set [end]:read(0x108,4) +set range:0x000114,[end]+0x0113 +DECRYPT aes_ecb(0x1685FFA38D010F0DFE661CF9B5572C500D802648DB37B9ED0F48C57342C022F5) + +; +; cheat codes go here +; + +[AES Encrypt memory.dat (Required)] +set [end]:read(0x108,4) +set range:0x000114,[end]+0x0113 +ENCRYPT aes_ecb(0x1685FFA38D010F0DFE661CF9B5572C500D802648DB37B9ED0F48C57342C022F5) diff --git a/appdata/CUSA00419.savepatch b/appdata/CUSA00419.savepatch new file mode 100644 index 0000000..5a1a01e --- /dev/null +++ b/appdata/CUSA00419.savepatch @@ -0,0 +1,20 @@ +;CUSA00419 +;PS4 Grand Theft Auto V +; by bucanero, ChendoChap + +:memory.dat + +[AES Decrypt memory.dat (Required)] +;BSD reads in big endian +set [end]:read(0x108,4) +set range:0x000114,[end]+0x0113 +DECRYPT aes_ecb(0x1685FFA38D010F0DFE661CF9B5572C500D802648DB37B9ED0F48C57342C022F5) + +; +; cheat codes go here +; + +[AES Encrypt memory.dat (Required)] +set [end]:read(0x108,4) +set range:0x000114,[end]+0x0113 +ENCRYPT aes_ecb(0x1685FFA38D010F0DFE661CF9B5572C500D802648DB37B9ED0F48C57342C022F5)