Cocoa (
momijizukamori) wrote in
dw_dev2024-09-11 08:37 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
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
2) Put all the images for the new moodtheme in the new folder. Each image filename should be in the format
3) In a commandline, run
4) Take the formatted output from (3), including the line beginning with MOODTHEME, and paste it at the end of
5) Update the database, following the regular dev maintenance update steps.
1) Create a new folder in
$LJHOME/htdocs/img/mood
with a short-but relevant name2) 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 wiki3) 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.
no subject
no subject
I think that would be
soc_puppet's rat and jellyfish mood themes!
no subject
Yep! Rats are patched, and I'm probably going to do jellyfish tonight, so Coming Soon!
no subject
no subject
Check out
soc_puppet's awesome work at
https://soc-puppet.dreamwidth.org/882272.html
no subject
Patching Fancy Rats was what I was doing last night :D
no subject
no subject
They're merged, so next code push :D
no subject
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!)