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 |