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

235 lines
5.1 KiB
Plaintext

cheats = 58
cheat0_desc = "Enable Code (Must Be On)"
cheat0_code = "0000317D+000A+1006C9E4+0007"
cheat0_enable = false
cheat1_desc = "Always Day 1"
cheat1_code = "33004420+0001"
cheat1_enable = false
cheat2_desc = "Infinite Coins"
cheat2_code = "8201227C+FFFF"
cheat2_enable = false
cheat3_desc = "P1 Infinite G"
cheat3_code = "8201AB9C+423F+8201AB9E+000F"
cheat3_enable = false
cheat4_desc = "P1 No G"
cheat4_code = "8201AB9C+0000+8201AB9E+0000"
cheat4_enable = false
cheat5_desc = "P2 Infinite G"
cheat5_code = "8201AC04+423F+8201AC06+000F"
cheat5_enable = false
cheat6_desc = "P2 No G"
cheat6_code = "8201AC04+0000+8201AC06+0000"
cheat6_enable = false
cheat7_desc = "P3 Infinite G"
cheat7_code = "8201AC6C+423F+8201AC6E+000F"
cheat7_enable = false
cheat8_desc = "P3 No G"
cheat8_code = "8201AC6C+0000+8201AC6E+0000"
cheat8_enable = false
cheat9_desc = "P4 Infinite G"
cheat9_code = "8201ACD4+423F+8201ACD6+000F"
cheat9_enable = false
cheat10_desc = "P4 No G"
cheat10_code = "8201ACD4+0000+8201ACD6+0000"
cheat10_enable = false
cheat11_desc = "P1 Infinite CO Power"
cheat11_code = "8201ABBC+FFFF"
cheat11_enable = false
cheat12_desc = "P1 No CO Power"
cheat12_code = "8201ABBC+0000"
cheat12_enable = false
cheat13_desc = "P2 Infinite CO Power"
cheat13_code = "8201AC24+FFFF"
cheat13_enable = false
cheat14_desc = "P2 No CO Power"
cheat14_code = "8201AC24+0000"
cheat14_enable = false
cheat15_desc = "P3 Infinite CO Power"
cheat15_code = "8201AC8C+FFFF"
cheat15_enable = false
cheat16_desc = "P3 No CO Power"
cheat16_code = "8201AC8C+0000"
cheat16_enable = false
cheat17_desc = "P4 Infinite CO Power"
cheat17_code = "8201ACF4+FFFF"
cheat17_enable = false
cheat18_desc = "P4 No CO Power"
cheat18_code = "8201ACF4+0000"
cheat18_enable = false
cheat19_desc = "Move All Around The Map"
cheat19_code = "830036D8+0101+830036DA+0101"
cheat19_enable = false
cheat20_desc = "P2 Has No Buildings Captured"
cheat20_code = "3201AC14+0000"
cheat20_enable = false
cheat21_desc = "No Fog Of War"
cheat21_code = "3300431D+0000"
cheat21_enable = false
cheat22_desc = "Always Fog Of War"
cheat22_code = "3300431D+0001"
cheat22_enable = false
cheat23_desc = "Always Get S Rank"
cheat23_code = "3201ABCA+0005"
cheat23_enable = false
cheat24_desc = "Press Select To Win Capture Battles"
cheat24_code = "D0000020+0004+3201ABAC+0063"
cheat24_enable = false
cheat25_desc = "Always Nell"
cheat25_code = "8201ABB8+0000"
cheat25_enable = false
cheat26_desc = "Always Andy"
cheat26_code = "8201ABB8+0100"
cheat26_enable = false
cheat27_desc = "Always Max"
cheat27_code = "8201ABB8+0200"
cheat27_enable = false
cheat28_desc = "Always Olaf"
cheat28_code = "8201ABB8+0300"
cheat28_enable = false
cheat29_desc = "Always Sami"
cheat29_code = "8201ABB8+0400"
cheat29_enable = false
cheat30_desc = "Always Grit"
cheat30_code = "8201ABB8+0500"
cheat30_enable = false
cheat31_desc = "Always Kanbei"
cheat31_code = "8201ABB8+0600"
cheat31_enable = false
cheat32_desc = "Always Sonja"
cheat32_code = "8201ABB8+0700"
cheat32_enable = false
cheat33_desc = "Always Eagle"
cheat33_code = "8201ABB8+0800"
cheat33_enable = false
cheat34_desc = "Always Drake"
cheat34_code = "8201ABB8+0900"
cheat34_enable = false
cheat35_desc = "Always Sturm"
cheat35_code = "8201ABB8+0A00"
cheat35_enable = false
cheat36_desc = "Nell Always CO"
cheat36_code = "3201ABB9+0000"
cheat36_enable = false
cheat37_desc = "Andy Always CO"
cheat37_code = "3201ABB9+0001"
cheat37_enable = false
cheat38_desc = "Max Always CO"
cheat38_code = "3201ABB9+0002"
cheat38_enable = false
cheat39_desc = "Olaf Always CO"
cheat39_code = "3201ABB9+0003"
cheat39_enable = false
cheat40_desc = "Sami Always CO"
cheat40_code = "3201ABB9+0004"
cheat40_enable = false
cheat41_desc = "Grit Always CO"
cheat41_code = "3201ABB9+0005"
cheat41_enable = false
cheat42_desc = "Kanbei Always CO"
cheat42_code = "3201ABB9+0006"
cheat42_enable = false
cheat43_desc = "Sonja Always CO"
cheat43_code = "3201ABB9+0007"
cheat43_enable = false
cheat44_desc = "Eagle Always CO"
cheat44_code = "3201ABB9+0008"
cheat44_enable = false
cheat45_desc = "Drake Always CO"
cheat45_code = "3201ABB9+0009"
cheat45_enable = false
cheat46_desc = "Sturm Always CO"
cheat46_code = "3201ABB9+000A"
cheat46_enable = false
cheat47_desc = "Play Against Nell"
cheat47_code = "3201AC21+0000"
cheat47_enable = false
cheat48_desc = "Play Against Andy"
cheat48_code = "3201AC21+0001"
cheat48_enable = false
cheat49_desc = "Play Against Max"
cheat49_code = "3201AC21+0002"
cheat49_enable = false
cheat50_desc = "Play Against Olaf"
cheat50_code = "3201AC21+0003"
cheat50_enable = false
cheat51_desc = "Play Against Sami"
cheat51_code = "3201AC21+0004"
cheat51_enable = false
cheat52_desc = "Play Against Grit"
cheat52_code = "3201AC21+0005"
cheat52_enable = false
cheat53_desc = "Play Against Kanbei"
cheat53_code = "3201AC21+0006"
cheat53_enable = false
cheat54_desc = "Play Against Sonja"
cheat54_code = "3201AC21+0007"
cheat54_enable = false
cheat55_desc = "Play Against Eagle"
cheat55_code = "3201AC21+0008"
cheat55_enable = false
cheat56_desc = "Play Against Drake"
cheat56_code = "3201AC21+0009"
cheat56_enable = false
cheat57_desc = "Play Against Sturm"
cheat57_code = "3201AC21+000A"
cheat57_enable = false