Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLCOptionKey structs issue #454

Open
Leszek90 opened this issue Jul 28, 2024 · 1 comment
Open

DLCOptionKey structs issue #454

Leszek90 opened this issue Jul 28, 2024 · 1 comment

Comments

@Leszek90
Copy link

Moddesc.ini editor requires space after coma in DLCOptionKey structs parameter list.

Example:

Doesn't work:
+DLC_MOD_SOMENAME[optionkey=[option=Option1],optionkey=[option=Option2]]

Works:
+DLC_MOD_SOMENAME[optionkey=[option=Option1], optionkey=[option=Option2]]

Required space in deserialized moddesc.ini is missing which makes it impossible to serialize it again.

@Mgamerz
Copy link
Member

Mgamerz commented Jul 30, 2024

Looking into this, it does not work because the code is splitting values on ,. When you have two option keys, it has an additional , which it is splitting on, and is causing invalid values. I am not sure how how this can be updated without a moddesc parser version update to cmmver 9.01. The fix would be to use a parser that respects the [ ] blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants