Skip to content

Commit

Permalink
Add RE Revelations 2 custom decryption
Browse files Browse the repository at this point in the history
fix #58
  • Loading branch information
bucanero committed May 2, 2022
1 parent 576bc36 commit f274604
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
21 changes: 20 additions & 1 deletion appdata/CUSA00924.savepatch
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
;source: forum hackinformer.com
;file simplified by @officialahmed0

:*
:DATA0.DAT

[Decrypt DATA0.DAT (Required)]
set range:0x0020,eof+1
endian_swap(4)
DECRYPT blowfish_ecb("zW$2eWaHNdT~6j86T_&j")
endian_swap(4)

;-=-Campaign Mode Codes-=-

Expand Down Expand Up @@ -217,3 +222,17 @@
[Raid Mode - Long Range+ (Slot1-24)]
4000E8AC 00000009
40180038 00000000

[Update SHA1 Hash (Required)]
set pointer:eof-0x1F
set range:0x0020,pointer
set [hash]:SHA1
write next (0):[hash]
set range:pointer,pointer+0x14
endian_swap(4)

[Encrypt DATA0.DAT (Required)]
set range:0x0020,eof+1
endian_swap(4)
ENCRYPT blowfish_ecb("zW$2eWaHNdT~6j86T_&j")
endian_swap(4)
22 changes: 21 additions & 1 deletion appdata/CUSA01141.savepatch
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
;PS4 Resident Evil Revelations 2
;source: krustytoe@hackinformer

:*
:DATA0.DAT

[Decrypt DATA0.DAT (Required)]
set range:0x0020,eof+1
endian_swap(4)
DECRYPT blowfish_ecb("zW$2eWaHNdT~6j86T_&j")
endian_swap(4)

[Raid - All Custom Parts Level MAX]
10013198 00000163
Expand Down Expand Up @@ -529,3 +535,17 @@
[All Character Max SP]
4100C848 0000270F
40170170 00000000

[Update SHA1 Hash (Required)]
set pointer:eof-0x1F
set range:0x0020,pointer
set [hash]:SHA1
write next (0):[hash]
set range:pointer,pointer+0x14
endian_swap(4)

[Encrypt DATA0.DAT (Required)]
set range:0x0020,eof+1
endian_swap(4)
ENCRYPT blowfish_ecb("zW$2eWaHNdT~6j86T_&j")
endian_swap(4)

0 comments on commit f274604

Please sign in to comment.