nbt-parser v0.2.1

NBT (Named Binary Tag) parser. NBT is the format used in Minecraft.

nbt parser

A Named Binary Tag (nbt) command line tool for macos / linux. This tool allows reading nbt files and outputing to xml for manual editing. When editing is completed the file can be converted back to .nbt format.

Installation

Download the executable from the releases tab, or compile with shards build --release

Usage

Show usage and help

nbt --help

Converting files

  • File format will be detected by the extension of the input and output arguments.
  • Use -f to specify the output format
  • Output will be to standard out (stdout) unless -o is specified.

Convert an nbt file to xml

nbt -i input.dat -o output.xml

Convert an xml file to nbt

nbt -i input.xml -o output.dat

Development

Make sure tests are passing crystal spec and submit a PR.

Contributing

  1. Fork it (https://github.com/sleepinginsomniac/nbt_parser/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

nbt-parser

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 2
  • about 1 year ago
  • August 12, 2023
License

MIT License

Links
Synced at

Thu, 21 Nov 2024 23:07:53 GMT

Languages