X Tutup
Skip to content

Fix kart_charteristics.xml parser generator marker tag detection regex#5642

Open
Nomagno wants to merge 1 commit intosupertuxkart:BalanceSTK2from
Nomagno:patch-1
Open

Fix kart_charteristics.xml parser generator marker tag detection regex#5642
Nomagno wants to merge 1 commit intosupertuxkart:BalanceSTK2from
Nomagno:patch-1

Conversation

@Nomagno
Copy link
Contributor

@Nomagno Nomagno commented Feb 8, 2026

A few simple typos and/or code requirements desync have kept this from working properly for a long while.

Agreement

By creating a pull request in stk-code, you hereby agree to dual-license your contribution as
GNU General Public License version 3 or any later version and
Mozilla Public License version 2 or any later version.

This includes your previous contribution(s) under the same name of contributor.

Keep the above statement in the pull request comment for agreement.

@Nomagno Nomagno closed this Feb 10, 2026
@Nomagno Nomagno reopened this Feb 10, 2026
@Nomagno Nomagno changed the title Fix kart_charteristics.xml parser generator marker tags Fix kart_charteristics.xml parser generator marker tag detection regex Feb 10, 2026
@Nomagno
Copy link
Contributor Author

Nomagno commented Feb 10, 2026

Whoops, turns out the issue was with escape sequences in the python script regex, not just the marker tags. Fixed now

@Alayan-stk-2
Copy link
Member

So this commit mostly changes the order things are in to match what's generated by the script?

@Nomagno
Copy link
Contributor Author

Nomagno commented Mar 3, 2026

Yes. Category names can't contain dashes so I had to change Nitro-Hack to NitroHack among other things, and from there I just regenerated everything to keep consistency. Regenerating everything also gets the xml_characteristics.cpp to a consistent format. If merged, commits related to new kart characteristics after this would be back to being small and would just need to follow the simple procedure detailed in https://forum.supertuxkart.net/thread-244.html
No manual editing required

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

Successfully merging this pull request may close these issues.

2 participants

X Tutup