Controls, cheats & mods

Default keyboard and mouse bindings, controller prompt switching, built-in cheats, and how to install or create mods with mod.toml.

  • Prompts: Xbox, PS, Switch & KBM
  • Ninpo key: F (Y+B)
  • Wind Run key: C (A+X)
  • Mod config: mod.toml
Microsoft Xbox 360 Elite and Xbox 360 S consoles alongside a black wireless Xbox 360 controller
Original Xbox 360 hardware platform (World release Title ID 544307D5 + Title Update 3)

Default controller, keyboard & mouse bindings

gamboozino/ng2recomp supports Xbox, PlayStation, and Nintendo controllers alongside full keyboard and mouse play. The game automatically switches on-screen button icons (using Nicolae “Xelu” Berbece’s prompt set) to match whichever input device you touched last: or you can lock a specific icon style under RECOMP SETTINGS > Interface > Button Prompts:

ActionController ButtonKeyboard & Mouse Default
Move RyuLeft StickW A S D
Camera ControlRight StickMouse or Numpad 8 4 5 6
Quick AttackX ( Square / Y )Left Mouse Button or J
Strong AttackY ( Triangle / X )Right Mouse Button or K
Jump / Wind RunA ( Cross / B )Space or Return
Projectile / ShurikenB ( Circle / A )E or Backspace
Cast Ninpo (Two-button macro)Y + BF
Water Run / Wind Run (Two-button macro)A + XC
Block / Reverse Wind DashLT ( L2 / ZL )Left Shift
Center Camera / Bow AimRT ( R2 / ZR )Q or Middle Mouse Button
First-Person View / Quick MenuLB / RBR / V
Left / Right Stick ClicksLS / RSZ / X
In-Game Menu (Back) / Pause (Start)Back / StartTab / Escape
D-Pad Quick ItemsD-PadArrow Keys

Customizing keybinds & two-button combo macros in ng2.toml

Until in-menu key rebinding lands, keyboard bindings are configured in ng2.toml (inside %LOCALAPPDATA%\NinjaGaiden2 or ~/.config/ng2-recomp). Each controller button accepts a comma-separated list of keys, and placing the same key in two lists presses both buttons simultaneously: which is how F triggers Ninpo (Y + B) and C triggers Wind Run / Water Run (A + X):

keybind_a = "Space,C,Return"
keybind_b = "E,F,Backspace"
keybind_x = "MouseLeft,J,C"
keybind_y = "MouseRight,K,F"

Built-in cheats & Master Edition enables

Open RECOMP SETTINGS > Cheats (or Gameplay for difficulty enables) at any time to toggle built-in training and All options:

SettingBehavior & Save File Impact
Infinite HealthKeeps Ryu’s health bar full during combat without permanently altering your save file.
Infinite NinpoRefills your Ninpo ki slots immediately after every cast.
All DifficultiesLocated under Gameplay: enables all difficulty paths (including Path of the Mentor and Path of the Master Ninja) in New Game and Mission Mode immediately.
All Costumesenables Ryu’s alternate costumes without requiring completion clears.
All Weapons and Ninpo (Level 1 or 3)Grants every melee weapon, ranged projectile weapon, Ninpo art, and full ammo at New Game, save load, or stage start. Note: items granted by this toggle remain in your save file if you save while it is active.
All Crystal SkullsActivates all 30 Crystal Skull shop discount bonuses.
Max HP and NinpoTemporarily maxes out your health bar length (Lives of the Thousand Gods) and Ninpo slots while enabled, while preserving your real upgrade count in the save file.

Installing & creating mods (mods/ folder & mod.toml)

Mods replace game files (models, animations, effects, stages, text, or audio) without modifying your original game installation. Place each mod in its own subfolder inside %LOCALAPPDATA%\NinjaGaiden2\mods (Windows), ~/.local/share/ng2-recomp/mods (Linux), or userdata/mods (portable mode):

mods/
  Ryu's New Look/
    mod.toml
    files/
      char/ryu_b/ryu_b.gmd

Any file inside files/ overrides the archive file at the same relative path (for example, files/char/ryu_b/ryu_b.gmd replaces Ryu’s base costume model). You can also include an optional mod.toml to toggle the mod or swap one internal archive file for another without shipping external assets:

name = "Ryu's New Look"
version = "1.0"
enabled = true          # set false to disable without deleting the folder

[replace]
'char/ryu_b/ryu_b.gmd' = 'char/ryu_c/ryu_c.gmd'

Mods load in alphabetical folder order on startup and are listed in ng2.log. Set log_file_loads = true in ng2.toml to log every internal file path the game loads as you play.

Ninja Gaiden II Recompiled supports Xbox, PlayStation and Nintendo controllers with native Xelu button prompts (plus low-latency VK_KHR_present_wait input mode):

ControllerBest For in Ninja Gaiden II RecompHardware AdvantageLink
Xbox Wireless ControllerOriginal Xbox 360 layout & promptsNative XInput mapping matching the 2008 Xbox 360 combat layoutView on Amazon
GameSir Cyclone 21000 Hz Master Ninja precisionTMR sticks, micro-switch face buttons and 1000 Hz wireless dongleView on Amazon
Sony DualSensePlayStation button promptsAutomatic PlayStation button prompt switching and crisp D-padView on Amazon
8BitDo Ultimate 2 WirelessWindows & SteamOS dock playZero-drift TMR sticks, charging dock and rear macro paddlesView on Amazon

As an Amazon Associate, this site earns from qualifying purchases.

Sixteenth-century Japanese steel tachi blade with carved dragon horimono engraving and black lacquer scabbard
Sixteenth-century Japanese tachi blade with dragon engraving from The Metropolitan Museum of Art
Macro photograph of the Microsoft Xbox 360 ATI Xenos GPU and eDRAM multi-chip package on a green PCB
Xbox 360 ATI Xenos GPU silicon package (663 shaders pre-translated to Vulkan SPIR-V by XenosRecomp)
Desktop gaming PC workstation with dual monitors and tempered glass chassis
Windows 10/11 x64 desktop workstation for Vulkan 1.3, 8x render scale, 8x MSAA and 21:9/32:9 ultrawide

Common questions

Does the mouse move the camera during gameplay and hide when I pick up a controller?

Yes. Moving the mouse rotates the camera whenever keyboard and mouse are active, and the cursor automatically hides and disables mouse camera input the moment you touch a controller.

How do I restore default settings on a 6-row in-game Recomp Settings page?

In the in-game pause menu, settings pages that already contain six rows have no room for a seventh "Restore Defaults" row. Return to the main Title Menu and open RECOMP SETTINGS there: every page on the title menu includes the Restore Defaults option.