Although it was named as litematica_reader_c
, it's not only intended to read litematica file, but process the material list in blocks in a litematica file region. Reading litematica file is just the first step to process, or in other words there should be a source of material list to process, and reading a litematica file is the most convenient.
It uses libnbt as the library to read litematica file.
- libnbt (already in submodule of the repo)
zlib
- cJSON
>= 1.7.13
gettext
(It's a part ofglibc
so you might not need to install it in GNU/Linux but other systems might need)(Optional -- if you need translation)glib2
minizip-ng
- dhutil (already in submodule of the repo)
Use git
to get this repo, then get submodule.
git submodule update --init
If there's already CMake installed, just compile using command:
cmake -B build
cmake --build build
If not, install one.
I recommend using the GUI's dhlrc_qt
. Although dhlrc_isoc
can be still used.
The programs now have a better interactive interface, for more information, see source code.