FE3H Deck Recomp
FE3H Deck Recomp is a native Linux port of Fire Emblem: Three Houses for Steam Deck, featuring Vulkan graphics and optimized performance.
- Type: PC port
- Game: Fire Emblem: Three Houses
- Runs on Linux
- By Rio77
- Latest release v0.3.1, 2026-11-27
- Source: https://github.com/Rio77/fe3h-deck-recomp
README
FE3H Deck Recomp
Español · Installation and recovery · Validation
A native Linux adaptation of Fire Emblem: Three Houses, optimized and tested on the Steam Deck LCD. Based on FE3H Recomp by onerag90, itself built on LASRecomp by Peiikai. This is an independently maintained fork, not an official release of either upstream project.
Important
This project and the Linux adaptation were developed with AI assistance and human direction, testing and review. It is shared as-is; testing does not cover an entire playthrough or every device.
Note
No game files, DLC, generated game code, extracted game shaders, console fonts or saves are included. Supply your own legally obtained FE3H 1.2.0, with the update already merged into extracted exefs and romfs folders. Extracted DLC is optional. Instructions for obtaining game files are not provided.
What this is
The static recompiler translates the original AArch64 code to C and compiles it locally. The native runtime implements the system services the game uses, with Vulkan graphics and native audio/video libraries. Playing does not require Wine or Proton. The original FE3H and LASRecomp projects provide the foundation; this fork selectively adapts their code and adds the tested Linux optimizations documented in UPSTREAM.md.
Status
Current version: 0.3.1 (validated opt5 + async Vulkan / GPL fast-link + extended structured fragment shaders + Amiibo HLE & Desktop PulseAudio fix). Tested on a Steam Deck LCD in dock and handheld mode, retaining adjustable internal resolution, audio and movies. Linux x86-64 is the release target; other devices have not received the same validation. This repository does not distribute or maintain a Windows build.
New 0.3.1 work adds native Amiibo (nn::nfp) support with an in-game selector in Settings > Game > Amiibo (F1 / Minus+Plus) scanning .bin dumps placed under <install dir>/Amiibo/ (automatically resetting to None after each completed Garreg Mach Monastery gazebo read, safely waiting when None is selected, and never bundling Amiibo dumps in releases) and extends automatic PulseAudio selection (open_audio_stream() in audio.c) to Linux Desktop Mode as well as Game Mode (fixing PipeWire SDL3 robotic distortion in the Monastery while preserving SDL_AUDIO_DRIVER, FE3H_AUDIO_AUTO_PULSE=0, and safe fallback to SDL defaults).
New 0.3.0 work delivers a major Steam Deck GPU performance upgrade: extends Structured Control Flow (FE3H_LIGHTING_SCF) to FE3H's heaviest deferred lighting & post-processing fragment shaders (4b68a2b8cf21d44d, e205b94894daff2f, and 6f61034ed0d2c1dd), cutting native 1080p Monastery GPU frame time from 30.46 ms (35.1 fps) down to 18.58 ms (49.4 fps) — a ~41% FPS gain (4b68a2b8cf21d44d alone drops from 12.85 ms to 2.31 ms, 5.58x faster, pixel-verified) — and moves post_process() (SMAA / AMD FSR 1) before opening the swapchain render pass to eliminate redundant vk_frame_suspend/vk_frame_resume clear+store+load cycles.
New 0.2.9 work ports selected upstream improvements: Integer Scaling in Settings > Video > Upscaler (whole-number nearest scaling with centered borders for sharp 2x/3x output in Dock mode, falling back smoothly on Dynamic resolution or downsampling), automatic PulseAudio selection with SDL default fallback in Linux Steam Game Mode (open_audio_stream() in audio.c), and Game Files setup detection fixes (preferring side-by-side exefs/ + romfs/, skipping mods/ and dlc/, and only treating setup's own exefs/romfs/dlc folders as its own copy).
New 0.2.8 work adds an in-game 30/60 FPS limiter (frame_rate with FSR dynamic resolution target pairing), Vulkan VK_EXT_graphics_pipeline_library fast-linking + dynamic vertex input, off-thread compute shader pre-filtering and content deduplication, async Vulkan queue submission + command-copy isolation, persistent UBO slabs (CSNAP, zero buffer, descriptor set cache), O(1) 2-level function dispatch, multi-core Horizon thread scheduling, lockless concurrent pread() RomFS reads, isolated mesa_cache (Fossilize disabled), and unrestricted multi-core Steam Deck affinity.
New opt5 work includes lower CPU busy-waiting, profile-specific pipeline prewarming, resource ownership fixes for internal restarts, and selected upstream fixes for GPU waits, textures, input, audio, movies, saves and mods. Structured lighting, native half translation, sparse local memory and dock behavior were already present in opt4.
At match, paired monastery tests improved p99 frame time by 2.95% and APU power by 3.51% versus opt4. Daytime battle mean FPS improved 2.15%, with essentially unchanged power and 1.71% worse p99. One battle pair had a thermal-comparability caveat. These are scene-specific measurements, not a guarantee of 60 FPS everywhere or at x1/1080p. Full evidence and limits.
Requirements
- SteamOS / Linux x86-64; AppImage built for glibc 2.35 or newer.
- AVX2/FMA-capable CPU and a Vulkan 1.3 GPU/driver. The Deck LCD is the tested hardware.
- Python 3.10+ and
kdialogfor installation; SteamOS already provides them. - Writable storage for the game, a separate staged installation and temporary compilation files. Reinstallation also retains the previous extracted copy for recovery.
- Your own extracted FE3H 1.2.0
exefsand mergedromfs; optional extracted DLC.
Installing a release on SteamOS
The release provides one Steam Deck installation package, which already contains the AppImage. Download that installer to play. The project source ZIP/TAR.GZ and complete corresponding-source TAR.GZ are available separately for building and license compliance; they are not extra installation steps.
- Download
FE3H-Deck-Recomp-0.3.1-steamdeck.tar.gzfrom Releases. Extract it into a writable folder in Desktop Mode. - Keep the package together and open Install.desktop. Allow execution if KDE asks. Select your
exefs, mergedromfs, and optionally your DLC directory. - Wait for local copying and compilation. In the full Deck import test this took about 43 minutes; other hardware and input/cache conditions vary. This is separate from normal game startup.
- Open FE3H Deck Recomp from the desktop. To play in Game Mode, add the installed FE3H.sh to Steam as a non-Steam game manually.
Graphical installation recommends ~/Games/FE3H-Deck-Recomp and allows another destination. The command-line default remains ~/.local/share/fe3hrecomp; saves are in save. New Deck installations default to dock mode and match. Use F1 or Back + Start for settings. The installer does not modify SteamOS or silently edit the Steam library.
Updating and recovery: use the complete installer, not an upstream automatic updater or a blind overwrite. It prepares and verifies a separate installation, preserves saves/configuration and retains the previous extracted data. See installation and recovery for command-line options and status / recover.
If Install.desktop fails
Close the installer and open the bundled AppImage directly in Desktop Mode. If necessary, use Settings > Game Files to set up your own FE3H 1.2.0 files, wait for compilation, then choose Play. This does not bypass game-file validation. If a build already finished, preserve its work folder and logs for recovery.
When using this fallback, keep the AppImage in a permanent folder and add it to Steam manually. It is not automatically copied by the managed installer, and no managed shortcut is created by this direct method. Keep the prepared data folder too.
DLC and mods
Provide DLC as folders such as dlc/010055D009F79001/romfs/...; all six packs are supported when supplied and validated. DLC is optional. Mods are data-only and live in extracted/mods, separate from the original romfs. Import folders in Desktop Mode, then enable, disable and order them in the interface. The last enabled mod takes priority; ordering applies on the next boot. No mods are enabled by default. Exefs/code mods are not supported by this installer. Saves from gameplay-changing mods may require the same mods on another installation.
Building and testing
Use make appimage ARCH=x86_64 with podman and network access for build dependencies. Application builds and synthetic CI tests do not need game files; game code is generated only from the user’s files. See build instructions, the pinned dependency recipes and .github/workflows/linux.yml. The first public CI run passed the application build and synthetic checks.
Known issues and limits
- A pre-existing combat-opening blur/trail issue occurs at
match, also seen in opt4. It was not visible in the manual x1 check; higher resolution substantially increases GPU cost. - Very large effect shaders remain excluded on the Deck; some effects may lack a layer. First-time shader compilation can cause temporary stutter or incomplete effects.
- Tests include internal restarts, a separate 30-minute continuous session and earlier physical controller/suspend checks. They do not prove every future scene or a multi-hour session is leak-free.
- Full identical-input opt4/opt5 framebuffer comparison remains uncompleted. Promotion was explicitly authorized with this limitation documented.
- The public version saves locally. It contains no OneDrive synchronization, cloud configuration, access keys or credentials.
For a bug report, include version, SteamOS/driver version, resolution, dock setting, reproducible steps and a redacted log. Do not upload game files, generated libraries, extracted shaders, saves containing personal information or credentials.
Credits
- FE3H Recomp, by onerag90 and contributors — the original Three Houses adaptation, game-specific services, audio, movies, shaders and tools.
- LASRecomp, by Peiikai and contributors — the foundational static recompiler, runtime, renderer and tooling. See its README for the full upstream credits.
- Ryujinx contributors — the audio renderer’s reverb and auxiliary processing, under MIT; notice retained in
third_party/ryujinx/LICENSE.txt. - Dear ImGui, SDL, FFmpeg, shaderc/glslang/SPIRV-Tools, Vulkan Memory Allocator and SMAA contributors — interface, multimedia and graphics components.
- AMD FidelityFX Super Resolution 1 — retained upstream shader helpers under MIT; no new opt5 FSR features were enabled.
- Capstone, Unicorn, python-lz4, PyInstaller, Python and Zig contributors — local generation, compilation and packaging.
- Baloo 2 and EB Garamond authors, including Georg Duffner — the distributed open fonts.
- Switchbrew and the Switch homebrew community — hardware and system documentation.
Exact component versions, licenses and redistribution notices are listed in THIRD_PARTY.md and bundled in the AppImage. Credits apply to the components actually retained; this fork does not ship LASRecomp’s randomizer or the excluded FSR integration.
Legal and license
This is a fan project, not affiliated with or endorsed by Nintendo, Intelligent Systems or Koei Tecmo. Fire Emblem and its characters/emblems remain the property of their respective owners.
Project code retains the upstream MIT License, including the copyright notices of Peiikai and onerag90. Third-party components keep their own licenses. The installer includes notices in licenses/. The complete corresponding-source archive, including FFmpeg and Unicorn, is a separate TAR.GZ download in the same release. Distribute those sources and notices alongside the binaries. See THIRD_PARTY.md.
The application icon was supplied by the maintainer for this distribution. It is not covered automatically by the code’s MIT license, which grants no rights to the depicted characters or emblems. The optional launcher background is generated locally from the user’s files.
Graphical installation now offers ~/Games/FE3H-Deck-Recomp or another exact destination folder. Existing installations are not moved. Command-line --root selects an exact destination; command-line defaults remain unchanged. Reuse the same destination to update an installation.
0.2.4: Settings launcher
Open Settings.desktop in the installed folder (or Settings on the desktop) to configure mods before starting the game. It uses the same data folder and locks as the normal launcher. Close the running game first. Mod changes take effect on the next start. Opening the internal AppImage directly may select a different data folder. This release updates Linux packaging and launchers; the game engine remains the validated opt5 build, not upstream engine 0.2.4.
0.2.5: file checks and text entry
This release selectively adds advisory SHA-256 checks for four small base-game files, Unicode name conversion and character limits, UTF-8-safe deletion, and Ctrl+A/C/X/V/Z editing shortcuts. Hash mismatches warn and allow continuing; existing structural errors remain errors. Checks apply before data mods are layered. This is not a full content verification of the game or DLC.
The name entry supports Unicode code points without splitting multibyte text. Glyph availability depends on installed fonts; Korean fonts are loaded only when needed. The controller keyboard keeps its Latin layout. Linux clipboard work is performed on the UI thread without making the render thread wait. The current engine remains the optimized opt5 fork with these selected fixes; no upstream updater, menu resizing, dimming or temporal upscalers were added.