Add more documentation for using NBTUtil
Pysis868 opened this issue · 2 comments
Pysis868 commented
I tried some combinations and still have no results.
Trying to operate on a "playerdata/*.dat" file.
I'm using Cygwin on Windows, so I may need to fix my paths. I have been using Windows-style for now, with spaces.
Referenced these links for help:
Failed Examples:
> NBTUtil.exe "$file" --path='Inventory[]' --print
Operation complete. Nodes succeeded: 0 Nodes failed: 0
> NBTUtil.exe "$file" --path='{}' --printtree
Operation complete. Nodes succeeded: 0 Nodes failed: 0
Radon8472 commented
It took me some time to find out how this tool is working, you should try to specify the path to your file after the "--path" argument.
e.g.
NBTUtil --path "level.dat" --printtree
You can access sub-keys in the nbt data by appending them \
-seperated after the filename
e.g.
NbtUtil --path "level.dat\Data\Version