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: Correct behavior when building npdm jsons without force_debug_prod #49

Closed
wants to merge 1 commit into from

Conversation

GRAnimated
Copy link

#47 introduced a breaking change to every fork of the exlaunch project.

Across GitHub, at least 40 public-facing modding projects that have been affected by the change. Some of these projects are abandoned and will not accept PRs to fix this, and currently fail to generate a complete build on the latest switch-tools.
image

Developers that didn't know about the 19.0.0 changes in my Discord have already updated their switch-tools package and have been met with a generic Failed to parse descriptor json! error.

This PR remedies the change by making force_debug_prod optional, supporting the older npdm jsons in exlaunch repositories.

@WinterMute
Copy link
Contributor

I think it''s probably better to default the debug flags and only error when more than one is set as per #50

@WinterMute WinterMute closed this Oct 23, 2024
@GRAnimated GRAnimated deleted the npdmtool-fix branch October 24, 2024 03:06
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.

2 participants