Skip to content

Ollhax/VoxPalTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VoxPalTool

A simple commandline tool for batch replacing palettes in MagicaVoxel .vox files.

Example use, with explanation below:

VoxPalTool.exe --recursive --palette new_palette.png *.vox

  • VoxPalTool.exe: This tool.
  • --recursive: Instructs the tool to search for files in subfolders, so in this case it would replace all .vox files in the current directory and any subdirectories.
  • --palette <path>: The new palette. The input should be a png file that is 256x1 pixels, where each pixel represents one palette color entry.
  • *.vox: The MagicaVoxel files to modify. You can specify multiple patterns, and use wildcards to specify many files at once.

For more settings and further information, run VoxPalTool.exe --help.

This tool is only tested in MagicaVoxel 0.99.7.2 - use it at your own risk, and be sure to make backups of your .vox files!

Building

Open VoxPalTool.slnx and build the tool in Visual Studio, or use publish.bat to create a release build. The output will appear in the artifacts folder.

About

A command-line tool for batch-replacing palettes in MagicaVoxel .vox files.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors