How ihaideez/wineps4 works
WinePS4 runs Windows programs natively on a jailbroken PS4 using Wine, with a custom desktop and PS4-specific Wine integration. The user starts the app, chooses a program from the desktop, and Wine launches it; the desktop also presents program windows, input, files, audio, and diagnostics. The graph preserves documented networking and Vulkan/DXVK capabilities. Some subsystems are represented by their exact enclosing directories because their implementation was not sampled; relationships without direct evidence are omitted.
Main entry points: desktop.cpp Desktop shell · ps4_main.c App entry · app Wine runtime · ps4_spawn_desk.c Process spawning
Components 16
Wine runtime
- App entry
port/ps4_main.c - Wine runtime
app
Desktop experience
- Desktop shell
shell/desktop.cpp - Files and editors
shell/fileops.cpp - Input controls
shell/input.cpp - Canvas rendering
shell/ps4_canvas.cpp - Window bridge
shell/winwindows.cpp
PS4 integration
- Process spawning
port/ps4_spawn_desk.c - PS4 compatibility
port/include/ps4_wine_compat.h - Networking
port/ps4_net.c - Audio mixer
port/ps4_audio_desk.c - Logs and diagnostics
port/ps4_main.c
Wine drivers
- Display driver
wine-overlay/dlls/wineps4.drv/display.c - Audio driver
wine-overlay/dlls/wineps4.drv/audio.c - DXVK and Vulkan
wine-overlay/dlls/wineps4.drv/vulkan.c
Other components
- PS4 user
Connections 15
- PS4 user → App entry: starts app
README.md - App entry → Desktop shell: runs desktop
port/ps4_main.c - App entry → Wine runtime: starts loader
port/ps4_main.c - Desktop shell → Process spawning: requests launches
shell/desktop.cpp - Wine runtime → Process spawning: requests processes
port/ps4_spawn_desk.c - Wine runtime → PS4 compatibility: uses compatibility
- Desktop shell → Files and editors: uses file operations
shell/desktop.cpp - Desktop shell → Input controls: handles input
shell/desktop.cpp - Desktop shell → Canvas rendering: draws interface
shell/desktop.cpp - Desktop shell → Window bridge: shows program windows
README.md - Display driver → Desktop shell: sends window data
- Audio driver → Audio mixer: sends audio
wine-overlay/dlls/wineps4.drv/audio.c - PS4 user → Networking: uses network
README.md - PS4 user → DXVK and Vulkan: runs Direct3D games
README.md - PS4 user → Logs and diagnostics: views diagnostics
README.md