···11# nara
2233-A web-based book archival/viewing tool for Minecraft 1.12.2 data exported via Infinity Item Editor.
44-55-## Prerequisites
66-77-- [Rust toolchain][rust] (to compile)
88-- [Minecraft: Java Edition][mc] (1.12.2)
99-- [Minecraft Forge for 1.12.2][forge]
1010-- [Infinity Item Editor][iie] mod
1111-1212-## Usage
1313-1414-### 1. Build
1515-1616-```sh
1717-cargo build --release
1818-````
1919-2020-The binary will be in `target/release/` (`nara` or `nara.exe`).
2121-2222-### 2. Export books from Minecraft
2323-2424-1. Install the [Infinity Item Editor][iie] mod for Minecraft 1.12.2.
2525-2626-2. In Minecraft (with the mod installed), put your written books into Shulker Boxes (the colour of the Shulker Boxes does not matter).
2727-2828-3. Rename each shulker box in an anvil as:
2929-3030- `CATEGORY_NAME ID`
3131-3232- Example for a category named “Fiction”:
3333-3434- `Fiction 1`, `Fiction 2`, `Fiction 3`
3535-3636-4. Save each shulker box using Infinity Item Editor (default keybind: `G`, configurable in Controls).
3737-3838-Infinity Item Editor writes exports into `realm.nbt`.
3939-4040-### 3. Run
4141-4242-1. Make a new directory to hold both the app and the exported data.
4343-2. Copy the `nara` binary into it.
4444-3. Copy `realm.nbt` into it from your Minecraft directory:
4545-4646-* **Windows:** `%AppData%\.minecraft\infinity-data\realm.nbt`
4747-* **Linux:** `~/.minecraft/infinity-data/realm.nbt`
4848-* **macOS:** `~/Library/Application Support/minecraft/infinity-data/realm.nbt`
4949-5050-**macOS/Linux**
5151-5252-```sh
5353-./nara
5454-```
5555-5656-**Windows**
5757-5858-```bat
5959-nara.exe
6060-```
6161-6262-nara will print a local URL in the terminal - open it in your browser.
6363-6464-## Customization
6565-6666-All customization is via CLI flags:
6767-6868-```sh
6969-./nara --help
7070-```
7171-7272-Open an issue if anything is unclear.
7373-7474-[rust]: https://rustup.rs/ "rustup.rs - the Rust toolchain installer"
7575-[mc]: https://minecraft.net/ "Minecraft"
7676-[forge]: https://files.minecraftforge.net/net/minecraftforge/forge/index_1.12.2.html "Downloads for Minecraft Forge for 1.12.2"
7777-[iie]: https://modrinth.com/mod/infinity-item-editor/version/0.15 "modrinth.com | 0.15 - Infinity Item Editor"33+A cross-version Minecraft written book archiver and viewer.