Skip to content

Releases

0.2.6

Choose a tag to compare

@github-actions github-actions released this 18 Nov 10:47
62969a6

What's new in 0.2.6

This release only changes compatibility with Intel GPUs. Thanks to qaz9631356 for the very thorough testing on an Arc A770, and to guanhu2933803787-jpg for testing on a B580 (#45).

Intel GPUs

  • Discrete Intel Arc cards (A770, B580, ...) no longer lose the device in the first scene (#45). Two separate problems caused this:
    • Shaders without 64-bit floats. Arc A-series cards can't run shaders that use 64-bit floats, and the first one the game drew hung the GPU. When Set up finds an Intel GPU, it now translates the game's shaders without them, as Ryujinx does on these cards. FEFW_NO_FLOAT64=1 turns this on for any GPU and =0 turns it off.
    • [gfx] igpu_compat is now on for every Intel GPU, not only integrated ones. It turns off the two 0.2.0 paths ([nvn] lean_draws, [gfx] residency) that lost the device on Intel. Set igpu_compat = 0 to turn it off.
  • If you already set up with an Intel GPU, run Set up again after updating. It only translates the shaders again and redoes the shader preparation, which is much quicker than a first Set up. Other GPUs are not affected.

0.2.5

Choose a tag to compare

@github-actions github-actions released this 18 Nov 08:53

What's new in 0.2.5

Thanks to moistman7 for the HDR banding, sky cloud and render-thread changes and for fixing the graphics tests (#41, #42, #43, #51), to ranbinrang-rgb for code mod support (#33), to the ObeliskChamber fork (xinthefreefallxai) for the fixes and performance changes ported in #46 and #49, and to shadowkiller209999-jpg for reporting stuttering cutscenes (#40).

Movies

  • Cutscenes keep up on CPUs with few cores (#40, #46, #52). 1440p movies could fall behind on e.g. a 4-core/8-thread laptop, and once that happened the game dropped the movie's voice for the rest of it.
    • About 1 s of decoded pictures is now held ahead instead of 4 pictures, and dav1d's thread count follows the core count.
    • The decoder threads run above normal priority, so the game's own threads no longer starve them. [media] video_decoder_priority = above (default) | highest | normal; normal is the old behaviour, if movies hitch on a slow CPU.

Graphics

  • Less banding in HDR (#42). The 3D scene, DLSS and the tone map render to R11G11B10F, whose 5-bit blue showed as steps in the sky with HDR output. [gfx] float16_scene = auto (default: on while the HDR scene is on) keeps these targets as 16-bit float.
  • Smooth sky clouds (#43). The cloud texture was sampled without filtering and drawn as hard blocks of 7–9 pixels. [nvn] reserved_sampler (default on) gives these bindings a linear sampler.
  • Ultrawide: the world and quest maps' location dots and route lines stay on the map picture (#46). ultrawide_skip = maproutes turns this off.

Performance

  • Less render-thread work in busy scenes (#41): about 0.35 ms per frame (~3.5%) in the plaza, by not re-checking every bound buffer after each program bind. [nvn] out_prog_dirty and [nvn] out_memo_held.
  • Ported from ObeliskChamber (#46):
    • Render targets in CPU_NO_ACCESS pools start cleared instead of being uploaded, which was 200–320 MB in the frame where the game rebuilds its targets. [nvn] tex_no_access_upload.
    • Float adds to buffers in shaders use the GPU's native atomic add when it has one. [nvn] float_atomic_add.
    • Background shader compiles pause briefly after a frame over 20 ms, but never for work a draw is waiting on. gpl_cold = auto is now off on CPUs with 8 or fewer hardware threads.
    • A cheaper lock in the command buffer and fewer clock reads per submission.

Fixes

  • Unit detail page: no crash for a mounted unit whose class has no dismounted class, e.g. Io (#46).
  • F1 menu: a crash of the render thread from an out-of-range read in menu navigation (#46).
  • Master volume goes up to 200% in the F1 menu and the launcher again (#46).
  • Latency figure: input→present is measured for the frame that is presented. After a load it could show a time up to 63 frames old (#46).
  • Translation files with a UTF-8 byte-order mark no longer misread their first line (#46).
  • A crash from a race in the write tracker (#49): a write that faulted while a Vulkan import froze its page could reach the crash handler after the freeze had ended. It is now run again.

Launcher

  • Code mods (#33). Mods in mods\<name>\exefs\ can change the game's code:
    • DLL mods (exefs\*.dll) load at start-up and can hook the lifted sites, call game functions, read and write game memory, run every frame and edit data files as they load (runtime/include/nxrt/mod_api.h). [fs] dll_mods = false turns them off.
    • Hook sites (exefs\*.sites) and emulator exefs patches (.ips / .pchtxt) are applied by Set up, which lifts the game with them. The launcher notices when they change and asks for Set up again.
    • See the Mods section of README.
  • Install LSFG-VK from Settings (#53). When the layer is missing, Settings > Graphics has an Install LSFG-VK button next to "How to install".
    • CachyOS: installs the lsfg-vk package through Shelly, asking for your password. This needs a polkit agent, so use it from the desktop, not Steam Game Mode.
    • SteamOS, Bazzite and other distros: downloads LSFG-VK 2.0.0, checks its SHA-256 and unpacks it into ~/.local. No root, so it works on read-only systems.
  • Linux: the PC no longer goes to sleep during Set up (#54). The launcher holds a systemd-inhibit lock while Set up runs.

Building from source

  • The graphics tests pass again (#51): 91 stale or order-dependent failures on master are fixed.

Version 0.2.5, built from 75c037f.

  • Linux and Steam Deck: fefw-recomp-0.2.5-linux-x64.tar.gz. Extract, run fefw-launcher.AppImage, Set up, Play.
  • Windows: fefw-recomp-0.2.5-win64.zip. Extract, run fefw-launcher.exe.
  • Debug symbols (for bug reports, not needed to play): fefw-recomp-0.2.5-win64-symbols.zip.

See README.txt in the package.

0.2.4

Choose a tag to compare

@github-actions github-actions released this 17 Nov 13:46

What's new in 0.2.4

Thanks to moistman7 for the render-thread saving with an upscaler on (#29), to itaskaev2 for fixing the build from source (#34) and reporting the Chinese HDR UI brightness line (#37), and to MrTrapo2 for finding that LSFG-VK works well on Linux (#27).

Linux and Steam Deck

  • LSFG-VK frame generation (#31). LSFG-VK is a Vulkan layer that generates frames on the finished picture, HUD included. It is under Settings > Graphics > Upscaling and frame generation, on Linux only.
    • It needs the LSFG-VK layer and Lossless Scaling from Steam on its lsfg-vk branch (Properties > Betas). The launcher checks for both, says which is missing, and links to the install instructions. The switch turns on once both are found.
    • Multiplier, flow scale and performance mode are saved in launcher.json. The game's own frame generation is turned off while LSFG-VK is on, so the two are never stacked.
    • Add to Steam writes these settings into the shortcut's launch options and keeps your own options. When the shortcut no longer matches your settings, the Play page shows a banner with an update button.
    • Flatpak Steam with the lsfg-vk Flatpak extension is not detected yet: the launcher reports the layer as not installed.
  • FSR 3 frame generation is no longer offered on Linux. It stutters through Proton (#14, #27). A saved frame_gen = fsr3 shows as Off and is replaced the next time you save.

Launcher

  • The Settings page has tabs (#36): Display, Graphics, Sound and language, Controls, and Launcher. The tab bar stays at the top while scrolling, marks tabs with unsaved changes, and keeps edits when you switch tabs.
    • Each setting has a one-line summary, with the full text behind an ⓘ button. "Applies at the next start" is a small chip next to the name.
    • Render scale and Upscaling tier set the same thing without updating each other. They are now one list, e.g. "67% (Quality)".
  • DLSS options only show on NVIDIA GPUs. Without one, the DLSS upscaler, DLSS frame generation and the Streamline folder are hidden, with a note saying why. DLSS already set in your ini stays in the list, and if no GPU is detected everything is shown.

Performance

  • Less render-thread work with an upscaler on (#29). With DLSS, FSR, XeSS or NIS, finding the tone-map draw no longer takes a lock and a map lookup on every draw. That was about 2% of the render thread in busy scenes, roughly 0.2 ms per frame on a Ryzen 7 9800X3D and more on slower CPUs.

Translations

  • Chinese: the launcher's LSFG-VK settings, Linux frame generation hint, Steam shortcut notice and upscaler file download prompts are now translated (#38). The F1 menu's HDR UI brightness line now shows in Chinese (#37); it was never loaded before.

Building from source

  • build_fefw.ps1 and the launcher's Set up from a source checkout link again (#34). On 0.2.3 the link of fefw.exe failed with undefined symbol: nx_hle_zstd_multiframe. The release packages were not affected.

Version 0.2.4, built from 260ad35.

  • Linux and Steam Deck: fefw-recomp-0.2.4-linux-x64.tar.gz. Extract, run fefw-launcher.AppImage, Set up, Play.
  • Windows: fefw-recomp-0.2.4-win64.zip. Extract, run fefw-launcher.exe.
  • Debug symbols (for bug reports, not needed to play): fefw-recomp-0.2.4-win64-symbols.zip.

See README.txt in the package.

0.2.3

Choose a tag to compare

@github-actions github-actions released this 17 Nov 02:48

What's new in 0.2.3

Thanks to moistman7 for most of this release: the performance, HDR, ultrawide and DLSS preset changes, and the alpha-test fix.

Performance

  • The game code is built at /O2 instead of /O1. /O1 optimises for size and was never tuned. In the first area after loading a save, the game's occlusion culler threads went from 29–49% of a core each to 3–4%, main-thread CPU per frame from 4.5–5.8 ms to about 4.1 ms, and the whole process from about 2.5 cores to 1.3. The exe is about 4% larger. Floating-point behaviour is unchanged.
  • Less render-thread work with an upscaler on. With DLSS, FSR or XeSS, the camera data of every draw was read back from write-combined GPU memory, which stalls on each read. It is now patched in normal memory and parsed once per distinct camera instead of once per draw. In busy map scenes, render-thread work per frame went from 13–17 ms to 4–7 ms, the game holds 60 fps instead of 53–58, and frame generation reaches 120 fps.

Graphics fixes

  • Intel integrated GPUs no longer lose the device on the title screen (#18, likely #5). Two of the GPU paths added in 0.2.0, [nvn] lean_draws and [gfx] residency, each crash these GPUs on their own. A new [gfx] igpu_compat = auto turns both off by default on Intel integrated GPUs only; Intel Arc discrete cards are unchanged. A value you set yourself in the ini still takes priority.
  • DLSS comes back after a failure (#21). One failed DLSS frame, for example while video memory was over budget during a level load, used to turn DLSS off for the rest of the session. That frame now uses the built-in upscaler and DLSS is tried again after 2 s, then backs off to at most every 30 s while it keeps failing. F1 shows retrying in N s meanwhile.
  • Fixed: pipelines prepared ahead of time could ignore the alpha test, so cutout effects on them could draw wrong.

HDR

  • Highlights reach your display's peak. Fortune's Weave's tone curve wasn't recognised, so highlights stopped at paper white and HDR looked like SDR at paper-white brightness. The curve's shoulder now rolls off towards the display's peak; shadows and mid-tones are unchanged.
  • UI brightness setting: [hdr] ui_nits, with a slider on the F1 menu, sets the white of menus, text, the HUD and 2D pictures apart from the 3D scene. It applies live. 0 (the default) keeps them at paper white, as before.

Ultrawide

  • Full-screen pictures keep their shape. Illustrations, loading screens and title screens were stretched sideways to fill a wider-than-16:9 output (1.34x at 3440x1440). [fefw] ultrawide_images picks how they are shown: fill (default) zooms them to cover the screen, cropping a little off the top and bottom; fit keeps them at 16:9 in the centre, like movies; stretch is the old behaviour.
  • The world map is no longer stretched, so its markers and cursor line up with the art again. Narrow side backdrops still reach the screen edges.

DLSS

  • Choose the DLSS model: [dlss] preset = default | j | k | l | m sets the preset for every DLSS mode, DLAA included. default leaves the choice to the driver or the NVIDIA app, as before.

Controllers

  • Haptics updated to RenHDrum 0.4.0, with more controllers supported:
    • DualSense over Bluetooth now gets haptics instead of standard rumble.
    • Pro Controller over Bluetooth now gets HD Rumble, limited so it doesn't add input lag. On a cable, long rumbles are no longer cut short.
    • Xbox One and Series pads now use all four motors, including the triggers.
    • The DualSense always uses the Switch 2 vibration curves. Before, it only got them if a Pro Controller had been connected earlier in the session.
    • renhdrum.dll no longer needs the VC++ redistributable.

Version 0.2.3, built from 20bc026.

  • Linux and Steam Deck: fefw-recomp-0.2.3-linux-x64.tar.gz. Extract, run fefw-launcher.AppImage, Set up, Play.
  • Windows: fefw-recomp-0.2.3-win64.zip. Extract, run fefw-launcher.exe.
  • Debug symbols (for bug reports, not needed to play): fefw-recomp-0.2.3-win64-symbols.zip.

See README.txt in the package.

0.2.2

Choose a tag to compare

@github-actions github-actions released this 16 Nov 13:34
9d59afe

What's new in 0.2.2

Performance

  • Movies use dav1d's assembly-optimised decoder again. 0.2.1's notes listed this, but the release build was missing NASM, so the AV1 decoder was built as plain C and cutscenes decoded several times slower. The release workflow now installs NASM and refuses to build the runtime without dav1d's assembly, so 1440p cutscenes play at a full 30 fps.

Crash reports

  • Debug symbols for every release. Each release now has a fefw-recomp-<version>-win64-symbols.zip asset next to the packages, with fefw_rt.dll and its fefw_rt.pdb. Players don't need to download it, and the packages are unchanged.
    • When you open an issue, attach fefw_crash.txt (or fefw_freeze.txt) and your log as before. With the matching symbols, tools/symbolize.py turns the fefw_rt.dll+0x... lines into function names and source lines, so crashes like device-lost reports can be traced to the code that caused them.
    • The release workflow checks that the symbols match the DLL before publishing them.

Version 0.2.2, built from 9d59afe.

  • Linux and Steam Deck: fefw-recomp-0.2.2-linux-x64.tar.gz. Extract, run fefw-launcher.AppImage, Set up, Play.
  • Windows: fefw-recomp-0.2.2-win64.zip. Extract, run fefw-launcher.exe.
  • Debug symbols (for bug reports, not needed to play): fefw-recomp-0.2.2-win64-symbols.zip.

See README.txt in the package.

0.2.1

Choose a tag to compare

@github-actions github-actions released this 16 Nov 11:47
fc62ddc

What's new in 0.2.1

Performance

  • Much of the perf fork's work is now in the main release (thanks Stephen Jayakar). It is aimed at stutter and CPU and GPU time:
    • Fewer hitches when new areas and battles load in. Texture uploads are spread over several frames and placeholder textures stand in until the real ones are ready. All shaders stay in memory, so the game no longer reads shader files from disk in the middle of a frame. In the worst battle frame tested, the hitch went from 142 ms to 44 ms.
    • Faster loading: the game's zstd decompression now runs as native code (it falls back to the original if anything goes wrong).
    • Faster game code: the recompiler generates better code for the hottest functions.
    • Movies use dav1d's assembly-optimised decoder again, so 1440p cutscenes play at a full 30 fps.
      • Dependency was missing in CI, see upcoming 0.2.2 release for a fix.
  • Settings tuned to your hardware (auto):
    • On NVIDIA GPUs, fewer GPU pipeline waits are on by default. In testing at 4K on an RTX 3080, GPU time per frame went from 15.1 ms to 10.9 ms. Other GPUs keep the old settings until they have been tested. Turning off "Fewer GPU pipeline waits" on the F1 page turns these off too.
    • On CPUs with 8 or more physical cores, the main threads briefly spin while waiting instead of sleeping. Smaller CPUs, including the Steam Deck, keep the old behaviour.
    • Any value you set yourself in the ini still takes priority, and the log says what auto chose.

Launcher

  • Upscaler downloads: Settings → Picture now has download buttons for the FSR, XeSS and DLSS (Streamline) files. You accept the vendor's licence first, then the files are downloaded from the vendor's own GitHub and checked against fixed hashes. For DLSS, only the needed files are pulled out of NVIDIA's 276 MB zip.
  • Unused DLSS files: with DLSS selected, Settings lists the Streamline files in your DLSS folder that the game never uses and says they can be deleted. This matters because NVIDIA's NGX can still load stray DLLs it finds there.
  • Set up prepares shaders: a final Set up step compiles the game's shaders ahead of time (fefw.exe --prepare-shaders), so there's less compiling during play. The step is instant if the shaders are already prepared, and a failure never blocks Set up or Play.
  • RecompLauncher support: the release now includes recomplauncher.json (thanks elripalda).
  • Fixed: starting with --game no longer saves that folder over your saved game folder.

Graphics fixes

  • Alpha test is now applied. The game's alpha test used to be ignored, so cutout and dissolve effects drew wrong. [nvn] alpha_test = false restores the old behaviour.
  • Fixed four more shaders that were left out of the integer-texture fix (#89). They could show wrong colours on NVIDIA GPUs.
  • Fixed a possible hang: GPU statistics counters are written on every report again ([nvn] stat_counters = once keeps the faster option).

Controller prompts

  • With a PlayStation or Xbox pad, the tutorial pager and other menus that page left and right now show a D-pad instead of the Y/A face buttons. Prompts for the real Y/A buttons are unchanged. [fefw] pager_dpad = off restores the old glyphs.

Quieter logs

  • Removed a lot of warnings that weren't real problems: about 357 lines per run for unknown NVN functions, the NVIDIA app's DLSS override, unused Streamline plugins, RGB565 textures without storage support, and libvpx on a game whose movies are AV1.

Other

  • Updated the bundled astc-encoder to 5.7.1 (bug fixes).
  • The release workflow builds both the Windows and Linux packages, with build caching.

Version 0.2.1, built from fc62ddc.

  • Linux and Steam Deck: fefw-recomp-0.2.1-linux-x64.tar.gz. Extract, run fefw-launcher.AppImage, Set up, Play.
  • Windows: fefw-recomp-0.2.1-win64.zip. Extract, run fefw-launcher.exe.

See README.txt in the package.

0.2.0

Choose a tag to compare

@metrist38 metrist38 released this 14 Nov 14:20

Version 0.2.0, the final update of the original project, built from this repository now that the original is gone.

  • Linux and Steam Deck: fefw-recomp-0.2.0-linux-x64.tar.gz. Extract, run fefw-launcher.AppImage, Set up, Play.
  • Windows: fefw-recomp-0.2.0-win64.zip. Extract, run fefw-launcher.exe.

See README.txt in the package. The launcher's updater follows this repository.

8bdaca6

Choose a tag to compare

@github-actions github-actions released this 11 Nov 20:01

Linux package built from 8bdaca6 (Update BASE_RELEASE version to v0.1.7).

Runtime (fefw_rt.dll) from upstream v0.1.7. Extract, run fefw-launcher.AppImage, Set up, Play. See README.txt.

8875872

Choose a tag to compare

@github-actions github-actions released this 10 Nov 13:48

Linux package built from 8875872 (Merge branch 'linux-proton').

Runtime (fefw_rt.dll) from upstream v0.1.6. Extract, run fefw-launcher.AppImage, Set up, Play. See README.txt.

d86ef03

Choose a tag to compare

@github-actions github-actions released this 10 Nov 13:14

Linux package built from d86ef03 (Merge branch 'linux-proton').

Runtime (fefw_rt.dll) from upstream v0.1.6. Extract, run fefw-launcher.AppImage, Set up, Play. See README.txt.