libretro / parallel-n64

Optimized/rewritten Nintendo 64 emulator made specifically for Libretro. Originally based on Mupen64 Plus.
325 stars 128 forks source link

[docs] How to apply cheats? #418

Open centos6user opened 7 years ago

centos6user commented 7 years ago

I noticed that cheats were implemented the last weeks (including long discussion about c type specs ;) ).

However, I found a few 'Pokemon Snap' cheats hardcoded in mupen64plus-core/src/main/cheat.c... Now I want to apply Mario Kart 64 multiplayer timing fix from project64 ( https://github.com/project64/project64/pull/605/files ).

Do I need to hardcode those cheats and recompile? Or is there a path to simply create a .txt/.cht-file? Or isn't it implemented yet?

Maybe some could briefly explain how to apply those cheats?

Thanks in advance!

@twinaphex @ilag11111

loganmc10 commented 7 years ago

Cheat support in this respect isn't specific to mupen64plus-libretro, all cores support the same type of cheat system, it works like this:

You need to create a .cht file, you can see an example here:

https://raw.githubusercontent.com/libretro/libretro-database/master/cht/Nintendo%20-%20Nintendo%2064/Mario%20Kart%2064%20(U).cht

Once you are in-game, you go to the "Quick Menu" and then "Cheats". You load the .cht file you created, and then you enable the cheat you want, and then you hit apply.

In the case of the multiplayer timing tix cheat, I'm not sure if that would need to be applied each time you run the game, or just once, most N64 emulators have that cheat built-in, but mupen64plus-libretro does not