mirror of
https://github.com/libretro/libretro-database
synced 2024-11-23 16:46:17 +00:00
abf99061cb
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
31 lines
680 B
Plaintext
31 lines
680 B
Plaintext
cheats = 7
|
|
|
|
cheat0_desc = "Enable Code (Must Be On)"
|
|
cheat0_code = "0000A511+000A+1035A548+0007"
|
|
cheat0_enable = false
|
|
|
|
cheat1_desc = "Have 8 Keys"
|
|
cheat1_code = "320001C0+0008"
|
|
cheat1_enable = false
|
|
|
|
cheat2_desc = "Infinite Lives"
|
|
cheat2_code = "320001CD+0009"
|
|
cheat2_enable = false
|
|
|
|
cheat3_desc = "Infinite Health"
|
|
cheat3_code = "320001CE+0006"
|
|
cheat3_enable = false
|
|
|
|
cheat4_desc = "Have All Weapons & Infinite Ammo"
|
|
cheat4_code = "420001C2+0909+00000003+0002"
|
|
cheat4_enable = false
|
|
|
|
cheat5_desc = "Have All Levels Open"
|
|
cheat5_code = "420001D8+FFFF+00000004+0002"
|
|
cheat5_enable = false
|
|
|
|
cheat6_desc = "Have All Worlds Open"
|
|
cheat6_code = "320001D5+003F"
|
|
cheat6_enable = false
|
|
|