Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reads PS2Recomp runtime logs and ranks missing syscalls, stubs, IOP RPCs and disc read failures into a fix list with exact fix tools.
23% 95%+73 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 5 of 22 without it.
3 of 3 safety checks passed
Not used yet
The Backend Engineer makes the runtime under the recompiled game complete enough for it to run.
The generated code is a literal translation of the game; everything it expects from the PS2 (the
kernel, the SDK libraries, the disc, the I/O processor) has to exist in ps2xRuntime and ps2xIOP.
Every missing piece shows up as a log line. This skill reads those lines, ranks them, and says which
of the four fix tools applies and in which file.
Honest limits: the tool reads logs and the checkout; it does not write C++ for you. Some fixes are a
one-line case in the dispatcher, others are a whole subsystem. A game usually stops at the first
missing piece, so expect one fix per run early on, and fix in order.
${CLAUDE_SKILL_DIR} below is this skill's folder (where this SKILL.md lives).
python3 "${CLAUDE_SKILL_DIR}/stubs.py" scan console/runs/latest.log --repo ../PS2Recomp # ranked fixes
python3 "${CLAUDE_SKILL_DIR}/stubs.py" scan console/runs/*.log --markdown # table for STATE.md
python3 "${CLAUDE_SKILL_DIR}/stubs.py" handlers --repo ../PS2Recomp --grep sceCd # real handler names
python3 "${CLAUDE_SKILL_DIR}/stubs.py" handlers --repo ../PS2Recomp --todo # handlers still TODO
python3 "${CLAUDE_SKILL_DIR}/stubs.py" syscall 0x3C --repo ../PS2Recomp # name a syscall
python3 "${CLAUDE_SKILL_DIR}/stubs.py" syscall -0x1A # interrupt variant
scan exits 1 when it finds something to fix and 0 on a clean log; every command takes --json.
| File | What |
|---|---|
runtime logs (console/runs/*.log from /console-tester, or saved stdout+stderr) | read, line by line, any size |
ps2xRuntime/include/ps2_call_list.h (with --repo) | PS2_SYSCALL_LIST and PS2_STUB_LIST: the handler names a binding may use |
ps2xRuntime/src/lib/Kernel/Syscalls/Dispatcher.cpp (with --repo) | which syscall number goes to which handler |
ps2xRuntime/src/lib/Kernel/**/*.cpp (with --repo) | where each handler lives and which are still TODO_NAMED |
| stdout | the ranked list, or a Markdown table to paste into STATE.md's "Stubs and syscalls" |
Without --repo it uses a built-in table of standard EE kernel syscalls and guesses files from
names, and says so. Read reference/runtime-layers.md before the first fix of a session: the three
layers, how a call reaches a handler, triage stubs, the IOP, disc I/O and the subsystem file map.
Next to this one in the catalogue, plus more from the same author.