0
0
mirror of https://github.com/libretro/libretro-database synced 2025-04-10 19:29:37 +00:00
Files
libretro-database/cht/Nintendo - Game Boy Advance/Sonic Advance (World) (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

59 lines
1.3 KiB
Plaintext

cheats = 14
cheat0_desc = "Enable Code (Must Be On)"
cheat0_code = "0000FFE5+000A+1000122A+0007"
cheat0_enable = false
cheat1_desc = "Get Best Time For The End Of A Zone"
cheat1_code = "83005034+0001"
cheat1_enable = false
cheat2_desc = "Infinite Rings"
cheat2_code = "83004FEC+03E7"
cheat2_enable = false
cheat3_desc = "Infinite Lives"
cheat3_code = "33005024+000A"
cheat3_enable = false
cheat4_desc = "Quick Score Gain"
cheat4_code = "83005030+FFFF"
cheat4_enable = false
cheat5_desc = "Max Score"
cheat5_code = "83005030+967F+83005032+0098"
cheat5_enable = false
cheat6_desc = "Max Rings (Special Stage)"
cheat6_code = "33005078+00FF"
cheat6_enable = false
cheat7_desc = "Have All Chaos Emeralds"
cheat7_code = "3300517C+007F"
cheat7_enable = false
cheat8_desc = "Normal Shield Effects"
cheat8_code = "33005A46+0001"
cheat8_enable = false
cheat9_desc = "Lightning Shield Effects"
cheat9_code = "33005A46+0008"
cheat9_enable = false
cheat10_desc = "Play As Sonic"
cheat10_code = "33005084+0000"
cheat10_enable = false
cheat11_desc = "Play As Tails"
cheat11_code = "33005084+0001"
cheat11_enable = false
cheat12_desc = "Play As Knuckles"
cheat12_code = "33005084+0002"
cheat12_enable = false
cheat13_desc = "Play As Amy"
cheat13_code = "33005084+0003"
cheat13_enable = false