PDA

View Full Version : s4pi | Updated wrapper for MTBL


plasticbox
25th Apr 2015, 11:40 PM
2015-07-04: This has been merged into v0.3c https://github.com/Kuree/Sims4Tools/releases/tag/0.3c , so you only need to download when you use previuos versions.


MTBL 0x81CA1A10 slightly edited to add more descriptive labels, the rest is unchanged as in v0.3b. These values (formerly Unk2..Unk7) define the bounding box for the little thumbnail pictures of objects.

Before/after (same object):

http://thumbs2.modthesims2.com/img/1/7/8/2/8/2/MTS_plasticbox-1525087-mtbl.jpg

ModelIID is the MODL this applies to. UnkIID_1 I've only seen in doors/windows, this appears to be the model ID that is associated with the wall mask that's going to be used (how exactly, I don't know (yet) -- see this thread (http://forums.thesims.com/en_US/discussion/805950/wall-masks-cutouts-how-where-are-they-defined), post 2 and down). The last digit of Unk1 is 1 in one-tile, 2 in two-tile and 3 in 3-tile doors/windows.

s4pi.MiscellaneousResources.dll goes in your s4pe folder, the other file is the source.


Note btw that this type of resource may not stay with us forever in free-floating form:

Look for the resource with type 0x81ca1a10, this is a table with cutout info, and it defines the mappings. For the Base Game there is one single resource that contains all the cutout info for all objects. For the packs (EP01, GP01) they are loose (i.e. one resource per object) which is actually a bug that we may fix at some point (it's basically an optimization to load less files).

Source (http://forums.thesims.com/en_US/discussion/comment/13565815/#Comment_13565815)

plasticbox
13th Feb 2016, 1:31 PM
See the 0.4.2 beta thread for more updates: http://www.modthesims.info/showthread.php?t=572221

Locking this as it is now obsolete.