Skip to content

Conversation

@Drofseh
Copy link
Contributor

@Drofseh Drofseh commented Apr 9, 2025

CSTRING(component) doesn't work because there is no stringtable.xml file for any of the addons so it compiled to name = "";

Switch to ACE3 method, giving each addon a COMPONENT_BEAUTIFIED define and use the COMPONENT_NAME define to set the name param.

Flow is:

#define COMPONENT_BEAUTIFIED Arma3 Tweaks
#define COMPONENT_NAME QUOTE(ARCOMM - COMPONENT_BEAUTIFIED)
name = COMPONENT_NAME;

Resolves to name = "ARCOMM - Arma3 Tweaks";

Not sure if COMPONENT_BEAUTIFIED names should have mod abbreviations expanded or not. FWA Tweaks vs Free World Armoury Tweaks for example

@Drofseh Drofseh added the enhancement New feature or request label Apr 9, 2025
@Drofseh Drofseh assigned Drofseh and unassigned Drofseh Apr 9, 2025
@Drofseh Drofseh mentioned this pull request Apr 9, 2025
@Drofseh Drofseh requested review from McPedr0 and puzzleddev April 9, 2025 07:33
@puzzleddev puzzleddev merged commit b619046 into development Apr 17, 2025
@puzzleddev puzzleddev deleted the fix-cfgPatches-name-params branch April 17, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants