Repository navigation
Contributing
OpenLua Bot edited this page Nov 11, 2026
·
1 revision
Thanks for helping. OpenLua targets the OneLua API on PSP, with a portable storage layer and host tests.
The authoritative version is
CONTRIBUTING.md.
- Read Building,
docs/DEVELOPMENT.mdand Architecture. - Check the project board and existing issues. Claim work that is already tracked.
- For a new bug or feature, open an issue first.
git clone https://github.com/epr-ds/openlua.git
cd openlua
# Host tests (no PSP toolchain needed)
bash test/host/run.sh
# Check that no build artifacts are tracked
bash tools/check_repo_hygiene.shBuild the PSP EBOOT with bash docker/build.sh; see Building.
When you open an issue or PR, set:
| Field | Guidance |
|---|---|
| Status | Todo → In Progress → Done |
| Phase | P1 / S2 / S3 / S4 / S5 / S6 |
| Sprint | The sprint you are working in |
| Track | Core / GFX / Audio / NWK / TUI |
| Points | 2 (small), 3 (medium), 5 (large) |
| Priority |
priority:high, priority:medium, priority:low label |
Link the issue in the PR description so the board shows progress.
- The problem and approach are explained.
- Host tests pass (
bash test/host/run.sh). - Repository hygiene passes (
bash tools/check_repo_hygiene.sh). - The PSP build succeeds if PSP code changed.
- New/changed public API is documented in
docs/API.md. - Demos still run or are updated.
- No new tracked binaries or secrets.
- The related issue is linked (
Closes #NN).
- Acceptance criteria in the issue are met.
- Tests cover the fix where practical.
- A PSP/PPSSPP manual check is recorded for rendering, audio or boot changes.
- Documentation matches the implementation.
- The issue is closed with a short verification note.
Include:
- PSP model/firmware or PPSSPP version;
- the Lua script (minimal reproduction);
-
openlua.logand theflash0:/openlua_boot.txttrace if boot fails; - whether the bug reproduces on host tests.
Rendering bugs should state which of #19/#20 they may relate to. Hardware
results should include test_report.txt; see
Hardware Test Menu.
- Match the surrounding C: C99, 4-space indentation, no unrelated reformatting.
- Keep PSP-specific code behind
#if defined(__PSP__). - Pixel buffers are ABGR and must use the
realWstride. - Prefer
font.new/sfontin demos so they run on the standard PSP build.
The steps are described in
docs/DEVELOPMENT.md.
In short:
- Add the C implementation under the matching
engine/directory. - Register it with
ol_setfuncsand a global table inregister_api. - Add host tests where the code is portable.
- Document the API in
docs/API.mdand add a demo. - Pass
bash test/host/run.shand the PSP build.
OpenLua is MIT-licensed. By contributing you agree that your changes are released under the same license.