Skip to content

JRiggles/Lospec-Palette-Importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lospec Palette Importer

An Aseprite extension

current release: v1.3.1

Latest Changes

  • You can now click on the "Open In App..." button on Lospec and it will automatically bring up the Palette Preview dialog
    • Caveat: clicking "Open In App...", will open a new instance of Aseprite every time - this seems like a limitation of the Aseprite CLI, but I'm looking for a workaround!.
    • If "Open In App..." isn't working after you update the extension, try rebooting. The lospec-palette:// URI handler needs to be registered with your OS, and a reboot usually takes care of that.
    • Because of how Mac OS deals with URI handlers, Lospec Palette Importer relies on a small helper app (bundled with the extension) which you may need to grant automation permissions/access - just follow the on-screen prompts ♥ (you can find the relevant toggle in "System Settings/Privacy & Security/Automation" under "Lospec Palette Importer")

Thanks to Lospec Discord user @PureAsbestos for the idea / feature request!

  • Patch 1.3.1 fixes an issue on Windows where the extension could sometimes fail to find Aseprite.exe, which it needs in order for the URI handler to work

Thanks to Lospec Discord user @Fabico for the inspiration behind this fix

This Aseprite extension allows you to use and save color palettes from Lospec. Simply enter the name of the Lospec palette you want to import.

Requirements

This extension has been tested on both Windows and Mac OS (specifically, Windows 11 and Mac OS Sonoma 14.3.1)

It is intended to run on Aseprite version 1.3 or later and requires API version 1.3-rc5 (as long as you have the latest version of Aseprite, you should be fine!)

Permissions

When you run this plugin for the first time, you'll be aked to grant some permissions. This extension uses curl under the hood to get data from Lospec and will need your permission to execute that command. Addtionally, this extension will need your permission to write files if you intend to save any imported palettes.

When prompted, select the "Give full trust to this script" checkbox and then click "Give Script Full Access" (you'll only need to do this once)

Features & Usage

Once you've imported the palette you want, you can...

  • Save it as a preset and use it immediately
  • Use it without saving
  • Save it as a preset without overriding the currently selected palette

Palettes are saved in GIMP palette format (*.gpl) by default since this option allows for other info from Lospec to be included with the palette, such as the author's name and the Lospec palette list URL

Palettes can also be saved in *.aseprite format, but this option won't include any of the extra data from Lospec

To use this plugin, just open the "Options" menu above the color palette and then select "Import Palette from Lospec"

Installation

You can download this extension from itch.io as a "pay what you want" tool

If you find this extension useful, please consider donating via itch.io to support further development! ♥

Releases

No releases published

Packages

No packages published