Skip to content

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

C++

Say what OMORI really does on the compat list

Leonardo Lobatoef6753d29994
diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md
index 44eadbe..111dad8 100644
--- a/COMPATIBILITY.md
+++ b/COMPATIBILITY.md
@@ -322,7 +322,7 @@ uses: Direct3D 8–11 goes through DXVK to Vulkan, and Direct3D 12 through vkd3d
| Mecha Chameleon | ❌ Broken | 0.16 | — | Needs an online login ([#115](https://github.com/leolobato/playden-ps5/issues/115)). ([#409](https://github.com/leolobato/playden-ps5/issues/409), firmware 13.60) |
| [Monaco](https://store.steampowered.com/app/113020) | ❌ Broken | 0.12 | Custom · D3D9 · DXVK · 32-bit | Creates the D3D9 device, then exits during startup before the menu. Log reports missing winegstreamer.prx when wmadmod loads, followed by an unhandled page fault. Retested with project.ini AUDIO_MUTE_ALL 1; still exits. Original configuration restored. |
| [MoonLess](https://store.steampowered.com/app/2322060) | ❌ Broken | 0.13 | GameMaker · D3D11 · 64-bit | Crashes right after it opens its window. |
-| [OMORI](https://store.steampowered.com/app/1150690) | ❌ Broken | 0.19 | RPG Maker (NW.js) · 32-bit | Stops at the start. |
+| [OMORI](https://store.steampowered.com/app/1150690) | ❌ Broken | 0.19 | RPG Maker (NW.js) · 32-bit | Opens a black window. |
| [Order of the Sinking Star](https://store.steampowered.com/app/499170) | ❌ Broken | 0.12 | — · D3D12 · vkd3d-proton · 64-bit | vkd3d-proton starts, then the game says it needs a GPU with Direct3D feature level 12_0 and quits. Also after Recreate bottle. ([#95](https://github.com/leolobato/playden-ps5/issues/95), firmware 13.60) |
| [Overwatch](https://store.steampowered.com/app/2357570) | ❌ Broken | 0.13 | — · D3D12 · 64-bit | Crashes at start. ([#183](https://github.com/leolobato/playden-ps5/pull/183), firmware 13.00) |
| [Project Zomboid](https://store.steampowered.com/app/108600) | ❌ Broken | 0.16 | Java (LWJGL) · OpenGL · 64-bit | Stops about 20 seconds after start: it runs out of open files ([#194](https://github.com/leolobato/playden-ps5/issues/194)). |
diff --git a/src/runtime/game_probe.cpp b/src/runtime/game_probe.cpp
index 4bf55b9..715e9b9 100644
--- a/src/runtime/game_probe.cpp
+++ b/src/runtime/game_probe.cpp
@@ -678,10 +678,11 @@ GameDefaults DefaultsFor(const GameProbe& probe, const RuntimeAbilities& runtime
// Chromium starts helper processes, which a PS5 title can't, so everything runs in the game's
// process. There Chromium reserves 64 GB of address space, which the kit's high area may now hold.
// ANGLE draws WebGL with Direct3D 11. 64-bit NW.js plays (Look Outside, NW.js 0.94), and so does a recent 32-bit
- // one (Alabaster Dawn's demo, NW.js 0.86). Older 32-bit builds still stop early (OMORI, from 2017; CrossCode's demo,
- // node-webkit 0.8), but they start like the others. V8 runs out of heap at about 124 MiB without the larger limit in a
- // 32-bit game. A game loading hundreds of files at once needs the kit's direct-memory sections (Wine 0976);
- // --enable-low-end-device-mode in Extra arguments also avoids those failed loads, if a game has to turn them off.
+ // one (Alabaster Dawn's demo, NW.js 0.86). Older 32-bit builds don't play yet (OMORI, from 2017, opens a black
+ // window; CrossCode's demo, node-webkit 0.8, crashes at start), but they start like the others. V8 runs out of heap
+ // at about 124 MiB without the larger limit in a 32-bit game. A game loading hundreds of files at once needs the
+ // kit's direct-memory sections (Wine 0976); --enable-low-end-device-mode in Extra arguments also avoids those failed
+ // loads, if a game has to turn them off.
out.graphics = "dxvk";
out.arguments = "--single-process --in-process-gpu --no-sandbox --disable-gpu-sandbox --disable-breakpad "
"--js-flags=--max-old-space-size=1024";
diff --git a/tests/game_probe_test.cpp b/tests/game_probe_test.cpp
index 8555a12..24bbcdf 100644
--- a/tests/game_probe_test.cpp
+++ b/tests/game_probe_test.cpp
@@ -423,7 +423,7 @@ int main() {
CHECK(KitCapabilitiesFromManifest({"dxvk", kKitDriverThreads}, false).driver_threads);
CHECK(!KitCapabilitiesFromManifest({"dxvk"}, false).driver_threads);
}
- { // 32-bit NW.js starts like 64-bit, on a kit with driver threads and with no "Try anyway". Older builds still stop.
+ { // 32-bit NW.js starts like 64-bit, on a kit with driver threads and with no "Try anyway". Older builds don't play yet.
const auto root = fresh();
WritePe(root / "OMORI.exe", {false, {"nw.dll", "KERNEL32.dll"}});
WritePe(root / "nw.dll", {false, {"d3d11.dll", "dxgi.dll", "KERNEL32.dll"}});