Skyrim Mod talk:Mod File Format/DOBJ
FormIDs[edit]
Scanning the entire DNAM field, every other word does indeed resolve to either 0 or a FormID. However, the record types are all over the place:
+---------+-----+ | rectype | num | +---------+-----+ | AACT | 68 | | KYWD | 67 | | SNDR | 23 | | MESG | 22 | | SNCT | 9 | | FACT | 8 | | MUSC | 7 | | FLST | 7 | | MOVT | 6 | | SOPM | 5 | | STAT | 5 | | EQUP | 5 | | TXST | 4 | | GLOB | 4 | | LCRT | 3 | | MISC | 3 | | MATO | 2 | | PACK | 2 | | LCTN | 2 | | NPC_ | 2 | | ALCH | 2 | | IMAD | 2 | | FSTS | 1 | | IMGS | 1 | | MATT | 1 | | REVB | 1 | | CSTY | 1 | | SPEL | 1 | | CELL | 1 | | WTHR | 1 | | ARTO | 1 | +---------+-----+
It's probably worth noting that REFR and ACHR records never appear -- whereas if the value were not FormIDs but instead random values in the same range, there would almost surely be some REFR records, given that some 90% of the records are REFRs.
Individual FormIDs can occur multiple times, although there are only a handful of cases:
+-----+------------+---------+----------------------+ | num | formid | rectype | edid | +-----+------------+---------+----------------------+ | 3 | 0x0003b523 | TXST | SkinMouth | | 2 | 0x0000017c | MESG | HelpLockpickingShort | | 2 | 0x00000178 | MESG | HelpLevelingShort | | 2 | 0x0003b565 | MUSC | MUSSpecialSuccess | | 2 | 0x0003580d | MOVT | NPC_Default_MT | +-----+------------+---------+----------------------+
Interestingly, the other four-byte sequence never repeats.
There aren't any other patterns popping out at me right now, but the info is now in cslist. --NepheleTalk 04:29, 26 December 2011 (UTC)