skyrim-cell-dump
Library and binary for parsing Skyrim plugin files and extracting CELL data.
The main objective of this library is to extract the form ID and X and Y coordinates of every exterior cell a plugin edits as fast as possible, ignoring the rest of the plugin.
Install
cargo install skyrim-cell-dump
Or, build yourself by checking out the repository and running:
cargo build --release --features build-binary
Usage
Usage: skyrim-cell-dump.exe <plugin> [-f <format>] [-p]
Extracts cell edits from a TES5 Skyrim plugin file
Options:
-f, --format format of the output (json or text)
-p, --pretty pretty print json output
--help display usage information
The pretty JSON format looks something like:
Note: I have only tested parsing Skyrim Special Edition .esp
, .esm
, and .esl
files.
Import
You can include this crate in your Cargo.toml
and get the parsed Plugin
struct with:
use parse_plugin;
let plugin_contents = read.unwrap;
let plugin = parse_plugin.unwrap;