Sprite sheet generator
Posted: 01 May 2022, 09:45
Hi,
I've created a FOSS tool to generate sprite sheets (optionally from multiple image files), maybe it's going to be useful to you too.
https://gitlab.com/bztsrc/sprsheet
It is called sprsheet because I primarily wrote it to mass convert existing LPC assets to make them LPC Revised compatible, however there's nothing LPC-specific hardcoded in it. The sheet definition is read from a plain simple CSV file, which means it is fully configurable and can work with any sprite sheet layout.
If you don't want to write these CSV files by hand, then I've also provided a small web helper tool. Replace guidelines.png with your desired sprite sheet format, and you're good to go. With this tool, you can intuitively create the CSV files, using drag'n'drop (but if you prefer Excel, gnumeric or your favourite text editor, that works too).
CSV generator webtool
Licensed under MIT, in the hope that it will be useful.
The code is written in ANSI C and dependency-free, meaning it should compile on any POSIX-compliant systems as-is without any trouble (just run make), but I've also provided pre-compiled portable executables for Linux and Windows (no .so/.dll required, no installation necessary, just download and use).
Cheers,
bzt
Edit: renamed repo, updated links.
I've created a FOSS tool to generate sprite sheets (optionally from multiple image files), maybe it's going to be useful to you too.
https://gitlab.com/bztsrc/sprsheet
It is called sprsheet because I primarily wrote it to mass convert existing LPC assets to make them LPC Revised compatible, however there's nothing LPC-specific hardcoded in it. The sheet definition is read from a plain simple CSV file, which means it is fully configurable and can work with any sprite sheet layout.
If you don't want to write these CSV files by hand, then I've also provided a small web helper tool. Replace guidelines.png with your desired sprite sheet format, and you're good to go. With this tool, you can intuitively create the CSV files, using drag'n'drop (but if you prefer Excel, gnumeric or your favourite text editor, that works too).
CSV generator webtool
Licensed under MIT, in the hope that it will be useful.
The code is written in ANSI C and dependency-free, meaning it should compile on any POSIX-compliant systems as-is without any trouble (just run make), but I've also provided pre-compiled portable executables for Linux and Windows (no .so/.dll required, no installation necessary, just download and use).
Cheers,
bzt
Edit: renamed repo, updated links.