Tokyo Mirage Sessions #FE Encore, running natively on Windows and Linux / Steam Deck (experimental).
Up to 4K and 240 fps · DLSS 4.5 / FSR 3 · VRR · one-click setup and updates · no emulator
4K, DLSS, UHD textures, Xbox button prompts. Screenshots from the author's own copy.
**TMSRecomp** is an unofficial native Windows (and experimental Linux / Steam Deck) port of *Tokyo Mirage Sessions #FE Encore* (Nintendo Switch, ATLUS /
Intelligent Systems, 2020), made by static recompilation: the game's 32-bit ARM code is translated to C and compiled
into an ordinary Windows x64 program, and its graphics run on Vulkan. There is no emulator and no JIT
([how it works](#how-it-works)).
> [!IMPORTANT]
> **No game files are included.** You need your own legally obtained copy of *Tokyo Mirage Sessions #FE Encore*, dumped
> from your own console: the base game **1.0.0 without update** (title ID `0100A9400C9C2000`) and your `prod.keys`, or an
> already extracted folder. How to dump them is not covered here, and requests for game files will be closed.
>
> The game is built from your files on your PC, so the result contains the game. It is for your own use: do not share
> `game.dll` or your game files folder.
> [!NOTE]
> **This project was built entirely with AI.** All of the code, tooling, reverse engineering and documentation in this
> repository was written by an AI model (Anthropic's Claude, through Claude Code), directed, tested and reviewed by the
> project's owner. It is shared as is, as a fan project. As with any code from the internet, you build and run it at
> your own discretion.
> [!WARNING]
> **v0.1.9.1 beta.** It is tested until the chapter 2 Idolasphere with
> saving and loading, on NVIDIA RTX and AMD Radeon (desktop and handheld). **Anything after that is unknown territory**,
> as are Intel GPUs, weaker PCs and Linux / Steam Deck: bug reports are very welcome.
*TMSRecomp is not affiliated with, endorsed or sponsored by Nintendo, ATLUS, SEGA or Intelligent Systems. Tokyo Mirage
Sessions #FE Encore and all related names, characters and assets are trademarks and copyrights of their owners.*
## At a glance
| | Nintendo Switch | TMSRecomp on PC |
|---|---|---|
| Resolution | 720p | 720p to 4K, 8K supersampling |
| Frame rate | 30 fps | 30, 60, 120, 144, 165, 240 or uncapped |
| Anti-aliasing | FXAA | FXAA, SMAA, MSAA up to 8x, AMD FSR 3, NVIDIA DLSS / DLAA (DLSS 4.5 models) |
| Upscaling | none | FSR 1, FSR 3 and DLSS Quality to Ultra Performance |
| Display | TV / handheld | borderless or window, Mailbox, VSync, VRR (G-SYNC / FreeSync) |
| Textures and movies | original | optional 4x UHD texture pack and 4K movies |
| Extras | none | battle retry, revealed maps, battle speed, multipliers, fast travel, autosave, mods and more |
| Controls | Joy-Con / Pro Controller | keyboard, Xbox, PlayStation and Switch pads with matching button prompts |
## Contents
- [Features](#features)
- [What's new in v0.1.9.1](#whats-new-in-v0191)
- [Requirements](#requirements)
- [Installing and playing](#installing-and-playing)
- [Updating](#updating)
- [Extras: English patch, UHD textures, 4K movies, your own music](#extras)
- [Controls](#controls)
- [Settings](#settings)
- [Saves (and emulator saves)](#saves)
- [Mods](#mods)
- [Troubleshooting and FAQ](#troubleshooting-and-faq)
- [Known issues](#known-issues)
- [Reporting a bug](#reporting-a-bug)
- [How it works](#how-it-works)
- [Linux (experimental)](#linux-experimental)
- [Building from source](#building-from-source)
- [License and credits](#license-and-credits)
## Features
**Performance and display**
- Native code, not emulation: the game's ARM code is translated to C and compiled for Windows x64, and its NVN graphics
calls run on Vulkan. Built on your PC from your own dump in 5 to 15 minutes.
- Faster translated code: guest registers and flags kept in CPU registers, -O2, and the game's memcpy / memset /
string functions as PC code, ThinLTO and a profile-guided build. Shibuya on one CPU core: 93 -> 137 fps.
- 4K movies decode on the GPU's video engine (Windows' VP9 decoder): the camp menu uses about 2 CPU cores less.
- Frame rate 30 (the game's own), 60, 120, 144, 165, 240 or uncapped. Game logic,
animation and the camera run at the chosen rate; the game keeps its original speed.
- Internal resolution from 720p (the game's own) to 4K, and 8K supersampling; Auto picks one for your screen and GPU.
- Borderless fullscreen or window (F11 / Alt+Enter switches while playing).
- **Ultrawide** 21:9 and 32:9 (or Auto: your screen's shape): a wider 3D view, HUD and menus stay 16:9 in the middle,
field HUD in the screen corners. Never stretched: other shapes get black bars.
- VSync modes: Mailbox (no tearing, low latency), classic VSync, **VRR** (G-SYNC / FreeSync: VSync plus a frame cap
3 fps under your refresh rate) and Off.
- Even frame pacing: a dedicated present thread, pipeline prewarm and a shader cache built during setup, so new areas
do not stutter.
- Weak-PC defaults: integrated GPUs and cards under 4 GB of VRAM get a lighter default resolution and no UHD pack.
**Image quality**
- Anti-aliasing: the game's FXAA, SMAA, **AMD FSR 3** (temporal, works on any GPU) or **NVIDIA DLSS / DLAA** (RTX GPUs,
optional download from NVIDIA during setup), plus MSAA 2x / 4x / 8x.
- FSR 3 / DLSS upscaling modes: Native (DLAA), Quality, Balanced, Performance, Ultra Performance. Menus and text always
stay at full resolution.
- DLSS model selection: Auto, K (transformer) or the DLSS 4.5 models M and L (DLSS 310.9).
- FSR 1 screen scaler and contrast-adaptive sharpening (Off / Low / Medium / High).
- Each post effect can be turned off: bloom, glow, depth of field, vignette, fog, outlines, character rim light.
- Optional UHD texture pack and 4K story movies / camp backgrounds (separate downloads, see [Extras](#extras)).
**Quality of life (all optional, in the launcher and the in-game menu)**
- In-game settings menu (F1 or L3 + R3) with live changes, and a **Travel** page: jump to shops you have visited, or
open the Tokyo Map from anywhere.
- **Reveal dungeon maps**: each Idolasphere floor shows its whole layout on the minimap and map when you enter it.
- **Retry lost battles** with the battle's starting HP / EP / items.
- **Overworld costume**: the costume equipped for battle is also worn in town, dungeons and story scenes.
- **Request hints**: F1 menu > Request hints lists the requests in progress and the ones waiting to be taken, with who
gives each one and how to finish it.
- **New Game+ requests in a new game**: requests 49 (Versus Grandmaster Mirage!) and 50 (The Dragon Descends) no
longer need New Game+.
- **Language**: English, Japanese, French, Simplified or Traditional Chinese text (the game's own translations).
- **All difficulties unlocked**: Friendly and Lunatic from the start, and every difficulty (Friendly .. Lunatic) can be
changed mid-game in System > Settings. See [Difficulty levels](#difficulty-levels) for what each one changes.
- Battle speed, autosave after battles (to slot 20, your own slots are untouched), field walk speed.
- EXP, money and mastery multipliers; Sub Cast EXP; EXP level-gap penalty on/off; level-ups refill HP / EP;
fallen members revive with 1 HP after a battle; carry 99 of each item; guarding recovers HP / EP.
- First strike on downed field enemies, hide field enemies, weakness / resistance icons in battle, detailed skill help.
- English subtitles for the Japanese battle voices.
- Random battle music: the game's own tracks, your own `.adx` music folder, or both, with matching victory themes.
- Button prompts for Switch, PlayStation or Xbox controllers (Auto detects your pad), and a **Button layout** option:
Switch (right face button confirms) or Xbox / PC (bottom button confirms).
- **Resist markers**: a shield over foes that resist the highlighted skill (also in the target panel) and a RESIST popup
on resisted hits, next to the game's own weakness "!" and WEAK.
- **WEAK in the skill list** (like Persona 5 Royal): a skill shows WEAK when a foe on the field is weak to it and you
already know that weakness. On by default; F1 / L3 + R3 menu and launcher > Game.
- **Low-end options**: Auto 30 when slow (full game speed instead of slow motion), Crowd density (fewer walkers and cars
in town), Shadow detail (no far shadow layer), 3D resolution (the 3D scene renders at 85 / 75 / 67 / 50% and is
scaled up while menus and text stay sharp: the biggest FPS gain on weak graphics cards; Auto lowers it step by step
while the graphics card cannot keep your FPS and raises it again when there is room). Launcher > Display & FPS and
the F1 menu.
- **3D models in video memory** (on by default, `vb_vram`): the game's unchanged model data is copied to video memory
instead of being read over the PCIe bus every frame: about half the GPU time in big areas such as the Shibuya crosswalk.
- **HDR** (HDR screens, Windows HDR on): HDR highlights lifts the bright parts of the 3D scene toward your screen's peak
(like AutoHDR) and HDR colour makes it more vivid; menus and text stay at normal white.
- **Keyboard and mouse**: every button can be rebound (up to 3 keys each, mouse buttons and wheel too), and the mouse
turns the camera (sensitivity, invert). Launcher > Game > Keyboard & mouse.
- **Controller button remapping**: any Switch button on any pad button, back paddles included; button prompts follow.
Launcher > Game > Controller buttons.
- DS4Windows works: its virtual pad is used and the real PlayStation pad is left to it.
- Menus and dialogue stay at their original pace at any frame rate, with optional smoothing above 60 fps.
**Launcher**
- One window for setup, settings, mods, extras and updates. Quick settings on the Play page, every option on its pages.
- **Setup page**: pick your NSP + `prod.keys` (or an extracted folder) and press SET UP. No emulator, no firmware, no
internet needed.
- **Guide page**: explains each extra and installs it from its ZIP with one click.
- **Mods page**: turn mods on and off without deleting them.
- **One-click updates** from this repository's releases (see [Updating](#updating)).
- Copy system info and open the last log for bug reports.
- The window icon and the Play page picture come from your own game (the NSP's icon and your title screen).
## What's new in v0.1.9.1
Emergency update: fixes a stutter that v0.1.9 added on Windows. Please update.
A version with four numbers (like 0.1.9.1) is an emergency update: it fixes a regression the version before it
added, so everything that worked before works again.
- **Stutter fixed** (thanks Augs!): v0.1.9 could freeze for up to 1.5 s in battles and when moving between areas on
Windows. The game now hands its memory to the graphics card once and keeps it, as in v0.1.8.
- **Daitama Observatory looked blurry:** DLSS, FSR 3 and SMAA did not run in that area, so with a lower 3D resolution
the picture was only stretched. They work there now.
- **Launcher asked for Setup at every start** (issue #20): it now also finds the game in the standard
`TMSRecomp\game` folder.
## What's new in v0.1.9
- **Ultrawide (21:9) shadows reach the screen edges.** Before, shadows stopped at the 16:9 part of the picture and
the sides had none (thanks Promise!).
- **Ultrawide warp pad:** the swirl effect stays on the pad instead of being pulled toward the screen middle (thanks
CTKirito!).
- **Ultrawide side fill:** 16:9 pictures and movies show a blurred copy in the side bars instead of black. Setting
*Ultrawide sides* in the launcher (on by default; off = black bars).
Older versions: see each release's notes on the [Releases](../../releases) page.
## Requirements
- Windows 10 or 11, 64-bit.
- A GPU with Vulkan 1.3 and a current driver (NVIDIA GTX 900 series or newer, AMD RX 400 or newer, Intel Arc or
recent integrated graphics). Tested on NVIDIA RTX and AMD Radeon (RX 7800 XT; Ryzen Z2 Go handheld, Legion Go S);
Intel not yet.
- About 15 GB of free disk space (game files plus the built game). The UHD texture pack and 4K movies need more.
- Your own dump of the game: an NSP of the base game 1.0.0 and `prod.keys` from your own Switch, or an already extracted
folder with `exefs\` and `romfs\` (no keys needed then).
- Nothing else: Python, the compiler and the shader translator ship inside the ZIP.
- **Linux / Steam Deck (experimental)**: x86-64 with glibc 2.39 or newer (Ubuntu 24.04, Fedora 40, Debian 13, SteamOS
3.7). Same game, no FSR 3 / DLSS. Not tested on a Steam Deck yet: see [Linux](#linux-experimental).
## Installing and playing
Linux / Steam Deck: download `TMSRecomp--linux-x64.tar.gz` instead, extract it, run `launcher`; the rest is
the same ([details](#linux-experimental)).
1. Download `TMSRecomp-.zip` from the [Releases](../../releases) page and extract it anywhere you can write to
(for example `D:\Games\TMSRecomp`, not `C:\Program Files`).
2. Run `tmslauncher.exe` (called `launcher.exe` up to 0.1.5). The **Setup** page opens.
3. Pick your game: **NSP file…** plus your `prod.keys`, or **Extracted folder…**. Optionally tick **Download NVIDIA DLSS**
(RTX GPUs).
4. Press **SET UP**. Setup copies the game files (about 13 GB), translates the game code, compiles it into `game.dll`
and translates all shaders. It takes about 5 to 15 minutes and shows its progress.
5. Press **PLAY**.
The exe is not signed, so Windows SmartScreen may warn on the first start ("More info" > "Run anyway"). Some antivirus
tools look closely at a program that runs a compiler; everything stays inside the TMSRecomp folder.
Command line: `tms.exe --data ` uses another game files folder; `--set key=value` overrides any setting for one
run (repeatable), for example `tms.exe --set window=window --set res=1080p --set fps=60`.
## Updating
The launcher checks this repository for a new release each time it starts.
1. When a new version is out, the launcher shows **Version x.y.z is ready**. **What's new** opens the release notes.
2. Press **Update**, then **Yes**. The launcher downloads the release, replaces its program files and restarts.
3. If the new version changes the game code, the Setup page rebuilds `game.dll` from your existing game files by
itself (a few minutes; your NSP is not needed again).
Your `settings.ini`, saves, mods, UHD textures, movies and music are never touched by an update. **Check again** below
the version box checks manually. You can also update by hand: extract the new ZIP over your folder and replace the files.
## Extras
The launcher's **Guide** page explains each extra and installs it: press **Install ZIP…** (or **Install patch…**) and
pick the file you downloaded.
| Extra | What it does | Where to get it |
|---|---|---|
| English patch & uncensor | English voices and uncensored outfits / art (community patches) | the patch's own page; the Guide links it |
| UHD textures | AI-upscaled textures, 4x (`TMSRecomp-UHD` ZIP) | link in the release notes |
| 4K movies | 4K story movies and camp menu backgrounds (`TMSRecomp-MovieHD` ZIP) | link in the release notes |
| Your own battle music | random battle tracks from your own `.adx` files (for example a Persona 5 Royal music mod) | your own files |
Installing a newer version of an extra replaces the older one: an updated patch removes the old patch mod (mods with
other content stay), and a new UHD / MovieHD ZIP removes files the old pack had and the new one does not. Every extra
is optional; the game works the same without them. The UHD textures can be turned off without uninstalling
(launcher Graphics page or the in-game menu, after a restart).
## Controls
| Action | Keyboard | Controller |
|---|---|---|
| Move | W A S D | left stick |
| Camera | mouse (or keys you bind) | right stick |
| A / B (confirm / back) | K, Enter or left click / J, Backspace or right click | A / B (Switch layout: right face button is A; Button layout = Xbox / PC swaps them) |
| X / Y | I / U | X / Y |
| L / R, ZL / ZR | Q / E, 1 / 3 | L / R, ZL / ZR |
| D-pad | arrow keys | D-pad |
| + / - | Space / Tab | + / - (Start / Select) |
| Settings menu | F1 | L3 + R3 |
| Screenshot | F12 (saved to `\shots`) | |
| Window / fullscreen | F11 or Alt+Enter | |
In the Y menu, (-) offers Return to Title or Quit Game. Every keyboard / mouse key can be changed on the launcher's Game
page (Keyboard & mouse), or in `settings.ini` with `key_