1
0
mirror of https://github.com/libretro/libretro-database synced 2024-11-27 10:18:56 +00:00
libretro-database/cht/Nintendo - Game Boy Advance/Chocobo Land - A Game of Dice (Japan) (Code Breaker).cht
David Guillen Fandos abf99061cb GBA cheat codes cleanup!
This commit decrypts most of the encrypted CodeBreaker cheat codes into
their plain format. I manually fixed some games that had both plain and
encrypted codes, causing some of them not to work.

The advantage of having all codes in plain format is that it allows for
users to add their codes (appending the file). Encryption prevents this
since the cheat decoder tries to decrypt unconditionally.

Added a tiny python script that assists in decoding these cheatcodes. It
is not very smart so it might decrypt stuff that's already decrypted
depending on the order of the cheats in the file.

I manually eveyballed all the codes and ran some sanity checks on them
to the point I trust most of the changes here. Some codes were already
broken so I hopefully mend more things that I'm breaking with this
change.

Sorry for the whitespace cleanup! That's the script rewriting the files
cleanly
2021-05-04 18:30:38 +02:00

15 lines
291 B
Plaintext

cheats = 3
cheat0_desc = "Have 4 Stones"
cheat0_code = "33004778+000F"
cheat0_enable = false
cheat1_desc = "Press Select To Roll 6"
cheat1_code = "74000130+03FB+33004733+0006"
cheat1_enable = false
cheat2_desc = "Max CP"
cheat2_code = "830047A0+423F+830047A2+000F"
cheat2_enable = false