These are chat archives for Kuree/Sims4Tools
Looking at your current committed code:
I'm pretty sure that unknown9 is age, unknown10 is gender, and unknown11 is a TONE IID.
I see that your sub-class is called UnknownRederence (with a D instead of an F), was that on purpose or a typo?
I've also noticed that the first count (unknown18's size, right after the TONE IID) is equal to the number of TGI's in the first set of the TGI list (the 0x9D1AB874's), and the second count (sliderReferences1.SliderReferece.count) plus the third count (sliderReferences2.SliderReference.count) is equal to the second set (0xC5F6763E). Leaving the 3rd set (0x034AEECB) equal to the tgi count minus those 2 values.
If you look at 0x025ED6F4-0x00000000-0x0B07596E1B1F187A you'll see that it looks like a "normal" one, but it's not, notice that unknown18 is acutally 9x8 instead of 9x9.
Just before the TGI list, there is a list of DATA IIDs preceded by a count (look at 0x025ED6F4-0x00000000-0xE8EF84103B89A6 and 0x025ED6F4-0x00000000-0x61B4C36E2B02A9FD)
Hope all this helps, I'll keep studying...
// In some resources, especially those without slider reference, expand these part, thus is not 54 bytes any more this.unknown13 = new DataBlobHandler(RecommendedApiVersion, OnResourceChanged, r.ReadBytes(54)); this.unknown14 = new UnknownReferenceList(OnResourceChanged, s, tgiList);
var test = 1;
Ok, so here's something.
If you look at 0x025ED6F4-0x00000000-0x61B4C36E2B02A9FD again, refering to the space between the 2 slider blocks, there's the 54 byte dataBlob, then the unknownReferenceList (Size of 9, in this case). But after that, there are 26 bytes, then ANOTHER unknownReferenceList (again, with the size of 9), and then 26 more bytes, and yet ANOTHER unknownReferenceList (9), and then another 26 bytes, and another list (9), then another 26 bytes, and another list (this time, size 10 [0x0A]), which is followed by the repetition of the slider block.
So, that paticular file has a total of 5 unknownRefereceLists
Thought I'd point that out, in case you hadn't noticed the pattern.