Skip to content

Fable II for Steam Deck 1.0.4

Choose a tag to compare

@darokk darokk released this 23 Nov 22:01
· 9 commits to master since this release

An update to the native Steam Deck version of Fable 2 Recomp: smoother frame rates in heavy scenes and an option to turn off anti-aliasing.

Download: Fable2-SteamDeck-1.0.4.tar.gz below. It holds no game content: you need your own copy of Fable II Game of the Year Edition as a disc image (.iso).

What's new

Faster in heavy scenes

In busy places like Bowerstone Old Town, the Deck is limited by its GPU and by the 15 W it shares between CPU and GPU. This release takes load off both:

  • The render thread no longer spins while it waits. About once per frame the game waits for the GPU to report which objects are hidden (occlusion queries). It used to poll for the result millions of times per second, keeping a CPU core fully busy. It now sleeps briefly between checks and still gets the real result. The power this frees goes to the GPU, which runs at higher clocks in heavy scenes.
  • The recompiled game code keeps the game's registers in native variables instead of memory (the last two of the recompiler's register optimisations, now made safe for this game), and is compiled as a whole with link-time optimisation, so game functions can call each other directly.
  • The GPU command thread does less work per draw (fewer calls across libraries, no locked memory operation per draw).

Together, heavy scenes like Old Town now stay closer to 60 fps, and dip less. Lighter scenes were already at the 60 fps cap and stay there.

Option: turn off anti-aliasing

Fable II renders its scenes with 2x multisample anti-aliasing (MSAA). On the Deck that takes a noticeable share of the GPU's time in heavy scenes. Set disable_msaa = true under [patches] in fable2_config.toml for a steadier 60 fps, at the cost of slightly jaggier edges. It takes effect the next time you start the game. Off by default, so the game looks as before. This option comes from upstream (himdo/Fable-2-Recomp himdo#226 by dekp23).

Installing

  1. Download Fable2-SteamDeck-1.0.4.tar.gz below.
  2. On the Deck, in Desktop Mode, move it 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. Put your Fable II GOTY disc image (.iso) in ~/Downloads. The new Fable2-SteamDeck folder or an SD card work too.
  4. Double-click Fable2.sh in the Fable2-SteamDeck folder (choose Execute). Let it extract the game files, and choose Add to Steam when it asks. From then on, start Fable II from Gaming Mode like any other game.

Requires SteamOS 3.6 or newer.

Adding it to Steam by hand

If you skipped the offer: 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.

Updating from an earlier version

Extract the archive over your existing ~/Games/Fable2-SteamDeck folder. Your saves, game files and shader cache are kept. fable2_config.toml is replaced with the defaults, so if you changed settings, back it up first and copy your changes back afterwards (1.0.4 adds the disable_msaa setting).

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, menus, cloth: Steam Deck button icons (deck_button_prompts under [input]: "dark", "light" or "off"), the faster menus (the menu_* settings under [patches]) and smooth capes and coats (interpolation under [patches]) work as before.
  • 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.4 tag (d825201), with darokk/rexglue-sdk steam-deck-vulkan at 44c5d11a. Changes since 1.0.3: game 72b2b56 (link-time optimisation of the game code, direct calls), d2583e7 (registers as native variables), cdb1c53 (disable_msaa, from upstream himdo#226), 41c1b20 (render thread sleeps while waiting), 0217f27 and d825201 (README); SDK 923f2e8e (command thread), 8a657dbc (link flags), 44c5d11a (register optimisations made safe).

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

SHA-256 of Fable2-SteamDeck-1.0.4.tar.gz:
e28525a9697b6e75c31ba917a1d68a1f53feffd0aef79e438b9fcde001fbd89b