Skip to content

fix: declare each game's real CurseForge id; add CS2 Workshop browse - #32

Merged
ValgulNecron merged 1 commit into
mainfrom
fix/registry-per-game-ids
Jul 17, 2026
Merged

ValgulNecron merged 1 commit into
mainfrom
fix/registry-per-game-ids

Conversation

@ValgulNecron

Copy link
Copy Markdown
Collaborator

CurseForge ids

ARK's mods browser listed Minecraft mods — the engine hardcoded gameId=432. Templates now declare their own id (engine fix: ValgulNecron/Gameplane#156):

module curseforgeGameID bundle
minecraft-java 432 2.8.0 → 2.8.1
ark-survival-ascended 83374 1.0.7 → 1.0.8

Both ids come from CurseForge's own /v1/games, and the fix was verified against the live API.

CS2 Steam Workshop (1.0.4 → 1.1.0)

Adds a Workshop Collections browser wired to the CS2_HOST_WORKSHOP_COLLECTION env the image already reads, via modpacks.refEnv.

Preview-only by design: Workshop content is fetched by steamcmd inside the container at boot, not over HTTP, so there is no per-mod download URL and no Install button. Picking a collection writes its id into the env — replacing "go find your collection id by hand" with a browser.

🤖 Generated with Claude Code

ARK's mods browser listed Minecraft mods because the CurseForge engine
hardcoded gameId=432. Templates now declare their own id:

  minecraft-java        432    (2.8.0 -> 2.8.1)
  ark-survival-ascended 83374  (1.0.7 -> 1.0.8)

Both ids come from CurseForge's own /v1/games, and the fix was verified
against the live API: 432 returns Minecraft content, 83374 returns real
ARK mods.

CS2 (1.0.4 -> 1.1.0) gains a Steam Workshop Collections browser wired
to its existing CS2_HOST_WORKSHOP_COLLECTION env via modpacks.refEnv.
Workshop content is fetched by steamcmd inside the container, not over
HTTP, so this is a preview browser with no Install button — picking a
collection writes its id into the env the image already reads.

Also ignore __pycache__ from validate.py runs.

Signed-off-by: valgulnecron <39313199+ValgulNecron@users.noreply.github.com>
@ValgulNecron
ValgulNecron merged commit a670161 into main Jul 17, 2026
1 check passed
@ValgulNecron
ValgulNecron deleted the fix/registry-per-game-ids branch July 17, 2026 20:15
ValgulNecron added a commit that referenced this pull request Jul 19, 2026
The 'fix version' commits (1adc510, 7b4e7c0) were branched from PR #31
(1d153c2) and force-pushed over main, silently dropping the already-merged
PR #32 (per-game CurseForge/Steam ids: ARK curseforgeGameID 83374, CS2
Workshop browse) and PR #33 (module YAML .schema/ + editor modelines).
The published registry still served ark:1.0.8 / cs2:1.1.0 from that lost
state, but with the pre-bump gameplaneMinVersion: 0.2.0, so a v0.2.0-beta.7
operator rejected them (0.2.0-beta.7 < 0.2.0 by semver).

Merge c093ea2 (the PR #33 tip) back in to restore that work. The 3-way
merge keeps main's 0.2.0 -> 0.2.0-beta.7 gameplaneMinVersion bump (incl.
the minecraft-java correction) on the min-version lines and takes c093ea2's
content everywhere else: ark 1.0.8 + CurseForge id, cs2 1.1.0 + Workshop,
.schema/ + modelines. Republishing from here overwrites the orphan
ark:1.0.8 / cs2:1.1.0 tags with the correct min-version.

Signed-off-by: valgulnecron <39313199+ValgulNecron@users.noreply.github.com>
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.

1 participant