Skip to content

Commit

Permalink
add GTA 5 custom decryption
Browse files Browse the repository at this point in the history
fix #57
  • Loading branch information
bucanero committed Apr 30, 2022
1 parent 7a7adac commit 576bc36
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
20 changes: 20 additions & 0 deletions appdata/CUSA00411.savepatch
Original file line number Diff line number Diff line change
@@ -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)
20 changes: 20 additions & 0 deletions appdata/CUSA00419.savepatch
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 576bc36

Please sign in to comment.