#color #ffxiv #final #fantasy #fluent #xiv #chocobo

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

#276 in Text processing

Download history 4/week @ 2024-02-19 4/week @ 2024-02-26 20/week @ 2024-03-11 123/week @ 2024-03-18 75/week @ 2024-04-01

218 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.5–2.1MB
~45K SLoC