Adding cheats to mupencheat.txt

479 views
Skip to first unread message

shaneb...@gmail.com

unread,
Feb 28, 2016, 7:37:25 PM2/28/16
to mupen64plus
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.

Richard Goedeken

unread,
Feb 28, 2016, 10:45:58 PM2/28/16
to mupen...@googlegroups.com
Hi Shane,

Everything you've done here is exactly correct. I did some debugging to find
out what is going wrong here, and I found that it's kind of a problem in the
core. The problem is that the second 32-bits of the CRC starts with a 0 and
it's only printing out 7 digits instead of all 8. So if you change your CRC
value in the mupencheat.txt file to look like this:

crc 13E959A0-0E93CAB0-C:45

(note the preceding 0) then it will work. I've made a change to the core to
force it to print out all 8 digits from each half of the CRC.

Regards,
Richard
> --
> You received this message because you are subscribed to the Google Groups
> "mupen64plus" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mupen64plus...@googlegroups.com
> <mailto:mupen64plus...@googlegroups.com>.
> To post to this group, send email to mupen...@googlegroups.com
> <mailto:mupen...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/mupen64plus.
> For more options, visit https://groups.google.com/d/optout.

shaneb...@gmail.com

unread,
Feb 29, 2016, 12:20:33 AM2/29/16
to mupen64plus, Ric...@fascinationsoftware.com
It is working now. Thank you so much!
Reply all
Reply to author
Forward
0 new messages