Skip to content

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

License

Notifications You must be signed in to change notification settings

SleepingInsomniac/nbt-parser

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published