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

one hour ago

Mario Kart World: Pit Stop (PPSA99193) 0.4.1 fixes the two builders that 0.4.0 broke: Build on this PS5 stopped at about 60 % with "Cannot allocate memory", and the Windows PC builder stopped at the shader step with "No module named 'native_lib'". The game itself is unchanged from 0.4.0. Nothing of the game is in the release.

Changes

  • Build on this PS5 finishes again (#69, #72). The linker kept its ~360 MB output in a kind of memory a PS5 title has little of, and the relocatable link of 1.8.0 failed with failed to open /mem/combined.o: Cannot allocate memory. It now uses the title's main heap and no longer holds a second copy of the output.
  • The Windows PC builder translates shaders again (#70, #71). The package lacked tools/shaders/native_lib.py, which the shader step imports since the native translator. A test now checks that every module the packaged shader scripts import is in the package.

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.001, 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 dump with its own Python, and its translate.py loads.
  • 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; its translate.py loads and native_lib imports, where 0.4.0 stopped.
  • On a base PS5, from the code of #72 before the release: Build on this PS5 from a 1.8.0 .nup dump finished, the eboot.bin it installed is byte for byte the PC builder's, and the game started (04/12).

Not run: Build on this PS5 with the placeholder from this release's zip, a whole shader translation with the Windows builder package, 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

As in 0.4.0:

  • 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.