A C++ library for Minecraft's file format NBT

Artur M. 09186b8eb5 Merge pull request #2 from jumpandspintowin/master 10 years ago
doxygen ebb4399b78 Added files 11 years ago
include 2c72ee8064 Change trailing doxygen comments for better overview 11 years ago
src 6eaf5bba94 Let read_list accept END tags 10 years ago
.gitattributes ebb4399b78 Added files 11 years ago
.gitignore cdf975a3a6 Update .gitignore 11 years ago
CMakeLists.txt c0dfcaf67d Fixed building with clang on OS X > 10.8 11 years ago
COPYING.txt ebb4399b78 Added files 11 years ago
README.txt 0242949fb6 Update README.txt 11 years ago
test.cpp ebb4399b78 Added files 11 years ago

README.txt

libnbt++ is a free C++ library for Minecraft's file format NBT - Named Binary Tag.
It can read and write compressed and uncompressed NBT files.
It uses streams for input and output.

Dependencies:
libnbt++ requires the following Boost libraries:
- Config
- Format
- Iterator

Additionally, if you want to have GZip support (nbt::io::read_gzip and nbt::io::write_gzip):
- Iostreams (must be compiled with Zlib support)

Building:
You need CMake for building.
Set NBT_WITH_GZIP if you want to activate GZip support.
Set NBT_BUILD_NBTTEST if you want to build the nbttest program (requires NBT_WITH_GZIP).

The nbttest program is a simple program which takes a compressed
or uncompressed NBT file as input and prints out the contents in
text form, then optionally writes it back into an output NBT file.