README (1196B)
1 emote2ss = 'Emote to SpriteSheet' utility. 2 3 License: BSD 2-Clause. 4 5 Simple tool to expand a given animated .webp into a spritesheet of given columns count-wide. 6 7 There is a GUI version with a preview of the output sprite and a command-line utility that you can pass the column count as a command-line argument. 8 9 CLI Usage: 10 `emote2ss file.webp COLUMNS`, e.g. `emote2ss MyAnimationFile.webp 10` - expands animated file into a spritesheet of 10 frames wide. The output file is named the same as the source with the prefix "atlas_", e.g. FlanClap.webp produces atlas_FlanClap.webp 11 12 GUI Usage: should be self-explanatory, it doesn't support command-line arguments as of yet. 13 14 Dependencies: 15 Libraries: libwebp and libwebpdemux. 16 Bundled GUI toolkit: luigi - https://github.com/nakst/luigi 17 18 Building: 19 Only libraries above, C99 compiler, standard pkg-config and GNU Makefile are needed. 20 I've tested builds for GNU/Linux, OpenBSD and macOS. 21 22 Windows builds are still WIP, it was sufficient to change '-DUI_LINUX' to '-DUI_WINDOWS' in gui/Makefile before but not after many changes in gui version. 23 24 To build GUI tool run `make gui`. 25 To build CLI tool run `make cli`. 26 Or just run `make` to build everything.