Difference between revisions of "Sims 3:RCOL"

From SimsWiki
Jump to: navigation, search
(Resource Types)
m (Resource Types: Spelling correction)
 
(50 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 +
{{TS3AdvancedModdingHeader}}
 +
 +
 
==Overview==
 
==Overview==
 
Format used by various resources in the Scenegraph.  
 
Format used by various resources in the Scenegraph.  
  
 
==Format==
 
==Format==
<pre>
+
DWORD - Version
DWORD - Version
+
DWORD - Count of Internal Public Chunks (see [[Sims 3:RCOL#References|References]])
DWORD - DataType (changes between filetypes)
+
DWORD - Index3 (unused)
DWORD - 0
+
DWORD - ExternalCount
DWORD - Index1
+
DWORD - InternalCount
DWORD - Index2
+
 +
//Internal Chunks: These are the TGIs that identify each chunk
 +
-Repeat InternalCount Times
 +
QWORD - I64
 +
DWORD - TID
 +
DWORD - GID
 +
 +
//External Resources: These are TGIs of referenced items (e.g. DDS Image)
 +
-Repeat ExternalCount times
 +
QWORD - I64
 +
DWORD - TID
 +
DWORD - GID
 +
 +
-Repeat InternalCount times
 +
DWORD - Position of the Chunk (absolute)
 +
DWORD - Size of the Chunk
  
//Internal Chunks
+
===References===
-Repeat Index2 Count Times
+
Block references are 1 based (0 is reserved for null references), with a flag for the type of reference.
QWORD - I64
+
{| class="wikitable" border="1" ! colspan="3"
DWORD - TID
+
|-
DWORD - GID
+
!Flag
 
+
!Type
//External Resources
+
!Table
-Repeat Index1 Count times
+
!Comments
QWORD - I64
+
|-
DWORD - TID
+
|0x0xxxxxxx || Public || Internal Chunks ||
DWORD - GID
+
|-
 +
|0x1xxxxxxx || Private || Internal Chunks || Add on the "Count of Internal Public Chunks" to get the actual index
 +
|-
 +
|0x2xxxxxxx || External || ||Appears to be unused
 +
|-
 +
|0x3xxxxxxx || Delayed || External Resources ||
 +
|-
 +
|}
  
-Repeat Index2 Count times
 
DWORD - Offset of the Chunk
 
DWORD - Size of the Chunk
 
</pre>
 
 
==Chunks==
 
==Chunks==
The Type ID will also be the first chunk after the header.
+
The Type ID will also be the first chunk after the header(with the exception [[Sims_3:0x015A1849|GEOM]]).
  
 
===Resource Types===
 
===Resource Types===
 
These are the possible resource types, they are named by their first chunk.
 
These are the possible resource types, they are named by their first chunk.
{| border="1"
+
{| class="wikitable sortable" border="1"
! Type ID
+
! Type ID!! Name!! Description
! Name
+
! Description
+
 
|-
 
|-
| [[Sims3:0x015A1849|0x015A1849]]
+
| [[Sims_3:0x015A1849|0x015A1849]]|| GEOM|| Body Geometry
| GEOM
+
| Body Geometry
+
 
|-
 
|-
| [[Sims3:0x01661233|0x01661233]]
+
| [[Sims_3:0x01661233|0x01661233]]|| MODL|| Object Geometry
| MODL
+
| Object Model
+
 
|-
 
|-
| [[Sims3:0x01D10F34|0x01D10F34]]
+
| [[Sims_3:0x01D0E75D|0x01D0E75D]]|| MATD|| Material Definition
| MLOD
+
| Object Model LODs
+
 
|-
 
|-
| [[Sims3:0x01D0E75D]]
+
| [[Sims_3:0x01D10F34|0x01D10F34]]|| MLOD|| Object Geometry LOD
| MATD
+
|  
+
 
|-
 
|-
| [[Sims3:0x02019972]]
+
| [[Sims_3:0x02019972|0x02019972]]|| MTST|| Material Sets
| MTST
+
|  
+
 
|-
 
|-
| [[Sims3:0x021D7E8C]]
+
| [[Sims_3:0x021D7E8C|0x021D7E8C]]|| TREE|| Speed Tree Data
| TREE
+
|  
+
 
|-
 
|-
| [[Sims3:0x033260E3]]
+
| [[Sims_3:0x02D5DF13|0x02D5DF13]]|| S_SM|| Jazz State Machine
| TkMk
+
|  
+
 
|-
 
|-
| [[Sims3:0x02D5DF13]]
+
| [[Sims_3:0x033260E3|0x033260E3]]|| TkMk|| Track Mask
| Jazz
+
| Animation Sequences
+
 
|-
 
|-
| [[Sims3:0x03B4C61D]]
+
| [[Sims_3:0x0355E0A6|0x0355E0A6]]||BOND|| Slot Adjusts
| LITE
+
|  
+
 
|-
 
|-
| [[Sims3:0x63A33EA7]]
+
| [[Sims_3:0x03B4C61D|0x03B4C61D]]|| LITE|| Lighting Data
| ANIM
+
|  
+
 
|-
 
|-
| [[Sims3:0x736884F1]]
+
| [[Sims_3:0x63A33EA7|0x63A33EA7]]|| ANIM|| Animated Texture
| VPXY
+
| Model Links
+
 
|-
 
|-
| [[Sims3:0xD3044521]]
+
| [[Sims_3:0x736884F1|0x736884F1]]|| VPXY|| Model Links
| RSLT
+
| Slot Definition
+
 
|-
 
|-
| [[Sims3:0xD382BF57]]
+
| [[Sims_3:0xD3044521|0xD3044521]]|| RSLT|| Slot Definition
| FTPT
+
| Model Footprint
+
 
|-
 
|-
| [[Sims3:0x0355E0A6]]
+
| [[Sims_3:0xD382BF57|0xD382BF57]]|| FTPT|| Model Footprint
|  
+
| Slot Adjusts
+
 
|-
 
|-
 
|}
 
|}
Line 96: Line 87:
 
===Model Chunks===
 
===Model Chunks===
 
Possible chunks embedded in MODL and MLOD resources.
 
Possible chunks embedded in MODL and MLOD resources.
{| border="1"
+
{| class="wikitable sortable" border="1"
! Type ID
+
! Type ID!! Name!! Description
! Name
+
! Description
+
 
|-
 
|-
| [[0x01661233]]
+
| [[Sims_3:0x01661233|0x01661233]]|| MODL|| Object Geometry
| MODL
+
| Object Geometry
+
 
|-
 
|-
| [[0x01D10F34]]
+
| [[Sims_3:0x01D0E6FB|0x01D0E6FB]]|| VBUF|| Vertex Buffer
| MLOD
+
| Object Geometry LODs
+
 
|-
 
|-
| [[0x01D0E723]]
+
| [[Sims_3:0x01D0E6FB|0x0229684B]]|| VBUF|| Vertex Buffer(Used in shadow meshes, no associated VRTF)
| VRTF
+
| Vertex Format
+
 
|-
 
|-
| [[0x01D0E6FB]]
+
| [[Sims_3:0x01D0E6FB#Swizzle_Info|0x00000000]]||  || Vertex Buffer SwizzleInfo
| VBUF
+
| Vertex Buffer
+
 
|-
 
|-
| [[0x01D0E70F]]
+
| [[Sims_3:0x01D0E70F|0x01D0E70F]]|| IBUF|| Index Buffer
| IBUF
+
| Index Buffer
+
 
|-
 
|-
| [[0x01D0E76B]]
+
| [[Sims_3:0x01D0E70F|0x0229684F]]|| IBUF|| Index Buffer(Used in shadow meshes)
| SKIN
+
|  
+
 
|-
 
|-
| [[0x01D0E75D]]
+
| [[Sims_3:0x01D0E723|0x01D0E723]]|| VRTF|| Vertex Format
| MATD
+
|  
+
 
|-
 
|-
| [[0x02019972]]
+
| [[Sims_3:0x01D0E75D|0x01D0E75D]]|| MATD|| Material Definition
| MTST
+
|-
|  
+
| [[Sims_3:0x01D0E76B|0x01D0E76B]]|| SKIN|| Joint Definitions
 +
|-
 +
| [[Sims_3:0x01D10F34|0x01D10F34]]|| MLOD|| Object Geometry LODs
 +
|-
 +
| [[Sims_3:0x02019972|0x02019972]]|| MTST|| Material Sets
 
|-
 
|-
 
|}
 
|}
 +
 +
===Jazz Chunks===
 +
Possible chunks embedded in jazz S_SM resources
 +
{| class="wikitable sortable" border="1"
 +
! Type ID!! Name!! Description
 +
|-
 +
| [[Sims_3:0x02D5DF13#S_SM_-_State_Machine_Definition|0x02D5DF13]]||S_SM||State Machine
 +
|-
 +
| [[Sims_3:0x02D5DF13#S_St_-_State_Definition|0x02EEDAFE]]||S_St||State
 +
|-
 +
| [[Sims_3:0x02D5DF13#S_DG_-_Decision_Graph|0x02EEDB18]]||S_DG||Decision Graph
 +
|-
 +
| [[Sims_3:0x02D5DF13#S_AD_-_Actor_Definition|0x02EEDB2F]]||S_AD||Actor Definition
 +
|-
 +
| [[Sims_3:0x02D5DF13#S_PD_-_Parameter_Definition|0x02EEDB46]]||S_PD||Parameter Definition
 +
|-
 +
| [[Sims_3:0x02D5DF13#Play_-_Play_Animation_Node|0x02EEDB5F]]||Play||Play Animation Node
 +
|-
 +
| [[Sims_3:0x02D5DF13#Rand_-_Random_Node|0x02EEDB70]]||Rand||Random Node
 +
|-
 +
| [[Sims_3:0x02D5DF13#SoPn_-_Select_on_Parameter_Node|0x02EEDB92]]||SoPn||Select on Parameter Node
 +
|-
 +
| [[Sims_3:0x02EEDBA5|0x02EEDBA5]]||SoDn||Select on Destination Node (Unused)
 +
|-
 +
| [[Sims_3:0x02D5DF13#SNSN_-_Next_State_Node|0x02EEEBDC]]||SNSN||Next State Node
 +
|-
 +
| [[Sims_3:0x02D5DF13#Prop_-_Create_Prop_Node|0x02EEEBDD]]||Prop||Create Prop Node
 +
|-
 +
| [[Sims_3:0x02D5DF13#AcOp_-_Actor_Operation_Node|0x02EEEBDE]]||AcOp||Actor Operation Node
 +
|-
 +
| [[Sims_3:0x02D5DF13#Stop_-_Stop_Animation_Node|0x0344D438]]||Stop||Stop Animation Node
 +
|-
 +
|}
 +
 +
{{TS3AdvancedModdingHeader}}

Latest revision as of 01:31, 10 July 2014

Modding Reference by Category

Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference 


Contents

[edit] Overview

Format used by various resources in the Scenegraph.

[edit] Format

DWORD - Version
DWORD - Count of Internal Public Chunks (see References)
DWORD - Index3 (unused)
DWORD - ExternalCount
DWORD - InternalCount

//Internal Chunks: These are the TGIs that identify each chunk
-Repeat InternalCount Times
QWORD - I64
DWORD - TID
DWORD - GID

//External Resources: These are TGIs of referenced items (e.g. DDS Image)
-Repeat ExternalCount times 
QWORD - I64
DWORD - TID
DWORD - GID

-Repeat InternalCount times
DWORD - Position of the Chunk (absolute)
DWORD - Size of the Chunk

[edit] References

Block references are 1 based (0 is reserved for null references), with a flag for the type of reference.

Flag Type Table Comments
0x0xxxxxxx Public Internal Chunks
0x1xxxxxxx Private Internal Chunks Add on the "Count of Internal Public Chunks" to get the actual index
0x2xxxxxxx External Appears to be unused
0x3xxxxxxx Delayed External Resources

[edit] Chunks

The Type ID will also be the first chunk after the header(with the exception GEOM).

[edit] Resource Types

These are the possible resource types, they are named by their first chunk.

Type ID Name Description
0x015A1849 GEOM Body Geometry
0x01661233 MODL Object Geometry
0x01D0E75D MATD Material Definition
0x01D10F34 MLOD Object Geometry LOD
0x02019972 MTST Material Sets
0x021D7E8C TREE Speed Tree Data
0x02D5DF13 S_SM Jazz State Machine
0x033260E3 TkMk Track Mask
0x0355E0A6 BOND Slot Adjusts
0x03B4C61D LITE Lighting Data
0x63A33EA7 ANIM Animated Texture
0x736884F1 VPXY Model Links
0xD3044521 RSLT Slot Definition
0xD382BF57 FTPT Model Footprint

[edit] Model Chunks

Possible chunks embedded in MODL and MLOD resources.

Type ID Name Description
0x01661233 MODL Object Geometry
0x01D0E6FB VBUF Vertex Buffer
0x0229684B VBUF Vertex Buffer(Used in shadow meshes, no associated VRTF)
0x00000000 Vertex Buffer SwizzleInfo
0x01D0E70F IBUF Index Buffer
0x0229684F IBUF Index Buffer(Used in shadow meshes)
0x01D0E723 VRTF Vertex Format
0x01D0E75D MATD Material Definition
0x01D0E76B SKIN Joint Definitions
0x01D10F34 MLOD Object Geometry LODs
0x02019972 MTST Material Sets

[edit] Jazz Chunks

Possible chunks embedded in jazz S_SM resources

Type ID Name Description
0x02D5DF13 S_SM State Machine
0x02EEDAFE S_St State
0x02EEDB18 S_DG Decision Graph
0x02EEDB2F S_AD Actor Definition
0x02EEDB46 S_PD Parameter Definition
0x02EEDB5F Play Play Animation Node
0x02EEDB70 Rand Random Node
0x02EEDB92 SoPn Select on Parameter Node
0x02EEDBA5 SoDn Select on Destination Node (Unused)
0x02EEEBDC SNSN Next State Node
0x02EEEBDD Prop Create Prop Node
0x02EEEBDE AcOp Actor Operation Node
0x0344D438 Stop Stop Animation Node
Modding Reference by Category

Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference 

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox