github adriadam10/mkw-recomp v0.1.4

2 hours ago

Fixes the setup that stopped at 359/360 on many Windows PCs, and the shader step failing when a worker runs out of
memory.

Changes

  • "Compile the game code" stopped at 359/360 on Windows (#2, #12): zig, the C compiler in the package, builds its own C
    runtime the first time it links, and on those PCs that build never ended (setup.log had no link probe line). The
    package now carries that runtime already built and the setup links with it, so zig builds nothing of its own on the
    player's PC, neither for the game library nor for the shader step's helper DLL, where #24 stopped after 360/360.
  • The shader step failed with BrokenProcessPool when the system ended a worker, usually when memory ran out (#24): it
    now goes on with half the workers, down to one, and setup.log says so.

Tested before publishing

From these packages, before publishing:

  • The whole setup (generate, compile, translate the shaders, the first run of the game) on Linux (Radeon 660M, RADV)
    with no system tools on PATH, and on Windows 11 (GTX 1050 Ti) with zig's cache emptied first.

Install

  • Linux x86-64, glibc 2.31 or newer (Debian 11, Ubuntu 20.04, SteamOS and later): chmod +x the AppImage and run it.
    The game it builds lives in ~/.local/share/mkw-recomp.
  • Windows 10/11 x64: unpack the zip into a folder and run mkw.exe.
  • Either: a Vulkan 1.3 GPU and about 30 GB free. Open Game files, point it at your exefs/ and romfs/ (Mario
    Kart World 1.0.0, your own dump) and press Prepare. Nothing of the game ships here: the setup builds it on your
    machine and downloads NVIDIA's nvdisasm and ptxas (pinned by sha256; 84 MB on Linux, 126 MB on Windows) to
    describe the shader encoding.

Updating

Linux: run the new AppImage. Windows: unpack the new zip over the same folder. Then press Prepare again: the steps
already done are skipped.

Known issues

  • Below 60 fps, set Settings > Screen > Frame rate to 30: the Automatic one does not settle at 30 yet.

Reporting a problem

Open an issue with the bug form and attach the logs: logs/mkw.log (the game and the start screen) and
logs/setup.log (the setup's tools), in ~/.local/share/mkw-recomp on Linux and next to mkw.exe on Windows.

Don't miss a new mkw-recomp release

NewReleases is sending notifications on new releases.