Skip to content

Linux and Steam Deck

XiONDiGiTaL edited this page Nov 23, 2026 · 2 revisions

Linux and Steam Deck

Current status

There is no native Linux build of the engine and no Linux release. The supported way to play on Linux or a Steam Deck is to build on Windows and run the result under Proton.

What is true today:

Piece Status
Launcher type-checks for x86_64-unknown-linux-gnu Yes: cargo check exits 0
Launcher links on Linux Yes: a debug binary links with the Wayland/X11/EGL development packages
Launcher opens a window Yes, under WSLg: 1440×900 on X11 and a Wayland xdg_toplevel, no errors
Engine builds natively on Linux No: the build path forces a platform-only target; the runtime still has a large Win32 surface and MSVC-lifted static libraries
Gameplay, saves, audio, cinematics on Linux Not tested
Steam Deck Not tested on hardware; the Proton route below is a documented route, not a verified recipe

The Linux launcher work is a foundation, not a supported port. A window opening is not a game that plays.

Why the engine is Windows-first

  • The runtime's kernel and services use Win32 threads, files, memory, timing and synchronisation.
  • Audio is XAudio2; media is Media Foundation (with an FFmpeg path).
  • The game's lifted code is compiled by MSVC into .lib files; a Linux build needs ELF objects and an ABI shim.
  • Crash reporting uses dbghelp.

A platform layer (nxrt/platform.h with win32 and posix backends) exists for memory, threads, synchronisation, time and files. On Linux it builds and passes its self-test. The rest of the runtime, the lifted-code ABI and the media/audio backends are the remaining work. See docs/LINUX.md for the project's own plan.

Steam Deck through Proton

The Deck cannot build the game: the build needs winget, PowerShell 7 and Visual Studio's C++ compiler. Build once on a Windows PC, then copy the result.

1. Build and verify on Windows

Game Setup → choose the dump → Build the game → Play once to confirm it runs.

Copy:

What Why
The whole folder holding EmblemWeave.exe and engine\ fefw.exe and the translated shaders/caches live inside it
%APPDATA%\EmblemWeave\play\ fefw.ini, the log and upscaler folders
%APPDATA%\EmblemWeave\save\ Your saves, if you want them
Your dump Unless it is already on the Deck

2. Put it on the Deck

Desktop Mode. Extract the release zip and move your Windows-built engine\ into place, or copy the whole working folder:

mkdir -p ~/EmblemWeave
unzip -q ~/Downloads/EmblemWeave-v*-windows-x64.zip -d ~/EmblemWeave
sha256sum ~/Downloads/EmblemWeave-v*-windows-x64.zip

The build output must stay inside the same tree, because the launcher resolves the engine relative to itself (EW_ENGINE overrides that). Put the dump somewhere stable, for example ~/Games/fefw-dump/.

3. Add it to Steam

  1. Games → Add a Non-Steam Game → Browse → EmblemWeave.exe.
  2. Library → right-click → Properties → Compatibility → force Proton Experimental (a recent GE-Proton also works).
  3. Launch once and close it. This creates the Proton prefix.

Do setup in Desktop Mode: file pickers and diagnostics export use Windows dialogs, which are awkward on a touchscreen. Playing is fine in Game Mode.

4. Move settings into the prefix

ls -t ~/.steam/steam/steamapps/compatdata/ | head -1
PREFIX=~/.steam/steam/steamapps/compatdata/<that-id>/pfx
ls "$PREFIX/drive_c/users/steamuser/AppData/Roaming/"

Copy the Windows play and save folders into …/Roaming/EmblemWeave/. Without play/fefw.ini the launcher says the game is not built yet.

5. Re-point fefw.ini

fefw.ini carries Windows paths. Proton maps Z: to the real root and C: to the prefix:

[fs]
exefs = Z:/home/deck/Games/fefw-dump/exefs
romfs = Z:/home/deck/Games/fefw-dump/romfs
save_dir = C:/users/steamuser/AppData/Roaming/EmblemWeave/save
mods = mods

[nvn]
shader_cache = Z:/home/deck/EmblemWeave/EmblemWeave-v0.1.41/engine/fefw-recomp/work/shaders/spirv
bc7_cache = Z:/home/deck/EmblemWeave/EmblemWeave-v0.1.41/engine/fefw-recomp/work/bc7_cache

Keep forward slashes. Every key can also be set as an environment variable in Steam's launch options: NXRT_ + upper-case section + _ + upper-case key, for example:

NXRT_FS_EXEFS=Z:/home/deck/Games/fefw-dump/exefs NXRT_FS_ROMFS=Z:/home/deck/Games/fefw-dump/romfs %command%

6. Play

Press Play. The launcher writes Graphics/Audio settings into play/fefw.ini, starts fefw.exe in the prefix and watches the first frames. The log is …/EmblemWeave/play/fefw.log.

What does not work on the Deck

  • Build the game and Install the missing build tools both need Windows tooling.
  • Recompilation page edits need the dump and a C++ compiler.
  • Anything that expects a Windows drive letter other than Z: or C:.

If it does not start

Symptom Check
"the game is not built yet" play/fefw.ini is missing from the prefix, or engine/.../release/fefw.exe is missing from the copied tree
Black window, sound plays play/fefw.log: the GPU it chose, shaders it built; a missing SPIR-V cache is the usual cause
Missing shader or spirv_harness The tree came from an older launcher or work/shaders/spirv was not copied
Tiny or blurry launcher Game Mode scaling; open it in Desktop Mode
Vulkan error or crash Note the Proton version (the Deck uses RADV) and attach play/fefw.log

What to send back

Proton version, whether fefw.exe was built on Windows, play/fefw.log (or the Diagnostics export), and where it stopped. That is what turns this route into a tested recipe.

Related

Clone this wiki locally