Skip to content

Commit

Permalink
GTA V & RDR 2 (#12)
Browse files Browse the repository at this point in the history
* add support for title checksum

* add support for title checksum for ps4 saves

* add sample

* add working sample

* add miniz.h

* add clauses for key size

* add ps4-terraria-decrypter

* use realloc instead of creating new array

* Update Makefile

* update info

* Update main.c

---------

Co-authored-by: Damián Parrino <[email protected]>
  • Loading branch information
hzhreal and bucanero authored Jun 21, 2024
1 parent 4fce6aa commit 0dfae7b
Show file tree
Hide file tree
Showing 15 changed files with 10,221 additions and 20 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ all:
$(MAKE) -C nfs-undercover-decrypter
$(MAKE) -C prototype-checksum-fixer
$(MAKE) -C ps4-borderlands3-decrypter
$(MAKE) -C ps4-re-rev2-decrypter
$(MAKE) -C ps4-rdr2-decrypter
$(MAKE) -C ps4-re-rev2-decrypter
$(MAKE) -C ps4-terraria-decrypter
$(MAKE) -C re-remaster-decrypter
$(MAKE) -C re-revelations2-decrypter
$(MAKE) -C silent-hill3-decrypter
Expand Down Expand Up @@ -62,6 +63,7 @@ clean:
$(MAKE) clean -C ps4-borderlands3-decrypter
$(MAKE) clean -C ps4-rdr2-decrypter
$(MAKE) clean -C ps4-re-rev2-decrypter
$(MAKE) clean -C ps4-terraria-decrypter
$(MAKE) clean -C re-remaster-decrypter
$(MAKE) clean -C re-revelations2-decrypter
$(MAKE) clean -C silent-hill3-decrypter
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ Tools to decrypt specific PS4 save-games:
- Red Dead Redemption 2 (PS4)
- [ps4-re-rev2-decrypter](./ps4-re-rev2-decrypter)
- Resident Evil Revelations 2 (PS4)
- [ps4-terraria-decrypter](./ps4-terraria-decrypter)
- Terraria (PS4)

## Checksum fixers

Expand Down
13 changes: 10 additions & 3 deletions common/aes.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,17 @@
#define CTR 0
#endif

#ifndef AES128
#define AES128 0
#endif

#ifndef AES192
#define AES192 0
#endif

//#define AES128 1
//#define AES192 1
#define AES256 1
#ifndef AES256
#define AES256 1
#endif

#define AES_BLOCKLEN 16 // Block length in bytes - AES is 128b block only

Expand Down
Loading

0 comments on commit 0dfae7b

Please sign in to comment.