Difference between revisions of "Sims 3:0x01D0E75D"

From SimsWiki
Jump to: navigation, search
 
(Material Definition)
Line 5: Line 5:
 
This is a [[Sims_3:RCOL]] chunk.
 
This is a [[Sims_3:RCOL]] chunk.
 
  DWORD // 'MATD'
 
  DWORD // 'MATD'
  {data} // unknown data content to end of chunk
+
  DWORD version
 +
DWORD // Either some sort of hash or 0
 +
DWORD // Either some sort of hash or 0
 +
DWORD length // Length of data that follows
 +
IF version >= 0x301
 +
  DWORD
 +
  DWORD
 +
Various data
 +
 
 +
The various data can be one of the following
 +
if version < 0x103
 +
  DWORD // 'MTRL'
 +
if version >= 0x103
 +
  DWORD // 'MTNF'
 +
DWORD
 +
if version < 0x103
 +
  WORD
 +
  WORD
 +
if version >= 0x103
 +
  DWORD datasize // Size of the following data block
 +
DWORD count
 +
count repeats of
 +
  DWORD field type hash // Not sure of the sources or names
 +
  DWORD data type // 1 = float, 2 = dword, 4 = dword
 +
  DWORD data count
 +
  DWORD offset // From the start of MTRL
 +
count repeats of
 +
  data count repeats of
 +
    type defined data
 +
    padding to DWORD boundry
 +
 
 +
Field type can be one of the following (Under construction)
 +
{|
 +
! Data
 +
! Hash
 +
|-
 +
| Diffuse
 +
| 0x637daa05
 +
|-
 +
| Specular
 +
| 0x2ce11842
 +
|-
 +
| Transparency
 +
| 0x05d22fd3
 +
|-
 +
| Shininess
 +
| 0xf755f7ff
 +
|}
 +
 
 +
 
 
<hr/>
 
<hr/>
 
[[Sims 3:Main Page]] -> [[Sims 3:PackedFileTypes]]
 
[[Sims 3:Main Page]] -> [[Sims 3:PackedFileTypes]]
 
<br/>[[Sims 3:Main Page]] -> [[Sims 3:RCOL]]
 
<br/>[[Sims 3:Main Page]] -> [[Sims 3:RCOL]]

Revision as of 19:08, 30 July 2009

Sims 3:Main Page -> Sims 3:PackedFileTypes
Sims 3:Main Page -> Sims 3:RCOL


Material Definition

This is a Sims_3:RCOL chunk.

DWORD // 'MATD'
DWORD version
DWORD // Either some sort of hash or 0
DWORD // Either some sort of hash or 0
DWORD length // Length of data that follows
IF version >= 0x301
  DWORD
  DWORD
Various data

The various data can be one of the following

if version < 0x103
  DWORD // 'MTRL'
if version >= 0x103
  DWORD // 'MTNF'
DWORD
if version < 0x103
  WORD
  WORD
if version >= 0x103
  DWORD datasize // Size of the following data block
DWORD count
count repeats of
  DWORD field type hash // Not sure of the sources or names
  DWORD data type // 1 = float, 2 = dword, 4 = dword
  DWORD data count
  DWORD offset // From the start of MTRL
count repeats of
  data count repeats of
    type defined data
    padding to DWORD boundry

Field type can be one of the following (Under construction)

Data Hash
Diffuse 0x637daa05
Specular 0x2ce11842
Transparency 0x05d22fd3
Shininess 0xf755f7ff



Sims 3:Main Page -> Sims 3:PackedFileTypes
Sims 3:Main Page -> Sims 3:RCOL

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox