http://simswiki.info/index.php?title=Tutorial:Sims_3_Pure_Scripting_Modding&feed=atom&action=historyTutorial:Sims 3 Pure Scripting Modding - Revision history2024-03-29T00:51:02ZRevision history for this page on the wikiMediaWiki 1.20.2http://simswiki.info/index.php?title=Tutorial:Sims_3_Pure_Scripting_Modding&diff=69663&oldid=prevDeeDawg: /* What You Need */ Updated link to S3PE, as the Simlogical forums have been closed down2016-01-06T10:10:46Z<p><span dir="auto"><span class="autocomment">What You Need: </span> Updated link to S3PE, as the Simlogical forums have been closed down</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 10:10, 6 January 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 13:</td>
<td colspan="2" class="diff-lineno">Line 13:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Or '''Microsoft Visual Studio Express 2012 for Windows Desktop'''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Or '''Microsoft Visual Studio Express 2012 for Windows Desktop'''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Or '''[https://www.visualstudio.com/products/visual-studio-community-vs Microsoft Visual Studio Community]'''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Or '''[https://www.visualstudio.com/products/visual-studio-community-vs Microsoft Visual Studio Community]'''</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* '''[http://<del class="diffchange diffchange-inline">dino</del>.<del class="diffchange diffchange-inline">drealm.info</del>/<del class="diffchange diffchange-inline">den</del>/<del class="diffchange diffchange-inline">denforum</del>/<del class="diffchange diffchange-inline">index.php?board=19.0 </del>Sims3 Package Editor]''' - simply called S3PE later in this tutorial</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* '''[http://<ins class="diffchange diffchange-inline">sourceforge</ins>.<ins class="diffchange diffchange-inline">net</ins>/<ins class="diffchange diffchange-inline">projects</ins>/<ins class="diffchange diffchange-inline">sims3tools</ins>/ Sims3 Package Editor]''' - simply called S3PE later in this tutorial</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''[http://www.modthesims.info/showthread.php?t=436481 .NET assembly browser/decompiler]''' - this tutorial refers to redgate .NET Reflector, simply called Reflector later on</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''[http://www.modthesims.info/showthread.php?t=436481 .NET assembly browser/decompiler]''' - this tutorial refers to redgate .NET Reflector, simply called Reflector later on</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''A basic understanding of the C# syntax or at least any C-like language.'''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''A basic understanding of the C# syntax or at least any C-like language.'''</div></td></tr>
</table>DeeDawghttp://simswiki.info/index.php?title=Tutorial:Sims_3_Pure_Scripting_Modding&diff=69662&oldid=prevDeeDawg: /* What You Need */ Removed links to earlier versions of Visual Studio, as Microsoft no longer provides downloads for these. Added link to the new Community version.2016-01-06T10:06:29Z<p><span dir="auto"><span class="autocomment">What You Need: </span> Removed links to earlier versions of Visual Studio, as Microsoft no longer provides downloads for these. Added link to the new Community version.</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 10:06, 6 January 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 9:</td>
<td colspan="2" class="diff-lineno">Line 9:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==What You Need==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==What You Need==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* '''<del class="diffchange diffchange-inline">[http://www.microsoft.com/visualstudio/en-us/products/2008-editions/express </del>Microsoft Visual C# Express 2008<del class="diffchange diffchange-inline">]</del>''' - simply called VS later in this tutorial</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* '''Microsoft Visual C# Express 2008''' - simply called VS later in this tutorial</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>** Or '''<del class="diffchange diffchange-inline">[http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express </del>Microsoft Visual C# 2010 Express<del class="diffchange diffchange-inline">]</del>'''</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>** Or '''Microsoft Visual C# 2010 Express<ins class="diffchange diffchange-inline">'''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>** Or '''[<del class="diffchange diffchange-inline">http</del>://www.<del class="diffchange diffchange-inline">microsoft</del>.com<del class="diffchange diffchange-inline">/visualstudio/eng</del>/products/visual-studio-<del class="diffchange diffchange-inline">express</del>-<del class="diffchange diffchange-inline">for-windows-desktop </del>Microsoft Visual Studio <del class="diffchange diffchange-inline">Express 2012 for Windows Desktop</del>]'''</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">** Or '''Microsoft Visual Studio Express 2012 for Windows Desktop</ins>'''</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>** Or '''[<ins class="diffchange diffchange-inline">https</ins>://www.<ins class="diffchange diffchange-inline">visualstudio</ins>.com/products/visual-studio-<ins class="diffchange diffchange-inline">community</ins>-<ins class="diffchange diffchange-inline">vs </ins>Microsoft Visual Studio <ins class="diffchange diffchange-inline">Community</ins>]'''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''[http://dino.drealm.info/den/denforum/index.php?board=19.0 Sims3 Package Editor]''' - simply called S3PE later in this tutorial</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''[http://dino.drealm.info/den/denforum/index.php?board=19.0 Sims3 Package Editor]''' - simply called S3PE later in this tutorial</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''[http://www.modthesims.info/showthread.php?t=436481 .NET assembly browser/decompiler]''' - this tutorial refers to redgate .NET Reflector, simply called Reflector later on</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''[http://www.modthesims.info/showthread.php?t=436481 .NET assembly browser/decompiler]''' - this tutorial refers to redgate .NET Reflector, simply called Reflector later on</div></td></tr>
</table>DeeDawghttp://simswiki.info/index.php?title=Tutorial:Sims_3_Pure_Scripting_Modding&diff=65524&oldid=prevPljones: /* Building The Package */2013-07-05T22:25:30Z<p><span dir="auto"><span class="autocomment">Building The Package</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 22:25, 5 July 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 210:</td>
<td colspan="2" class="diff-lineno">Line 210:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Enter 0 for the Group.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Enter 0 for the Group.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Here the Instance value is important, so get the Name right.  It must be the namespace plus class name of the class where the tunable variable is located. In the case of this tutorial that's TwoBTech.Pausinator.  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Here the Instance value is important, so get the Name right.  It must be the namespace plus class name of the class where the tunable variable is located. In the case of this tutorial that's TwoBTech.Pausinator.  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">*With the _XML resource selected, choose Resource->Import->From file... and this time import the XML text file you created. S3PE will show the content of the XML resource in its preview window. Make sure that the content begins with an angle bracket and not with some unintelligible characters. That is a common error.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br clear="all" \></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br clear="all" \></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">Click on Ok, and then just like for the .dll file click on Grid and this time import the XML text file you created. S3PE will show the content of the XML resource in its preview window. Make sure that the content begins with an angle bracket and not with some unintelligible characters. That is a common error.</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Save the package.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Save the package.</div></td></tr>
</table>Pljoneshttp://simswiki.info/index.php?title=Tutorial:Sims_3_Pure_Scripting_Modding&diff=65523&oldid=prevPljones: /* Building The Package */2013-07-05T22:23:22Z<p><span dir="auto"><span class="autocomment">Building The Package</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 22:23, 5 July 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 188:</td>
<td colspan="2" class="diff-lineno">Line 188:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Building The Package==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Building The Package==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Open S3PE and click on File -> New<del class="diffchange diffchange-inline">. Now click on Tools -> FNV Hash...<br><br></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Open S3PE and click on File -> New <ins class="diffchange diffchange-inline">to start </ins>a <ins class="diffchange diffchange-inline">new package</ins>.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">[[Image:PureScriptingTut_FNVHash.jpg|right|300px]]</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*Enter </del>a <del class="diffchange diffchange-inline">name for your script resource. The exact name isn't important, but it should be something that is unique for you.</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*Click on Calculate and copy the value in the FNV64 field. That value will be the instance of your script resource</del>.<del class="diffchange diffchange-inline"><br clear="all" \></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">First add the script itself:</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Image:PureScriptingTut_ResourceAdd.jpg|right|300px]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Image:PureScriptingTut_ResourceAdd.jpg|right|300px]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*<del class="diffchange diffchange-inline">Now close the FNV Hash tool and back in the S3PE main window, click </del>on Resource -> Add...</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*<ins class="diffchange diffchange-inline">Click </ins>on Resource -> Add...</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*<del class="diffchange diffchange-inline">As type choose </del>S3SA. Enter 0 for the Group <del class="diffchange diffchange-inline">and paste the FNV64 value into the Instance field</del>. <del class="diffchange diffchange-inline">For convenience, tick the "Use resource name" </del>field and enter <del class="diffchange diffchange-inline">the </del>name <del class="diffchange diffchange-inline">of the </del>resource <del class="diffchange diffchange-inline">in </del>the <del class="diffchange diffchange-inline">Name field</del>. Once you're done, click on Ok.<del class="diffchange diffchange-inline"><br clear="all" \></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*<ins class="diffchange diffchange-inline">Choose </ins>S3SA <ins class="diffchange diffchange-inline">for Type</ins>.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*</ins>Enter 0 for the Group.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*Go down to Name </ins>field and enter <ins class="diffchange diffchange-inline">a </ins>name <ins class="diffchange diffchange-inline">for your script </ins>resource<ins class="diffchange diffchange-inline">. The exact name isn't important, but it should be something that is unique for you.  Click </ins>the <ins class="diffchange diffchange-inline">FNV64 button</ins>.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*</ins>Once you're done, click on Ok. S3PE will now show the S3SA resource and a _KEY resource. You can just ignore the latter one.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>S3PE will now show the S3SA resource and a _KEY resource. You can just ignore the latter one. Select the S3SA resource <del class="diffchange diffchange-inline">and on the bottom of the S3PE window, click on Grid</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*</ins>Select the S3SA resource.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*<ins class="diffchange diffchange-inline">Choose Resource</ins>-<ins class="diffchange diffchange-inline">></ins>Import <ins class="diffchange diffchange-inline">DLL</ins>.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*Navigate to the .dll file VS created. It will be in <tt>Documents\Visual Studio xxxx\Projects\{YourProjectName}\{YourProjectName}\bin\Release</tt>. Select the file; click on the Open button and <ins class="diffchange diffchange-inline">then select "Yes" to the prompt for commit</ins>.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><br clear="all" \></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">[[Image:PureScriptingTut_ImportScript.jpg|right|300px]]</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*<del class="diffchange diffchange-inline">Select Import/Export/Edit..., click on the drop</del>-<del class="diffchange diffchange-inline">down button on the right of "Assembly" and click on </del>Import<del class="diffchange diffchange-inline">..</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*Navigate to the .dll file VS created. It will be in <tt>Documents\Visual Studio xxxx\Projects\{YourProjectName}\{YourProjectName}\bin\Release</tt>. Select the file; click on the Open button and <del class="diffchange diffchange-inline">back in S3PE's Data Grid window click on Commit</del>.<br clear="all" \></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>It's time to save your package. Usually, it's a good idea to begin the filename with your username or something that will identify all your mods.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>It's time to save your package. Usually, it's a good idea to begin the filename with your username or something that will identify all your mods.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Now on to the tuning XML:</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Image:PureScriptingTut_ResourceAdd_XML.jpg|right|300px]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Image:PureScriptingTut_ResourceAdd_XML.jpg|right|300px]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*<del class="diffchange diffchange-inline">Start </del>the <del class="diffchange diffchange-inline">FNV Hash tool again</del>. <del class="diffchange diffchange-inline">This time FNV hash </del>the namespace plus class name of the class where the tunable variable is located. In the case of this tutorial that's TwoBTech.Pausinator.  </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*<ins class="diffchange diffchange-inline">Click on Resource -> Add... once more</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*Add another resource. The type is _XML 0x0333406C. This time the Instance value '''IS''' important.</del><br clear="all" \></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*Choose _XML 0x0333406C for Type.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*Enter 0 for the Group.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*Here the Instance value is important, so get </ins>the <ins class="diffchange diffchange-inline">Name right</ins>. <ins class="diffchange diffchange-inline"> It must be </ins>the namespace plus class name of the class where the tunable variable is located. In the case of this tutorial that's TwoBTech.Pausinator.  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><br clear="all" \></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>Pljoneshttp://simswiki.info/index.php?title=Tutorial:Sims_3_Pure_Scripting_Modding&diff=65519&oldid=prevPljones at 21:59, 5 July 20132013-07-05T21:59:47Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 21:59, 5 July 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 19:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Getting Started==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Getting Started==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Extract the core libraries with S3PE if you haven't already. Here's how to do that:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Extract the core libraries with S3PE if you haven't already. Here's how to do that:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#Open S3PE and click on File -> <del class="diffchange diffchange-inline">Open…</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#Open S3PE and click on File -> <ins class="diffchange diffchange-inline">Open...</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Navigate to the installation folder of The Sims 3 and from there to the sub-folder where the executable is located.<br>In this folder are three packages: gameplay.package, scripts.package, and simcore.package</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Navigate to the installation folder of The Sims 3 and from there to the sub-folder where the executable is located.<br>In this folder are three packages: gameplay.package, scripts.package, and simcore.package</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Open one of these packages.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Open one of these packages.</div></td></tr>
</table>Pljoneshttp://simswiki.info/index.php?title=Tutorial:Sims_3_Pure_Scripting_Modding&diff=65518&oldid=prevPljones: /* Building The Package */2013-07-05T21:59:18Z<p><span dir="auto"><span class="autocomment">Building The Package</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 21:59, 5 July 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 188:</td>
<td colspan="2" class="diff-lineno">Line 188:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Building The Package==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Building The Package==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Open S3PE and click on File -> New. Now click on Tools -> FNV <del class="diffchange diffchange-inline">Hash…</del><br><br></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Open S3PE and click on File -> New. Now click on Tools -> FNV <ins class="diffchange diffchange-inline">Hash...</ins><br><br></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Image:PureScriptingTut_FNVHash.jpg|right|300px]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Image:PureScriptingTut_FNVHash.jpg|right|300px]]</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 197:</td>
<td colspan="2" class="diff-lineno">Line 197:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Image:PureScriptingTut_ResourceAdd.jpg|right|300px]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Image:PureScriptingTut_ResourceAdd.jpg|right|300px]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*Now close the FNV Hash tool and back in the S3PE main window, click on Resource -> <del class="diffchange diffchange-inline">Add…</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*Now close the FNV Hash tool and back in the S3PE main window, click on Resource -> <ins class="diffchange diffchange-inline">Add...</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*As type choose S3SA. Enter 0 for the Group and paste the FNV64 value into the Instance field. For convenience, tick the "Use resource name" field and enter the name of the resource in the Name field. Once you're done, click on Ok.<br clear="all" \></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*As type choose S3SA. Enter 0 for the Group and paste the FNV64 value into the Instance field. For convenience, tick the "Use resource name" field and enter the name of the resource in the Name field. Once you're done, click on Ok.<br clear="all" \></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 207:</td>
<td colspan="2" class="diff-lineno">Line 207:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Image:PureScriptingTut_ImportScript.jpg|right|300px]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Image:PureScriptingTut_ImportScript.jpg|right|300px]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*Select Import/Export/<del class="diffchange diffchange-inline">Edit…</del>, click on the drop-down button on the right and click on <del class="diffchange diffchange-inline">Import…</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*Select Import/Export/<ins class="diffchange diffchange-inline">Edit...</ins>, click on the drop-down button on the right <ins class="diffchange diffchange-inline">of "Assembly" </ins>and click on <ins class="diffchange diffchange-inline">Import...</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Navigate to the .dll file VS created. It will be in <tt>Documents\Visual Studio xxxx\Projects\{YourProjectName}\{YourProjectName}\bin\Release</tt>. Select the file; click on the Open button and back in S3PE's Data Grid window click on Commit.<br clear="all" \></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Navigate to the .dll file VS created. It will be in <tt>Documents\Visual Studio xxxx\Projects\{YourProjectName}\{YourProjectName}\bin\Release</tt>. Select the file; click on the Open button and back in S3PE's Data Grid window click on Commit.<br clear="all" \></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 222:</td>
<td colspan="2" class="diff-lineno">Line 222:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Save the package.  </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Save the package.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Rinse And Repeat==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Rinse And Repeat==</div></td></tr>
</table>Pljoneshttp://simswiki.info/index.php?title=Tutorial:Sims_3_Pure_Scripting_Modding&diff=63524&oldid=prevNonamena: /* What You Need */2013-01-18T22:22:46Z<p><span dir="auto"><span class="autocomment">What You Need</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 22:22, 18 January 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 10:</td>
<td colspan="2" class="diff-lineno">Line 10:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==What You Need==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==What You Need==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''[http://www.microsoft.com/visualstudio/en-us/products/2008-editions/express Microsoft Visual C# Express 2008]''' - simply called VS later in this tutorial</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''[http://www.microsoft.com/visualstudio/en-us/products/2008-editions/express Microsoft Visual C# Express 2008]''' - simply called VS later in this tutorial</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>:<del class="diffchange diffchange-inline">(You can try using the </del>2010 <del class="diffchange diffchange-inline">version, but that version seems to be buggy regarding compiling against a different mscorlib</del>.<del class="diffchange diffchange-inline">dll</del>.<del class="diffchange diffchange-inline">)</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">** Or '''[http</ins>:<ins class="diffchange diffchange-inline">//www.microsoft.com/visualstudio/eng/downloads#d-</ins>2010<ins class="diffchange diffchange-inline">-express Microsoft Visual C# 2010 Express]'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">** Or '''[http://www</ins>.<ins class="diffchange diffchange-inline">microsoft</ins>.<ins class="diffchange diffchange-inline">com/visualstudio/eng/products/visual-studio-express-for-windows-desktop Microsoft Visual Studio Express 2012 for Windows Desktop]'''</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''[http://dino.drealm.info/den/denforum/index.php?board=19.0 Sims3 Package Editor]''' - simply called S3PE later in this tutorial</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''[http://dino.drealm.info/den/denforum/index.php?board=19.0 Sims3 Package Editor]''' - simply called S3PE later in this tutorial</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''[http://www.modthesims.info/showthread.php?t=436481 .NET assembly browser/decompiler]''' - this tutorial refers to redgate .NET Reflector, simply called Reflector later on</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''[http://www.modthesims.info/showthread.php?t=436481 .NET assembly browser/decompiler]''' - this tutorial refers to redgate .NET Reflector, simply called Reflector later on</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''A basic understanding of the C# syntax or at least any C-like language.'''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''A basic understanding of the C# syntax or at least any C-like language.'''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''A game that is properly set up to support scripting mods. If you fail to accomplish that, you can't hope to successfully write scripting mods.'''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* '''A game that is properly set up to support scripting mods. If you fail to accomplish that, you can't hope to successfully write scripting mods.'''</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Getting Started==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Getting Started==</div></td></tr>
</table>Nonamenahttp://simswiki.info/index.php?title=Tutorial:Sims_3_Pure_Scripting_Modding&diff=62499&oldid=prevJT: /* Getting Started */ better formatting2012-11-23T08:01:56Z<p><span dir="auto"><span class="autocomment">Getting Started: </span> better formatting</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 08:01, 23 November 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 27:</td>
<td colspan="2" class="diff-lineno">Line 27:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Repeat steps 4 to 6 for every S3SA resource in the package.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Repeat steps 4 to 6 for every S3SA resource in the package.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Repeat steps 3 to 7 for every package listed under step 2.  When done, you must have the following list of libraries extracted to the same folder, with the following names:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Repeat steps 3 to 7 for every package listed under step 2.  When done, you must have the following list of libraries extracted to the same folder, with the following names:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#* Sims3StoreObjects.dll (from gameplay.package)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#* <ins class="diffchange diffchange-inline">'''</ins>Sims3StoreObjects.dll<ins class="diffchange diffchange-inline">''' ''</ins>(from gameplay.package)<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#* Sims3GameplayObjects.dll (from gameplay.package)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#* <ins class="diffchange diffchange-inline">'''</ins>Sims3GameplayObjects.dll<ins class="diffchange diffchange-inline">''' ''</ins>(from gameplay.package)<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#* Sims3GameplaySystems.dll (from gameplay.package)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#* <ins class="diffchange diffchange-inline">'''</ins>Sims3GameplaySystems.dll<ins class="diffchange diffchange-inline">''' ''</ins>(from gameplay.package)<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#* UI.dll (from gameplay.package)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#* <ins class="diffchange diffchange-inline">'''</ins>UI.dll<ins class="diffchange diffchange-inline">''' ''</ins>(from gameplay.package)<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#* SimIFace.dll (from scripts.package)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#* <ins class="diffchange diffchange-inline">'''</ins>SimIFace.dll<ins class="diffchange diffchange-inline">''' ''</ins>(from scripts.package)<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#* ScriptCore.dll (from scripts.package)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#* <ins class="diffchange diffchange-inline">'''</ins>ScriptCore.dll<ins class="diffchange diffchange-inline">''' ''</ins>(from scripts.package)<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#* Sims3Metadata.dll (from scripts.package)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#* <ins class="diffchange diffchange-inline">'''</ins>Sims3Metadata.dll<ins class="diffchange diffchange-inline">''' ''</ins>(from scripts.package)<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#* System.Xml.dll (from simcore.package)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#* <ins class="diffchange diffchange-inline">'''</ins>System.Xml.dll<ins class="diffchange diffchange-inline">''' ''</ins>(from simcore.package)<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#* System.dll (from simcore.package)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#* <ins class="diffchange diffchange-inline">'''</ins>System.dll<ins class="diffchange diffchange-inline">''' ''</ins>(from simcore.package)<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#* mscorlib.dll (from simcore.package)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#* <ins class="diffchange diffchange-inline">'''</ins>mscorlib.dll<ins class="diffchange diffchange-inline">''' ''</ins>(from simcore.package)<ins class="diffchange diffchange-inline">''</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Close S3PE.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Close S3PE.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Create a game-compatible Visual Studio project as explained here: [[Sims_3:Creating_a_game_compatible_Visual_Studio_project]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Create a game-compatible Visual Studio project as explained here: [[Sims_3:Creating_a_game_compatible_Visual_Studio_project]]</div></td></tr>
</table>JThttp://simswiki.info/index.php?title=Tutorial:Sims_3_Pure_Scripting_Modding&diff=62498&oldid=prevJT: /* Getting Started */ list of libraries you must have extracted2012-11-23T07:58:27Z<p><span dir="auto"><span class="autocomment">Getting Started: </span> list of libraries you must have extracted</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 07:58, 23 November 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 26:</td>
<td colspan="2" class="diff-lineno">Line 26:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Choose a sensible folder for the library and save it under the exact name it gives you.  Do not rename it.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Choose a sensible folder for the library and save it under the exact name it gives you.  Do not rename it.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Repeat steps 4 to 6 for every S3SA resource in the package.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Repeat steps 4 to 6 for every S3SA resource in the package.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#Repeat steps 3 to 7 for every package listed under step 2.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#Repeat steps 3 to 7 for every package listed under step 2. <ins class="diffchange diffchange-inline"> When done, you must have the following list of libraries extracted to the same folder, with the following names:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*#* Sims3StoreObjects.dll (from gameplay.package)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*#* Sims3GameplayObjects.dll (from gameplay.package)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*#* Sims3GameplaySystems.dll (from gameplay.package)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*#* UI.dll (from gameplay.package)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*#* SimIFace.dll (from scripts.package)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*#* ScriptCore.dll (from scripts.package)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*#* Sims3Metadata.dll (from scripts.package)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*#* System.Xml.dll (from simcore.package)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*#* System.dll (from simcore.package)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*#* mscorlib.dll (from simcore.package)</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Close S3PE.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Close S3PE.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Create a game-compatible Visual Studio project as explained here: [[Sims_3:Creating_a_game_compatible_Visual_Studio_project]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Create a game-compatible Visual Studio project as explained here: [[Sims_3:Creating_a_game_compatible_Visual_Studio_project]]</div></td></tr>
</table>JThttp://simswiki.info/index.php?title=Tutorial:Sims_3_Pure_Scripting_Modding&diff=62497&oldid=prevJT: /* Getting Started */ update: newer versions of S3PE have a direct DLL exporting function with no need to worry about futzing with the raw data structures2012-11-23T07:54:18Z<p><span dir="auto"><span class="autocomment">Getting Started: </span> update: newer versions of S3PE have a direct DLL exporting function with no need to worry about futzing with the raw data structures</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 07:54, 23 November 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 22:</td>
<td colspan="2" class="diff-lineno">Line 22:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Navigate to the installation folder of The Sims 3 and from there to the sub-folder where the executable is located.<br>In this folder are three packages: gameplay.package, scripts.package, and simcore.package</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Navigate to the installation folder of The Sims 3 and from there to the sub-folder where the executable is located.<br>In this folder are three packages: gameplay.package, scripts.package, and simcore.package</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Open one of these packages.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Open one of these packages.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#Click on an S3SA resource. Note that S3PE shows some information about that resource in the preview area<del class="diffchange diffchange-inline">. Locate where it says ManifestModule. Remember what comes after the colon, e.g. Sims3GameplaySystems.dll</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#Click on an S3SA resource. Note that S3PE shows some information about that resource in the preview area.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#<del class="diffchange diffchange-inline">Click on Grid at the bottom of the S3PE window, and then </del>click on the <del class="diffchange diffchange-inline">Assembly row </del>and <del class="diffchange diffchange-inline">the little drop-down arrow on the right</del>. <del class="diffchange diffchange-inline">Click on Export…</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#<ins class="diffchange diffchange-inline">Right-</ins>click on the <ins class="diffchange diffchange-inline">resource </ins>and <ins class="diffchange diffchange-inline">choose "Export DLL"</ins>.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>*#Choose a sensible folder for the library and save it under the name you <del class="diffchange diffchange-inline">remembered from the ManifestModule entry</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>*#Choose a sensible folder for the library and save it under the <ins class="diffchange diffchange-inline">exact </ins>name <ins class="diffchange diffchange-inline">it gives </ins>you<ins class="diffchange diffchange-inline">.  Do not rename it</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Repeat steps 4 to 6 for every S3SA resource in the package.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Repeat steps 4 to 6 for every S3SA resource in the package.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Repeat steps 3 to 7 for every package listed under step 2.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*#Repeat steps 3 to 7 for every package listed under step 2.</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 30:</td>
<td colspan="2" class="diff-lineno">Line 30:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Create a game-compatible Visual Studio project as explained here: [[Sims_3:Creating_a_game_compatible_Visual_Studio_project]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Create a game-compatible Visual Studio project as explained here: [[Sims_3:Creating_a_game_compatible_Visual_Studio_project]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Start Reflector and load the core libraries with it.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Start Reflector and load the core libraries with it.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Additional Preparations In Visual Studio==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Additional Preparations In Visual Studio==</div></td></tr>
</table>JT