Silent Hill 4 : The Room

Port 1.0.1

Portage natif de Silent Hill 4 : The Room pour macOS.

sh4vita est un portage natif de Silent Hill 4 : The Room pour macOS, distribué en binaire dans ses releases.

Architecture

Mac OS X - macOS Mac OS X - macOS 64-bit 64-bit

Original game

Silent Hill 4 : The Room Windows

Download and links

Version history

1.0.1
Fixes for crashes and freezes that show up after long play sessions. Same files and installation as v1.0.0: only sh4vita.vpk changes (the eboot.bin inside). The data preparers are unchanged. If you already prepared your game files, you do not need to do it again: install the new VPK over the old one with VitaShell and keep ux0:data/sh4/ (saves included). What changed Memory: the game kept every unread SDL input event in memory, about 4.6 MB of the host heap after 25 minutes. They are now discarded. Out of memory in long sessions: the game's own linear memory reservation is now 56 MiB instead of 64 (the highest use we measured was 47.5 MiB). This avoids guest memory exhausted crashes seen after about 50 minutes, for example in the hospital. If a scene ever misbehaves, SH4_ARENA_MB=64 in ux0:data/sh4/env.txt restores the original size. Render freeze: fixed a race between two threads sending drawing commands, which could freeze the game after 1 to 2 hours. A watchdog now also releases stranded commands. Files File For sh4vita.vpk PS Vita (install with VitaShell) sh4prep-windows.exe Windows sh4prep-macos-app.zip macOS, Apple Silicon: run with double-click app sh4prep-macos macOS,…
Full changelog

Fixes for crashes and freezes that show up after long play sessions. Same files and installation as v1.0.0: only sh4vita.vpk changes (the eboot.bin inside). The data preparers are unchanged. If you already prepared your game files, you do not need to do it again: install the new VPK over the old one with VitaShell and keep ux0:data/sh4/ (saves included).

What changed

  • Memory: the game kept every unread SDL input event in memory, about 4.6 MB of the host heap after 25 minutes. They are now discarded.
  • Out of memory in long sessions: the game's own linear memory reservation is now 56 MiB instead of 64 (the highest use we measured was 47.5 MiB). This avoids guest memory exhausted crashes seen after about 50 minutes, for example in the hospital. If a scene ever misbehaves, SH4_ARENA_MB=64 in ux0:data/sh4/env.txt restores the original size.
  • Render freeze: fixed a race between two threads sending drawing commands, which could freeze the game after 1 to 2 hours. A watchdog now also releases stranded commands.

Files

File For
sh4vita.vpk PS Vita (install with VitaShell)
sh4prep-windows.exe Windows
sh4prep-macos-app.zip macOS, Apple Silicon: run with double-click app
sh4prep-macos macOS, Apple Silicon: run with terminal version
sh4prep-linux-x86_64.AppImage Linux x86-64: run with double-click version
sh4prep-linux Linux x86-64: run with terminal version

SHA-256 of sh4vita.vpk: 1ba609c01dc004435386a2ed7314db7246f3160ae4b3291c2f5796102918ec88

Full installation steps are in the README. You need your own copy of Silent Hill 4 from GOG ("1.0 gog v5"); no game file is included.

Known limitations

  • The long-session freeze fix was tested for about four hours of continuous play. Please save often.
  • If you get a full-console freeze, please open an issue with sh4log.txt and sh4log.txt.01 from ux0:data/sh4/.
  • Continue on the title screen stays greyed out: use Load.
  • Heavy scenes can drop below 30 fps; the first visit to a room can pause for about a second.

The code is under GPL-3.0 (see LICENSE). The source of this release is the tag v1.0.1 of this repository.

1.0.0
First public release of the Silent Hill 4: The Room port for PS Vita. The game is playable from start to finish on a real PS Vita. Files File For sh4vita.vpk PS Vita (install with VitaShell) sh4prep-windows.exe Windows sh4prep-macos-app.zip macOS, Apple Silicon: run with double-click app sh4prep-macos macOS, Apple Silicon: run with terminal version sh4prep-linux-x86_64.AppImage Linux x86-64: run with double-click version sh4prep-linux Linux x86-64: run with terminal version SHA-256 of sh4vita.vpk: 0e5665ec70ff05344102d4ef39cc9a7c2a45a356fd0e2a8c4357e662d2a22605 What you need A hacked PS Vita (HENkaku / Enso), at least 4 GB free on ux0:. Your own copy of Silent Hill 4 from GOG, version "1.0 gog v5". No game file is included in this release. libshacccg.suprx in ur0:data/ (installed by ShaRKF00D). Full installation steps are in the README. Starting the preparer The preparer is not signed by Apple or by a Linux distribution, so the first launch needs one extra step. Windows: run sh4prep-windows.exe. macOS: unzip sh4prep-macos-app.zip and double-click sh4prep. If macOS cannot verify the developer, right-click the app, choose Open and confirm (or use System Settings >…
Full changelog

First public release of the Silent Hill 4: The Room port for PS Vita. The game is playable from start to finish on a real PS Vita.

Files

File For
sh4vita.vpk PS Vita (install with VitaShell)
sh4prep-windows.exe Windows
sh4prep-macos-app.zip macOS, Apple Silicon: run with double-click app
sh4prep-macos macOS, Apple Silicon: run with terminal version
sh4prep-linux-x86_64.AppImage Linux x86-64: run with double-click version
sh4prep-linux Linux x86-64: run with terminal version

SHA-256 of sh4vita.vpk: 0e5665ec70ff05344102d4ef39cc9a7c2a45a356fd0e2a8c4357e662d2a22605

What you need

  • A hacked PS Vita (HENkaku / Enso), at least 4 GB free on ux0:.
  • Your own copy of Silent Hill 4 from GOG, version "1.0 gog v5". No game file is included in this release.
  • libshacccg.suprx in ur0:data/ (installed by ShaRKF00D).

Full installation steps are in the README.

Starting the preparer

The preparer is not signed by Apple or by a Linux distribution, so the first launch needs one extra step.

  • Windows: run sh4prep-windows.exe.
  • macOS: unzip sh4prep-macos-app.zip and double-click sh4prep. If macOS cannot verify the developer, right-click the app, choose Open and confirm (or use System Settings > Privacy & Security > Open Anyway). Terminal version: chmod +x sh4prep-macos, xattr -d com.apple.quarantine sh4prep-macos, ./sh4prep-macos.
  • Linux: make sh4prep-linux-x86_64.AppImage executable (file properties, or chmod +x) and double-click it. Terminal version: chmod +x sh4prep-linux, ./sh4prep-linux.

Known limitations

  • Heavy scenes can drop below 30 fps and the first visit to a room can pause for about a second.
  • Memory is tight: in very long sessions (an hour or more) some textures may be skipped and, in the worst case, the game can close. Save regularly.
  • The Continue entry on the title screen stays greyed out. Use Load.
  • The light glow effect is disabled for speed.
  • The macOS app and the Linux AppImage were built automatically and have not been tested on every system.

If something goes wrong, open an issue and attach the log of the affected session (ux0:data/sh4/sh4log.txt.01 after a relaunch).

License

The code is under GPL-3.0 (see LICENSE). Third-party notices are in THIRD_PARTY_NOTICES.md and LICENSES/. The source code of the port in this release is the tag v1.0.0 of this repository.

Reply on the forum

A question or a hands-on report? Open the discussion on the forum.

Reply on the forum