Skip to content

Play your Steam library's Windows games on a jailbroken PS5.

C++

Build kit H r8's PRXs in the same work folder as r6

Leonardo Lobatoc3a44091a0c5
diff --git a/tools/kit-h/README.md b/tools/kit-h/README.md
index 7ce4ab7..24b0872 100644
--- a/tools/kit-h/README.md
+++ b/tools/kit-h/README.md
@@ -72,7 +72,8 @@ inputs and spec. It takes only what the MSI accounts for and checks each file ag
builtins. Bottles made from an earlier template need Recreate bottle. Kit H r8 (the kit this release uses; runtime
`13fa077-kit-h-r8`; r7 was a development kit and was not released) is r6 with Wine patch 0603: Windows memory queries
report the title's direct-memory budget instead of about zero, so Fallout: New Vegas starts. Build the cross PRXs with
-`build_wine_ps5.sh` on 13fa077 into a fresh work folder, then run `update_r8.py` on a copy of r6's inputs and spec with
+`build_wine_ps5.sh` on 13fa077 into the same `wine-ps5` work folder as before (assert messages keep the source path, so
+another folder name changes every PRX), then run `update_r8.py` on a copy of r6's inputs and spec with
`PLAYDEN_CROSS_PRX` at that build's `prx/sce_module`. Only `ntdll.prx` changes, so bottles need no Recreate. RADV (`libvulkan.prx`) comes
from [PS5_Vulkan](https://github.com/mpereiraesaa/PS5_Vulkan) 8aee3af / [PS5_Mesa](https://github.com/mpereiraesaa/PS5_Mesa)
01d7057, the same as kit G r2. OpenGL games under Zink need at least PS5_Mesa f2ee389.
diff --git a/tools/kit-h/update_r8.py b/tools/kit-h/update_r8.py
index 116a58e..4530cbc 100644
--- a/tools/kit-h/update_r8.py
+++ b/tools/kit-h/update_r8.py
@@ -4,9 +4,10 @@
# readings, so a game that checks free memory before it starts (Fallout: New Vegas) sees about 12 GiB and an equal page file.
# Only ntdll.prx changes; the shell, the template and Mono are r6's, so bottles need no Recreate. (r7 was a development kit.)
# Copy kit H r6's inputs and kit-spec.json to PLAYDEN_KIT_DIR first (cp -c works). Build the cross PRXs with
-# tools/build_wine_ps5.sh on the runtime's prospero-win commit (as build_cross.sh does) into a fresh work folder, then run this
-# script with PLAYDEN_CROSS_PRX at its prx/sce_module (copied to the Mac or read in the VM) and PLAYDEN_RUNTIME_REVISION set to
-# that commit. Every other cross PRX must still match r6's.
+# tools/build_wine_ps5.sh on the runtime's prospero-win commit, with build_cross.sh's arguments and the same work folder
+# (wine-ps5; move r6's aside): assert messages keep the source path, so another folder name changes every PRX. Then run this
+# script with PLAYDEN_CROSS_PRX at that build's prx/sce_module (copied to the Mac or read in the VM) and
+# PLAYDEN_RUNTIME_REVISION set to that commit. Every other cross PRX must still match r6's.
import hashlib, json, os, shutil
from pathlib import Path