Horde Included Macros

Hello,

We tried to do an improvement pass and clean-up on our Horde configs, most notably the stream configs. We had an idea that we would extract a subset of macros that are shared across streams into a separate file that we would then include. This is unfortunately not supported at the moment and any macro that is included is not parsed correctly.

We believe this would help with readability and improve maintainability as well.

The idea is to add the following snippet our *.stream.json files.

"include": [ { "path": "shared.macros.json" } ],The included file would hold only the shared values as macros.

// bunch of macros that can be shared across our various project streams (we use stream per project version, so a lot of them) { "macros": [ { "name": "Project", "value": "Lyra" } ] }

You can find a more concrete example in the attachments where I applied this idea to the defaults located in Engine\Source\Programs\Horde\HordeServer\Defaults folder.

Hey there,

I think this is an interesting idea! I’ve created an internal jira for this (for reference - UE-297143).

Kind regards,

Julian

Thank you for taking it into consideration!

With regards,

Miroslav