Skip to content

Instantly share code, notes, and snippets.

View est77's full-sized avatar

Esteban Tovagliari est77

View GitHub Profile
@pancelor
pancelor / README.md
Last active January 7, 2025 19:06
aseprite to pico8/picotron exporter

picotron is out! importing sprites is still a bit tricky, so I built this script to help, along with this picotron cart

this script works great for pico8 too -- I use it often

how to use

you'll need Aseprite to use this.

  1. save this script to your aseprite scripts folder (File > Scripts > Open Scripts Folder) then reopen aseprite (or click "Rescan Scripts")
  • (optional) edit local autocopy in the script, based on your operating system. if you set this up, the script will automatically write to your clipboard when it's time to copy something
#!/bin/bash
# We need the TAB character for SED (Mac OS X sed does not understand \t)
TAB="$(printf '\t')"
function abort {
echo "$(tput setaf 1)$1$(tput sgr0)"
exit 1
}