#palette #bin #file #file-format #age #handles #jasc

chariot_palette

A library for reading/writing JASC palettes

5 releases

Uses old Rust 2015

0.1.5 May 11, 2017
0.1.4 May 5, 2017
0.1.3 May 5, 2017
0.1.1 May 3, 2017
0.1.0 May 3, 2017

#38 in #handles

32 downloads per month

MIT license

8KB
83 lines

Chariot Palette Crate

This crate handles the BIN file format used by Age of Empires (1997). Currently it can read BIN files.

While the ability to write a BIN file is a nice to have, it's not strictly necessary for the rest of the Chariot project, and thus, is not implemented at this time.

BIN palettes are JASC palettes (used by Paintshop Pro and possibly other image manipulation software).

This library is named chariot_palette because I did not recall the truth above until after I published this crate.

If you want the crate name chariot_palette please contact me and I'll more than likely be willing to transfer the name.

I wish I had named this library jasc_palette. Oops.

The code herein falls under the same license as the rest of the Chariot project.

Building

You'll need the Rust compiler and Cargo build system. Once you have those, you can compile with:

$ cargo build

Dependencies

~445KB