Mods.MechWarrior5.SaveEditor/SPEC
Mods.MechWarrior5.SaveEditor — Product specification
The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished product will have is listed here, built or not. The ticket tree mirrors this file one to one: every ID below is a ticket. Nothing gets built unless it is here, and anything taken out of here is closed wont-do in the tree.
docs/RELEASE.mdsays which part of this the current milestone delivers.
1. Product definition
In docs/ECOSYSTEM.md (the workspace's source), this repo is a product in the Mods family: a standalone save editor shipped on NexusMods that also installs to the standard MindAttic apps location.
MW5 Save Editor is one standalone Windows program that safely edits MechWarrior 5: Mercenaries and MechWarrior 5: Clans saves through one interface styled after the games' own HUDs. It is for players who download it from either NexusMods page (Mercenaries mod 1677, Clans mod 70) or GitHub. The finished product edits everything a player would want to change in either game, follows whatever mods are installed in both games by reading their own files, never risks an original save, never goes online, and ships as one zip that is byte for byte the same everywhere.
2. Scope boundary
2.1 In the product
- A lossless save engine for both games (UE 4.26 tagged properties; UE 5.4
!GZIParchives) that never overwrites an original save. - One app with MERCENARIES and CLANS tabs, a HUD look on MindAttic.Components, six languages, batch editing.
- The Mercenaries editor: Mechs, Mech Lab, company, inventory, pilots, factions, traits, career paths, Arena fame.
- The Clans editor: resources, Mechs, weapons and equipment, pilots, progress and Honor.
- Mod support in both games: mods read from their own files, add-on packs, a compatibility report.
- Offline pictures from the installed games (Clans through an Oodle DLL already on the PC); Sarna.net links that open only in the player's browser.
- One-exe release package, published identically to GitHub and both NexusMods pages.
2.2 Never in the product
- Anything online in the exe: downloads, telemetry, update checks, a bundled Oodle DLL (BIBLE LAW-3).
- A cheat trainer or memory editor: it edits save files on disk only.
- Per-mod code: one mod's quirks go in an add-on pack, never in the editor (BIBLE §3).
- Chain fire, the quest log, and moving 'Mechs in or out of the active bay — their save layouts can't be verified without a sample and the game does them itself (M5SE-T121 notes).
- Changing chassis or borrowing hardpoints — skipped by design.
- Pilot Overhaul-specific skill-cap code — dropped by the owner on 2026-11-10 (M5SE-T111); the generic skill curve reading (M5SE-T105) already follows any mod that raises the cap.
- Reading Clans art straight from uncompressed IoStore blocks — superseded by the local Oodle route (M5SE-T151).
- A theme picker — the look follows the game tab (M5SE-T36).
- Research spikes with no player-facing bug behind them (pak non-encoded entries, Clans SaveDate timezone, a Clans Save As: M5SE-T143..T145) and open-ended bughunt sweeps (M5SE-T162); real bugs are filed one by one.
- Pushing to the
wmtoroderemote, the original upstream.
3. Users and roles
- Player — edits their own saves for either game, with or without mods; needs safety above all.
- Modded player — runs NexusMods or Steam Workshop mods; needs the editor to follow them without an update.
- Owner — publishes releases, answers NexusMods reviews, and signs off that edited saves load in game.
4. Requirements
Status is built (closed ticket, with evidence) or MS-n: the milestone in §7 that delivers it.
E1. Save safety and engine — M5SE-T180 — built
F1.1 Lossless save engine — M5SE-T181 — built
- S1.1.1 Never overwrite originals — M5SE-T13 — built As a player, I want an edited save written beside the original, so that the game's own save is never at risk. Acceptance: Given an unstamped save, when I save, then a new stamped save is written and the original is unchanged.
- S1.1.2 Clans save format — M5SE-T17 — built As a Clans player, I want Clans' compressed UE 5.4 saves opened and re-saved losslessly, so that edits load in game. Evidence:
docs/research/clans-save-format.md. - S1.1.3 Atomic, read-back writes — M5SE-T182 — built As a player, I want every write read back and swapped in through a temp file with a
.bak, so that a crash or full disk never leaves a half-written save or index. Evidence: 2.0.0 safety changelog.
F1.2 Saves by name — M5SE-T183 — built
- S1.2.1 Friendly save names — M5SE-T40 — built As a player, I want saves listed and titled by their in-game names, so that I never see GUID file names.
- S1.2.2 Clans index registration — M5SE-T22 — built As a Clans player, I want a new save registered in every rotating
UserSaveMetaDataindex, so that it shows in the game's load menu.
E2. One app, two games — M5SE-T184 — built
F2.1 Shell and HUD look — M5SE-T185 — built
- S2.1.1 One app for both games — M5SE-T19 — built As a player, I want MERCENARIES and CLANS tabs that each keep their own open save, so that switching never loses edits.
- S2.1.2 MindAttic.Components controls — M5SE-T41 — built
- S2.1.3 Linked game tabs and title — M5SE-T99 — built
F2.2 Batch editing — M5SE-T186 — built
- S2.2.1 Batch any action — M5SE-T187 — built As a player, I want to tick rows (Shift+click, Ctrl+A) and apply one action to all, so that big edits take one step. Acceptance: Given ticked rows, when I apply an action, then one summary lists what was done and skipped.
- S2.2.2 Hidden rows are never touched — M5SE-T78 — built
F2.3 Six languages — M5SE-T188 — built
- S2.3.1 Translated UI — M5SE-T8 — built
- S2.3.2 Translated dialogs and toasts — M5SE-T16 — built
F2.4 Offline pictures and links — M5SE-T189 — built
- S2.4.1 No network, pictures from the game files — M5SE-T117 — built
- S2.4.2 Clans art from the Clans files via a local Oodle DLL — M5SE-T119 — built
- S2.4.3 Sarna.net links in the player's browser — M5SE-T128 — built
E3. Mercenaries editor — M5SE-T190 — built
F3.1 Mechs and Mech Lab — M5SE-T191 — built
- S3.1.1 Mechs page — M5SE-T2 — built As a player, I want any variant through DLC 9 added with factory loadouts, and repair, reset or remove in batches.
- S3.1.2 Mech Lab refits and loadout export/import — M5SE-T3 — built
- S3.1.3 Mech Lab traits tab — M5SE-T109 — built
F3.2 Company — M5SE-T192 — built
- S3.2.1 Company edits, export and import, campaign date — M5SE-T7 — built
- S3.2.2 Parity with JJ's editor: career paths, Arena fame, paired ammo, hire options — M5SE-T121 — built
F3.3 Pilots, inventory, factions — M5SE-T193 — built
- S3.3.1 Pilot management — M5SE-T4 — built
- S3.3.2 Pilot trait box — M5SE-T106 — built
- S3.3.3 Mech traits and Cantina unlocks — M5SE-T5 — built
F3.4 Mercenaries mod support — M5SE-T194 — built
- S3.4.1 Read every enabled mod from its own files — M5SE-T118 — built
- S3.4.2 Limits follow the game and mods — M5SE-T105 — built
- S3.4.3 Add-on packs — M5SE-T116 — built
- S3.4.4 Mercenaries compatibility report — M5SE-T195 — built As a player opening a save, I want everything that differs from vanilla traced to its mod, so that I know what a save needs. Evidence: 811b7c6.
E4. Clans editor — M5SE-T196 — built
F4.1 Clans pages — M5SE-T197 — built
- S4.1.1 Clans resources — M5SE-T198 — built
- S4.1.2 Clans Mechs: repair, duplicate, rename, remove — M5SE-T199 — built
- S4.1.3 Clans weapons and equipment — M5SE-T200 — built
- S4.1.4 Clans pilot skill editing — M5SE-T135 — built
- S4.1.5 Clans progress and Honor ladder — M5SE-T201 — built
- S4.1.6 Clans compatibility report — M5SE-T202 — built
E5. Release and distribution — M5SE-T203 — built
F5.1 Package and publish — M5SE-T204 — built
- S5.1.1 Self-contained folder build — M5SE-T126 — built
- S5.1.2 One exe in the zip — M5SE-T149 — built
- S5.1.3 One NexusMods description — M5SE-T129 — built
- S5.1.4 Changelog in the Nexus description — M5SE-T132 — built
- S5.1.5 Publish no-op guard — M5SE-T139 — built
- S5.1.6 Publish installs locally — M5SE-T146 — built
F5.2 GitHub releases 1.0 to 7.0 — M5SE-T205 — built
- S5.2.1 Releases 5.0.0 and 6.0.0 on both pages — M5SE-T136 — built
- S5.2.2 Release 7.0.0 on GitHub — M5SE-T150 — built
E6. NexusMods 7.0.0 release — M5SE-T166 — MS-31
F6.1 Quarantine clearance — M5SE-T167 — MS-31
- T6.1.1 Quarantine letter for 7.0.0 — M5SE-T172 — MS-31 Acceptance: Given the 7.0.0 one-exe zip, when NexusMods ticket 278393 is answered, then the pages may serve it.
F6.2 7.0.0 on both pages — M5SE-T168 — MS-31
- T6.2.1 Publish 7.0.0 to Nexus — M5SE-T173 — MS-31
- T6.2.2 Verify both Nexus pages — M5SE-T174 — MS-31
F6.9 Runs from the standard install — M5SE-T211 — MS-31 — M5SE-T169 — MS-31
F7.1 Clans saves in game — M5SE-T170 — MS-31
- T7.1.1 Check edited mission saves in game — M5SE-T77 — MS-31
- T7.1.2 Clans Pilots edits in game — M5SE-T175 — MS-31
F7.2 Mercenaries saves in game — M5SE-T171 — MS-31
- T7.2.1 Mercenaries edited save in game — M5SE-T176 — MS-31 Acceptance: Given an editor-written Mercenaries save, when it is loaded in game, then every edit is intact.
E8. Clans plays modded — M5SE-T206 — MS-146
F8.1 Clans mod reading and add-on packs — M5SE-T177 — MS-146 (requires M5SE-T174: 8.0.0 work starts once 7.0.0 is verified on both pages)
- S8.1.1 Clans mod reader — M5SE-T158 — MS-146 As a Clans player with mods installed, I want the mods' items, 'Mechs and value ranges in the pickers and limits, so that the editor follows my Clans mods as it follows Mercenaries mods. Acceptance: Given an enabled Clans mod that adds an item, when the editor starts, then the item is offered in requisition under its mod's name.
- S8.1.2 Clans add-on packs — M5SE-T160 — MS-146 (requires M5SE-T158) As a Clans player, I want an add-on pack to correct one Clans mod's values, so that a mod with wrong data still edits right. Acceptance: Given a pack for an installed, enabled Clans mod, when the editor starts, then its values apply; with the mod off, they don't.
F8.2 8.0.0 polish and release — M5SE-T207 — MS-146
- S8.2.1 Docs for Clans mod support — M5SE-T208 — MS-146
- S8.2.2 Release 8.0.0 — M5SE-T209 — MS-146
- S8.2.3 Modded Clans save sign-off (owner hands-on) — M5SE-T210 — MS-146
5. Non-functional requirements
- Windows 10 or 11, 64-bit; self-contained .NET 10, no install. WPF, warnings are errors.
- Saves: lossless or refused; originals never overwritten; atomic, read-back writes (BIBLE LAW-1, LAW-2).
- No network access in the exe (LAW-3). Every release bumps the major version (LAW-6).
- Every UI string in six languages; UI checked by an off-screen render on a copy of a real save (BIBLE §8).
6. Interfaces and dependencies
- Platform (per
docs/ECOSYSTEM.md): shipping: the shared run menu for the owner's install (M5SE-T211) and the GitHub-to-NexusMods publish flow for players; the plan: MindAttic.Tickets. No shared mod kit applies: it is the only MechWarrior 5 repo. - Uses: MindAttic.Components.Wpf (nuget.org) for controls; the installed games' pak/IoStore files and enabled mods; a player-supplied Oodle DLL; NexusMods upload API (
.github/workflows/publish.yml,NEXUSMODS_API_KEY). - Used by: nothing in the workspace;
shared/can be split back out if a second MechWarrior tool needs it. - Standard install: M5SE-T163 and M5SE-T164 sit here under M5SE-T211 (E6), related to MindAttic.Agency's deploy rollout MAT-T318.
7. Release sequence
- MS-31 — 7.0.0 on NexusMods (active,
docs/RELEASE.md): E6, E7. 7.0.0 out of quarantine on both pages and proven in both games. - MS-146 — 8.0.0: Clans mod parity (planned): E8. Clans mods read like Mercenaries mods, Clans add-on packs, ending with the 8.0.0 polish-and-release feature. When this is reached the product is finished; after it, it changes only for real bugs or a new game patch.
8. Change log
| Date | Change to scope | Ticket |
|---|---|---|
| 2026-11-30 | Specification written from overview, BIBLE, RELEASE, the commit log and the ticket history. Clans mod parity (M5SE-T177, owner 2026-11-17) moved out of the 7.0.0 epic into its own 8.0.0 milestone, so the Nexus release no longer waits on a large new subsystem. | MAT-T387 |
| 2026-11-30 | MAT-T462 single-source pass: 3 renamed (M5SE-T169, T206, T177), feature M5SE-T211 added for the standard install (M5SE-T163/T164 moved under it), 0 buckets dissolved, 1 requires added (M5SE-T177 after M5SE-T174), 0 platform re-points | MAT-T474 |