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/Wario Land 4 (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

115 lines
3.1 KiB
Plaintext

cheats = 28
cheat0_desc = "Enable Code (Must Be On)"
cheat0_code = "0000D0D3+000A+10000954+0007"
cheat0_enable = false
cheat1_desc = "Unlimited Time"
cheat1_code = "83000BF0+0509"
cheat1_enable = false
cheat2_desc = "Unlimited Hearts"
cheat2_code = "33001910+0008"
cheat2_enable = false
cheat3_desc = "Max Heart Gauge"
cheat3_code = "33001914+0008"
cheat3_enable = false
cheat4_desc = "Max Coins"
cheat4_code = "83000BF8+0909+83000BFA+0909"
cheat4_enable = false
cheat5_desc = "Press R+L+Right For Max Medals"
cheat5_code = "D0000020+0310+83000008+03E7"
cheat5_enable = false
cheat6_desc = "Press Select+L+R To Reduce Boss HP To 1"
cheat6_code = "D0000020+0304+33000A41+0001"
cheat6_enable = false
cheat7_desc = "Press Select+L+R To Reduce Boss HP To 2"
cheat7_code = "D0000020+0304+33000A41+0002"
cheat7_enable = false
cheat8_desc = "Have Upper-Right Gem Piece"
cheat8_code = "33000C07+0001"
cheat8_enable = false
cheat9_desc = "Have Lower-Right Gem Piece"
cheat9_code = "33000C08+0001"
cheat9_enable = false
cheat10_desc = "Have Upper-Left Gem Piece"
cheat10_code = "33000C09+0001"
cheat10_enable = false
cheat11_desc = "Have Lower-Left Gem Piece"
cheat11_code = "33000C0A+0001"
cheat11_enable = false
cheat12_desc = "Have Compact Disc"
cheat12_code = "33000C0B+0001"
cheat12_enable = false
cheat13_desc = "Press R+L+Down To Have Key"
cheat13_code = "D0000020+0380+33000C0C+0001+D0000020+0380+33000B80+0001+D0000020+0380+33000B82+004B"
cheat13_enable = false
cheat14_desc = "Press R+L+Up To Open Level Exit"
cheat14_code = "D0000020+0340+33000C0D+0001"
cheat14_enable = false
cheat15_desc = "Press Select+R+Up For Normal Wario"
cheat15_code = "D0000020+0144+33001898+0000"
cheat15_enable = false
cheat16_desc = "Press Select+R+Down For Swimming Wario"
cheat16_code = "D0000020+0184+33001898+0001"
cheat16_enable = false
cheat17_desc = "Press Select+R+Right For Burning Wario"
cheat17_code = "D0000020+0114+33001898+0002"
cheat17_enable = false
cheat18_desc = "Press Select+R+Left For Fat Wario"
cheat18_code = "D0000020+0124+33001898+0003"
cheat18_enable = false
cheat19_desc = "Press Select+L+Up For Frozen Wario"
cheat19_code = "D0000020+0244+33001898+0004"
cheat19_enable = false
cheat20_desc = "Press Select+L+Down For Zombie Wario"
cheat20_code = "D0000020+0284+33001898+0005"
cheat20_enable = false
cheat21_desc = "Press Select+L+Right For Snowball Wario"
cheat21_code = "D0000020+0214+33001898+0006"
cheat21_enable = false
cheat22_desc = "Press Select+L+Left For Spinning Wario"
cheat22_code = "D0000020+0224+33001898+0007"
cheat22_enable = false
cheat23_desc = "Press Select+Up For Floating Wario"
cheat23_code = "D0000020+0044+33001898+0008"
cheat23_enable = false
cheat24_desc = "Press Select+Down For Bat Wario"
cheat24_code = "D0000020+0084+33001898+0009"
cheat24_enable = false
cheat25_desc = "Press Select+Right For Flat Wario"
cheat25_code = "D0000020+0014+33001898+000A"
cheat25_enable = false
cheat26_desc = "Access Debug Room And Then Enter The Level"
cheat26_code = "33000003+0002"
cheat26_enable = false
cheat27_desc = "Palette Swap For Debug Room"
cheat27_code = "35000000+00F4+35000001+00CD"
cheat27_enable = false