Page MenuHomeFeedback Tracker

1.62 Editor: Missing dependency should not prevent loading of map
Closed, ResolvedPublic

Description

A "patch" addon which happens to override or edit a class from another mod will become a dependency in a scenario. When this occurs and the patch addon is subsequently removed, even if it added no units to the game and does not appear in the mission, it will forbid loading of the map: clicking "Close" will simply load the empty map. It requires manual editing of the mission.sqm to cull the invalid addon, and if the scenario was binarised (which the game now does by default) the map must be run through additional tools to unbinarise to be successfully recovered, which is an extensive process.

I propose that we be given a checkbox that, when checked, allows us to load the mission anyway, with a warning that the map may not behave as originally designed.

Specifically:

  1. If a mission is missing addons, in the dialogue box that appears, include a checkbox: "[ ] Load without missing addons". Other possible names are "[ ] Load anyway" or "[ ] Ignore missing addons".
  2. A tooltip should appear over the checkbox: "WARNING: Scenario may not behave as originally intended due to missing addons!"
  3. Any invalid class should be removed from the mission upon loading if this checkbox is marked, while still allowing all other valid classes to load as normal.

Details

Severity
Tweak
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Operating System Version
n/a
Category
Editor
Steps To Reproduce
  1. Install an addon (in this example, Mission Enhanced Little Bird).
  2. Install a compatibility/optional patch for that addon which modifies the same classnames (in this example, Kimi's HMDs with metric HUD).
  3. Create a mission using the unit from the original addon. Compatibility/optional patch will be added as dependency unnecessarily.
  4. Remove the compatibility patch for that addon.
  5. Scenario cannot be loaded in spite of former compatibility patch having no actual effect on the mission.

Event Timeline

jtgibson created this task.Jul 5 2016, 1:37 AM
jtgibson updated the task description. (Show Details)
R3vo closed this task as Resolved.Jun 20 2021, 9:19 AM
R3vo claimed this task.
R3vo added a subscriber: R3vo.

There is going to be a change to the behaviour in v2.06. See ticket T157981.