Library and files
The library is one folder on your computer where PBrokkR keeps what you make. You choose where it is.
Where it is
The default is Documents/PBrokkR. Change it in File > Preferences (Ctrl+,), or start the app with --library <folder> for one session. Changing the folder does not move the files that are already in the old one.
PBrokkR/
materials/<category>/<name>.json a saved material
materials/<category>/<name>_source.png the image it was made from (a copy)
exports/<name>/ exported maps
layouts/<name>.json window layouts
thumbnails/ one small picture per material
.cache/ temporary files; safe to deleteMaterials
A material is everything needed to make the maps again: all parameters, plus a copy of the input image. It is a plain JSON file, so it can be copied, shared and kept in version control. It never holds a path to a folder of your computer.
- Save: File > Save material (
Ctrl+S). The dialog asks for a name and a category. - Open: double-click a card in the Library panel, or File > Open material… (
Ctrl+Shift+O). - Apply to what is open: drag a card onto the 3D preview.
Categories
A category is a sub-folder of materials. In the save dialog you can click a suggestion (rock, ground, bark, foam…) or type any name: a new name makes a new folder. Leave it empty to save without a category.
Examples
The presets that come with PBrokkR are shown under Examples. They are read-only: opening one and saving it puts a copy in your library, and the original stays as it was.
Thumbnails
A thumbnail is rendered when a material is saved, with the same lighting as the 3D preview. If a thumbnail is missing or older than its material, it is made again the next time the library is shown.
Opening and saving files
PBrokkR has its own file dialog, the same on every system. It opens in the library, shows thumbnails for images and materials, and has a field where you can paste a full path. Another folder… in the save dialog lets a material go anywhere, not only into the library.
Where exports go
The Output folder in the Export panel starts as exports/<prefix> in the library. Choose… picks another folder; the choice is kept for that material.