github exploitizm/mkw-pit-stop ps5-0.4.0
Mario Kart World: Pit Stop 0.4.0 (PS5)

one hour ago

Mario Kart World: Pit Stop (PPSA99193) 0.4.0 can build the game on the PS5 itself: no PC needed. Start the placeholder, press Triangle, pick your dump, and about 17 minutes later the game runs, played straight from your dump. Races now keep real-time speed when a frame runs long (dynamic frame rate), two-player split screen runs at full speed, the 1% low in the Grand Prix benchmark is up to ~44-45 fps, and several freezes and crashes are fixed. Building on a Windows or Linux PC works as before. Nothing of the game is in the release.

Changes

  • Build on this PS5 (#61). The placeholder carries clang, lld and a shader compiler built for the PS5: press Triangle on the Game files missing screen, choose a dump folder or a .nup file on internal storage or a USB drive, and it lifts, compiles, links and signs eboot.bin and translates the 11,604 shaders on the console, about 17 minutes on a base PS5. The result is byte for byte the PC builder's. The game is played from the dump where it is (of a .nup, only the ~70 MB ExeFS is copied). Guides: docs/ps5/installation.md and docs/ps5/updating.md.
  • Dynamic frame rate, on by default on the PS5 (#39). A frame that misses 16.7 ms advances the game 2 or 3 steps, so races run at real-time speed instead of slow motion. Two-player split screen went from 0.75x to full speed (about 45 fps). The 30 fps split-screen cap is now an off-by-default hack.
  • Smoother frames. The runtime is built with a profile taken on the console and ThinLTO (#55, #65): 1% low +1.5 fps, worst frame -15 ms. New textures' write watch is armed off the replay thread, ASTC alpha checks are cached (#59), skipped re-uploads and pack back-off cut slow frames (#35, #45), and textures over the decode budget show low-detail instead of blank (#62). A regression in the lows found on 03/12 is fixed (#65): Grand Prix 59.3-59.4 fps, 1% low 43.8-45.1 fps.
  • Fewer freezes and crashes. A rare freeze of the whole game, from pinning every thread to one CPU cluster (#52); a spin-lock freeze in the memory fault path (#57); a crash on the two-player kart select screen (#54); countdown flashes and a cyan Yoshi texture from dropped texture write-backs (#34, #38); garbled fonts after memory unpacking (#30).
  • Knockout Tours last much longer (#41): free blocks of the texture heap are packed first and SPIR-V is released after use, taking a tour from about 15 to about 38 minutes before memory ran short. Recording copies and texture pins are swept in long sessions (#42).
  • 5.1 surround sound and DualSense HD rumble (#49), and a faster video decoder.
  • Frame generation prefers a 120 Hz display mode when the TV offers one (#60). Frame generation stays off by default.
  • PlayStation button icons, 100% vibration and the console's language by default (#28).
  • Mods can add their own pages to the Pit Stop overlay (#63), and give their own C and C++ flags (#46).
  • The title finds the game in a subfolder of its own folder (#36), and the builder takes a .nup whose update holds the game without a base package (#33).
  • The PC builder fetches NVIDIA's tools at its check step and names an offline PC (#48).
  • Online play over the internet through a lobby (the game's local wireless mode, public rooms, invite codes, relay) is documented in the README.

Tested before publishing

  • The placeholder and both builder packages pass the release's no-game-content check and match SHA256SUMS; the placeholder's param.json says 01.004.000, and the builders' runtime is recorded as built with the console profile and ThinLTO (runtime_build: pgo+lto).
  • The Linux builder package, unpacked into a clean folder, passes prepare_ps5.py --check-only on a 1.8.0 console dump with its own Python.
  • The Windows builder package, unpacked into a clean folder on Windows, passes prepare_ps5.py --check-only on a 1.0.0 dump through its own Python.
  • On a base PS5, from the same code before the release: Build on this PS5 from a 23.6 GB .nup dump, then the game played from the package (02/12, the merge of #61); the Grand Prix benchmark of #65's build, 59.4 and 59.3 fps, 1% low 45.1 and 43.8 fps (03/12).

Not run: Build on this PS5 with the placeholder from this release's zip, a whole title build and send from the 0.4.0 builder packages, and an update through ProsperoStore itself.

Requirements

  • Your own game copy: Mario Kart World version 1.8.0 or 1.0.0 (exefs/ and romfs/, decrypted, or a .nup file), dumped from your own Nintendo Switch 2; a console dump with the 1.8.0 update in updates/ is used as it is (1.8.0 is built; to build 1.0.0, choose a folder without updates/ in it). Nothing of the game is in this release or repository.
  • A jailbroken PS5: running a payload loader (etaHEN or elfldr), kstuff, and ShadowMountPlus 1.7 Beta 5 or newer to register homebrew titles in /data/homebrew/.
  • No PC needed: the placeholder can build the game on the PS5 itself from your dump (internal storage or a USB drive): start it, press Triangle, pick the dump. About 17 minutes on a base PS5; see installation.md.
  • Or a PC with about 30 GB free to build the title from your dump, on the same network as the PS5:
    • Windows 10 or 11 (64-bit): nothing to install; the Windows builder carries its own Python, zig and glslc. No WSL needed.
    • Linux x86-64 or WSL2: nothing to install; the Linux builder carries its own Python 3.14, zig and glslc. Run it with that Python (setup/python/bin/python3), not the system's.

Install on Windows (no WSL)

  1. On the PS5: unzip mkw-pit-stop-<version>-ps5-placeholder-PPSA99193.zip and upload the PPSA99193 folder to /data/homebrew/ with an FTP client (FileZilla, WinSCP), so that /data/homebrew/PPSA99193/eboot.bin exists. Once ShadowMountPlus registers it, launch Mario Kart World: Pit Stop: it shows Game files missing with Console IP: <address> (port 19913). Leave that screen open; the PS5 only receives files while it is shown.
  2. On the PC: download mkw-pit-stop-<version>-ps5-builder-windows-x86_64.zip. Right-click it, Properties, tick Unblock, OK; then extract it to a short folder on a drive with 30 GB free, such as C:\PitStop (not Program Files or OneDrive).
  3. Run mkw.exe from that folder. On Game files, choose your dump with Choose folder (or Choose .nup or .nx file). Under Build for PS5, type the IP from the PS5 screen into PS5 IP and press Build for PS5. The steps tick off one by one; the first build takes a long time. You do not need the desktop Set up button for the PS5.
    Without the launcher, from a Command Prompt in that folder:
    prepare_ps5.bat --source "D:\Dumps\MKW" --send 192.168.1.50
  4. While the PC builds, the PS5 screen shows its step and progress; then Receiving from PC builder... and Transfer complete!. Press Cross, then launch Mario Kart World: Pit Stop again. Press Options + touchpad click at any time in game to open the Pit Stop settings overlay.

Copy already on the PS5: tick My game files are already on the PS5 and type its folder there (with exefs and romfs in it or in its updates\<version>): only the game code and shaders are sent.

Without the network: choose To a USB drive and Choose drive in step 3: the title goes to homebrew\PPSA99193 on the drive (exFAT, about 25 GB free), where ShadowMountPlus finds it on the PS5. The placeholder is not needed then; remove /data/homebrew/PPSA99193 if it is installed, so only one copy is registered.

If the PS5 stays on Waiting for connection, check the IP and that the PC and the PS5 are on the same network. A failed build is explained in logs/setup.log beside mkw.exe.

Install on Linux or WSL2

  1. On the PS5: put the placeholder title on it and launch it, as in step 1 for Windows. Leave its Game files missing screen open.
  2. Download mkw-pit-stop-<version>-ps5-builder-linux-x86_64.tar.zst from this release, verify it against SHA256SUMS, and unpack it (tar --zstd -xf mkw-pit-stop-*.tar.zst).
  3. From the unpacked folder, build and send with the builder's own Python, pointing at your Mario Kart World dump (a folder or a .nup file) and the IP from the PS5 screen:
    ./setup/python/bin/python3 prepare_ps5.py --source /path/to/your/mkw-dump --out ./PPSA99193 --send 192.168.1.50
    The first run finds the dump's version by exefs/main's build ID (1.8.0 d00e4f399e411d06, preferred, or 1.0.0 9e244438c3d8ef1c), generates and compiles the game's C code for the PS5 (ps5-high144), links and signs eboot.bin against the bundled runtime and RADV driver, downloads NVIDIA's nvdisasm and ptxas (pinned by SHA-256) to build the SM86 shader specification on your machine, translates the game's 11,561 shaders, and packs the RomFS and the shaders into romfs.nup and spirv.nup. It then sends the title to the PS5's receiver, or over the PS5's FTP server when the receiver does not answer; --usb /path/to/drive writes it to an exFAT drive instead. Don't copy PPSA99193 by hand: its loose spirv/ folder (about 46,000 files) is the translator's working copy, which the title does not read.
  4. When the PS5 shows Transfer complete!, press Cross and launch Mario Kart World: Pit Stop (PPSA99193) again. Press Options + touchpad click at any time in game to open the Pit Stop settings overlay.

Updating

A working title starts the game and does not listen for the PC, so it has to be put back on the receiver screen first.
Your game files (romfs.nup, exefs, spirv.nup), saves and mkw.ini stay on the console throughout, and only the
new game code and changed shaders are sent.

With an FTP server running on the PS5 (ftpsrv or etaHEN's): close Pit Stop on the PS5 and build again on the PC
(step 2). When the title's receiver does not answer, the builder installs over FTP instead, sending only what changed.
The receiver is still the better way when you can open it: it checks every file's SHA-256 and shows the progress on the TV.

  1. Open the receiver screen on the PS5, one of these ways:
    • Title built with this release or newer: hold L1 + R1 while you launch Mario Kart World: Pit Stop. It
      shows Ready to receive an update with the console's IP. (Pressed by mistake? Press Cross to close it.)
    • Title built with an older release (it has no L1 + R1 option): upload this release's placeholder over it.
      Unzip mkw-pit-stop-<version>-ps5-placeholder-PPSA99193.zip and upload its PPSA99193 folder onto
      /data/homebrew/PPSA99193 with your FTP client, replacing files. This replaces eboot.bin, sce_sys,
      sce_module and licenses, and leaves your game files, saves and settings alone. Launch the title: it shows
      Game files out of date or missing.
    • Installed from ProsperoStore: update it in the store. The update installs the new placeholder; the game
      files, saves and mkw.ini it put aside (in prosperostore/previous/PPSA99193) move back on the title's first
      start, which then shows Game files out of date or missing.
  2. On the PC: unpack the new builder over your old builder folder (or pass the same --work directory), so its
    build cache is reused, and build again: Build for PS5 on Windows, ./setup/python/bin/python3 prepare_ps5.py --send <PS5_IP> on Linux.
    Steps whose inputs have not changed are skipped.
  3. When the PS5 shows Transfer complete!, press Cross and launch the title again.

Title on a USB drive: no receiver screen is needed. Plug the drive into the PC and build to it again (To a USB
drive
): only the files that changed are copied.

Known issues

  • Split screen with 3 or 4 players is heavy (~43 ms a frame); with the dynamic frame rate the race keeps its speed at a lower frame rate, not measured there yet.
  • The PS5 does not let every title read the free space: Build on this PS5 may say Free space could not be read and still allows the build. Keep about 800 MB free.
  • A dump on a USB drive must stay connected whenever you play a game built from it on the PS5; moving the dump needs a new build.
  • Very long sessions can still run short of memory; several Knockout Tours in a row have not been tested.
  • Online play has been tested only on loopback, not between homes.
  • Still open: a few sparse texture tiles stay unloaded from boot; the first multiplayer race on a course can drop a player whose shaders are still compiling.

Licenses and source

The PS5 files in this release are under GPL-3.0-or-later as a whole: the PS5 title links GPL-3.0-or-later code (the PS5 payload SDK fork's platform layer and PS5_Vulkan's start-up code). mkw-recomp's own code is MIT. Each package holds LEGAL.txt and licenses/ with every part, its license, copyright and source revision. The complete source of every part is attached to this release as source/*.tar.gz (listed in source/SOURCES.txt, digests in SHA256SUMS).

Reporting a problem

Open an issue at https://github.com/exploitizm/mkw-pit-stop/issues and attach the console kernel log (klog) and logs/setup.log from the PC builder folder.

Mario Kart World is © Nintendo. Mario Kart World: Pit Stop is an unofficial fan project and is not affiliated with or endorsed by Nintendo, Sony Interactive Entertainment, or any game publisher.

Don't miss a new mkw-pit-stop release

NewReleases is sending notifications on new releases.