Play your Steam library's Windows games on a jailbroken PS5.
C++
Use kit H r8: games see the console's memory
Leonardo Lobato3b6b5153f493
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.mdindex baacbe1..60508dd 100644--- a/THIRD_PARTY_NOTICES.md+++ b/THIRD_PARTY_NOTICES.md@@ -45,8 +45,8 @@ revisions it was built from and includes their license texts in `LICENSES/`, and| Component | Version | License | Source || --- | --- | --- | --- || Wine | upstream with the prospero-win patch series | LGPL-2.1-or-later | [winehq.org](https://www.winehq.org/), patches in prospero-win `wine/patches/` |-| prospero-win (Wine's PS5 side, the 32-bit translator, the per-game app shell) | kit H r6: Wine and runtime `70bfc92`, app shell `4a1aa7a` | LGPL-2.1 | [mpereiraesaa/prospero-win](https://github.com/mpereiraesaa/prospero-win), our fork [leolobato/prospero-win](https://github.com/leolobato/prospero-win) |-| prospero-foundation (native app tools for the per-game app shell) | kit H r6: `9c0b994` | GPL-3.0 | Fork of [mpereiraesaa/ps5-native-app-boilerplate](https://github.com/mpereiraesaa/ps5-native-app-boilerplate) |+| prospero-win (Wine's PS5 side, the 32-bit translator, the per-game app shell) | kit H r8: Wine and runtime `13fa077`, app shell `4a1aa7a` | LGPL-2.1 | [mpereiraesaa/prospero-win](https://github.com/mpereiraesaa/prospero-win), our fork [leolobato/prospero-win](https://github.com/leolobato/prospero-win) |+| prospero-foundation (native app tools for the per-game app shell) | kit H r8: `9c0b994` | GPL-3.0 | Fork of [mpereiraesaa/ps5-native-app-boilerplate](https://github.com/mpereiraesaa/ps5-native-app-boilerplate) || DXVK | 2.6.2 | Zlib | [doitsujin/dxvk](https://github.com/doitsujin/dxvk) || Mesa (WGL and Zink, for OpenGL games) | PS5_Mesa `e4607ef` | MIT | [mpereiraesaa/PS5_Mesa](https://github.com/mpereiraesaa/PS5_Mesa), based on [Mesa](https://mesa3d.org/) || RADV for the PS5 (`libvulkan.prx`) | PS5_Vulkan `8aee3af`, PS5_Mesa `01d7057` | GPL-3.0 (PS5_Vulkan); MIT (Mesa) | [mpereiraesaa/PS5_Vulkan](https://github.com/mpereiraesaa/PS5_Vulkan), [mpereiraesaa/PS5_Mesa](https://github.com/mpereiraesaa/PS5_Mesa) |diff --git a/dependencies.lock.json b/dependencies.lock.jsonindex 62fb073..5ef6d94 100644--- a/dependencies.lock.json+++ b/dependencies.lock.json@@ -212,9 +212,9 @@"prospero_kit": {"kit_id": "hl2-fw1360-dev1","published": false,- "status": "kit H r6: kit H r5 with the template bottle carrying what Wine Mono's support MSI (winemono-support.msi 11.3.0) writes when Wine installs it: HKLM\\Software\\Microsoft\\.NETFramework InstallRoot (C:\\windows\\Microsoft.NET\\Framework64\\, and Framework\\ in the Wow6432Node view), the policy, NET Framework Setup\\NDP, Active Setup, Post Platform and XNA keys of its Registry table, the CorSymWriter class, and C:\\windows\\Microsoft.NET (mscorlib/machine.config stubs and Wine's fake DLLs, 60 files), taken from a real install with kit H's host Wine (tools/kit-h/update_r6.py), so mscoree's LoadLibraryShim finds the install root (Antichamber); Mono stays at the kit root; bottles made from an earlier template need Recreate bottle; runtime and shell unchanged. kit H r5: kit H r4 with the title shell rebuilt from prospero-win 4a1aa7a, which reads a profile's [environment] section (up to 8 DXVK_/MESA_/RADV_/SDL_ variables or WINE_CPU_TOPOLOGY, logged as PW_WINE64 environment NAME=value), and ntdll.prx rebuilt from 70bfc92 with Wine patch 0958 (WINE_CPU_TOPOLOGY lowers NumberOfProcessors to its count), so Game settings > Environment variables and CPU cores reach the game; capability settings-profile-environment; template unchanged. kit H r4: kit H r3 with Wine Mono 11.3.0 at the kit root (mono/wine-mono-11.3.0, uploaded once, not copied per title or bottle) and the template's user.reg pointing Wine's mscoree at it (HKCU\\Software\\Wine\\Mono RuntimePath = Z:\\data\\playden\\kits\\hl2-fw1360-dev1\\mono\\wine-mono-11.3.0), so .NET and mixed C++/CLI programs can start (ENSLAVED); capability wine-mono; bottles made from an earlier template need Recreate bottle; runtime unchanged. kit H r3: kit H r2 with Wine patch 0957 (prospero-win 2b91e15): kernelbase reads the stored computer name when wineboot's volatile ActiveComputerName key is missing, so dxdiagn initializes (GUN). kit H r2: kit H with Wine patch 0170 (prospero-win 2c4eaa6): ntdll records the path of a directory it receives from the in-process server, so names opened relative to a directory handle resolve (.NET recursive enumeration, Caves of Qud). kit H: everything rebuilt on prospero-win rebased onto upstream 644e32e (bceed2d), with GnuTLS schannel and patch 0956 for Godot's OpenGL window; as kit G: OpenGL games draw through Mesa WGL/Zink (PE32/PE64 in the any-title shell at win/mesa-zink), the PS5 OpenGL SDK path is gone, our Wine patches at 0950-0955; development kit (Mesa DLLs and libgnutls.prx carry build paths); console acceptance pending; authorized no-drop fallback",- "manifest_sha256": "489927f2ef378ebed18be1e611173ef2878a712bf8bb27eef5c6fc6a87f0c24e",- "files_sha256": "c1041f6dd788965a67b180ace8287f1a67d72086fa9fc42aef49840a27e1444b",+ "status": "kit H r8: kit H r6 with ntdll.prx rebuilt from prospero-win 13fa077 with Wine patch 0603 (upstream PR #688): Windows memory queries report the title's direct-memory pool and largest free block, with an equal synthetic page file, instead of the sandbox's empty BSD readings (Fallout: New Vegas); r7 was a development kit; template, shell and Mono unchanged, so bottles need no Recreate. kit H r6: kit H r5 with the template bottle carrying what Wine Mono's support MSI (winemono-support.msi 11.3.0) writes when Wine installs it: HKLM\\Software\\Microsoft\\.NETFramework InstallRoot (C:\\windows\\Microsoft.NET\\Framework64\\, and Framework\\ in the Wow6432Node view), the policy, NET Framework Setup\\NDP, Active Setup, Post Platform and XNA keys of its Registry table, the CorSymWriter class, and C:\\windows\\Microsoft.NET (mscorlib/machine.config stubs and Wine's fake DLLs, 60 files), taken from a real install with kit H's host Wine (tools/kit-h/update_r6.py), so mscoree's LoadLibraryShim finds the install root (Antichamber); Mono stays at the kit root; bottles made from an earlier template need Recreate bottle; runtime and shell unchanged. kit H r5: kit H r4 with the title shell rebuilt from prospero-win 4a1aa7a, which reads a profile's [environment] section (up to 8 DXVK_/MESA_/RADV_/SDL_ variables or WINE_CPU_TOPOLOGY, logged as PW_WINE64 environment NAME=value), and ntdll.prx rebuilt from 70bfc92 with Wine patch 0958 (WINE_CPU_TOPOLOGY lowers NumberOfProcessors to its count), so Game settings > Environment variables and CPU cores reach the game; capability settings-profile-environment; template unchanged. kit H r4: kit H r3 with Wine Mono 11.3.0 at the kit root (mono/wine-mono-11.3.0, uploaded once, not copied per title or bottle) and the template's user.reg pointing Wine's mscoree at it (HKCU\\Software\\Wine\\Mono RuntimePath = Z:\\data\\playden\\kits\\hl2-fw1360-dev1\\mono\\wine-mono-11.3.0), so .NET and mixed C++/CLI programs can start (ENSLAVED); capability wine-mono; bottles made from an earlier template need Recreate bottle; runtime unchanged. kit H r3: kit H r2 with Wine patch 0957 (prospero-win 2b91e15): kernelbase reads the stored computer name when wineboot's volatile ActiveComputerName key is missing, so dxdiagn initializes (GUN). kit H r2: kit H with Wine patch 0170 (prospero-win 2c4eaa6): ntdll records the path of a directory it receives from the in-process server, so names opened relative to a directory handle resolve (.NET recursive enumeration, Caves of Qud). kit H: everything rebuilt on prospero-win rebased onto upstream 644e32e (bceed2d), with GnuTLS schannel and patch 0956 for Godot's OpenGL window; as kit G: OpenGL games draw through Mesa WGL/Zink (PE32/PE64 in the any-title shell at win/mesa-zink), the PS5 OpenGL SDK path is gone, our Wine patches at 0950-0955; development kit (Mesa DLLs and libgnutls.prx carry build paths); console acceptance pending; authorized no-drop fallback",+ "manifest_sha256": "bcbf77d8780ad7c6337663e83a774db8a5daaef997a5c6aeb678d89378356e61",+ "files_sha256": "0f08bcf5f579bb546ac180297c9856e5433a47e6eed6dd2ddce5acda3a892500","console_root": "/data/playden/kits/hl2-fw1360-dev1","firmware": ["13.60"@@ -232,8 +232,8 @@"wow64_i386"],"wrapper_revision": "4a1aa7a158c2b605becf8042c3ed9c9e142d9652",- "runtime_artifact_revision": "70bfc92-kit-h-r5",- "runtime_inventory_source": "Kit H r5: kit H r4 with ntdll.prx rebuilt from prospero-win 70bfc92 (patch 0958); every other file unchanged. Kit H r3: kit H r2 with kernelbase.dll (i386 and x86_64, runtime and template system32/syswow64 copies) rebuilt from prospero-win 2b91e15 (patch 0957); every other file unchanged. Kit H r2: kit H r1 with ntdll.prx rebuilt from prospero-win 2c4eaa6 (patch 0170); every other file unchanged. Kit H: as kit G r2, every file rebuilt from prospero-win bceed2d (upstream 644e32e; adds libgnutls.prx, secur32.prx and share/wine/ca-certificates.crt); kit G: kit F's runtime key set, every file rebuilt from prospero-win f29127a on ps5-amd64 under the path-neutral prefix map (host Wine, cross PRXs and patched PE modules, wowprospero, wow64native); template from kit A's with its 516 builtins plus every patched module re-sourced and the i386 HID drivers in syswow64/drivers; shell from f29127a with Mesa e4607ef WGL/Zink (build/kit-g). r2: libvulkan.prx relinked from PS5_Vulkan 8aee3af (PS5_Mesa 01d7057), whose VideoOut hands the display from a swapchain that never presented to the next, so SDL and wined3d GL probe windows no longer keep a Zink game black.",+ "runtime_artifact_revision": "13fa077-kit-h-r8",+ "runtime_inventory_source": "Kit H r8: kit H r6 (r5's runtime) with ntdll.prx rebuilt from prospero-win 13fa077 (patch 0603) in the same work folder; every other file unchanged. Kit H r5: kit H r4 with ntdll.prx rebuilt from prospero-win 70bfc92 (patch 0958); every other file unchanged. Kit H r3: kit H r2 with kernelbase.dll (i386 and x86_64, runtime and template system32/syswow64 copies) rebuilt from prospero-win 2b91e15 (patch 0957); every other file unchanged. Kit H r2: kit H r1 with ntdll.prx rebuilt from prospero-win 2c4eaa6 (patch 0170); every other file unchanged. Kit H: as kit G r2, every file rebuilt from prospero-win bceed2d (upstream 644e32e; adds libgnutls.prx, secur32.prx and share/wine/ca-certificates.crt); kit G: kit F's runtime key set, every file rebuilt from prospero-win f29127a on ps5-amd64 under the path-neutral prefix map (host Wine, cross PRXs and patched PE modules, wowprospero, wow64native); template from kit A's with its 516 builtins plus every patched module re-sourced and the i386 HID drivers in syswow64/drivers; shell from f29127a with Mesa e4607ef WGL/Zink (build/kit-g). r2: libvulkan.prx relinked from PS5_Vulkan 8aee3af (PS5_Mesa 01d7057), whose VideoOut hands the display from a swapchain that never presented to the next, so SDL and wined3d GL probe windows no longer keep a Zink game black.","wine_mono": {"version": "11.3.0","url": "https://dl.winehq.org/wine/wine-mono/11.3.0/wine-mono-11.3.0-x86.tar.xz",diff --git a/src/runtime/kit_trust.h b/src/runtime/kit_trust.hindex 6b64a71..16bba1e 100644--- a/src/runtime/kit_trust.h+++ b/src/runtime/kit_trust.h@@ -12,7 +12,7 @@ namespace playden::runtime {inline constexpr const char* kDevelopmentKitId = "hl2-fw1360-dev1";inline constexpr const char* kDevelopmentKitRoot = "/data/playden/kits/hl2-fw1360-dev1";inline constexpr const char* kExpectedKitManifestSha256 =- "489927f2ef378ebed18be1e611173ef2878a712bf8bb27eef5c6fc6a87f0c24e";+ "bcbf77d8780ad7c6337663e83a774db8a5daaef997a5c6aeb678d89378356e61";// What this build accepts from a kit, on any console firmware.KitAdmissionConfig DevelopmentKitAdmission();