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.
Download the executable from the releases tab, or compile with shards build --release
nbt --help
- 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.
nbt -i input.dat -o output.xml
nbt -i input.xml -o output.dat
Make sure tests are passing crystal spec
and submit a PR.
- Fork it (https://github.com/sleepinginsomniac/nbt_parser/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request