From 08a5f2fe30e77bf8d024784284c517f9e7520d59 Mon Sep 17 00:00:00 2001 From: Orvid King Date: Sun, 22 Nov 2015 17:19:45 -0600 Subject: [PATCH] Add more of the record structure for FO4 This fleshes out some more of the record structure for FO4. In particular it adds support for the `TRNS`, `DMGT`, `CMPO` records, and expands the `COBJ` records to reflect their state in FO4. This also includes a couple of other fixes due to `PTRN` subrecords being added in many places. There are still quite a few places that need the `PTRN` subrecords added though. This also handles the extra 8-bytes that are at the start of the `DMDT` and `MODT` subrecords in the `DESTRUCT` and `MODEL` groups respectively. This fixes most places so that the type is read correctly, however it appears that the extra 8-bytes require a condition that I haven't looked into yet. As the majority of places have the extra 8-bytes, I've left the change in this PR. --- conf/Fallout4/RecordStructure.xml | 109 +++++++++++++++++++++++++++--- 1 file changed, 100 insertions(+), 9 deletions(-) diff --git a/conf/Fallout4/RecordStructure.xml b/conf/Fallout4/RecordStructure.xml index aacd63c..ba18c2f 100644 --- a/conf/Fallout4/RecordStructure.xml +++ b/conf/Fallout4/RecordStructure.xml @@ -208,6 +208,7 @@ + @@ -216,7 +217,13 @@ - + + + + + + + @@ -288,11 +295,13 @@ - - - - - + + + + + + + @@ -987,6 +996,19 @@ + + + + + + + + + + + + + @@ -2325,6 +2347,8 @@ + + @@ -3443,6 +3467,7 @@ + @@ -3632,7 +3657,16 @@ - + + + + + + + + + + @@ -6285,6 +6319,7 @@ + @@ -6902,6 +6937,7 @@ + @@ -6909,6 +6945,7 @@ + @@ -7361,9 +7398,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7371,9 +7453,18 @@ - - + + + + + + + + + + +