Files
OpenRA/mods/ra/installer/aftermath.yaml
RoosterDragon 578a9fe457 Fix mod content installers.
In 4312a4d3f4 MiniYaml merging was adjusted. One effect of this change was that duplicate keys in files that did not previously require merging was previously allowed, but was now an error. (Test case `TestMergeConflictsNoMerge`)

The installer files were relying on the previous behaviour to allow multiple `ContentPackage` keys. The above change caused a regression where attempting to manage mod content would crash due to now erroring on the duplicate keys.

We fix the issue by applying a unique ID suffix, as is a common pattern elsewhere in our yaml files, and teach InstallFromSourceLogic to recognise and strip it.
2024-08-03 12:10:08 +03:00

66 lines
3.1 KiB
YAML

aftermath: Aftermath Expansion Disc (English)
Type: Disc
IDFiles:
README.TXT: 9902fb74c019df1b76ff5634e68f0371d790b5e0
SETUP/INSTALL/PATCH.RTP: 5bce93f834f9322ddaa7233242e5b6c7fea0bf17
Install:
# Aftermath expansion files:
ContentPackage@aftermathbase:
Name: aftermathbase
Actions:
ExtractRaw: SETUP/INSTALL/PATCH.RTP
^SupportDir|Content/ra/v2/expand/expand2.mix:
Offset: 4712984
Length: 469922
^SupportDir|Content/ra/v2/expand/hires1.mix:
Offset: 5182981
Length: 90264
^SupportDir|Content/ra/v2/expand/lores1.mix:
Offset: 5273320
Length: 57076
ExtractMix@1: MAIN.MIX
^SupportDir|Content/ra/v2/expand/sounds.mix: sounds.mix
ExtractMix@2: ^SupportDir|Content/ra/v2/expand/sounds.mix
^SupportDir|Content/ra/v2/expand/chrotnk1.aud: chrotnk1.aud
^SupportDir|Content/ra/v2/expand/fixit1.aud: fixit1.aud
^SupportDir|Content/ra/v2/expand/jburn1.aud: jburn1.aud
^SupportDir|Content/ra/v2/expand/jchrge1.aud: jchrge1.aud
^SupportDir|Content/ra/v2/expand/jcrisp1.aud: jcrisp1.aud
^SupportDir|Content/ra/v2/expand/jdance1.aud: jdance1.aud
^SupportDir|Content/ra/v2/expand/jjuice1.aud: jjuice1.aud
^SupportDir|Content/ra/v2/expand/jjump1.aud: jjump1.aud
^SupportDir|Content/ra/v2/expand/jlight1.aud: jlight1.aud
^SupportDir|Content/ra/v2/expand/jpower1.aud: jpower1.aud
^SupportDir|Content/ra/v2/expand/jshock1.aud: jshock1.aud
^SupportDir|Content/ra/v2/expand/jyes1.aud: jyes1.aud
^SupportDir|Content/ra/v2/expand/madchrg2.aud: madchrg2.aud
^SupportDir|Content/ra/v2/expand/madexplo.aud: madexplo.aud
^SupportDir|Content/ra/v2/expand/mboss1.aud: mboss1.aud
^SupportDir|Content/ra/v2/expand/mhear1.aud: mhear1.aud
^SupportDir|Content/ra/v2/expand/mhotdig1.aud: mhotdig1.aud
^SupportDir|Content/ra/v2/expand/mhowdy1.aud: mhowdy1.aud
^SupportDir|Content/ra/v2/expand/mhuh1.aud: mhuh1.aud
^SupportDir|Content/ra/v2/expand/mlaff1.aud: mlaff1.aud
^SupportDir|Content/ra/v2/expand/mrise1.aud: mrise1.aud
^SupportDir|Content/ra/v2/expand/mwrench1.aud: mwrench1.aud
^SupportDir|Content/ra/v2/expand/myeehaw1.aud: myeehaw1.aud
^SupportDir|Content/ra/v2/expand/myes1.aud: myes1.aud
Delete: ^SupportDir|Content/ra/v2/expand/sounds.mix
# Aftermath music (optional):
ContentPackage@music-aftermath:
Name: music-aftermath
Actions:
ExtractMix@1: MAIN.MIX
^SupportDir|Content/ra/v2/expand/scores.mix: scores.mix
ExtractMix@2: ^SupportDir|Content/ra/v2/expand/scores.mix
^SupportDir|Content/ra/v2/expand/await.aud: await.aud
^SupportDir|Content/ra/v2/expand/bog.aud: bog.aud
^SupportDir|Content/ra/v2/expand/float_v2.aud: float_v2.aud
^SupportDir|Content/ra/v2/expand/gloom.aud: gloom.aud
^SupportDir|Content/ra/v2/expand/grndwire.aud: grndwire.aud
^SupportDir|Content/ra/v2/expand/rpt.aud: rpt.aud
^SupportDir|Content/ra/v2/expand/search.aud: search.aud
^SupportDir|Content/ra/v2/expand/traction.aud: traction.aud
^SupportDir|Content/ra/v2/expand/wastelnd.aud: wastelnd.aud
Delete: ^SupportDir|Content/ra/v2/expand/scores.mix