Skip to content

alpenstorm/asepriteBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UPDATE

aseprite now includes a build script in the source files. use that instead, it's better

asepriteBuilder is a simple utility designed to make it easy to build the popular sprite editing tool Aseprite using the source code found here.

Dependencies:

  • Microsoft Visual Studio 2022
  • CMake (if you've read Aseprite's install instructions, you might see that we're missing the Skia library and the Ninja build system, but those are automatically downloaded and installed by the script)

How to use

Setup

  1. Install CMake by running the executable you downloaded.
  2. Download VS2022 and SDK
    1. In the Visual Studio Installer app, click Install on the icon of the VS2022 editor and check the Desktop development with C++ and ESPECIALLY the Windows 11 SDK in the sidebar:

Environment Variables

  1. Go to Windows Environment variables:

  2. Under Environment Variables > System Variables > Path, click Edit > New and add C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\Hostx64\x64\cl.exe:

Running the Script

  1. Before running, please paste the batch file and the config.cfg file into the folder ABOVE your aseprite folder [recommended usage] (e.g. if you have aseprite source code in D:\source\aseprite, put the files in D:\source).
  2. Check the config.cfg and assign the variables:
  • asepriteFolder: the folder in which the aseprite source code is, for example D:\source\aseprite (it's recommended to clone the aseprite repository with https://github.com/aseprite/aseprite.git).
  • ninjaLocation: the location where you want to place Ninja (or where you have Ninja, if you installed it), it will create this folder automatically and place Ninja inside, and add it to your PATH.
  • skiaLocation: the location where you want to place Skia (or where you have Skia, if you installed it), it will create this folder automatically and place Skia inside.
  • updateGit: set to yes (case sensitive) if you want the script to automatically sync your version of the source code with the version on GitHub. Leave it blank if you don't want to use this option.
  1. Run the build_aseprite.bat file and the build will atomatically start!

LEGAL DISCLAIMER

It's only legal to use this script to compile Aseprite on the end user's computer. If the build process is run on a server not owned by the end user, it's considered distribution and breaks the Aseprite EULA. Please check the EULA and abide by its terms.

About

a simple tool used to build Aseprite from source.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published