momijizukamori: (dreamsheep | styles)
Cocoa ([personal profile] momijizukamori) wrote in [site community profile] dw_dev2024-09-11 08:37 pm
Entry tags:

Patching Mood Themes

Writing this down for future documentation purposes because I don't feel like fighting with the wiki today.

1) Create a new folder in $LJHOME/htdocs/img/mood with a short-but relevant name
2) Put all the images for the new moodtheme in the new folder. Each image filename should be in the format <emotion>.<file extension>, with the emotion in lowercase, eg, 'cheerful.png'. There is a list of valid emotion names on the wiki
3) In a commandline, run $LJHOME/bin/misc/mood-maker.pl --dir <dir name from step 1> --name "<visible title for mood theme>" --desc "<short description of mood theme>". Neither the name nor the description should contain any : characters. This will output formatted text, or error if there's a file that doesn't match one of the available preset moods.
4) Take the formatted output from (3), including the line beginning with MOODTHEME, and paste it at the end of $LJHOME/bin/upgrading/moods.dat
5) Update the database, following the regular dev maintenance update steps.
vriddy: christmas gnome (gnome)

[personal profile] vriddy 2024-09-15 05:46 am (UTC)(link)
Ooh that is really exciting, thank you!!