mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #3405] [MERGED] libSceAppContent: Determine entitlement labels from additional content param.sfo #3442
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3442
Loading…
Add table
Add a link
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?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/3405
Author: @StevenMiller123
Created: 8/9/2025
Status: ✅ Merged
Merged: 8/9/2025
Merged by: @georgemoralis
Base:
main← Head:test-hotfix📝 Commits (4)
046f236Update app_content.cppb311941Use hyphenation to determine entitlement id from folder name7a80a16Use DLC param.sfo to determine entitlement iddb9e53bUpdate sceAppContentAddcontMount to properly detect additional content folders📊 Changes
2 files changed (+93 additions, -19 deletions)
View changed files
📝
src/core/libraries/app_content/app_content.cpp(+92 -19)📝
src/core/libraries/app_content/app_content.h(+1 -0)📄 Description
The approach I took to deriving the entitlement label for additional content files in #3375 had two limitations: it relied on entitlement ids being 16 characters long, and it relied on the end of the folder name containing the entitlement. If the former wasn't the case, my code would throw an exception, while the latter would cause the DLC to not detect.
To resolve both issues, I've created adjusted the code to search for entitlement labels from the param.sfo of the additional content instead, which should behave consistently regardless of dumping method.
I've also fixed an additional issue with sceAppContentAddcontMount, where the addcont directory wasn't mounted correctly if the folder name wasn't just the entitlement label.
This should fix any regressions seen by people who installed DLC with smaller entitlement labels prior to #3375
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.