docs(debt): list the unimplemented AJM codec 23 of PPSA21480 #6672

Merged
xXPBSXx merged 1 commit from upstream-pr/6672 into main 2026-10-17 03:44:32 +00:00
xXPBSXx commented 2026-10-16 03:46:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-16T03:46:17Z.


What

Broken Sword - Shadow of the Templars: Reforged (PPSA21480) stops at AJM: decoding codec 23 is not implemented (PPSA21480_rZ1/run_233643.err line 8, main 31cbb55d7; the earlier stop sceCoredumpWriteUserString is gone since #5834). Ajm.cpp knows the codec ids MP3 0, ATRAC9 1, M4AAC 2 and Opus 24 and throws for every other id when decoding; the technical debt file does not list that. This adds one entry under Unknown function info saying so, with the title and the unknown codec. Issue #6671 has the log lines.

Tested

Documentation only. The entry restates the codec ids from Ajm.cpp (CODEC_MP3, CODEC_AT9, CODEC_M4AAC, CODEC_OPUS) and the throw at the decode path on main; the log lines were read with Python; not tested: a run with this change (no code changed).

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file (no code changed)
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source (none)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: none (documentation; title PPSA21480, #6671)
  • GPUs tested: n/a
  • AI-assisted: yes

AI-assisted (Claude Code).

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4883180231 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6672). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-16T03:46:17Z. --- ### What Broken Sword - Shadow of the Templars: Reforged (PPSA21480) stops at `AJM: decoding codec 23 is not implemented` (`PPSA21480_rZ1/run_233643.err` line 8, `main` `31cbb55d7`; the earlier stop `sceCoredumpWriteUserString` is gone since #5834). Ajm.cpp knows the codec ids MP3 0, ATRAC9 1, M4AAC 2 and Opus 24 and throws for every other id when decoding; the technical debt file does not list that. This adds one entry under Unknown function info saying so, with the title and the unknown codec. Issue #6671 has the log lines. ### Tested Documentation only. The entry restates the codec ids from `Ajm.cpp` (`CODEC_MP3`, `CODEC_AT9`, `CODEC_M4AAC`, `CODEC_OPUS`) and the throw at the decode path on `main`; the log lines were read with Python; not tested: a run with this change (no code changed). ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's technical debt file (no code changed) - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source (none) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: none (documentation; title PPSA21480, #6671) - [x] GPUs tested: n/a - [x] AI-assisted: yes AI-assisted (Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
xXPBSXx commented 2026-10-16 03:47:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-16T03:47:44Z.


@adriadam10 a short request for review of this documentation PR (one entry in docs/dev/debt/libSceAjm.native.md: AJM decoding throws for codecs other than MP3, ATRAC9, M4AAC and Opus; Broken Sword, PPSA21480, stops at codec 23, see #6671). Head 4dc23f9c1 is MERGEABLE / CLEAN, the Conventions, Eligibility and Intake checks are green.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6207632581 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6672#issuecomment-6207632581). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-16T03:47:44Z. --- @adriadam10 a short request for review of this documentation PR (one entry in `docs/dev/debt/libSceAjm.native.md`: AJM decoding throws for codecs other than MP3, ATRAC9, M4AAC and Opus; Broken Sword, PPSA21480, stops at codec 23, see #6671). Head `4dc23f9c1` is `MERGEABLE` / `CLEAN`, the Conventions, Eligibility and Intake checks are green. AI-assisted (Claude Code).
github-actions[bot] commented 2026-10-16 14:38:25 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T14:38:25Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 6841 docs/dev/debt/libSceAjm.native.md L9
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6217876095 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6672#issuecomment-6217876095). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-16T14:38:25Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 6841](https://www.github.com/boykopovar/AnyPS5/pull/6841) | `docs/dev/debt/libSceAjm.native.md` [L9](https://github.com/boykopovar/AnyPS5/blob/b260d8d792c81a21a638340979ae2f98243547d5/docs/dev/debt/libSceAjm.native.md#L9) | | |
MarcZX10 commented 2026-10-16 21:01:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T21:01:45Z.


The overlap bot flags #6841 on the same AJM debt entry. #6841 adds a trace-backed codec-23 implementation and updates this entry to describe the observed behavior and remaining assumptions. The two changes are separate in scope, but if #6841 lands, this debt-only PR should not reintroduce “codec 23 unimplemented.” Please coordinate merge order with #6841’s author; that PR has been asked to rebase and resolve the shared entry.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6224623848 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6672#issuecomment-6224623848). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T21:01:45Z. --- The overlap bot flags #6841 on the same AJM debt entry. #6841 adds a trace-backed codec-23 implementation and updates this entry to describe the observed behavior and remaining assumptions. The two changes are separate in scope, but if #6841 lands, this debt-only PR should not reintroduce “codec 23 unimplemented.” Please coordinate merge order with #6841’s author; that PR has been asked to rebase and resolve the shared entry.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6672
No description provided.