I'm trying to add cheats for Worms Armageddon, currently not in mupencheat.txt. Here are the steps I've taken so far:
Output from: "/usr/games/mupen64plus --cheats list Worms\ Armageddon\ \(USA\)\ \(En\,Fr\,Es\).n64"
Core: Goodname: Worms - Armageddon (U) (M3) [!]
Core: Name: WORMS ARMAGEDDON
Core: MD5: 491D4DB6718302489BF05FB962C73651
Core: CRC: 13E959A0 E93CAB0
Core: Imagetype: .v64 (byteswapped)
Core: Rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
Core: Version: 1444
Core: Manufacturer: Nintendo
Core: Country: USA
UI-Console Warning: no cheat codes found for ROM image 'WORMS ARMAGEDDON'
Core Status: Rom closed.
---
From here I've identified the CRC and Goodname. This information seems to have come from mupen64plus.ini, where Worms Armageddon is listed. I then opened up mupencheat.txt and added the following lines:
crc 13E959A0-E93CAB0-C:45
gn Worms - Armageddon (U) (M3) [!]
cn Have All Training Levels (1st Created Team)
810C5BD8 000B
---
I used the country code (45), since the output from above says the country is USA. I put in only one cheat as a test (cheats from
http://www.gamegenie.com/cheats/gameshark/n64/worms_armageddon.html). After running the same cheats list command as above, I get the exact same output. I also double-checked that mupen64plus is actually reading the cheats file by temporarily renaming it and confirming that mupencheats.txt is no longer found.
Is my approach for adding cheats completely wrong? Any advice would be greatly appreciated.