Skip to content

Import from and export to Rotation Master - #1598

Closed
corporategoth wants to merge 1 commit into
wowsims:masterfrom
corporategoth:rotation-master-mop
Closed

corporategoth wants to merge 1 commit into
wowsims:masterfrom
corporategoth:rotation-master-mop

Conversation

@corporategoth

Copy link
Copy Markdown

Adds Rotation Master to the Import and Export menus. Rotation Master is a World of Warcraft addon (and rotationmaster.neuromancy.net) that suggests the next action from a priority list; its rotations are shared as a text export.

Import converts an export into an APL and lists what became of every step: exact, approximate, lossy or unsupported, each with the reason. Check changes nothing. Replace rotation then replaces the APL and nothing else, so gear, talents, buffs, the encounter and the other settings stay as they were. A second button hides the steps that lost a condition.

Export writes the APL (or the priority list the simulator generates for an Auto or Simple rotation) as a Rotation Master export, with a warning that fidelity may be lost and the same per-step report. Steps that are not exact copies are exported disabled. The rotation is scoped to the spec.

What does not carry over: Rotation Master has no timeline, fight length, cast times or simulator state, so conditions on those are reported and left out. Waiting, pet actions, item sets and Assisted Combat have no counterpart.

The converters are pure TypeScript with no dependencies (ui/features/import-export/rotation_master/), driven by one rule table. The host glue is in importers/rotation_master.ts, the dialogs in components/RotationMaster/. English and French strings, and the schema, are added together.

Gates run locally on this branch (CI's build-ui steps): npm run test:locales valid, npm run fmt clean, npm run lint:js 0 warnings, npm run lint:css clean, npm run type-check clean, npm run test:unit 251 files / 1944 tests pass. No Go changes. Tried in a browser against a local build (Fire Mage): the menu entries, Check with its report, Replace rotation (gear untouched, the Rotation tab shows the imported APL) and Export. Not tested: importing an exported string into the addon in the game. The French text wants a native read.

Rotation Master is the World of Warcraft addon (and rotationmaster.neuromancy.net) that suggests the next action from a priority list. Its rotations are shared as a text export. This adds it to the Import and Export menus.

Import converts an export into an APL and lists what became of every step: exact, approximate, lossy or unsupported. On confirmation it replaces the APL and nothing else, so gear, talents, buffs, the encounter and the other settings stay as they were. Export writes the APL, or the priority list the simulator generates for an Auto or Simple rotation, as a Rotation Master export, with a warning that fidelity may be lost and the same per-step report.

The converters are pure and live in rotation_master/ with their rule table; the host glue is in importers/ and the dialogs are in components/RotationMaster/.
@corporategoth

Copy link
Copy Markdown
Author

Closing this PR. The maintainers' response made clear they are not interested in community contributions that support smaller addons (Rotation Master has roughly 200k downloads, which was treated as too small to matter). Because of that attitude toward addon developers, Rotation Master is removing its WowSims import/export support entirely and will no longer contribute to or support this project. Thanks to anyone who looked at this.

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