feat(loader): support local DLC entitlement configuration #1697
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1697
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1697/head"
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?
@herrMirto on GitHub · 2026-10-19 09:39 UTC · original
herrMirto:feat/local-additional-content-entitlements→main· +262 −18 · 8 files · 2 commits · closed without mergingRead license-only PSAL/NO_EXTRA_DATA entries from app0/dlc_emu.ini
and expose them through additional-content lookup and listing APIs.
This supports DLC content already included in the game files and local
mod testing that depends on additional-content entitlement queries.
This does not install DLC files, load mods, or provide online entitlement
validation.
@coderabbitai[bot] on GitHub · 2026-10-19 10:02 UTC · original · edited 2026-10-19 12:21 UTC
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
a0660fa4-51b8-4d7f-b88b-0daaf9a84b40📥 Commits
Reviewing files that changed from the base of the PR and between
bef220fbf0andbec42cfff1.📒 Files selected for processing: 8
src/common/additionalContent.cppsrc/common/additionalContent.hsrc/emulator.cppsrc/libs/libNpEntitlementAccess.cppsrc/loader/additionalContent.cppsrc/loader/additionalContent.htests/ArchiveTestFixture.htests/KernelFileSystemTests.cpp🚧 Files skipped from review as they are similar to previous changes: 4
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
📝 Walkthrough
The change reads validated, title-local PSAL entries from
dlc_emu.iniand loads them alongside add-on content. Local entries that match installed add-content labels are removed. Entitlement lookups and listings expose remaining local entries for service label 0 with license-only package type and download status values. Tests cover parsing, API behavior, title reloads, file-size limits, archive-backed configurations, and installed-entry precedence.Suggested reviewers:
pipe530Priority: ⬇️ Low
Change: Feature
Merge Risk: ⚪ Minimal · up to
bec42No actionable issue remains identified for this change; it is mergeable after normal checks.
Pre-merge checks:
4 ·
1
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.@coderabbitai[bot] on GitHub · 2026-10-19 10:02 UTC · original · edited 2026-10-19 12:18 UTC
On
src/common/additionalContent.cppline 116 (outdated):🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift
🔎 Supported by static analysis
🏁 Script executed:
Repository: KytyPS5/KytyPS5
Length of output: 14003
🏁 Script executed:
Repository: KytyPS5/KytyPS5
Length of output: 16805
Read archive-backed title configurations through the repository file API.
Emulator::Runpasses archive-backedapp0_dirvalues toAddContentLoad. The resultingdlc_emu.inipath is an archive member, butReadLocalEntitlementsusesstd::filesystem::file_sizeandstd::ifstream. The size check or read can fail, so local entitlements are discarded. UseCommon::File::SizeandCommon::Filefor both operations.✅ Addressed in commit
bec42cf@coderabbitai[bot] on GitHub · 2026-10-19 10:02 UTC · original · reviewed
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
ff150479-7f3f-4bcb-8904-d11db3c02e89📥 Commits
Reviewing files that changed from the base of the PR and between
e5f0ee7fc2andbef220fbf0.📒 Files selected for processing: 7
src/common/additionalContent.cppsrc/common/additionalContent.hsrc/emulator.cppsrc/libs/libNpEntitlementAccess.cppsrc/loader/additionalContent.cppsrc/loader/additionalContent.htests/KernelFileSystemTests.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
Pull request closed