Repository navigation
tools libresprite
LibreSprite generators are available for the Zombie I inherited enemy, the default shirt, scientist/lab-coat set, hazmat suit, pistol, Tenelli SO3, and Revolver .44. Enemy and clothing kits arrange parts in fixed atlas cells. Weapon kits use overlapping named layers because each weapon part is exported as a separate PNG.
Set the selected script's projectRoot, copy it into the folder opened by Scripts -> Open Scripts Folder, rescan scripts, and run it from LibreSprite's Scripts menu. Output is written back to the SDK template directory.
For the supplied clothing atlas templates, each body part begins in a 32 by 32 cell. That is a Core-art default, not a clipping limit: enlarge the generator's cellWidth/cellHeight and the matching JSON regions for extended garments. Disable trimming or automatic packing. The JSON rectangles use Unity's bottom-left origin, while LibreSprite displays the canvas from the top left.
For weapon templates, preserve the documented full canvas and export one visible named layer at a time to its matching PNG. Pistol and Revolver .44 parts are 32 by 32. Tenelli SO3 parts are 48 by 32.
The generators are source-controlled instead of requiring binary editor documents, so each template can be recreated and audited whenever its layout changes. LibreSprite uses JavaScript for automation; Aseprite Lua scripts are not directly compatible.
Published from Docs/Modding/Public. The repository documentation is the canonical source.
Captivity Reloaded wiki* Captivity Reloaded Wiki
- Getting started
- Core concepts
- Content types
- Authoring tools
-
Reference
- Example pack index
- Schema index
- Field-by-field API reference
- Public asset-slot catalog
- Core enemy asset slots
- Validation and errors
- Validation/error-code catalog
- Mod API changelog
- Migration guides
- Troubleshooting
- Glossary
- Defaults and compatibility
- Resource limits
- Mod-author test matrix
- Implementation status
- Mod API v1 release checklist
- Release verification runbook
- Release evidence template
- Licensing and redistribution
- Development