AJM: decoding codec 23 is not implemented (Broken Sword - Shadow of the Templars: Reforged, PPSA21480) #6671
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-16T03:38:15Z.
Broken Sword - Shadow of the Templars: Reforged (PPSA21480) now stops at the AJM decoder: on
main31cbb55d7+ #6236 (the PlayGo setting does not matter for this title), Windows 10, RTX 4080 SUPER, 300 s run without input,PPSA21480_rZ1/run_233643.errlines 5-9:The earlier stop of this title,
sceCoredumpWriteUserStringnot implemented, is gone since #5834 was merged, so this is the next stop. I did not find an open issue or pull request forcodec 23(a search for AJM finds #6040, #6051 and #6299, which deal with Opus gapless resets, decoder handles across ID wrap and exported firmware batch interfaces). I do not know which codec the id 23 is or what the title decodes; I have no source for that, and I do not propose an implementation. Not tested: other GPUs, Linux, a run with the picture checked.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T03:43:10Z.
I checked the current AJM dispatch:
sceAjmInstanceCreatelogs the numeric codec whenAPS5_TRACE_AJM=1, and the run path explicitly supports codecs 0, 1, 2 and 24; codec 23 currently reaches the unsupported-codec throw. Before implementing it, could you capture a rerun withAPS5_TRACE_AJM=1and share the instance-create/run lines (including flags and initialization/config bytes) immediately before the abort, plus any evidence identifying the stream format? That should help distinguish a genuinely unsupported codec from an unexpected ID or setup path. I have not inferred codec 23's format from its number.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T04:53:42Z.
One public reference may help interpret the trace: shadPS4’s PS4 AJM header declares
AjmCodecType::Max = 23rather than a decoder at ID 23 (seeajm.h, and its instance switch has no case 23). This is only a PS4 reference; AnyPS5 already supports PS5 codec 24, which that PS4 implementation does not list, so it does not establish that codec 23 is invalid on PS5. The runtimeAPS5_TRACE_AJM=1instance/run arguments and stream identification are still needed before choosing an implementation.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T09:37:30Z.
I checked #6721 as a potentially related AJM change. It adds ATRAC9 vibration channel configurations (indices 6/7) under the existing ATRAC9 codec path; it does not add or identify codec ID 23. The
APS5_TRACE_AJM=1instance/run details and stream identification requested above are still needed before choosing a codec-23 implementation.