Skip to content

[FEATURE/Modding] Add support for the new Polymod mod ID system.#7003

Merged
Hundrec merged 1 commit intoFunkinCrew:dummy/develop-v0.8.3from
Starexify:polymore-modid
Mar 9, 2026
Merged

[FEATURE/Modding] Add support for the new Polymod mod ID system.#7003
Hundrec merged 1 commit intoFunkinCrew:dummy/develop-v0.8.3from
Starexify:polymore-modid

Conversation

@Starexify
Copy link
Copy Markdown
Contributor

Linked Issues

Important

Description

This PR updates the PolymodHandler to use the new dirName instead of id for loading mods.

Note: This is a breaking change for mods such as the Funkin' Mod Menu if they dont switch to using Dirs and dirName instead of Ids !

So let's take this file Tree as example:

.
└── mods/
    ├── Test
    └── TestTwo

The mod "Test" will be the dependency mod for "TestTwo". And its metadata doesn't contain an id, that means the dependency must be tied to the directory name:

// TestTwo/_polymod_meta.json
  "dependencies": {
    "Test": "<VERSION>"
  }

But if a user modifies the directory name it will no longer work (check the polymod PR for reasons why).

That's why mods can add a "static" mod ID, which the dependencies could use and work even if the directory name changes:

// Test/_polymod_meta.json
  "id": "Test"

Note

This doesn't change the old behavior and mods don't need to update to this system immediately !

Screenshots/Videos

POLYMORE.IDs.mp4

@github-actions github-actions Bot added pr: haxe PR modifies game code. size: medium A medium pull request with 100 or fewer changes. status: pending triage Awaiting review. labels Feb 25, 2026
@CrusherNotDrip
Copy link
Copy Markdown
Contributor

Honorable Mentione

@Hundrec Hundrec added type: enhancement Involves an enhancement or new feature. topic: mods Related to the creation or use of mods. labels Feb 27, 2026
@AbnormalPoof AbnormalPoof added status: reviewing internally Under consideration and testing. and removed status: pending triage Awaiting review. labels Mar 8, 2026
@Hundrec Hundrec changed the base branch from develop to dummy/develop-v0.8.3 March 9, 2026 15:31
@Hundrec Hundrec added status: accepted PR was approved for contribution. If it's not already merged, it may be merged on a private branch. and removed status: reviewing internally Under consideration and testing. labels Mar 9, 2026
@Hundrec Hundrec added this to the 0.8.4 milestone Mar 9, 2026
@Hundrec Hundrec merged commit e01b749 into FunkinCrew:dummy/develop-v0.8.3 Mar 9, 2026
6 checks passed
@Starexify Starexify deleted the polymore-modid branch March 9, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: haxe PR modifies game code. size: medium A medium pull request with 100 or fewer changes. status: accepted PR was approved for contribution. If it's not already merged, it may be merged on a private branch. topic: mods Related to the creation or use of mods. type: enhancement Involves an enhancement or new feature.

Development

Successfully merging this pull request may close these issues.

4 participants