Skip to content

plugins: standardize stock CLAP/VST3 IDs to org.lemonstudio.* (with backward-compatible loading) - #466

Merged
ItsAlphaNeon merged 1 commit into
mainfrom
stock-plugin-ids-lemonstudio
Dec 1, 2026
Merged

ItsAlphaNeon merged 1 commit into
mainfrom
stock-plugin-ids-lemonstudio

Conversation

@thacer13

Copy link
Copy Markdown
Collaborator

Standardizes all 28 stock plugins' permanent IDs pre-alpha from org.openstudio.* to org.lemonstudio.* (and aligns the 3 oldest VST3 class IDs from OpenStudio* to LemonStudio*), while keeping existing user presets, plugin preferences, saved containers, and wrapped projects working seamlessly:

  • All 28 stock plugins updated (plugins/):
    • All CLAP_IDs moved from org.openstudio.* → org.lemonstudio.* (including the 3 legacy slugs: open-sampler → lemon-sampler, open-parametric-eq-2 → lemon-parametric-eq, open-3x-osc → lemon-trio).
    • The 3 remaining OpenStudio* VST3_CLASS_IDs aligned to the LemonStudio* 16-byte format (LemonStudioSmplr, LemonStudioParEQ, LemonStudioTrio!), matching the other 25 stock plugins.
    • All 28 CLAP IDs and 28 VST3 class IDs verified unique.
  • All 379 factory .ospreset files updated (crates/os-session/factory-presets/):
    • Updated line 2 headers (id=clap:org.openstudio.* → id=clap:org.lemonstudio.*) while preserving all binary and parameter bodies bit-for-bit.
  • Full backward compatibility (crates/os-session/src/plugins.rs, presets.rs, plugin_db.rs, project_plugins.rs, control/command.rs, crates/os-app/src/presets_ui.rs):
    • Added plugins::canonical_uid() and plugins::same_uid() mapping legacy org.openstudio.* CLAP IDs and OpenStudio* VST3 class IDs to their canonical org.lemonstudio.* / LemonStudio* IDs.
    • Existing user .ospreset files, .vstpreset files, plugin manager favorites/hidden lists, container members, wrapped plugin refs, and control-plane commands referencing old IDs continue to resolve cleanly.

Verification

  • cargo test --locked -p os-session presets — 11 passed (loads all 379 factory presets against every stock plugin + new legacy_openstudio_uids_remain_compatible test).
  • cargo test --locked -p os-session plugin_db & project_plugins — 13 passed.
  • cargo test --locked -p os-clap -p os-vst3 -p os-host — 85 passed.
  • cargo test --locked -p os-app maximus_slots_open_as_press & presets_ui — 8 passed.

@ItsAlphaNeon
ItsAlphaNeon merged commit cfce31d into main Dec 1, 2026
3 checks passed
@ItsAlphaNeon
ItsAlphaNeon deleted the stock-plugin-ids-lemonstudio branch December 1, 2026 13:37
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