Expand description
Renderer-independent readers and writers for Knight Online N3 assets.
Storage APIs retain raw strings and float bit patterns instead of applying game-specific rendering transformations.
use n3_lib::{parse_n3anim, write_n3anim};
let bytes = [0_u8; 4];
let asset = parse_n3anim(&bytes)?;
assert_eq!(write_n3anim(&asset)?, bytes);Re-exports§
pub use formats::*;
Modules§
- binary
- Bounded little-endian binary primitives.
- formats
- Format-specific byte parsers and writers; no filename or extension detection.
- geometry
- Derived render geometry, separate from unchanged wire records.
- images
- Uncompressed BMP/TGA storage, preservation and RGBA conversion.
- records
- Editable wire records driven by audited declarative binary layouts.
- table
- Encrypted TBL tables, retaining schema, raw strings and floating-point bits.
- textures
- NTF/DXT, GTT and TCT storage and native RGBA texture encoding.