1
0
mirror of https://github.com/libretro/libretro-database synced 2024-11-23 17:56:19 +00:00
libretro-database/cht/Nintendo - Game Boy Advance/High Heat Major League Baseball 2003 (USA, Japan).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

63 lines
1.4 KiB
Plaintext

cheats = 15
cheat0_desc = "Enable Code (Must Be On)"
cheat0_code = "00000000+0002+10001AE8+0007"
cheat0_enable = false
cheat1_desc = "Infinite Balls"
cheat1_code = "83006320+0000"
cheat1_enable = false
cheat2_desc = "1 Ball And You Walk"
cheat2_code = "73006320+0000+83006320+0003"
cheat2_enable = false
cheat3_desc = "2 Balls And You Walk"
cheat3_code = "73006320+0000+83006320+0002"
cheat3_enable = false
cheat4_desc = "3 Balls And You Walk"
cheat4_code = "73006320+0000+83006320+0001"
cheat4_enable = false
cheat5_desc = "Infinite Outs"
cheat5_code = "83006364+0000"
cheat5_enable = false
cheat6_desc = "1 Out And You Are Out"
cheat6_code = "73006364+0000+83006364+0002"
cheat6_enable = false
cheat7_desc = "2 Outs And You Are Out"
cheat7_code = "73006364+0000+83006364+0001"
cheat7_enable = false
cheat8_desc = "Infinite Strikes"
cheat8_code = "830063B8+0000"
cheat8_enable = false
cheat9_desc = "1 Strike And You Are Out"
cheat9_code = "730063B8+0000+830063B8+0002"
cheat9_enable = false
cheat10_desc = "2 Strikes And You Are Out"
cheat10_code = "730063B8+0000+830063B8+0001"
cheat10_enable = false
cheat11_desc = "Team 1 Scores 150"
cheat11_code = "83006548+0096"
cheat11_enable = false
cheat12_desc = "Team 1 Scores 0"
cheat12_code = "83006548+0000"
cheat12_enable = false
cheat13_desc = "Team 2 Scores 150"
cheat13_code = "8300654A+0096"
cheat13_enable = false
cheat14_desc = "Team 2 Scores 0"
cheat14_code = "8300654A+0000"
cheat14_enable = false