Skip to content

Conversation

@shmakota
Copy link

@shmakota shmakota commented May 1, 2025

Adds support for loading custom themes through godot .PCK files.

With this change the user can change the color, icons, and logos of all parts of the Catapult client using custom themes.

NOTE: .PCK files could potentially contain executable code and as such should only be used when received from a trusted party.
image
image

To create a theme:

Clone the repository locally and open with Godot.
Create a folder in res://themes called "custom"
Create a folder in res://themes/custom called "my_theme"
Duplicate an existing theme and icon into this folder, and rename them "my_theme" and "my_theme_logo"
image
Edit the theme as you see fit, and make sure to put any external assets included in the folder

To export, go to resources and change export mode to "Export selected resources (and dependencies)"
Select the custom folder and all of the assets used by your theme
And finally export the file as a .pck.
image
Put this .pck file in your Catapult userdata themes folder and you're done.
image

I can add an example .PCK to the post upon request if needed.

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