Skip to content

Add SettingDataVersion and Introduce SettingFixer#1097

Draft
jvnpr wants to merge 1 commit intosmartcmd:mainfrom
jvnpr:main
Draft

Add SettingDataVersion and Introduce SettingFixer#1097
jvnpr wants to merge 1 commit intosmartcmd:mainfrom
jvnpr:main

Conversation

@jvnpr
Copy link

@jvnpr jvnpr commented Mar 10, 2026

Description

Adds a new game setting to store settings data version, and creates the SettingFixer function to deal with conversions.

Changes

Previous Behavior

The game has no way of knowing what build a settings file was created for, or if any conversions need to be performed.

New Behavior

Setting files now store a data version.

Fix Implementation

Creates a new game setting eGameSetting_SettingDataVersion and associated uiSettingDataVersion to store the current version of a settings file. A new function in Consoles_Apps called SettingFixer has been created to compare a setting file's data version and perform necessary conversions to other settings. SettingsFixer is called once during initialization from within Windows64_minecraft.

AI Use Disclosure

No AI was used to author these changes or pull request.

Related Issues

@jvnpr jvnpr mentioned this pull request Mar 10, 2026
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.

1 participant