A fast, modern CLI utility for working with League of Legends .bin files (binary property trees). Convert between binary and human-readable text formats, and diff files with ease.
- Convert — Transform
.binfiles to readable.py/.ritobintext format and vice versa - Diff — Compare two bin files with colored unified diff output
- Batch Processing — Recursively convert entire directories
- Hashtable Support — Automatic hash resolution for readable property names
- Cross-Platform — Works on Windows, Linux, and macOS
Run this command in PowerShell to install the latest release:
irm https://raw.githubusercontent.com/LeagueToolkit/ritobin-tools/main/install.ps1 | iexThis will:
- Download the latest release
- Install to
%LOCALAPPDATA%\LeagueToolkit\ritobin-tools - Add to your PATH automatically
Requires Rust 1.85+ (edition 2024).
git clone https://github.com/LeagueToolkit/ritobin-tools.git
cd ritobin-tools
cargo build --releaseThe binary will be available at target/release/ritobin-tools.
Convert between binary .bin files and text .py/.ritobin formats.
# Binary to text
ritobin-tools convert input.bin
# → Creates input.py
# Text to binary
ritobin-tools convert input.py
# → Creates input.bin
# Specify output path
ritobin-tools convert input.bin -o output.py
# Convert all files in a directory
ritobin-tools convert ./data/
# Recursively convert all files
ritobin-tools convert ./data/ -rCompare two bin files and display differences in unified diff format.
# Basic diff
ritobin-tools diff old.bin new.bin
# Adjust context lines (default: 3)
ritobin-tools diff old.bin new.bin -C 5
# Disable colored output
ritobin-tools diff old.bin new.bin --no-colorSupports comparing any combination of .bin, .py, and .ritobin files.
A config.toml file is automatically created next to the executable on first run.
hashtable_dir = "/path/to/LeagueToolkit/bin_hashtables"Hashtables enable human-readable names for properties instead of raw hashes. By default, the tool looks for hashtables in:
~/Documents/LeagueToolkit/bin_hashtables/
You can override this with:
- The
--hashtable-dirCLI flag - The
hashtable_dirsetting inconfig.toml
Licensed under either of: