I made some patches for Jet Force Gemini, Resident Evil 2 and others to circumvent some of the limitations of the DE-10 nano that the N64 core suffers from. These are .BPS patches, you can use software like "beat" to patch your original .z64 files. I included patches for both NTSC and PAL.
We have been testing these games in the mister discord and so far I haven't had any crash reports yet but it is very possible there are still some issues.
For those curious what I changed:
Conker's bad fur day / Gauntlet legends:
These games are fixed in the latest N64 Core release.
Jet Force Gemini:
This one is pretty simple, there is a RSP timing check that the game does, which is documented here: https://github.com/ares-emulator/ares/issues/129
I just removed any conditionals in this check so it always passes. So far the patch seems pretty stable with multiple people finishing the game.
Resident Evil 2:
I added a 16k cycle wait for the main CPU every time the RSP is resumed. This gives the RSP more time to do its thing, including DMA's which might suffer from random latency due to DE-10 Nano DDR3.
Polaris Snocross:
Essentially same fix as RE2.
Batman Beyond:
It looks like the devs just forgot to enable a 30 fps framecap for the main game and never noticed because a real n64 isn't fast enough for 60 fps. Luckily the autorun demo does have the cap enabled so I was able to find that and use it for the regular game.
Knife Edge:
theboy181 on github https://github.com/mupen64plus/mupen64p ... 1989025250 had previously made some cheat codes to slow down the game on emulator but they weren't really suited for the mister core. It did send me in the right direction, there is a framerate limiter that sets the limit to 20fps when there is text displayed. I modified this to also limit the framerate to 30 fps during normal gameplay. I got pretty far into the game and the speed seemed normal compared to real n64 footage I found.
Rugrats in Paris:
This game needed a delay before RSP resume but also after a PI DMA starts.
Mario Kart 64 (for Turbo core):
In certain multiplayer modes the game speeds up the gameplay to compensate for low framerates. In the turbo core (and Project 64 where these changes are always enabled) the game can run full speed making the game run too fast, so these patches revert this speedup. In the regular core the game can also run a little too fast but not always, so these patches may not be appropriate in that case. I added them in a "Turbo Core" folder in the archive.
Blues Brothers 2000:
Adjusted speed of alligator. There is another chase level later on which will probably need adjusting as well. If anyone ever gets there send me a save file so I can have a look at it.
Nintama Rantarou Game Gallery 64:
This needed a somewhat long delay before RSP resume. Don't really know why this fixes the crash since it is also broken in Ares. Didn't test this for very long, might need some more delay if it still crashes.
Thanks everyone for testing!
edit 01/07/2024: Added Spanish CBFD patch, use the original NTSC ROM.
edit 02/07/2024: Added Portuguese CBFD patch.
edit 04/07/2024: Added Resident Evil 2 NTSC (1.0) and (1.1), PAL and JP (Biohazard 2).
edit 02/08/2024: Added Polaris Snocross.
edit 07/08/2024: Added Gauntlet Legends.
edit 08/08/2024: Added Gauntlet Legends PAL and JP.
edit 12/08/2024: Added Batman Beyond.
edit 13/08/2024: Added Batman Beyond PAL.
edit 15/08/2024: Added Knife Edge.
edit 16/08/2024: Added Star Twins (Jet Force Gemini JP) and Knife Edge JP/PAL .
edit 18/08/2024: Added Rugrats in Paris and Mario Kart 64 (for turbo core) .
edit 23/08/2024: Deleted Conker and Gauntlet Legends since they are fixed on the core now. Added Blues brothers and Nintama Rantarou Game Gallery 64.
edit 18/09/2024: Added portuguese patch for Jet Force Gemini. To get this to work you will have to first patch a NTSC .z64 rom with the translation patch (Translations folder) and then patch it with the fix for the N64 Core. Once yxkalle updates the n64 database only the first step is needed.
IMPORTANT NOTE 05/09/2024: Thanks to yxkalle the patch data is now included in N64-database.txt and the latest mister main will apply them automatically. So no manual patching is required when using the latest mister main.