0
0
mirror of https://github.com/libretro/libretro-database synced 2025-04-09 10:54:33 +00:00
Files
libretro-database/cht/Nintendo - Game Boy Advance/Peter Pan - Return to Neverland (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

95 lines
2.2 KiB
Plaintext

cheats = 23
cheat0_desc = "Enable Code (Must Be On)"
cheat0_code = "0000F58E+000A+10000BC4+0007"
cheat0_enable = false
cheat1_desc = "Infinite Health"
cheat1_code = "33005434+0032"
cheat1_enable = false
cheat2_desc = "Infinite Features"
cheat2_code = "32005000+0063"
cheat2_enable = false
cheat3_desc = "Invincible"
cheat3_code = "32004FCC+0031"
cheat3_enable = false
cheat4_desc = "Infinite Pixie Dust"
cheat4_code = "8200B1E8+0640"
cheat4_enable = false
cheat5_desc = "Start With 1 Life"
cheat5_code = "72005008+0005+32005008+0001"
cheat5_enable = false
cheat6_desc = "Start With 3 Lives"
cheat6_code = "72005008+0005+32005008+0003"
cheat6_enable = false
cheat7_desc = "Press Select For 9 Lives"
cheat7_code = "D0000020+0004+32005008+0009"
cheat7_enable = false
cheat8_desc = "Press Select For 20 Lives"
cheat8_code = "D0000020+0004+32005008+0014"
cheat8_enable = false
cheat9_desc = "Press Select For 50 Lives"
cheat9_code = "D0000020+0004+32005008+0032"
cheat9_enable = false
cheat10_desc = "Infinite Lives"
cheat10_code = "32005008+0009"
cheat10_enable = false
cheat11_desc = "Press Select For 1 Continue"
cheat11_code = "D0000020+0004+32004F90+0001"
cheat11_enable = false
cheat12_desc = "Press Select For 9 Continues"
cheat12_code = "D0000020+0004+32004F90+0009"
cheat12_enable = false
cheat13_desc = "Press Select For 20 Continues"
cheat13_code = "D0000020+0004+32004F90+0014"
cheat13_enable = false
cheat14_desc = "Press Select For 50 Continues"
cheat14_code = "D0000020+0004+32004F90+0032"
cheat14_enable = false
cheat15_desc = "Infinite Continues"
cheat15_code = "32004F90+0009"
cheat15_enable = false
cheat16_desc = "Unlock Movie 1"
cheat16_code = "32005440+0001"
cheat16_enable = false
cheat17_desc = "Unlock Movie 2"
cheat17_code = "32005441+0001"
cheat17_enable = false
cheat18_desc = "Unlock Movie 3"
cheat18_code = "32005442+0001"
cheat18_enable = false
cheat19_desc = "Unlock Movie 4"
cheat19_code = "32005443+0001"
cheat19_enable = false
cheat20_desc = "Unlock All Movies"
cheat20_code = "82005440+0101+82005442+0101"
cheat20_enable = false
cheat21_desc = "Have All Keys"
cheat21_code = "42005010+0001+00000003+0002"
cheat21_enable = false
cheat22_desc = "Have All Instruments"
cheat22_code = "32002D6C+0003"
cheat22_enable = false