Skip to content

update color-schemes for v5X#1599

Open
Moth-Tolias wants to merge 1 commit into
DFHack:masterfrom
Moth-Tolias:v5X-colorschemes
Open

update color-schemes for v5X#1599
Moth-Tolias wants to merge 1 commit into
DFHack:masterfrom
Moth-Tolias:v5X-colorschemes

Conversation

@Moth-Tolias

Copy link
Copy Markdown
Contributor

also, gui/color-schemes suggests registering from /dfhack-config/colors instead 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

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.
Comment thread gui/color-schemes.lua
"Register color schemes by file or directory",
COLOR_WHITE,
"/raw/colors/",
"/dfhack-config/colors/",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
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