project-wormhole-esm 0.1.0

ESM file format parser for Project Wormhole
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::dev::*;

define_record2! {
    b"NOCM",
    NavObstacleManager, [
        // No EDID, single record
        b"INDX", Index, u32;
        b"DATA", Data, NavigationObstacleManagerData;
        b"INTV", Unknown1, u32; // Maybe related to INTV from TES4 (header) record?
        b"NAM1", ModelPath, ESMString;
    ]
}

#[derive(Debug, NomLE)]
pub struct NavigationObstacleManagerData {
    // TODO: fill out, always 8 bytes
}