Free C++ sprite editor
- PNG
- BMP
- JPEG XL
- OpenRaster ORA
- RPGMaker 2000/2003 XYZ
- Atrophy Engine AETEX (tga/dds)
- Wii TPL*
- DDS* (DXT1, DXT2/3, DXT4/5)
- Cave Story engine PBM
- VTF* (BGRA, BGR, DXT1, DXT2/3, DXT4/5)
- NES (dumps CHR-ROM)
- Mario Paint save file (SRM)
- SR8
- PXM Cave Story Map File
- LMU RPGMaker2000/3 Map File
- all other formats supported by SDL2_Image
* - not all subformats are currently implemented
- PNG
- JPEG XL
- OpenRaster ORA
- RPGMaker 2000/2003 XYZ
- BMP
- Cave Story engine PBM
- PXM Cave Story Map File
- PSP Pixel Studio Project File
- C header (as
uint8_t
array) - Python file (as [R,G,B,A]
np.array
) - HTML document (inline Base64 image)
You can grab a pre-built binary from the latest CI artifacts: https://nightly.link/counter185/voidsprite/workflows/msbuild/main
For Windows, get the voidsprite-build.zip
file.
For Linux, get the voidsprite-build-linux-flatpak-x86_64.zip
file; this requires Flatpak to be installed. You can also try the portable binary from voidsprite-build-linux.zip
, but this might not work on all systems.
- Go to
freesprite/devlibs
and extractdevlibs.7z
to the current directory (right clickdevlibs.7z
>Extract here
). - Go back to the repository root and run the
copy_devlibs.bat
script - Open
freesprite.sln
with Visual Studio and build/run like any other C++ program
- Install the dependencies and their respective development packages: sdl2, sdl2_ttf, sdl2_image, libpng, pugixml, zlib, liblcf, libjxl, libhwy
- Some dependencies (libpng, pugixml, zlib, liblcf) will be automatically downloaded and built during the build step if not installed - don't worry if your distro does not package them.
- GCC/G++ 13 or later is required
- Install meson (note that version 0.62.2 or higher is required; Ubuntu 22.04 users will want to install a newer version directly from pip with
pip3 install --user meson
) - Run
./linux_build.sh
- You can also pass the
--run
flag to automatically run the built binary, the--global
flag to install to/usr/local
, and--portable
to generate a portable build (assets stored in the same directory as the executable). - If you installed a separate version of GCC to use alongside your system install, you can specify a different compiler by setting the
CC
andCXX
variables while callinglinux_build.sh
, e.g.CC=gcc-13 CXX=g++-13 ./linux_build.sh
- You can also pass the
By default, the generated output files will be placed in /tmp/voidsprite
. When --global
is passed, they will be installed to /usr/local
instead.
You can also build the program as a Flatpak, see Flatpak README.
You may find the Official Discord server here.
voidsprite is licensed under GPLv2.
Licenses for other libraries and fonts used in voidsprite can be found in the OPEN_SOURCE_LICENSES
directory