This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Import PDN to Aseprite | |
| -- Installation: | |
| -- 1. Copy the whole "Import PDN to Aseprite" folder into your Aseprite scripts folder. | |
| -- 2. In Aseprite, run File > Scripts > Rescan Scripts, or restart Aseprite. | |
| -- 3. Run File > Scripts > Import PDN to Aseprite. | |
| -- | |
| -- This script is pure Lua. It reads Paint.NET .pdn files directly and rebuilds | |
| -- supported bitmap layers inside a new Aseprite sprite. | |
| -- | |
| -- Embedded parser/decompression logic is adapted from two MIT-licensed projects: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Decompress to True-Scale V4 | |
| -- Install: | |
| -- 1. Save this file as "Decompress to True-Scale V4.lua". | |
| -- 2. Copy it into %APPDATA%\Aseprite\scripts. | |
| -- 3. In Aseprite, run File > Scripts > Rescan Scripts, or restart Aseprite. | |
| -- 4. Run File > Scripts > Decompress to True-Scale V4. | |
| local COMMAND_TITLE = "Decompress to True-Scale V4" | |
| local DEFAULT_K_COLORS = 17 | |
| local OUTPUT_LAYER_NAME = "Decompress to True-Scale V4" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Export For FoundryVTT | |
| -- Installation: | |
| -- 1. Save this file as "Export For FoundryVTT.lua". | |
| -- 2. Copy it into your Aseprite scripts folder: | |
| -- Windows: %APPDATA%\Aseprite\scripts | |
| -- macOS: ~/Library/Application Support/Aseprite/scripts | |
| -- Linux: ~/.config/aseprite/scripts | |
| -- 3. Create the "scripts" folder if it does not exist yet. | |
| -- 4. In Aseprite, run File > Scripts > Rescan Scripts, or restart Aseprite. | |
| -- 5. Run the script from File > Scripts > Export For FoundryVTT. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** script for exporting roll20 maps to an image | |
| how to use: | |
| 1. open your roll20 game to the page you want to save | |
| 2. open your browser's developer tools | |
| 3. copy-paste this entire file in the console | |
| 4. hit enter | |
| 5. wait for map to save and download automatically | |
| notes: | |
| - your UI will rapidly flash for a couple seconds when this is run, as it is quickly scrolling through the map and saving it in chunks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "last_node_id": 74, | |
| "last_link_id": 192, | |
| "nodes": [ | |
| { | |
| "id": 45, | |
| "type": "Reroute", | |
| "pos": [ | |
| 960, | |
| -780 |