Skip to content

Add missing header chunk flag, correct save location flag name, Name unknown fields in options#2252

Merged
BenjaminUrquhart merged 2 commits intoUnderminersTeam:masterfrom
yokimklein:patch-1
Oct 1, 2025
Merged

Add missing header chunk flag, correct save location flag name, Name unknown fields in options#2252
BenjaminUrquhart merged 2 commits intoUnderminersTeam:masterfrom
yokimklein:patch-1

Conversation

@yokimklein
Copy link
Copy Markdown
Contributor

@yokimklein yokimklein commented Oct 1, 2025

Description

The header chunk flag LocalDataEnabled is a misnomer, enabling it tells the engine to use the %appdata% directory to write save data instead of %localappdata%. I've proposed changing the name to UseAppDataSaveLocation instead with a comment to clarify its behaviour.

I've named two unknown fields in the options chunk, ShaderExtensionFlag and ShaderExtensionVersion, and added them to the GUI. I've also removed an unknown field from the GUI which is only used for padding.

I've also discovered a flag on the LTS branch of GMS2 which we don't have, which is set when launching the game via the IDE's 'run' or 'debug' buttons. Additionally the SteamEnabled flag also seems to be enabled under something called the YoYoPlayer. I'm not entirely sure what this is, but I've added it to the flag's description.

Caveats

Any scripts referencing the old flag name LocalDataEnabled will need to be updated to use UseAppDataSaveLocation instead.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 1, 2025

@yokimklein yokimklein changed the title Add missing header chunk flag, correct save location flag name Add missing header chunk flag, correct save location flag name, Name unknown fields in options Oct 1, 2025
@BenjaminUrquhart BenjaminUrquhart merged commit 38a7d7c into UnderminersTeam:master Oct 1, 2025
5 checks passed
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