0
0
mirror of https://github.com/libretro/libretro-database synced 2025-04-09 13:14:27 +00:00
Files
libretro-database/cht/Nintendo - Game Boy Advance/NHL 2002 (USA) (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

47 lines
1.0 KiB
Plaintext

cheats = 11
cheat0_desc = "Enable Code (Must Be On)"
cheat0_code = "0000ACF9+000A+1000532C+0007"
cheat0_enable = false
cheat1_desc = "Home Team Scores 150"
cheat1_code = "82001926+0096"
cheat1_enable = false
cheat2_desc = "Home Team Scores 0"
cheat2_code = "82001926+0000"
cheat2_enable = false
cheat3_desc = "Away Team Scores 150"
cheat3_code = "82001928+0096"
cheat3_enable = false
cheat4_desc = "Away Team Scores 0"
cheat4_code = "82001928+0000"
cheat4_enable = false
cheat5_desc = "Home Team Max Shots On Goal"
cheat5_code = "82001912+03E7"
cheat5_enable = false
cheat6_desc = "Away Team Max Shots On Goal"
cheat6_code = "82001914+03E7"
cheat6_enable = false
cheat7_desc = "Home Team Never On The Ice"
cheat7_code = "82001942+FFFF"
cheat7_enable = false
cheat8_desc = "Away Team Never On The Ice"
cheat8_code = "82001944+FFFF"
cheat8_enable = false
cheat9_desc = "Home Teams Goalie Always Pulled"
cheat9_code = "82001946+FFFF"
cheat9_enable = false
cheat10_desc = "Away Teams Goalie Always Pulled"
cheat10_code = "82001948+FFFF"
cheat10_enable = false