Difference between revisions of "Sims 3:0x034AEECB"
From SimsWiki
m |
m (→Format) |
||
(19 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{TS3AdvancedModdingHeader}} | |
− | < | + | {{TS3Resource |
− | ==CAS Part Data: clothes, hair, accessories | + | |name=CAS Part Data - CASP |
+ | |typeid= 0x034AEECB | ||
+ | |expansion=The Sims 3 | ||
+ | }} | ||
+ | <br clear="all"> | ||
+ | |||
+ | |||
+ | ==Overview== | ||
+ | CAS Part Data: clothes, hair, accessories | ||
+ | |||
(Original information by Karybdis, Additions and Clarifications by Delphy, Additions by LBeefus) | (Original information by Karybdis, Additions and Clarifications by Delphy, Additions by LBeefus) | ||
− | These use a similar format to [[Sims 3:0x025ED6F4|0x025ED6F4]] | + | These use a similar format to [[Sims 3:0x025ED6F4|0x025ED6F4]]. |
− | DWORD version | + | ==Format== |
− | DWORD offset // to resource reference table from end of header (ie offset + 8) | + | DWORD version // 0x12 is current? |
+ | DWORD offset // to resource reference table from end of header (ie offset + 8) | ||
− | DWORD | + | //Presets |
− | --repeat( | + | DWORD presetCount |
+ | --repeat(presetCount) | ||
DWORD length | DWORD length | ||
− | char16[length] // Embedded XML | + | char16[length] // Embedded XML Preset (Unicode (LE)) |
DWORD | DWORD | ||
− | + | 7STRING // UnicodeBE | |
− | + | ||
− | FLOAT sortPriority // CAS sorts on this value, from largest to smallest | + | FLOAT sortPriority // CAS sorts on this value, from largest to smallest |
BYTE | BYTE | ||
DWORD clothingType (see [[#Clothing Types|below]]) | DWORD clothingType (see [[#Clothing Types|below]]) | ||
− | DWORD [[Sims 3:CAS Part Flags|Type flags]] | + | DWORD [[Sims 3:CAS Part Flags#Type|Type flags]] |
− | DWORD [[Sims 3:CAS Part Flags|Age | + | DWORD [[Sims 3:CAS Part Flags#Age, Species, Gender and Handedness|Age, Species, Gender and Handedness]] |
− | DWORD [[Sims 3:CAS Part Flags|Clothing category]] | + | DWORD [[Sims 3:CAS Part Flags#Clothing Category|Clothing category]] |
− | BYTE index // of 0x034AEECB - CAS Part Data reference <!-- can't convince WIKI to link to this page... --> | + | BYTE index // of 0x034AEECB - CAS Part Data (naked) reference <!-- can't convince WIKI to link to this page... --> |
− | BYTE index // of 0x034AEECB - CAS Part Data reference | + | BYTE index // of 0x034AEECB - CAS Part Data (parent) reference |
BYTE index // of [[Sims 3:0x062C8204|0x062C8204 - Blend Info (fat)]] reference | BYTE index // of [[Sims 3:0x062C8204|0x062C8204 - Blend Info (fat)]] reference | ||
BYTE index // of [[Sims 3:0x062C8204|0x062C8204 - Blend Info (fit)]] reference | BYTE index // of [[Sims 3:0x062C8204|0x062C8204 - Blend Info (fit)]] reference | ||
Line 33: | Line 43: | ||
DWORD | DWORD | ||
− | BYTE | + | BYTE vpxyCount |
− | -- | + | --repeat vpxyCount |
BYTE index // of [[Sims 3:0x736884F1|0x736884F1 - VPXY]] reference | BYTE index // of [[Sims 3:0x736884F1|0x736884F1 - VPXY]] reference | ||
− | BYTE count2 | + | BYTE count2 //LOD Info count |
--repeat(count2) | --repeat(count2) | ||
− | + | //CAS LOD Info | |
− | DWORD | + | BYTE Level |
− | BYTE | + | DWORD [[Sims_3:CAS_Part_Flags#Type|DestTexture]] |
− | --repeat( | + | BYTE assetCount |
− | + | --repeat(assetCount) | |
− | DWORD | + | //CAS LOD Asset |
− | DWORD | + | DWORD [[#CAS_Geom_Flags|Sorting]] |
− | + | DWORD [[#CAS_Geom_Flags|SpecLevel]] | |
− | + | DWORD [[#CAS_Geom_Flags|CastShadow]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | BYTE | + | BYTE diffuseCount |
− | --repeat( | + | --repeat diffuseCount |
− | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - | + | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - TXTC (diffuse)]] reference |
− | BYTE | + | BYTE specularCount |
− | --repeat( | + | --repeat specularCount |
− | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - | + | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - TXTC (specular)]] reference |
− | BYTE | + | BYTE diffuse2Count |
− | --repeat( | + | --repeat(diffuse2Count) |
+ | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - TXTC (diffuse)]] reference | ||
+ | BYTE specular2Count | ||
+ | --repeat(specular2Count) | ||
+ | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - TXTC (specular)]] reference | ||
+ | BYTE boneDeltaCount | ||
+ | --repeat(boneDeltaCount) | ||
BYTE index // of [[Sims 3:0x0355E0A6|0x0355E0A6 - Bone Deltas]] reference | BYTE index // of [[Sims 3:0x0355E0A6|0x0355E0A6 - Bone Deltas]] reference | ||
− | + | 7STRING // UnicodeBE shoe material | |
− | + | ||
// Resource reference table in I<sub>64</sub>GT format (not TGI<sub>64</sub>) | // Resource reference table in I<sub>64</sub>GT format (not TGI<sub>64</sub>) | ||
Line 77: | Line 87: | ||
The Clothing Type is usually one of the following: | The Clothing Type is usually one of the following: | ||
− | {| border="1" | + | {| class="wikitable" border="1" |
! Clothing Type ID !! Description | ! Clothing Type ID !! Description | ||
|- | |- | ||
− | | | + | | 0x00000000 || None |
|- | |- | ||
− | | | + | | 0x00000001 || Hair |
|- | |- | ||
− | | | + | | 0x00000002 || Scalp |
|- | |- | ||
− | | | + | | 0x00000003 || Face |
|- | |- | ||
− | | | + | | 0x00000004 || Body |
|- | |- | ||
− | | | + | | 0x00000005 || Top |
|- | |- | ||
− | | | + | | 0x00000006 || Bottom |
|- | |- | ||
− | | | + | | 0x00000007 || Shoes |
|- | |- | ||
− | | | + | | 0x00000008 || FirstAccessory |
+ | |- | ||
+ | | 0x00000009 || Necklace | ||
+ | |- | ||
+ | | 0x0000000A || NoseRing | ||
+ | |- | ||
+ | | 0x0000000B || Earrings | ||
+ | |- | ||
+ | | 0x0000000C || Glasses (F) | ||
+ | |- | ||
+ | | 0x0000000D || Bracelets | ||
+ | |- | ||
+ | | 0x0000000E || Ring (Lt) | ||
+ | |- | ||
+ | | 0x0000000F || Ring (Rt) | ||
+ | |- | ||
+ | | 0x00000010 || Beard | ||
+ | |- | ||
+ | | 0x00000011 || Lipstick | ||
+ | |- | ||
+ | | 0x00000012 || Eyeshadow | ||
+ | |- | ||
+ | | 0x00000013 || Eyeliner | ||
+ | |- | ||
+ | | 0x00000014 || Blush | ||
+ | |- | ||
+ | | 0x00000015 || Makeup | ||
+ | |- | ||
+ | | 0x00000016 || Eyebrow | ||
+ | |- | ||
+ | | 0x00000017 || EyeColor | ||
+ | |- | ||
+ | | 0x00000018 || Glove | ||
+ | |- | ||
+ | | 0x00000019 || Socks | ||
+ | |- | ||
+ | | 0x0000001A || Mascara | ||
+ | |- | ||
+ | | 0x0000001B || Moles | ||
+ | |- | ||
+ | | 0x0000001C || Freckles | ||
+ | |- | ||
+ | | 0x0000001D || Weathering | ||
+ | |- | ||
+ | | 0x0000001E || EarringL | ||
+ | |- | ||
+ | | 0x0000001F || EarringR | ||
+ | |- | ||
+ | | 0x00000020 || ArmBand | ||
+ | |- | ||
+ | | 0x00000021 || Tattoo | ||
+ | |- | ||
+ | | 0x00000022 || TattooTemplate | ||
+ | |- | ||
+ | | 0x00000023 || Dental | ||
+ | |- | ||
+ | | 0x00000024 || LeftGarter | ||
+ | |- | ||
+ | | 0x00000025 || RightGarter | ||
+ | |- | ||
+ | | 0x00000026 || BirthMark | ||
+ | |- | ||
+ | | 0x00000027 || BodyHairChestUpper | ||
+ | |- | ||
+ | | 0x00000028 || BodyHairChestStomach | ||
+ | |- | ||
+ | | 0x00000029 || BodyHairBackLower | ||
+ | |- | ||
+ | | 0x0000002A || BodyHairBackUpper | ||
+ | |- | ||
+ | | 0x0000002B || BodyHairBackFull | ||
+ | |- | ||
+ | | 0x0000002C || BodyHairForearms | ||
+ | |- | ||
+ | | 0x0000002D || BodyHairLegsCalves | ||
+ | |- | ||
+ | | 0x0000002E || BodyHairLegsFeet | ||
+ | |- | ||
+ | | 0x0000002F || PetBody | ||
+ | |- | ||
+ | | 0x00000030 || PetTail | ||
+ | |- | ||
+ | | 0x00000031 || PetEars | ||
+ | |- | ||
+ | | 0x00000032 || PetMane | ||
+ | |- | ||
+ | | 0x00000033 || PetCollar/Bridle | ||
+ | |- | ||
+ | | 0x00000034 || PetSaddle | ||
+ | |- | ||
+ | | 0x00000035 || PeltLayer | ||
+ | |- | ||
+ | | 0x00000036 || BasePeltLayer | ||
+ | |- | ||
+ | | 0x00000037 || PetHooves | ||
+ | |- | ||
+ | | 0x00000038 || PetHorn | ||
+ | |- | ||
+ | | 0x00000039 || PetBlanket | ||
+ | |- | ||
+ | | 0x0000003A || PetBreastCollar | ||
+ | |- | ||
+ | | 0x0000003B || PetBeard | ||
+ | |- | ||
+ | | 0x0000003C || Last | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ===CAS Geom Flags=== | ||
+ | {| class="wikitable" border="1" | ||
|- | |- | ||
− | + | ! Flag | |
+ | ! Description | ||
|- | |- | ||
− | | | + | |0x00000001|| Mergable |
|- | |- | ||
− | | | + | |0x00000002|| IncludeMorphs |
|- | |- | ||
− | | | + | |0x00000004|| IncludeTweaks |
|- | |- | ||
− | | | + | |0x00000008|| IncludeTangents |
|- | |- | ||
− | | | + | |0x00000010|| FourBoneSkinning |
|- | |- | ||
− | | | + | |0x00000020|| TwoBoneSkinning |
|- | |- | ||
− | | | + | |0x00000040|| TwoQuatSkinning |
|- | |- | ||
− | | | + | |0x00000080|| OneQuatSkinning |
|- | |- | ||
− | | | + | |0x00000100|| SpecLevel0 |
|- | |- | ||
− | | | + | |0x00000200|| SpecLevel1 |
|- | |- | ||
− | | | + | |0x00000400|| SpecLevel2 |
|- | |- | ||
− | | | + | |0x00000800|| SpecLevel3 |
|- | |- | ||
− | | | + | |0x00001000|| SpecLevel4 |
|- | |- | ||
− | | | + | |0x00002000|| SpecLevel5 |
|- | |- | ||
− | | | + | |0x00004000|| Sorted |
|- | |- | ||
+ | |0x00008000|| ShadowCaster | ||
|} | |} | ||
− | + | {{TS3AdvancedModdingHeader}} | |
− | + |
Latest revision as of 21:49, 6 July 2013
Modding Reference by Category | |
---|---|
Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference |
CAS Part Data - CASP | ||
---|---|---|
TypeID: | 0x034AEECB | |
Game Version: | The Sims 3 |
Contents |
[edit] Overview
CAS Part Data: clothes, hair, accessories
(Original information by Karybdis, Additions and Clarifications by Delphy, Additions by LBeefus)
These use a similar format to 0x025ED6F4.
[edit] Format
DWORD version // 0x12 is current? DWORD offset // to resource reference table from end of header (ie offset + 8) //Presets DWORD presetCount --repeat(presetCount) DWORD length char16[length] // Embedded XML Preset (Unicode (LE)) DWORD 7STRING // UnicodeBE FLOAT sortPriority // CAS sorts on this value, from largest to smallest BYTE DWORD clothingType (see below) DWORD Type flags DWORD Age, Species, Gender and Handedness DWORD Clothing category BYTE index // of 0x034AEECB - CAS Part Data (naked) reference BYTE index // of 0x034AEECB - CAS Part Data (parent) reference BYTE index // of 0x062C8204 - Blend Info (fat) reference BYTE index // of 0x062C8204 - Blend Info (fit) reference BYTE index // of 0x062C8204 - Blend Info (thin) reference BYTE index // of 0x062C8204 - Blend Info (special) reference DWORD BYTE vpxyCount --repeat vpxyCount BYTE index // of 0x736884F1 - VPXY reference BYTE count2 //LOD Info count --repeat(count2) //CAS LOD Info BYTE Level DWORD DestTexture BYTE assetCount --repeat(assetCount) //CAS LOD Asset DWORD Sorting DWORD SpecLevel DWORD CastShadow BYTE diffuseCount --repeat diffuseCount BYTE index // of 0x033A1435 - TXTC (diffuse) reference BYTE specularCount --repeat specularCount BYTE index // of 0x033A1435 - TXTC (specular) reference BYTE diffuse2Count --repeat(diffuse2Count) BYTE index // of 0x033A1435 - TXTC (diffuse) reference BYTE specular2Count --repeat(specular2Count) BYTE index // of 0x033A1435 - TXTC (specular) reference BYTE boneDeltaCount --repeat(boneDeltaCount) BYTE index // of 0x0355E0A6 - Bone Deltas reference 7STRING // UnicodeBE shoe material // Resource reference table in I64GT format (not TGI64) BYTE count6 --repeat(count6) QWORD instance DWORD group DWORD type
[edit] Clothing Types
The Clothing Type is usually one of the following:
Clothing Type ID | Description |
---|---|
0x00000000 | None |
0x00000001 | Hair |
0x00000002 | Scalp |
0x00000003 | Face |
0x00000004 | Body |
0x00000005 | Top |
0x00000006 | Bottom |
0x00000007 | Shoes |
0x00000008 | FirstAccessory |
0x00000009 | Necklace |
0x0000000A | NoseRing |
0x0000000B | Earrings |
0x0000000C | Glasses (F) |
0x0000000D | Bracelets |
0x0000000E | Ring (Lt) |
0x0000000F | Ring (Rt) |
0x00000010 | Beard |
0x00000011 | Lipstick |
0x00000012 | Eyeshadow |
0x00000013 | Eyeliner |
0x00000014 | Blush |
0x00000015 | Makeup |
0x00000016 | Eyebrow |
0x00000017 | EyeColor |
0x00000018 | Glove |
0x00000019 | Socks |
0x0000001A | Mascara |
0x0000001B | Moles |
0x0000001C | Freckles |
0x0000001D | Weathering |
0x0000001E | EarringL |
0x0000001F | EarringR |
0x00000020 | ArmBand |
0x00000021 | Tattoo |
0x00000022 | TattooTemplate |
0x00000023 | Dental |
0x00000024 | LeftGarter |
0x00000025 | RightGarter |
0x00000026 | BirthMark |
0x00000027 | BodyHairChestUpper |
0x00000028 | BodyHairChestStomach |
0x00000029 | BodyHairBackLower |
0x0000002A | BodyHairBackUpper |
0x0000002B | BodyHairBackFull |
0x0000002C | BodyHairForearms |
0x0000002D | BodyHairLegsCalves |
0x0000002E | BodyHairLegsFeet |
0x0000002F | PetBody |
0x00000030 | PetTail |
0x00000031 | PetEars |
0x00000032 | PetMane |
0x00000033 | PetCollar/Bridle |
0x00000034 | PetSaddle |
0x00000035 | PeltLayer |
0x00000036 | BasePeltLayer |
0x00000037 | PetHooves |
0x00000038 | PetHorn |
0x00000039 | PetBlanket |
0x0000003A | PetBreastCollar |
0x0000003B | PetBeard |
0x0000003C | Last |
[edit] CAS Geom Flags
Flag | Description |
---|---|
0x00000001 | Mergable |
0x00000002 | IncludeMorphs |
0x00000004 | IncludeTweaks |
0x00000008 | IncludeTangents |
0x00000010 | FourBoneSkinning |
0x00000020 | TwoBoneSkinning |
0x00000040 | TwoQuatSkinning |
0x00000080 | OneQuatSkinning |
0x00000100 | SpecLevel0 |
0x00000200 | SpecLevel1 |
0x00000400 | SpecLevel2 |
0x00000800 | SpecLevel3 |
0x00001000 | SpecLevel4 |
0x00002000 | SpecLevel5 |
0x00004000 | Sorted |
0x00008000 | ShadowCaster |
Modding Reference by Category | |
---|---|
Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference |