Mario Tennis Fever Recomp

MTF Recomp is a native PC port of Mario Tennis Fever for Windows that runs at 60 fps and supports HDR10 and up to 4K resolution.

README

MTF Recomp

MTF Recomp is a static recompilation of Mario Tennis Fever (Nintendo Switch 2, version 1.1.1) into a native x86-64 application for Windows. The game's ARM64 code is translated to C and compiled for the PC; a host runtime stands in for the console's operating system, its services and its GPU, which it drives through Vulkan.

Important

No game files are included. You need your own legally obtained copy of Mario Tennis Fever, dumped from your own console: the base game and the 1.1.1 update, as a .nup file. Instructions for obtaining those files will not be provided.

The game is built from your files on your machine, so the result contains the game. It is for your own use. Do not share it.

Status

Early development. Matches, menus and the adventure mode play at 60 fps; visual bugs and crashes are still expected. Report problems as issues, following CONTRIBUTING.md. Known problems:

  • the grass seen up close (player introductions) is made of flat, square-tipped blades;
  • online features are unavailable: the game runs as an offline console.

Features

  • Native code, not emulation
  • 60 fps, frame-paced on a high-resolution timer
  • Shaders translated at install instead of during play: no translation stutter
  • HDR10 on HDR displays: the game is SDR, so the scene's highlights are rebuilt from its own HDR light buffer (its ACES curve kept up to 80% white, extended to your display's peak); the HUD stays at its own white
  • Up to true 4K: the game renders and presents at the output resolution you choose
  • Anti-aliasing and upscaling of your choice: off, the game's FXAA, NVIDIA DLAA or the DLSS modes on RTX GPUs (the setup can download nvngx_dlss.dll from NVIDIA; NVIDIA's licence does not allow shipping it), AMD FSR 1 when the window is larger than the picture
  • In-game settings menu: Minus+Plus on the controller, F1 or Esc (resolution, window, vsync, picture, sound, rumble, motion controls, button layout), in English and Brazilian Portuguese
  • Gamepads through SDL3, with rumble and gyro for the motion controls; keyboard controls
  • Stereo or 5.1 sound
  • A window that fits your monitor, sharp at any display scale

Installing

Requirements: Windows 10 or later, an x86-64 CPU (AVX2 or SSE4.2, the setup picks), an NVIDIA GPU with Vulkan 1.3 and a current driver (the shadows use NVIDIA Vulkan extensions; other GPUs are untested), about 35 GB free during the install (10 GB after).

  1. Download MTF-Setup-<version>-windows.zip from Releases and unpack the whole archive.
  2. Start MTF-Setup.exe.
  3. Choose your own copy of the game, version 1.1.1: a .nup with the base game and the update, or a folder with the update's exefs and romfs. The game itself needs no keys file.
  4. Optional, for the button icons (L, R, A...), which otherwise show as ??: the firmware's Contents\registered folder, for example from an emulator, with its prod.keys, or a folder with the system fonts.
  5. Choose an install folder and press Start.

The setup checks your files, translates the game's code to C and its shaders to SPIR-V, and compiles mtf-recomp.exe on your PC, with its own compiler: there is nothing else to install. It takes minutes and runs once (docs/installer.md). With the box ticked, it also downloads NVIDIA's nvngx_dlss.dll from NVIDIA's DLSS SDK for RTX GPUs.

Play mtf-recomp.exe from the install folder. Settings are in the in-game menu and in mtf.ini beside the executable; saves are in profile\. The release contains no part of the game, and the folder the setup builds is for your own use only: do not share or upload it.

Controls

  • Gamepad: any controller SDL3 knows. Buttons follow the labels on the pad (on an Xbox or PlayStation pad the south button is A); PAD_LAYOUT = positional maps every pad by position instead. A pad with a gyro (DualSense, DualShock 4, Switch Pro Controller) drives the motion controls.
  • Keyboard: WASD left stick, arrow keys right stick, K A, J B, I X, U Y, Q L, E R, Z ZL, C ZR, F / H stick clicks, 1-4 d-pad, Enter +, Backspace -, Space swings.

Credits

MTF Recomp builds on the projects below. What was taken from each, with its licence, is listed in THIRD_PARTY_NOTICES.md.

License

The project's own code is under the MIT License; third-party code keeps its own licence (THIRD_PARTY_NOTICES.md). The licence grants nothing for Nintendo's game.

MTF Recomp is an independent, non-commercial fan project, not affiliated with or endorsed by Nintendo or Camelot. Mario Tennis Fever and Nintendo Switch are trademarks of Nintendo.

Building from source

docs/building.md lists the toolchain and the steps, and how the repository is laid out. Everything the build writes stays under build\, which git ignores; run python tools\check_content.py before a commit, or let the hook run it (git config core.hooksPath .githooks).

Most of the code and documentation is written by AI coding agents (Claude Code) under the maintainer's direction; the maintainer plays every build and decides what is merged.