An environment for linking, runtime hooking and code patching in Monster Hunter Generations Ultimate.
- Download the latest release from the releases page
- Open Ryujinx, right click MHGU and select "Open Mods Directory"
- Extract the contents of the downloaded archive into that folder
- In Ryujinx, right click MHGU and select "Create Custom Configuration" (or "Edit Custom Configuration" if you already did so before)
- Go to the CPU section and disable the "PPTC (Profiled Persistent Translation Cache)" option
- Click "Save".
- Right click MHGU and select "Cache Management > Purge PPTC Cache" and "Cache Management > Purge Shader Cache"
- Restart Ryujinx
To make keyboard input work, you need to enable "Direct Keyboard Access" in the Ryujinx Input Settings.
Be sure to check out submodules first:
git submodule update --init --recursiveTo build the module you'll need devkitPro.
Install devkitARM using pacman:
sudo (dkp-)pacman -Sy
sudo (dkp-)pacman -S devkitARMUse dkp-pacman on macOS and Debian-based distros and pacman otherwise.
Also install the lz4 package:
# On Debian-based distros
sudo apt install liblz4-dev
# On Arch-based distros
sudo pacman -S lz4
# On macOS with Homebrew
brew install lz4Then you can build the module:
makeYou'll find subsdk.nso and main.npdm in the project directory. Move subsdk.nso to subsdk1 (for example) and main.npdm into an exefs folder in a mod directory.
- devkitPro for a development environment
- skyline-dev/skyline for the basis of the module
- RicBent/codedx for building an NSO
- xerpi/libnx for an AArch32 userland library
- Magic1-Mods/And32InlineHook for AArch32 hooks