0
0
mirror of https://github.com/libretro/libretro-database synced 2025-04-15 06:25:43 +00:00
Files
libretro-database/cht/Nintendo - Game Boy Advance/Lord of the Rings, The - The Return of the King (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

75 lines
1.6 KiB
Plaintext

cheats = 18
cheat0_desc = "Enable Code (Must Be On)"
cheat0_code = "00005155+000A+10029D0A+0007"
cheat0_enable = false
cheat1_desc = "Max Exp"
cheat1_code = "83003D78+967F+83003D7A+0098"
cheat1_enable = false
cheat2_desc = "Infinite HP"
cheat2_code = "83003D7C+270F"
cheat2_enable = false
cheat3_desc = "Max HP"
cheat3_code = "83003CD0+270F"
cheat3_enable = false
cheat4_desc = "Infinite Spirit Points"
cheat4_code = "83003D7E+03E7"
cheat4_enable = false
cheat5_desc = "Max Spirit Points"
cheat5_code = "83003CD2+03E7"
cheat5_enable = false
cheat6_desc = "Infinite Jewels"
cheat6_code = "83003D84+FFFF"
cheat6_enable = false
cheat7_desc = "Max Enemies Killed"
cheat7_code = "83003D86+FFFF"
cheat7_enable = false
cheat8_desc = "Infinite Skill Points"
cheat8_code = "33003D9E+0063"
cheat8_enable = false
cheat9_desc = "Infinite Stats Points"
cheat9_code = "33003D9D+0063"
cheat9_enable = false
cheat10_desc = "Max Melee Armor"
cheat10_code = "83003CBE+03E7"
cheat10_enable = false
cheat11_desc = "Max Missle Armor"
cheat11_code = "83003CC0+03E7"
cheat11_enable = false
cheat12_desc = "Max Healing Herbs"
cheat12_code = "33003DAA+0099"
cheat12_enable = false
cheat13_desc = "Full Ent Water"
cheat13_code = "33003DA9+00FD"
cheat13_enable = false
cheat14_desc = "Have Mithril Whetstone"
cheat14_code = "33003DA8+0007"
cheat14_enable = false
cheat15_desc = "Have All Runes"
cheat15_code = "83003D8E+FFFF"
cheat15_enable = false
cheat16_desc = "Have All Artifacts"
cheat16_code = "33005823+00FF"
cheat16_enable = false
cheat17_desc = "Have All Bonus Maps"
cheat17_code = "3300581C+00FF+3300581F+00FF"
cheat17_enable = false