An NBT file parser and manipulator library
Switch branches/tags
Nothing to show
Clone or download
#1 Compare This branch is 8 commits ahead, 32 commits behind chmod222:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
testdata
.gitignore
CMakeLists.txt
Makefile
NBT.txt
README
blockreplace.c
buffer.c
buffer.h
check.c
datlevel.c
list.h
main.c
mcr.c
nbt.h
nbt_loading.c
nbt_parsing.c
nbt_treeops.c
nbt_util.c
regioninfo.c

README

cNBT is an NBT File (http://www.minecraft.net/docs/NBT.txt) parser that doesn't
depend on the horrible slowdown that is the JRE and sticks to the C principle of
not trying to prevent users to shoot their own feet.

Currently implemented features:

 * Complete parsing of NBT files
 * Basic tree-manipulation functions
 * Pretty printing with indentation
 * Writing (possibly modified) NBT structures back to a compressed file
 * Full error reporting and graceful recovery from corrupt files and trees.

It depends on libz for gzip decompressing and compressing, and compiler C99
support.