1
0
mirror of https://github.com/libretro/libretro-database synced 2024-11-23 16:46:17 +00:00
libretro-database/cht/Nintendo - Game Boy Advance/Yu Yu Hakusho - Ghostfiles - Spirit Detective (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

39 lines
1014 B
Plaintext

cheats = 9
cheat0_desc = "Enable Code (Must Be On)"
cheat0_code = "0000B527+000A+10021762+0007"
cheat0_enable = false
cheat1_desc = "Infinite Health-All Characters"
cheat1_code = "43001020+6C00+00000004+0008"
cheat1_enable = false
cheat2_desc = "Infinite Spirit Energy-All Characters"
cheat2_code = "43001022+6C00+00000004+0008"
cheat2_enable = false
cheat3_desc = "Max Levels/Stats-All Characters"
cheat3_code = "43001026+0018+00000004+0008"
cheat3_enable = false
cheat4_desc = "Have All Spirit Attacks-All Characters"
cheat4_code = "83000E4A+FFFF+83000E4C+FFFF"
cheat4_enable = false
cheat5_desc = "Press R Trigger+L Trigger To Reset Timer (Timed Levels)"
cheat5_code = "74000130+00FF+3300203D+0000"
cheat5_enable = false
cheat6_desc = "Level Select Menu"
cheat6_code = "74000130+02FB+33007DC9+0005"
cheat6_enable = false
cheat7_desc = "Unlock Extras Menu"
cheat7_code = "33007E52+0001"
cheat7_enable = false
cheat8_desc = "4095 Score (Genkai Test)"
cheat8_code = "830010F4+0FFF"
cheat8_enable = false