Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.14 KB

Readme.md

File metadata and controls

52 lines (36 loc) · 1.14 KB

Byml to Yaml (RS)

Simple BYML to YAML converter written in rust using the roead library by NiceneNerd with BYML v7 support.

Usage

Options

-d, --debug
  Verbose logging for debugging

-h, --help
  Prints help information.

Sub Commands

to-yaml

ARGS:
  <path>
    Path to the source BYML to convert to YAML

OPTIONS:
  -o, --output <output>
    Output YAML file (defaults to $path with a yml extension)

to-byml

ARGS:
  <path>
    Path to the source YAML to convert to BYML

OPTIONS:
  -o, --output <output>
    Output BYML file (defaults to $path with a byml extension)

  -v, --version <version>
    Output BYML version

  -e, --endianness <endianness>
    Output BYML endianness

Scripts (Windows Only)

In the scripts folder there are two batch files, one to convert every byml file to yaml in a folder, and one to convert every yaml file to byml.

Note: YAML files will be converted to v7 little endian byml files. To change this, edit the yaml-yo-byml batch file and update the -v and -e flags at the end.