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
use crate::dev::*;

define_record2! {
    b"COLL",
    CollisionLayer, [
        EditorId;
        Description; // unsure if localized - seems to only be 4 bytes
        b"FNAM", Color, Color4;
        b"MNAM", Name, ESMString;
        b"INTV", InteractableCount, u32;
        b"CNAM", CollidesWith, Vec<FormId>; // references other layers
        b"BNAM", Index, u32;
        b"GNAM", Flags, u32; // TODO: bitfield
    ]
}