Skip to content

theme.xml

JayPM edited this page Jan 28, 2025 · 1 revision

When creating a normal theme, your main "canvas" if you will, is going to be the file theme.xml. It's written in Extended Markup Language, so make sure to brush up on it before starting! At the root of your theme is going to be a theme element <theme>, which will have 3 main attributes.

  • id The id of your theme; Will be used for pathfinding assets, so name it the same as the folder you put it in, all lowercase, no spaces.
  • name The name of your theme; Not used for most modern clones, however it was likely used internally for building the themelist.
  • cc_theme_id If you have a Character Creator you wish to link, you must type it here. If there is none, do not include this variable. An example of what an empty theme would look like is as follows:
<theme id="new" name="My New Theme">
</theme>

Once you do this, to add contents to your theme, you will simply add elements in-between the start and end.

<theme id="new" name="My New Theme">
   <!-- The below elements are merely examples, and are truncated for simplicity -->
   <prop .../>
   <prop .../>
   <bg .../>
</theme>

Once you understand these basics, it's time to begin adding content to your theme!

Clone this wiki locally