CatPacks
Installation
The CatPacks folder location is as follows:
- on Windows:
%appdata%\PrismLauncher\catpacks
- on Mac:
~/Library/Application Support/PrismLauncher/catpacks
- on Linux:
~/.local/share/PrismLauncher/catpacks
- on Flatpak:
~/.var/app/org.prismlauncher.PrismLauncher/data/PrismLauncher/catpacks
After you move the CatPack to the mentioned folder restart Prism Launcher, then open the global settings.
In the Launcher section, click the User Interface tab, and under Cat, choose the newly added CatPack.
Click the Close button, and enjoy your CatPack.
CatPack Types
1. Simple CatPack
The most basic CatPack is a simple image(that's all).
2. Advanced CatPack
Is a folder that contains a catpack.json
file and some images.
For example, the structure of a CatPack is as follows:
└── test_catpack
├── catpack.json
├── christmas.png
├── oneDay.png
├── maxwell.png
├── newyear.png
└── newyear2.png
The catpack.json
looks as follows:
{
"name": "My Cute Cat",
"default": "maxwell.png",
"variants": [
{
"startTime": {
"day": 12,
"month": 4
},
"endTime": {
"day": 12,
"month": 4
},
"path": "oneDay.png"
},
{
"startTime": {
"day": 20,
"month": 12
},
"endTime": {
"day": 28,
"month": 12
},
"path": "christmas.png"
},
{
"startTime": {
"day": 30,
"month": 12
},
"endTime": {
"day": 1,
"month": 1
},
"path": "newyear2.png"
},
{
"startTime": {
"day": 28,
"month": 12
},
"endTime": {
"day": 3,
"month": 1
},
"path": "newyear.png"
}
]
}
Fields description:
name
the name of the CatPackdefault
the path to the default catvariants
a list of the cats that are visible only on specific days/periods.startTime
the day from which the variant is visible (inclusive)endTime
the day until the variant is visible (inclusive)path
the path to the variant
All paths are relative, so you only need to put the name of the image from the CatPack(with extension).
The default cat is the cat displayed in all periods we can't match any variants.
The variant matching is done by looking if today is between startTime
and endTime
, if is matched then that variant is displayed.
The order of variants matters as the first variant that matches the period is returned ignoring the rest.
So for the mentioned example, the variants are displayed as follows:
oneDay.png
will be visible only on 12 April each yearchristmas.png
from 20 December until 28 Decembernewyear.png
on 29 Decembernewyear2.png
from 30 December until 1 Januarynewyear.png
from 2 January until 3 Januarymaxwell.png
for the periods that were not mentioned
So an example of order matter is if the newyear.png
and newyear2.png
orders would be reversed then newyear2.png
will never be displayed.