Skip to content

Releases

Forza Horizon 2 launcher 0.1.0 for ARM64 Linux

Choose a tag to compare

@github-actions github-actions released this 10 Nov 17:16

What's new

New

  • Build FH2 Recompiled natively for linux-arm64
  • Build the game on the handheld from the disc image, with a launcher
  • Make the native renderer's shader library on the handheld
  • Optional simulation step on every vblank (experiment for 60 fps)

Fixes

  • Find the guest modules under the names codegen gives them
  • Read disc images whose file tree has empty or repeated links
  • Keep disc tree reads inside each directory table
  • Turn the resolve shortcut off, it made shadows flash on Turnip
  • Give rexglue init the options its parser requires

Guide

  • Describe the install, the settings and the build
  • Describe the native renderer and the 30 fps pacing

Getting on the road

Bring your own Forza Horizon 2 disc for Xbox 360 (the USA one, title 4D530AA4) as an ISO, and leave about 25 GB free.

  • Unpack FH2Recompiled-Launcher-linux-arm64.tar.gz in Desktop Mode and open FH2Recompiled/fh2-launcher. Point it at the ISO and press Build.
  • The recompiled game is compiled on the handheld itself, so plug in the charger. Afterwards "Forza Horizon 2" shows up in Steam; artwork is up to you (SteamGridDB).
  • The ISO is read where it is, not copied: leave it there, or build again after moving it.
  • The build also turns the disc's shaders into the native renderer's shader library, with an arm64 DXC from this repository's shader-tools release. The first minutes of play are slower while the driver caches them.

On the Retroid Pocket 6 the native renderer holds 30 fps. Leave the frame limit at 30: the game simulates 30 steps a second. FH2_RENDERER=emulated in the launch options switches to the slower, faithful emulated GPU. Settings are in game/fh2.toml.

Launcher SHA-256: d968bcfdb29b477d2f7abff290f41c8956de0f0304ecc9d090f28b20d0235e19. No game files are included.

Shader tools 1.9.2607.1

Choose a tag to compare

DXC v1.9.2607 (the version upstream pins for its shader library) and SPIR-V Tools' spirv-opt and spirv-val, built for linux-arm64. The game build uses them on the handheld to make the native renderer's shader library from your own disc. They hold no game files.

Sources: https://github.com/microsoft/DirectXShaderCompiler/tree/v1.9.2607 and its SPIRV-Tools and SPIRV-Headers submodules; licences in licenses/.

SHA-256: 9EF71FCB9D7372DEB7BA7972C65C624A17CE8C5BD11C4C9A6A4BD79A5F0239FB