Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npdmtool: add content and save data owner parsing #27

Merged
merged 4 commits into from
Jun 6, 2020

Conversation

HookedBehemoth
Copy link
Contributor

See https://switchbrew.org/wiki/NPDM#FsAccessControl

I don't know how I could test Save data owner ids as fsOpenSaveDataFileSystemBySystemSaveDataId just opens all saves for me w/o setting it in the npdm

@fincs
Copy link
Contributor

fincs commented Jun 5, 2020

Looks fine to me. A quick question: does this PR result in all users of npdmtool needing to update their json files, or does it maintain compatibility with existing jsons?

@fincs fincs requested a review from yellows8 June 5, 2020 10:45
@HookedBehemoth
Copy link
Contributor Author

HookedBehemoth commented Jun 5, 2020

it will complain about missing content_owner/save_data_id_min/max similar to system_resource_size but generate identical npdm to the current version.

src/npdmtool.c Outdated Show resolved Hide resolved
src/npdmtool.c Outdated Show resolved Hide resolved
@fincs fincs merged commit d34444b into switchbrew:master Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants