~quf/tocs

b2c49b3f62acdde1ff8506d7c939eb86dfb8f4cb — Lukas Himbert 5 months ago 7bcd70f
CharData / CheckEquipFlags (thank Xanadu)
3 files changed, 38 insertions(+), 3 deletions(-)

M tocs/src/tbl/schemas_cs3.rs
M tocs/src/tbl/schemas_cs4.rs
M tocs/src/tbl/schemas_cs5.rs
M tocs/src/tbl/schemas_cs3.rs => tocs/src/tbl/schemas_cs3.rs +10 -2
@@ 85,9 85,17 @@
        ("brk", Type::U16),
    ]),
    ("CharData", &[
        ("unknown_shorts", Type::Repeat(3, Box::new(Type::U16))),
        ("id", Type::U16),
        ("unknown_shorts", Type::Repeat(2, Box::new(Type::U16))),
        ("unknown_floats", Type::Repeat(5, Box::new(Type::F32))),
        ("unknown_data", Type::X(12)),
        ("check_equip_flags", Type::U16),
        ("unknown_data", Type::X(4)),
        ("unknown_float", Type::F32),
        ("unknown_string", Type::CUtf8),
    ]),
    ("CheckEquipFlag", &[
        ("character_restriction", Type::U16),
        ("flag", Type::U16),
    ]),
    ("CompHelpData", &[
        ("type", Type::I16),

M tocs/src/tbl/schemas_cs4.rs => tocs/src/tbl/schemas_cs4.rs +15 -1
@@ 48,7 48,8 @@
        ("item_type", Type::U16),
        ("unknown_short", Type::U16),
        ("item_id", Type::U16),
        ("unknown_data", Type::X(18)),
        ("unknown_data", Type::X(14)),
        ("s_craft_cutin_id", Type::I32),
        ("pkg_name", Type::CUtf8),
        ("model", Type::CUtf8),
        ("attach_point", Type::CUtf8),


@@ 93,10 94,23 @@
        ("unknown_string_1", Type::CUtf8),
        ("unknown_string_2", Type::CUtf8),
    ]),
    ("CharData", &[
        ("id", Type::U16),
        ("unknown_shorts", Type::Repeat(2, Box::new(Type::U16))),
        ("unknown_floats", Type::Repeat(8, Box::new(Type::F32))),
        ("check_equip_flags", Type::U32),
        ("unknown_short", Type::U16),
        ("unknown_float", Type::F32),
        ("unknown_string", Type::CUtf8),
    ]),
    ("char_revise", &[
        ("char", Type::CUtf8),
        ("unknown_shorts", Type::Repeat(9, Box::new(Type::U16))),
    ]),
    ("CheckEquipFlag", &[
        ("character_restriction", Type::U16),
        ("flag", Type::U32),
    ]),
    ("dlc", &[
        ("dlc_id", Type::I16),
        ("sort_id", Type::I16),

M tocs/src/tbl/schemas_cs5.rs => tocs/src/tbl/schemas_cs5.rs +13 -0
@@ 94,12 94,25 @@
        ("unknown_data", Type::X(4)),
    ]),
    */
    ("CharData", &[
        ("id", Type::U16),
        ("unknown_shorts", Type::Repeat(2, Box::new(Type::U16))),
        ("unknown_floats", Type::Repeat(9, Box::new(Type::F32))),
        ("check_equip_flags", Type::U32),
        ("unknown_short", Type::U16),
        ("unknown_float", Type::F32),
        ("unknown_string", Type::CUtf8),
    ]),
    ("CharGroup", &[
        ("unknown_short_1", Type::I16),
        ("characters", Type::Repeat(6, Box::new(Type::I16))),
        ("unknown_data", Type::X(14)),
        ("name", Type::CUtf8),
    ]),
    ("CheckEquipFlag", &[
        ("character_restriction", Type::U16),
        ("flag", Type::U32),
    ]),
    ("CompHelpData", &[
        ("type", Type::I16),
        ("text", Type::CUtf8),