How openorbis/openorbis-ps4-toolchain works
OpenOrbis is a PS4 homebrew development toolchain: developers use its platform headers and library stubs while compiling and linking applications, then use format utilities and external publishing tools to prepare artifacts. The tree shown is a partial view, so the graph emphasizes documented capabilities and sampled modules rather than implying the compiler, linker, or packaging tools are implemented here. The README documents the overall workflow; sampled source confirms the example stub’s embedded assets and selected utility behavior.
Main entry points: lib.c Game Right stub · orbis PS4 API headers · stb.h STB utilities · stb_image.h Image loading
Components 21
Developer Interface
- PS4 API headers
include/orbis - Graphics headers
include/EGL/egl.h - FreeType headers
include/freetype/freetype.h - STB utilities
include/stb/stb.h - Image loading
include/stb/stb_image.h
Runtime Support
- C runtime startup
src/crt/crtlib.c - libc stub
src/modules/libc/libc/lib.c - Fios2 stub
src/modules/libSceFios2/libSceFios2/lib.c - Game Right stub
src/modules/right/right/lib.c - Stub string asset
src/modules/right/right/string_data.h - Stub logo asset
src/modules/right/right/logo_data.h
Utilities
- ELF inspection scripts
scripts/dynamic_entries.py - SELF utility
scripts/make_fself.py - Unicode table tool
include/stb/tools/unicode.c - Font asset tool
include/stb/tools/easy_font_maker.c
Examples
- SELF project template
src/templates/PS4 SELF Project/PS4 SELF Project/main.cpp - SPRX project template
src/templates/PS4 SPRX Project/PS4 SPRX Project/lib.cpp
Other components
- Homebrew developer
- Clang and LLD
- Publishing tools
- PS4 homebrew artifact
Connections 19
- Homebrew developer → PS4 API headers: uses APIs
README.md - Homebrew developer → Graphics headers: uses APIs
README.md - Homebrew developer → FreeType headers: uses APIs
README.md - Homebrew developer → STB utilities: uses utilities
- Homebrew developer → SELF project template: starts project
README.md - Homebrew developer → SPRX project template: starts project
README.md - Homebrew developer → Clang and LLD: compiles and links
README.md - PS4 API headers → Clang and LLD: supports compilation
README.md - C runtime startup → PS4 homebrew artifact: supports runtime
- libc stub → PS4 homebrew artifact: provides stub
- Fios2 stub → PS4 homebrew artifact: provides stub
- Game Right stub → Stub string asset: returns string
src/modules/right/right/lib.c - Game Right stub → Stub logo asset: returns image
src/modules/right/right/lib.c - Clang and LLD → PS4 homebrew artifact: builds artifact
README.md - ELF inspection scripts → Homebrew developer: reports ELF data
README.md - SELF utility → Homebrew developer: generates SELF
README.md - PS4 homebrew artifact → Publishing tools: packages with
README.md - Image loading → Font asset tool: loads image
include/stb/tools/easy_font_maker.c - STB utilities → Unicode table tool: supports generation
include/stb/tools/unicode.c