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

Set skipDependencyErrors to true #3993

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

AbnormalPoof
Copy link
Contributor

@AbnormalPoof AbnormalPoof commented Jan 12, 2025

Does this PR close any issues? If so, link them below.

Partially fixes/implements #3991

Briefly describe the issue(s) fixed.

Currently, Funkin' will refuse to load any mods at all if one mod has a missing dependency. This can cause a bit of confusion for someone just trying to mod the game.

This PR sets skipDependencyErrors to true, which only skips mods that have missing dependencies, instead of disabling every mod.
Screenshot 2025-01-11 at 11 25 08 PM

Side note: There should probably be a popup or something to notify the user if a dependency error has occurred. That's something for another PR.

@github-actions github-actions bot added small A small pull request with 10 or fewer changes haxe Issue/PR modifies game code labels Jan 12, 2025
@EliteMasterEric
Copy link
Member

The dependency system is definitely half-baked. It works great on the Polymod side, but to work in an intuitive way, it requires that the DEPENDENCY_UNMET and DEPENDENCY_VERSION_MISMATCH error codes be detected and responded to (via popup or something similar).

I'll approve this change but it should be reverted at some point in the future.

@EliteMasterEric EliteMasterEric self-assigned this Jan 16, 2025
@EliteMasterEric EliteMasterEric added type: minor bug Involves a minor bug or issue. status: accepted Approved for contribution. If it's not already merged, it may be merged on a private branch. labels Jan 16, 2025
@EliteMasterEric EliteMasterEric added this to the 0.6.0 milestone Jan 16, 2025
@EliteMasterEric EliteMasterEric merged commit 1c2fb43 into FunkinCrew:develop Jan 17, 2025
4 checks passed
@AbnormalPoof AbnormalPoof deleted the patch-7 branch January 17, 2025 19:58
Kade-github pushed a commit to Kade-github/Funkin that referenced this pull request Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
haxe Issue/PR modifies game code small A small pull request with 10 or fewer changes status: accepted Approved for contribution. If it's not already merged, it may be merged on a private branch. type: minor bug Involves a minor bug or issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants