0
0
mirror of https://github.com/libretro/libretro-database synced 2025-02-17 10:25:48 +00:00
libretro-database/cht/Nintendo - Game Boy Advance/Baseball Advance (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

135 lines
3.4 KiB
Plaintext

cheats = 33
cheat0_desc = "Enable Code (Must Be On)"
cheat0_code = "00000382+000A+10047056+0007"
cheat0_enable = false
cheat1_desc = "Home Team Scores 255"
cheat1_code = "32012916+00FF"
cheat1_enable = false
cheat2_desc = "Home Team Scores 99"
cheat2_code = "32012916+0063"
cheat2_enable = false
cheat3_desc = "Home Team Scores 0"
cheat3_code = "32012916+0000"
cheat3_enable = false
cheat4_desc = "Away Team Scores 255"
cheat4_code = "32012936+00FF"
cheat4_enable = false
cheat5_desc = "Away Team Scores 99"
cheat5_code = "32012936+0063"
cheat5_enable = false
cheat6_desc = "Away Team Scores 0"
cheat6_code = "32012936+0000"
cheat6_enable = false
cheat7_desc = "Home Team Start With 5 Runs"
cheat7_code = "72012916+0000+32012916+000A"
cheat7_enable = false
cheat8_desc = "Home Team Start With 10 Runs"
cheat8_code = "72012916+0000+32012916+000A"
cheat8_enable = false
cheat9_desc = "Home Team Start With 50 Runs"
cheat9_code = "72012916+0000+32012916+0032"
cheat9_enable = false
cheat10_desc = "Home Team Start With 99 Runs"
cheat10_code = "72012916+0000+32012916+0032"
cheat10_enable = false
cheat11_desc = "Away Team Start With 5 Runs"
cheat11_code = "72012936+0000+32012936+0005"
cheat11_enable = false
cheat12_desc = "Away Team Start With 10 Runs"
cheat12_code = "72012936+0000+32012936+000A"
cheat12_enable = false
cheat13_desc = "Away Team Start With 50 Runs"
cheat13_code = "72012936+0000+32012936+0032"
cheat13_enable = false
cheat14_desc = "Away Team Start With 9 Runs"
cheat14_code = "72012936+0000+32012936+0063"
cheat14_enable = false
cheat15_desc = "Infinite Strikes"
cheat15_code = "320227D8+0000"
cheat15_enable = false
cheat16_desc = "1 Strike And You Are Out"
cheat16_code = "720227D8+0000+320227D8+0002"
cheat16_enable = false
cheat17_desc = "2 Strikes And You Are Out"
cheat17_code = "720227D8+0000+320227D8+0001"
cheat17_enable = false
cheat18_desc = "Infinite Balls"
cheat18_code = "320227D9+0000"
cheat18_enable = false
cheat19_desc = "1 Ball And You Walk"
cheat19_code = "720227D8+0000+320227D9+0003"
cheat19_enable = false
cheat20_desc = "2 Balls And You Walk"
cheat20_code = "720227D8+0000+320227D9+0002"
cheat20_enable = false
cheat21_desc = "3 Balls And You Walk"
cheat21_code = "720227D8+0000+320227D9+0001"
cheat21_enable = false
cheat22_desc = "Infinite Outs"
cheat22_code = "320227DA+0000"
cheat22_enable = false
cheat23_desc = "1 Out And You Are Out"
cheat23_code = "720227DA+0000+320227DA+0002"
cheat23_enable = false
cheat24_desc = "2 Outs And You Are Out"
cheat24_code = "720227DA+0000+320227DA+0001"
cheat24_enable = false
cheat25_desc = "Always Full Count"
cheat25_code = "820227D8+0302"
cheat25_enable = false
cheat26_desc = "Always Full Count & 2 Outs"
cheat26_code = "820227D8+0302+320227DA+0002"
cheat26_enable = false
cheat27_desc = "Press Select For 2 Strikes"
cheat27_code = "74000130+03FB+320227D8+0002"
cheat27_enable = false
cheat28_desc = "Press Select+R For No Strikes"
cheat28_code = "74000130+03FB+320227D8+0000"
cheat28_enable = false
cheat29_desc = "Press Select+L For 3 Balls"
cheat29_code = "74000130+01FB+320227D9+0003"
cheat29_enable = false
cheat30_desc = "Press Select+Up For No Balls"
cheat30_code = "74000130+03BB+320227D9+0000"
cheat30_enable = false
cheat31_desc = "Press Select+Down For 2 Outs"
cheat31_code = "74000130+037B+320227DA+0002"
cheat31_enable = false
cheat32_desc = "Press Select+Left For 0 Outs"
cheat32_code = "74000130+03DB+320227DA+0000"
cheat32_enable = false