Use new options for map menu
https://github.com/SiegeEngineers/aoc-builtin-rms offers useful options for maps. It would be nice to include this, needs coordination with Voobly (and someone familiar with how to do it) to allow custom dll loading. https://github.com/SiegeEngineers/aoe2-extended-triggers-patch could potentially nice as well.
It will require:
- Adding the AoE HD rms files and scx files to the DRS
- Adding the map names and descriptions to the language.ini file
- Adding the "Special Maps" string to the language.ini file
- Generating an aoc-builtin-rms.xml file like below:
<?xml version="1.0" encoding="utf-8"?>
<random-maps>
<standard>
<map id="-12" name="hardcoded-map-name" drsId="54251" string="55001" description="55002" />
<!-- etc -->
</standard>
<real-world>
<map id="-14" name="hardcoded-rwm-name" drsId="55001" scxDrsId="56001" string="9764" description="9475" />
<!-- etc -->
</real-world>
<section name="SPECIAL_MAP_STRING_ID" aiSymbolPrefix="SPECIAL-MAP" aiConstPrefix="special-map">
<map id="-33" name="hardcoded-special-name" drsId="54207" scxDrsId="54208" string="4841" description="4842" />
<!-- etc -->
</section>
</random-maps>
The terrainOverrides attribute should also be provided to <map /> elements, it can be generated during the RMS conversion I think.
- Adding aoc-mmmod, moving aoc-language-ini to the
mmmods/folder, adding aoc-builtin-rms to themmmods/folder.
I'd like to make a C API around the genie-scx library at some point, it can do automatic conversion of scenarios from HD to WK. Then we don't need to ship pre-converted versions of real world maps and special maps.
Working on this atm. Note to self: Blind Random can be adjusted