Skip to content

1.6-FSR

Latest

Choose a tag to compare

@BrewSparrow BrewSparrow released this 24 Nov 02:18

Title Update 1 is now required, optional FSR upscaling, and a harder crash guard for Chapter 35. As before, the release contains no game code or data; everything is built on your PC from your own dump with build_from_dump.bat.

Important: Title Update 1 is required

Put TU_12K22DB_000001C000000.000000000008B (from your console, Content\0000000000000000\454109AB\000B0000\) in title_update\ before building. build_from_dump.bat and CMake now stop with a clear message when it is missing or is another update. Builds without it are no longer supported.

Why: the crash guards for Chapter 18 and Chapter 35 only exist in the Title Update 1 build. The "Call to invalid or unregistered function" crashes reported in Chapter 2 and Chapter 35 all came from builds without the update. Their log says Module 'ao4.main.xex' registered 117095 functions; a correct build says 117503 and Title update mounted.

If you built 1.5 or older without the update: add it, delete out\build and the folders generated\default, generated\ao4_main and generated\engine_buildinfo (keep generated\rexglue.cmake), then run build_from_dump.bat again.

What's new

  • FSR upscaling (optional). AMD FidelityFX Super Resolution 1 for the final image. The default stays the plain bilinear scaling. Set present_effect = "fsr" in settings/hardware.toml and restart. build_from_dump.bat builds with FidelityFX by default; the first configure downloads the FidelityFX SDK from GitHub, so it needs an internet connection. To build without it: set AO2DC_FSR=0 before running the script. Tested on one PC (AMD RX 7700 XT, 1920x1080 window): no visible frame-time cost at 30 FPS and a sharper picture than bilinear. FSR only helps when the window is larger than the game's 1280x720 picture. cas, fsr2 and fsr3 are not tested.
  • Folder path length check. FSR's shader compiler crashes in deep folders (exit code 0xc0000409): fine up to 103 characters, crash at 104. build_from_dump.bat now stops at the start when the project folder path is longer than 96 characters and says to move the folder, for example to C:\AO2DC-Recomp. Extract the zip to a short path.
  • Slower GPUs and handhelds (README). readback_resolve = "fast" was the one setting that helped on a very weak GPU. The shipped default stays "full".

What's fixed

  • Chapter 35 stale texture guard hardened. The guard now also checks that the first word of the "texture" is not a code address. A crash was found with it in a 60 FPS test. It could not be reproduced on demand, so the extra check was only smoke tested. If you still see the crash on a Title Update 1 build, send the log. ao2dc_guard_stale_bind = false turns the guard off.
  • README and BUILDING.md now say the title update is required, and BUILDING.md has a troubleshooting entry for the crash above.

Includes everything from 1.5 (Chapter 18 and 35 fixes, safer Save Manager, Save to config fix, better graphics defaults).

Notes and known issues

  • The first start installs the HD texture pack from your dump (about 1.4 GB into user\) and compiles shaders, so the first launch can pause for several seconds.
  • 60 FPS is still experimental. If you turn it on, also set readback_resolve = "fast"; the shipped 30 FPS setting is "full", which costs too much at 60 FPS.
  • Not verified: this exact package was not built from scratch on a second PC. FSR was tested on one GPU, and the Chapter 35 crash seen at 60 FPS was not reproduced.
  • Avatar items are not supported; online features do not work.

Requires the Microsoft Visual C++ 2015-2022 Redistributable (x64): https://aka.ms/vs/17/release/vc_redist.x64.exe