Skip to content

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

Open
Starexify wants to merge 1 commit intoFunkinCrew:developfrom
Starexify:polymore-modid
Open

[FEATURE/Modding] Add support for the new Polymod mod ID system.#7003
Starexify wants to merge 1 commit intoFunkinCrew:developfrom
Starexify:polymore-modid

Conversation

@Starexify
Copy link
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
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
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: pending triage Awaiting review. 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.

3 participants