YAAP (Yet Another Atlas Packer). Built with Odin, Raylib, stb_rect_pack & odin-aseprite.
Find a file
2026-01-02 19:05:24 +02:00
examples Update dependencies, refresh README.md, add build scripts for linux(& macos?) 2026-01-02 15:06:34 +02:00
resources Major refactor: 2024-08-30 18:05:56 +03:00
scripts Update dependencies, refresh README.md, add build scripts for linux(& macos?) 2026-01-02 15:06:34 +02:00
src Cleanup unused imports 2026-01-02 19:05:24 +02:00
vendors More cleanup. Hooray! 2026-01-02 18:49:24 +02:00
.gitignore working metdata output for json & odin in the aseprite_odin_generator tool 2024-04-24 21:08:36 +03:00
.gitmodules Update dependencies, refresh README.md, add build scripts for linux(& macos?) 2026-01-02 15:06:34 +02:00
LICENSE init 2024-04-19 20:41:22 +03:00
odinfmt.json working demo of what the metdata exporter is supposed to do 2024-04-23 19:17:38 +03:00
README.md Update dependencies, refresh README.md, add build scripts for linux(& macos?) 2026-01-02 15:06:34 +02:00

YAAP

Yet-Another-Atlas-Packer by bersK (Stefan Stefanov)

Usage & requirements

Important

Pull this repo with --recursive, the odin-aseprite library is pulled in as a submodule.

  • At least odin compiler version dev-2025-07:204edd0fc
  • Build the libtinyfiledialog library in the vendors/dialog fold

Description

Note

Quite frankly if you want automatic atlas packing I would suggest using stb_rect_pack directly & an aseprite plugin for exporting your assets in a proper format for packing. Using this atlas packer in an automated fashion is not quite possible and slower as a workflow. I would only use it for experiment projects or places where having a built in atlas packer is not practical.

Simple atlas packer for .aseprite files. Generates a packed png & metadata in the form of json and/or source files(cpp, odin, etc...).

Caution

Does not handle palette files currently.

Uses stb_rect_pack for the image packing & raylib for the UI.

A quick preview on youtube.

Dependencies

  • odin-aseprite github
  • raylib (vendor/raylib, link)
  • stb_rect_pack (vendor/stb/rect_pack, link)