<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://www.simswiki.info/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://simswiki.info/index.php?action=history&amp;feed=atom&amp;title=Sims_4%3A0x01D0E75D</id>
		<title>Sims 4:0x01D0E75D - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://simswiki.info/index.php?action=history&amp;feed=atom&amp;title=Sims_4%3A0x01D0E75D"/>
		<link rel="alternate" type="text/html" href="http://simswiki.info/index.php?title=Sims_4:0x01D0E75D&amp;action=history"/>
		<updated>2026-05-17T04:37:29Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://simswiki.info/index.php?title=Sims_4:0x01D0E75D&amp;diff=68320&amp;oldid=prev</id>
		<title>ChaosMageX: /* Param DataTypes */ Updated with known changes to format in TS4</title>
		<link rel="alternate" type="text/html" href="http://simswiki.info/index.php?title=Sims_4:0x01D0E75D&amp;diff=68320&amp;oldid=prev"/>
				<updated>2014-07-16T00:07:06Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Param DataTypes: &lt;/span&gt; Updated with known changes to format in TS4&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 00:07, 16 July 2014&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 4 || Texture&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 4 || Texture&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;| 0x10004 || Texture&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 79:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 81:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 2 || * || Int[] ||&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 2 || * || Int[] ||&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 4 || 4 || Texture|| &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;A resource key index.&amp;#160; &lt;/del&gt;In most cases it is a [[Sims 4:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;RCOL#References&lt;/del&gt;|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;RCOL reference&lt;/del&gt;]], however in the case of [[Sims 4:0x015A1849|GEOM]], it is a [[Sims 4:Key_table|Key Table]] index&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;. This data &lt;/del&gt;is padded to 16 bytes with 00.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 4 || 4 || Texture|| In most cases it is a [[Sims 4:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Key_table&lt;/ins&gt;|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ResourceKey&lt;/ins&gt;]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(in ITG order)&lt;/ins&gt;, however in the case of [[Sims 4:0x015A1849|GEOM]], it is a [[Sims 4:Key_table|Key Table]] index&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, which &lt;/ins&gt;is padded to 16 bytes with 00.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 4 || 5 || TextureKey|| [[Sims 4:Key_table|ResourceKey]](in ITG order) padded to 20 bytes with 00&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 4 || 5 || TextureKey|| [[Sims 4:Key_table|ResourceKey]](in ITG order) padded to 20 bytes with 00&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ChaosMageX</name></author>	</entry>

	<entry>
		<id>http://simswiki.info/index.php?title=Sims_4:0x01D0E75D&amp;diff=68286&amp;oldid=prev</id>
		<title>ChaosMageX: /* Overview */ Improved a link</title>
		<link rel="alternate" type="text/html" href="http://simswiki.info/index.php?title=Sims_4:0x01D0E75D&amp;diff=68286&amp;oldid=prev"/>
				<updated>2014-07-10T03:31:03Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Overview: &lt;/span&gt; Improved a link&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 03:31, 10 July 2014&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Overview==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Overview==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;a &lt;/del&gt;[[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Sims 4&lt;/del&gt;:RCOL]] chunk.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;an &lt;/ins&gt;[[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Sims_4&lt;/ins&gt;:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;RCOL|&lt;/ins&gt;RCOL]] chunk.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; DWORD 'MATD'&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; DWORD 'MATD'&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; DWORD version&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; DWORD version&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ChaosMageX</name></author>	</entry>

	<entry>
		<id>http://simswiki.info/index.php?title=Sims_4:0x01D0E75D&amp;diff=68285&amp;oldid=prev</id>
		<title>ChaosMageX: Fixing links</title>
		<link rel="alternate" type="text/html" href="http://simswiki.info/index.php?title=Sims_4:0x01D0E75D&amp;diff=68285&amp;oldid=prev"/>
				<updated>2014-07-10T03:29:48Z</updated>
		
		<summary type="html">&lt;p&gt;Fixing links&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 03:29, 10 July 2014&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 	DWORD param name hash	// Valid values depend on the [[Sims 4:Shaders|Shader]] used&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 	DWORD param name hash	// Valid values depend on the [[Sims 4:Shaders|Shader]] used&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 				// see [[Sims 4:Shaders\Params|ShaderParams]] for another list&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 				// see [[Sims 4:Shaders\Params|ShaderParams]] for another list&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 	DWORD			// [[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Sims 4&lt;/del&gt;:0x01D0E75D#Param DataTypes|Data type code]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 	DWORD			// [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Sims_4&lt;/ins&gt;:0x01D0E75D#Param DataTypes|Data type code]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 	DWORD data size (in DWORDS)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 	DWORD data size (in DWORDS)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 	DWORD data offset	// From 'MTRL' or 'MTNF'&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 	DWORD data offset	// From 'MTRL' or 'MTNF'&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; --count repeats of&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; --count repeats of&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 	--data count repeats of&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 	--data count repeats of&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 		--insert data // see [[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Sims 4&lt;/del&gt;:0x01D0E75D#Param DataTypes|Param Datatypes]] for possible typecode/size combos&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 		--insert data // see [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Sims_4&lt;/ins&gt;:0x01D0E75D#Param DataTypes|Param Datatypes]] for possible typecode/size combos&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 		--insert padding to DWORD boundry&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; 		--insert padding to DWORD boundry&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ChaosMageX</name></author>	</entry>

	<entry>
		<id>http://simswiki.info/index.php?title=Sims_4:0x01D0E75D&amp;diff=68284&amp;oldid=prev</id>
		<title>ChaosMageX: Created MATD format specification page for TS4, which was mostly copied from the same format for TS3</title>
		<link rel="alternate" type="text/html" href="http://simswiki.info/index.php?title=Sims_4:0x01D0E75D&amp;diff=68284&amp;oldid=prev"/>
				<updated>2014-07-10T03:26:51Z</updated>
		
		<summary type="html">&lt;p&gt;Created MATD format specification page for TS4, which was mostly copied from the same format for TS3&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{TS4AdvancedModdingHeader}}&lt;br /&gt;
{{TS4Resource&lt;br /&gt;
|name=Material Definition - MATD&lt;br /&gt;
|typeid=0x01D0E75D&lt;br /&gt;
|expansion=The Sims 4&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br clear=&amp;quot;all&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
This is a [[Sims 4:RCOL]] chunk.&lt;br /&gt;
 DWORD 'MATD'&lt;br /&gt;
 DWORD version&lt;br /&gt;
 DWORD		// Material name hash or 0&lt;br /&gt;
 DWORD		// [[Sims 4:Shaders|Shader]] name hash or 0&lt;br /&gt;
 DWORD length	// Length from 'MTRL' or 'MTNF'; 16+(16*count)+(4*parmcount)&lt;br /&gt;
 --if version &amp;lt; 0x103&lt;br /&gt;
 	DWORD 'MTRL'   // Used instead of MTNF if the internal list of resource keys is null.&lt;br /&gt;
 	DWORD 0&lt;br /&gt;
 	WORD&lt;br /&gt;
 	WORD&lt;br /&gt;
 --else if version &amp;gt;= 0x103&lt;br /&gt;
 	DWORD IsVideoSurface	// boolean&lt;br /&gt;
 	DWORD IsPaintingSurface //&lt;br /&gt;
 	DWORD 'MTNF' or 'MTRL'	// Used if the internal list of resource keys is non-null.&lt;br /&gt;
 				// Note that it may still just be of zero length.&lt;br /&gt;
                                // TODO: Is 'MTNF' even used anymore?  Will using it case problems in TS4?&lt;br /&gt;
 	DWORD 0&lt;br /&gt;
 	DWORD datasize	// Size of the data block (total parms*4)&lt;br /&gt;
 &lt;br /&gt;
 DWORD count&lt;br /&gt;
 --count repeats of&lt;br /&gt;
 	DWORD param name hash	// Valid values depend on the [[Sims 4:Shaders|Shader]] used&lt;br /&gt;
 				// see [[Sims 4:Shaders\Params|ShaderParams]] for another list&lt;br /&gt;
 	DWORD			// [[Sims 4:0x01D0E75D#Param DataTypes|Data type code]]&lt;br /&gt;
 	DWORD data size (in DWORDS)&lt;br /&gt;
 	DWORD data offset	// From 'MTRL' or 'MTNF'&lt;br /&gt;
 &lt;br /&gt;
 --count repeats of&lt;br /&gt;
 	--data count repeats of  &lt;br /&gt;
 		--insert data // see [[Sims 4:0x01D0E75D#Param DataTypes|Param Datatypes]] for possible typecode/size combos&lt;br /&gt;
 		--insert padding to DWORD boundry&lt;br /&gt;
&lt;br /&gt;
==Param DataTypes==&lt;br /&gt;
{|border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | TypeCodes&lt;br /&gt;
|-&lt;br /&gt;
! Id&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Float&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Int&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Texture&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
|&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;4&amp;quot; | DataType&lt;br /&gt;
|-&lt;br /&gt;
! TypeCode&lt;br /&gt;
! Size(in DWORDs)&lt;br /&gt;
! Data&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 1 || Float ||&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 2 || Vector2 ||&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 3 || Vector3 ||&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 4 || Vector4 ||&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 1 || Int ||&lt;br /&gt;
|-&lt;br /&gt;
| 2 || * || Int[] ||&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 4 || Texture|| A resource key index.  In most cases it is a [[Sims 4:RCOL#References|RCOL reference]], however in the case of [[Sims 4:0x015A1849|GEOM]], it is a [[Sims 4:Key_table|Key Table]] index. This data is padded to 16 bytes with 00.&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 5 || TextureKey|| [[Sims 4:Key_table|ResourceKey]](in ITG order) padded to 20 bytes with 00&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Notes===&lt;br /&gt;
# Valid texture reference types include { [[Sims 4:0x033A1435|TXTC]], [[Sims 4:0x00B2D882|DDS]],  [[Sims 4:0x63A33EA7|ANIM]] } resource types.&lt;br /&gt;
&lt;br /&gt;
{{TS4AdvancedModdingHeader}}&lt;/div&gt;</summary>
		<author><name>ChaosMageX</name></author>	</entry>

	</feed>