update color-schemes for v5X#1599
Open
Moth-Tolias wants to merge 1 commit into
Open
Conversation
also, gui/color-schemes suggests registering from `/dfhack-config/colors` instead of `/raw/colors/`now. note: doesn't use the getConfigPath() api, aince that would be a pretty involved change and i'd rather get feedback first. also, doesn't update the gui style.
ab9rf
requested changes
Jul 11, 2026
| "Register color schemes by file or directory", | ||
| COLOR_WHITE, | ||
| "/raw/colors/", | ||
| "/dfhack-config/colors/", |
Member
There was a problem hiding this comment.
Please update this to use dfhack.getConfigPath() (see DFHack/dfhack#5823)
Moth-Tolias
added a commit
to Moth-Tolias/dfhack-scripts
that referenced
this pull request
Jul 17, 2026
Obsoletes DFHack#1599. Cuts out an overwhelming majority of the old script in favour of dfhack-native implementations and a simpler interface. Uses Milo Christiansen's implementation of parsing the color files, because we think it's more elegant. Removes the in-file help text in favour of the .rst documentation. Removes registration as a concept. Stores the default scheme in prefs/color.txt instead of a dedicated file. Anything that uses this script expecting it to work the same as before will break. But then, v5x broke it anyway, so i think that's fine. Only really works with the ASCII interface. We haven't written a changelog entry yet. If this looks good to you [barring a changelog entry, and other changes], we'll move on to season-palette.
Moth-Tolias
added a commit
to Moth-Tolias/dfhack-scripts
that referenced
this pull request
Jul 17, 2026
Obsoletes DFHack#1599. Cuts out an overwhelming majority of the old script in favour of dfhack-native implementations and a simpler interface. Uses Milo Christiansen's implementation of parsing the color files, because we think it's more elegant. Removes the in-file help text in favour of the .rst documentation. Removes registration as a concept. Stores the default scheme in prefs/color.txt instead of a dedicated file. Anything that uses this script expecting it to work the same as before will break. But then, v5x broke it anyway, so i think that's fine. Only really works with the ASCII interface. We haven't written a changelog entry yet. If this looks good to you [barring a changelog entry, and other changes], we'll move on to season-palette.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
also, gui/color-schemes suggests registering from
/dfhack-config/colorsinstead of/raw/colors/now.note: doesn't use the
getConfigPath()api, since that would be a pretty involved change and i'd rather get feedback first.also doesn't update the gui style, that's out of my league