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.
soc_puppet: Adorable art of the Pokémon Piplup; its flippers are clutched close to its chin, its eyes are dewy, and it is blushing, while light pink hearts and bubbles float around it. Originally a sticker for Pokémon Go. (Love Piplup)

[personal profile] soc_puppet 2024-09-19 02:39 am (UTC)(link)
Any chance you have an estimate when that might be? If not, no worries; I'm hoping to get an idea for how patient I need to be, but I understand that timelines on stuff like website updates (done mostly by volunteers, no less!) can be, hmm. Uncertain until they're in action, maybe?

Like, as cool as it would be to see the new mood themes announced in the December sale post, for example, I'm also prepared to mentally earmark it as "Sometime in the next 12 to 18 months, IDK". Though a longer timeline would also give me time to design another new mood theme to send in... 😈 (What? Me, already trying to come up with another one? Perish the thought!)