shadPS4
shadPS4 emulates Sony PlayStation 4. It reads 71 files, none of them required: it starts games without them.
About this profile
Install this emulator's files
With Batocera, RetroBat or EmuDeck: the installer finds Batocera, RetroBat or EmuDeck and its BIOS folder, then downloads only the files shadPS4 reads there and checks each one.
Open Start. Type PowerShell, press Enter. Click Copy. Right-click to paste. Press Enter.
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator shadps4Press Cmd+Space. Type Terminal, press Return. Click Copy. Press Cmd+V. Press Return.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator shadps4Open a terminal, often with Ctrl+Alt+T. Click Copy. Press Ctrl+Shift+V. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator shadps4Hold power, pick Switch to Desktop. Open Konsole. Click Copy. Press Ctrl+Shift+V. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator shadps4Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator shadps4Technical notes
shadPS4 is a standalone PlayStation 4 emulator. Most PS4 system libraries are reimplemented in HLE. For better game compatibility, real firmware modules (.sprx) can be loaded in LLE mode from the sys_modules/ directory.
Modules are loaded by sysmodule_internal.cpp via loadModuleInternal(). If a module exists in sys_modules/, it is loaded as LLE. If absent and an HLE implementation exists, the emulator falls back to HLE. If neither, the module is stubbed and games needing it may fail.
Game-specific overrides are supported: sys_modules/{CUSA_ID}/ takes priority over the global sys_modules/ directory.
System fonts are mounted from fonts/font/ (/preinst/common/font on real
PS4) and fonts/font2/ (/system/common/font2 on real PS4)
(src/emulator.cpp:639-661). The font library opens each by its dumped name
or its PS4 name in fonts/, then fonts/font/, then fonts/font2/
(src/), and falls back to the
Noto fonts it embeds (font_internal.cpp:119-127). Each entry sits in the
folder the console keeps it in: the two mounts serve them as is to games
and to the LLE libSceFont, and the library finds both. The font2 copies of
the SSTArabic family are a later revision than the font/ ones, which the
library reaches first. These are SST
(Sony Standard Text) typeface files in OTF format. The emulator mounts
the directories wholesale, and games load individual fonts by name. Without
fonts, the emulator warns "No dumped system fonts, expect missing text
or instability."
All firmware files are extracted from a real PS4 via FTP:
- .sprx modules from /system/common/lib/
- font/ from /preinst/common/font/
- font2/ from /system/common/font2/
The paths below are relative to the user folder: user/ in the working
directory when it exists, else $XDG_DATA_HOME/shadPS4 or
~/.local/share/shadPS4 on Linux and %APPDATA%/shadPS4 on Windows
(src/). sys_modules/ is below it
(path_util.cpp:124) unless sysModulesPath in the config names another
folder (src/, 535).
71 files: 0 required, 71 optional. 47 have an HLE fallback.
In this collection: 71 in repo and 0 missing.
Optional
Section titled “Optional”| File | Status |
|---|---|
libSceLibcInternal.sprxPS4 C standard library
Source
| in repo HLE fallback |
libSceNgs2.sprxPS4 next-generation audio system
Source | in repo HLE fallback |
libSceUlt.sprxPS4 user-level threading library
Source | in repo |
libSceRtc.sprxPS4 real-time clock library
Source | in repo HLE fallback |
libSceJpegDec.sprxPS4 JPEG decoder
Source | in repo |
libSceJpegEnc.sprxPS4 JPEG encoder
Source | in repo HLE fallback |
libScePngEnc.sprxPS4 PNG encoder
Source | in repo HLE fallback |
libSceJson.sprxPS4 JSON parser
Source | in repo |
libSceJson2.sprxPS4 JSON v2 parser
Source | in repo |
libSceCesCs.sprxPS4 character encoding conversion
Source | in repo |
libSceAt9Enc.sprxPS4 ATRAC9 encoder
Source | in repo |
libSceAudiodec.sprxPS4 audio decoder
Source | in repo |
libSceAudiodecCpu.sprxPS4 CPU audio decoder
Source | in repo |
libSceAudiodecCpuDdp.sprxPS4 CPU Dolby Digital Plus decoder
Source | in repo |
libSceAudiodecCpuM4aac.sprxPS4 CPU AAC decoder
Source | in repo |
libSceAudiodecCpuDtsHdLbr.sprxPS4 CPU DTS-HD LBR decoder
Source | in repo |
libSceAudiodecCpuHevag.sprxPS4 CPU HEVAG decoder
Source | in repo |
libSceFont.sprxPS4 font rendering library
Source | in repo HLE fallback |
libSceFontFt.sprxPS4 FreeType font library
Source | in repo HLE fallback |
libSceFreeTypeOt.sprxPS4 FreeType OpenType library
Source | in repo |
libSceFreeTypeOl.sprxPS4 FreeType outline library
Source | in repo |
libSceFreeTypeOptOl.sprxPS4 FreeType optimised outline library
Source | in repo |
libSceRudp.sprxPS4 reliable UDP library
Source | in repo HLE fallback |
libSceWkFontConfig.sprxPS4 WebKit font configuration
Source | in repo |
libSceSystemGesture.sprxPS4 system gesture recognition
Source | in repo HLE fallback |
libSceXml.sprxPS4 XML parser
Source | in repo |
SST-Light.otfPS4 system font
| in repo HLE fallback |
SST-Roman.otfPS4 system font
| in repo HLE fallback |
SST-Medium.otfPS4 system font
| in repo HLE fallback |
SST-Italic.otfPS4 system font
| in repo HLE fallback |
SST-Bold.otfPS4 system font
| in repo HLE fallback |
SST-BoldItalic.otfPS4 system font
| in repo HLE fallback |
SST-LightItalic.otfPS4 system font
| in repo HLE fallback |
SST-MediumItalic.otfPS4 system font
| in repo HLE fallback |
SSTTypewriter-Roman.otfPS4 system font
| in repo HLE fallback |
SSTTypewriter-Bd.otfPS4 system font
| in repo HLE fallback |
SSTJpPro-Regular.otfPS4 system font
| in repo HLE fallback |
SSTJpPro-Bold.otfPS4 system font
| in repo HLE fallback |
DFHEI5-SONY.ttfPS4 system font
| in repo HLE fallback |
SSTAribStdB24-Regular.ttfPS4 system font
| in repo HLE fallback |
SSTArabic-Roman.otfPS4 system font
| in repo HLE fallback |
SSTArabic-Light.otfPS4 system font
| in repo HLE fallback |
SSTArabic-Medium.otfPS4 system font
| in repo HLE fallback |
SSTArabic-Bold.otfPS4 system font
| in repo HLE fallback |
SCEPS4Yoongd-Light.otfPS4 system font
| in repo HLE fallback |
SCEPS4Yoongd-Medium.otfPS4 system font
| in repo HLE fallback |
SCEPS4Yoongd-Bold.otfPS4 system font
| in repo HLE fallback |
e046323ms.ttfPS4 system font
| in repo HLE fallback |
e046323ts.ttfPS4 system font
| in repo HLE fallback |
n023055ms.ttfPS4 system font
| in repo HLE fallback |
n023055ts.ttfPS4 system font
| in repo HLE fallback |
d013013ds.ttfPS4 system font
| in repo HLE fallback |
k006004ds.ttfPS4 system font
| in repo HLE fallback |
c041056ts.ttfPS4 system font
| in repo HLE fallback |
SCE-RDC-R-JPN.otfPS4 system font
| in repo HLE fallback |
SCE-RDC-B-JPN.otfPS4 system font
| in repo HLE fallback |
SSTThai-Light.otfPS4 system font
| in repo HLE fallback |
SSTThai-Roman.otfPS4 system font
| in repo HLE fallback |
SSTThai-Medium.otfPS4 system font
| in repo HLE fallback |
SSTThai-Bold.otfPS4 system font
| in repo HLE fallback |
SSTVietnamese-Light.otfPS4 system font
| in repo HLE fallback |
SSTVietnamese-Roman.otfPS4 system font
| in repo HLE fallback |
SSTVietnamese-Medium.otfPS4 system font
| in repo HLE fallback |
SSTVietnamese-Bold.otfPS4 system font
| in repo HLE fallback |
SSTArabic-Roman.otfPS4 system font, font2 revision
Source | in repo |
SSTArabic-Light.otfPS4 system font, font2 revision
Source | in repo |
SSTArabic-Medium.otfPS4 system font, font2 revision
Source | in repo |
SSTArabic-Bold.otfPS4 system font, font2 revision
Source | in repo |
DFHEI5-SONY2022.ttfPS4 system font
Source | in repo |
PS4Icon.ttfPS4 button and icon glyphs
Source | in repo |
SceWebKitSupplemental.otfPS4 WebKit supplemental glyphs
Source | in repo |
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start