0
0
mirror of https://github.com/libretro/libretro-database synced 2025-04-10 14:49:37 +00:00
Files
libretro-database/cht/Nintendo - Game Boy Advance/Simpsons, The - Road Rage (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

35 lines
837 B
Plaintext

cheats = 8
cheat0_desc = "Enable Code (Must Be On)"
cheat0_code = "0000FA0B+000A+10040D80+0007"
cheat0_enable = false
cheat1_desc = "Unlock All Vehicles"
cheat1_code = "83001C90+FFFF"
cheat1_enable = false
cheat2_desc = "Unlock All Locations"
cheat2_code = "33001CEC+00FF"
cheat2_enable = false
cheat3_desc = "Unlock All Missions"
cheat3_code = "33001CED+000A"
cheat3_enable = false
cheat4_desc = "Unlock All Extra's"
cheat4_code = "33001CF0+000F"
cheat4_enable = false
cheat5_desc = "Start With $50,000"
cheat5_code = "730038F0+0000+830038F0+C350"
cheat5_enable = false
cheat6_desc = "Press Select+Up To Pause Timer"
cheat6_code = "74000130+03BB+33005000+0001+73005000+0001+330038F6+0032"
cheat6_enable = false
cheat7_desc = "Press Select+Down To Resume Timer"
cheat7_code = "74000130+037B+33005000+0000"
cheat7_enable = false