File formats
.istpipe, .istshader, .istlib and .istmacro are zip archives, with a manifest.json as the first entry. They can be opened with any zip tool. .istlicense is a small text file, told at the end of this page.
Common rules
- The manifest holds the format
version(currently1.0.0) and thetypeof the archive. - An archive from a newer major version is refused with a message, rather than partially read and rewritten.
- Entries Studio does not know are kept when it rewrites an archive.
- The notes of the owner, when they shared the archive (the stars, the softwares a file was tested in), are described in Notes.
.istpipe
| Entry | Holds |
|---|---|
manifest.json | Name, version, and what the pipeline holds. |
pipeline.json | The graph. |
compiled.fs | The ISF shader the graph compiles to. |
compiled.vs | The vertex shader, if the pipeline has a vertex graph. |
imported/* | The images the pipeline uses. |
A macro is a .istpipe whose graph is one group. Its manifest also holds a macroId, the identity the copies of the macro in other pipelines are linked to. See Macros.
.istshader
| Entry | Holds |
|---|---|
manifest.json | Name, version, file names. |
fragment.fs | The shader. Its IMPORTED paths say imported/<name>. |
vertex.vs | Its vertex shader, if any. |
imported/* | Its images. |
.istlib
| Entry | Holds |
|---|---|
manifest.json | Name, folders, and the list of what is inside. |
shaders/… | Shaders, with their vertex shaders and images, and their presets.json and bindings.json when they have some. |
pipelines/… | Pipelines, with their compiled shaders and images, and their presets.json and bindings.json when they have some. |
images/…, markdowns/… | Images and notes. |
files/<id>/<name> | Any other file (fonts, videos, sounds, texts…), stored as it is. Absent when there are none; a version that predates it ignores them. |
.istmacro
A pack of macros. It holds the macros and the groups they are arranged in.
| Entry | Holds |
|---|---|
manifest.json | type: "macros", the format version, the name of the pack, its groups (the empty ones too) and the list of its macros. |
macros/<group>/<name>.istpipe | One macro each, as a .istpipe (stored as it is, not compressed again). |
A pack made by a newer version of ISF Studio is refused with a message. A pack holds at most 2000 macros, in groups at most 8 deep, and a name cannot hold \ / : * ? " < > | or start with a dot. See Share macros.
.istlicense
Not an archive: a small JSON file that holds a license key, saved from the page that thanks you after a purchase. Opening it with ISF Studio activates the license on that computer.
{
"format": "isf-studio-license",
"version": 1,
"key": "ISFSTUDIO1.…",
"edition": "personal",
"product": "pro"
}
Only key is needed; edition and product tell what the key is for. A file with nothing but the key in it is accepted too. The file is the key: keep it as you keep the key.
Notes
What a user noted of a file, when the archive was shared, has the same shape everywhere: a JSON object with an optional rating (a whole number from 1 to 5) and an optional testedIn (a list of at most 30 names, at most 80 characters each).
- A
.istshaderholds it in an entry namednotes.json. - A
.istpipeholds it in thenoteskey of itsmanifest.json. - A
.istlibholds it in thenoteskey of the entry of each record inmanifest.json.
An archive without notes is valid, and so is one whose notes cannot be read: they are left out.