Repository navigation
Developer‐Guide
PPSX33 is an open-source C++ project.
Contributors can work on the recompiler, runtime, graphics subsystem, HLE services, build pipeline and testing infrastructure.
| Component | Technology |
|---|---|
| Main language | C++ |
| Desktop GUI | Qt 6 Widgets |
| Build system | CMake |
| Compiler | MSVC |
| Graphics | Vulkan 1.1 / OpenGL 4.5 |
| Runtime | Windows x64 DLL |
PPSX33/
├── .github/
├── assets/
├── cmake/
├── docs/
│ ├── games/
│ └── legal/
├── scripts/
├── src/
│ ├── core/
│ ├── processor/
│ │ ├── PPU/
│ │ └── SPU/
│ ├── RSX/
│ ├── games-stuff/
│ ├── UI/
│ └── cli/
├── tests/
├── CMakeLists.txt
├── CMakePresets.json
├── ENGINEERING.md
├── ROADMAP.md
├── STRUCTURE.md
└── README.md
See STRUCTURE.md for the complete source layout.
Install:
- Visual Studio with C++ desktop development tools.
- Windows SDK.
- Qt 6 SDK matching the project configuration.
- CMake.
- Ninja where required.
Example Qt installation:
aqt install-qt windows desktop 6.8.0 win64_msvc2022_64 -O C:\QtAdd the Qt binary directory to the system PATH:
C:\Qt\6.8.0\msvc2022_64\bin
Verify:
qmake --versionCMake can discover Qt through PATH or CMAKE_PREFIX_PATH.
From a Visual Studio developer command prompt:
scripts\build_all.batOr use the project's CMake configuration directly.
cmake -S . -B build -DCMAKE_PREFIX_PATH=C:/Qt/6.8.0/msvc2022_64
cmake --build build --config ReleaseThe exact configuration depends on the selected build preset and current project targets.
Run the synthetic smoke test after relevant changes.
Windows:
scripts\run_smoke_test.batCompatible shell environments:
bash scripts/run_smoke_test.shThe smoke test validates a synthetic PPC64 input pipeline.
It does not establish commercial-game compatibility.
- Locate the instruction decoder and emission path.
- Inspect operand fields.
- Verify architectural effects.
- Implement the corresponding runtime behaviour.
- Add a focused regression test.
- Run the smoke test.
- Review generated output.
- Update documentation.
Do not silently replace unsupported instructions with no-op behaviour and report them as fully implemented.
Important areas:
src/RSX/
src/RSX/sw/
Priorities include:
- FIFO decoding
- RSX methods
- Vertex processing
- Textures
- Shader compilation
- Render targets
- Vulkan presentation
Use real reproducible test scenes when validating rendering.
Important areas:
src/core/
src/processor/PPU/
src/processor/SPU/
src/games-stuff/
Runtime changes must preserve guest state and expected system-service behaviour.
- Clear implementation scope.
- Related interfaces updated.
- Build tested.
- Relevant regression tests executed.
- Documentation updated.
- No unauthorized game data included.
- Unverified behaviour clearly identified.
- Follow the existing code structure.
- Avoid unnecessary duplication.
- Preserve the unified runtime architecture.
- Keep unsupported behaviour visible.
- Do not claim compatibility without evidence.
- Keep documentation synchronized with actual implementation.
Read CONTRIBUTING.md before submitting changes.
Repository: