0
0
mirror of https://github.com/libretro/libretro-database synced 2025-03-19 20:23:24 +00:00
Files
libretro-database/cht/Nintendo - Game Boy Advance/Back Track (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

51 lines
1.1 KiB
Plaintext

cheats = 12
cheat0_desc = "Enable Code (Must Be On)"
cheat0_code = "0000DB72+000A+1000CD70+0007"
cheat0_enable = false
cheat1_desc = "Infinite Health"
cheat1_code = "8200EAA6+0064"
cheat1_enable = false
cheat2_desc = "Infinite Ammo (Shotgun)"
cheat2_code = "8200EAB6+0063"
cheat2_enable = false
cheat3_desc = "Infinite Ammo (Raygun)"
cheat3_code = "8200EAB8+0064"
cheat3_enable = false
cheat4_desc = "Infinite Ammo (Flamable Spray Paint Canister)"
cheat4_code = "8200EABA+0064"
cheat4_enable = false
cheat5_desc = "Infinite Ammo (Sling Shot)"
cheat5_code = "8200EABC+0064"
cheat5_enable = false
cheat6_desc = "Infinite Ammo (Bubbles)"
cheat6_code = "8200EABE+0064"
cheat6_enable = false
cheat7_desc = "Infinite Ammo (Vacuum)"
cheat7_code = "8200EAC0+0064"
cheat7_enable = false
cheat8_desc = "Have All Weapons"
cheat8_code = "8200EAC4+FFFF"
cheat8_enable = false
cheat9_desc = "Have All Cards"
cheat9_code = "8200EAC6+FFFF"
cheat9_enable = false
cheat10_desc = "Rapid Fire"
cheat10_code = "D0000020+0001+8200EBE0+0002"
cheat10_enable = false
cheat11_desc = "Only 2 Humans To Free"
cheat11_code = "7200EAA4+0001+8200EAA4+006E"
cheat11_enable = false