#color #ffxiv #fantasy #final #xiv #chocobo #plumage

chocodye

A Rust library for changing the color of the chocobos' plumage in Final Fantasy XIV

5 stable releases

1.1.1 Mar 17, 2024
1.1.0 Sep 29, 2023
1.0.2 Jul 2, 2023
1.0.1 Jun 9, 2023
1.0.0 Jun 3, 2023

#383 in Text processing

Download history 1/week @ 2024-06-07 3/week @ 2024-06-28 13/week @ 2024-07-05 21/week @ 2024-07-26 3/week @ 2024-08-02

134 downloads per month

MIT/Apache

79KB
1.5K SLoC

Rust 1K SLoC // 0.0% comments FreeMarker 520 SLoC

chocodye

A Rust library for changing the color of the chocobos' plumage in Final Fantasy XIV.

Current version License Minimum Supported Rust Version Documentation

This repository also includes language-agnostic files such as dyes.xml and Fluent translation lists. Furthermore, a live version using WebAssembly is available on this web page.

Documentation

Latest version: https://docs.rs/chocodye/

Cargo Features

  • fluent: enables localization through Fluent.
  • truecolor: enables text to be colored in the terminal.

Examples

List of colors:

cargo run --example truecolor -- en

Result of running the truecolor example

Sample menu:

cargo run --example menu -- en

Result of running the menu example

The displayed language can be changed by replacing en with fr, de or jp. Please note that for colors to be displayed under Windows, this command must first be run:

set COLORTERM=truecolor

See the documentation for chocodye::ansi_text.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1.4–2.1MB
~43K SLoC