-
Notifications
You must be signed in to change notification settings - Fork 0
Configuring A Pattern Pack
whyis2plus2 edited this page Sep 12, 2026
·
3 revisions
Pattern packs are configured via the cgpack.json file inside the pack's folder.
This file is optional, if it's missing, one will be created with all default fields.
The fields in this JSON file handle all the additional features added to the pattern pack.
All of them are optional, and if left blank, the mod will automatically handle it.
The fields are as follows:
-
DisplayName: The name of the pattern pack (as displayed in the cybergrind terminal)- This defaults to the name of the current folder that the pattern pack is in.
-
ThumbnailPath: The path (relative to the pattern folder) to the thumbnail.- This defaults to an empty string, which has the mod generate a preview. This is done via the same method used to generate pattern pack previews in the base game.
-
EnabledPatterns(THIS SHOULD NOT BE EDITED DIRECTLY!): A list of all of the enabled pattern files in the pack.- This defaults to an empty list.
A pack with this folder structure:
Pack/
├─ cgpack.json
├─ icon.png
├─ pattern1.cgp
└─ pattern2.cgp
Could have the following as the contents of its cgpack.json file:
{
"DisplayName": "MyPatternPack",
"ThumbnailPath": "icon.png"
}