README.txt 801 B

12345678910111213141516171819202122
  1. libnbt++ is a free C++ library for Minecraft's file format NBT - Named Binary Tag.
  2. It can read and write compressed and uncompressed NBT files.
  3. It uses streams for input and output.
  4. Dependencies:
  5. libnbt++ requires the following Boost libraries:
  6. - Config
  7. - Format
  8. - Iterator
  9. Additionally, if you want to have GZip support (nbt::io::read_gzip and nbt::io::write_gzip):
  10. - Iostreams (must be compiled with Zlib support)
  11. Building:
  12. You need CMake for building.
  13. Set NBT_WITH_GZIP if you want to activate GZip support.
  14. Set NBT_BUILD_NBTTEST if you want to build the nbttest program (requires NBT_WITH_GZIP).
  15. The nbttest program is a simple program which takes a compressed
  16. or uncompressed NBT file as input and prints out the contents in
  17. text form, then optionally writes it back into an output NBT file.