Skip to content

Fable II for Steam Deck 1.0.2

Choose a tag to compare

@darokk darokk released this 20 Nov 22:47
· 9 commits to master since this release

An update to the native Steam Deck version of Fable 2 Recomp: a crash fix, up to 7.5% higher frame rates, and smoother capes and coats.

Download: Fable2-SteamDeck-1.0.2.tar.gz below. It holds no game content: you need the files from your own copy of Fable II Game of the Year Edition.

What's new

Crash fix: crimes with guards nearby

Committing a crime with a guard nearby (just before the fine/fight dialog appears), or going on a rampage in town, could crash the game. A small empty grey panel showed up in the bottom-right corner just before the crash. Every earlier Linux version, 1.0 included, had this bug. It came from a helper for the F5 script console that inspected every script call and read from an invalid address when a call's first argument wasn't text. That helper now stops checking once it has found what it needs, and the address checks reject such pointers on Linux too. A long crime spree in Bowerstone now runs without a crash.

Faster: up to 7.5% more frames per second

The recompiled game code now keeps more of the CPU's state in registers. Five of the recompiler's register optimisations are on. The game thread also no longer takes a process-wide lock for each of its thousands of tiny atomic updates per frame. The build's profile-guided optimisation was re-recorded on the new code.

Measured on a Steam Deck OLED in Gaming Mode, same spots and settings, 90 seconds each (median of 5-second windows):

Spot 1.0.1 1.0.2 Gain
Bowerstone Market (adult hero, busy square) 56.3 fps 59.2–60.0 fps (two runs) +5–7% (now at the 60 fps cap)
Bowerstone Old Town (childhood, snow) 54.5 fps 58.6 fps +7.5%
Old Town, slowest 5 seconds 53.9 fps 57.2 fps +6%
Game thread CPU load (market) 62% 38–40% about −37%

With the game thread this lightly loaded, the GPU is now the limit in both spots.

Smoother capes and coats

Cloth (capes, coats, long skirts) now follows the body as it is drawn instead of jumping with every game logic tick, and subtitles and the HUD update on every high-frequency tick. This is upstream's interpolation change (himdo/Fable-2-Recomp himdo#210). It's on by default and can be turned off with interpolation = false under [patches] in fable2_config.toml.

Updating from 1.0 or 1.0.1

The archive's folder is still Fable2-SteamDeck, so extract it over your existing folder in ~/Games/. Your saves, game files and shader cache are kept. fable2_config.toml is replaced with the new defaults, so if you changed settings, back it up first and copy your changes back afterwards (1.0.2 adds the interpolation setting).

Installing

  1. Get the game files. You need default.xex and the whole data folder (about 6.5 GB) from your Fable II GOTY disc image. If you already play the Windows version of Fable 2 Recomp, copy them from its folder. Otherwise extract them from your ISO with the repository's disc extractor (see Extract the game files in Linux.md).
  2. On the Deck, in Desktop Mode, copy Fable2-SteamDeck-1.0.2.tar.gz to ~/Games/ and extract it there (right-click → Extract → Extract archive here). Extract it on the Deck itself, so the executable flags are kept.
  3. Copy default.xex and the data folder into ~/Games/Fable2-SteamDeck/, next to Fable2.sh.
  4. Desktop Mode: double-click Fable2.sh (choose Execute).
  5. Gaming Mode: still in Desktop Mode, open Steam → Games → Add a Non-Steam Game to My Library, browse to Fable2.sh (set the file type to All files) and add it. Under the shortcut's Properties → Compatibility, make sure no Proton version is forced. It then shows up in your library in Gaming Mode.

Requires SteamOS 3.6 or newer.

Tips

  • Smoother game logic: in fable2_config.toml, set both high_tick_rate and higher_hf_tick_rate to true. The game's own logic otherwise updates at 15 Hz, which can feel choppy even at 60 fps.
  • Frame rate cap: the game runs at up to 60 fps out of the box, instead of the original 30 fps lock. To change it, edit fps_limit under [perf] in fable2_config.toml (30 = the original lock).
  • Button icons and menus: Steam Deck button icons (deck_button_prompts under [input]: "dark", "light" or "off") and the faster menus (the menu_* settings under [patches]) work as in 1.0.1.
  • Logging: this build writes only warnings and errors to logs/. For a bug report, set log_level = "info" in fable_2.toml and reproduce the problem.

Source

darokk/Fable-2-Recomp steam-deck-linux at the steamdeck-1.0.2 tag (d32b5b2), with darokk/rexglue-sdk steam-deck-vulkan at 7e4ecfcf (unchanged). Changes since 1.0.1: 5772e97 (cloth interpolation, four register flags), e744bfd (crash fix), d32b5b2 (fifth register flag).

All credit for the recompilation itself goes to himdo and the Fable 2 Recomp contributors.

SHA-256 of Fable2-SteamDeck-1.0.2.tar.gz:
4d55fab69bcdd6f3be2440d8b909e6881fa9ef610f492fe10f6246354ff359c6