<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modenc2.markjfox.net/history/AICLEAN?feed=atom</id>
	<title>AICLEAN - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://modenc2.markjfox.net/history/AICLEAN?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/history/AICLEAN"/>
	<updated>2026-11-22T18:14:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=28172&amp;oldid=prev</id>
		<title>ATHSE at 12:28, 13 April 2025</title>
		<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=28172&amp;oldid=prev"/>
		<updated>2025-04-13T12:28:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:28, 13 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN is a kind of house-keeping script for {{ra2}} and {{yr}} mods, that focuses on removing duplicated code, unnecessary and/or orphaned objects, comments, and allows the merging of &amp;#039;include&amp;#039; files used by some mod authors. It&amp;#039;s meant to be a companion for [[AICHECK]], and can create a good base from which to start modding, or can be used as a cleanup script just prior to releasing a new version of a mod. It is run via a batchfile on Windows, but can be run via commandline directly on Linux, and creates a clean.log file with the results of that examination. On windows the batchfile will automatically launch the clean.log, so make sure to associate log files with your preferred text editor.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN is a kind of house-keeping script for {{ra2}} and {{yr}} mods, that focuses on removing duplicated code, unnecessary and/or orphaned objects, comments, and allows the merging of &amp;#039;include&amp;#039; files used by some mod authors. It&amp;#039;s meant to be a companion for [[AICHECK]], and can create a good base from which to start modding, or can be used as a cleanup script just prior to releasing a new version of a mod. It is run via a batchfile on Windows, but can be run via commandline directly on Linux, and creates a clean.log file with the results of that examination. On windows the batchfile will automatically launch the clean.log, so make sure to associate log files with your preferred text editor.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before using AICLEAN, all three &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;inis &lt;/del&gt;have to be extracted to the game directory, where AICHECK files should also be extracted, with the correct read/write permissions. A copy of the TCL runtimes (version 8.3+) have to be installed, available through Activestate, link below.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before using AICLEAN, all three &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;INIs, {{ini|rules}}, {{ini|art}}, and {{ini|ai}}, &lt;/ins&gt;have to be extracted to the game directory, where AICHECK files should also be extracted, with the correct read/write permissions. A copy of the TCL runtimes (version 8.3+) have to be installed, available through Activestate, link below.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To configure AICLEAN to run correctly, and read the right files, the aiclean.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the &amp;#039;ra2dir&amp;#039; example path, TCL doesn&amp;#039;t support backslash for path navigation, it uses the UNIX system of forwardslash. There are a few settings and toggles located within the aiclean.tcl that control its behaviour, including one where AI object names can be anonymized. Furthermore there is an external aiclean.cfg file to (optionally) edit, which contains settings specific to {{ini|rules}} sorting order.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To configure AICLEAN to run correctly, and read the right files, the aiclean.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the &amp;#039;ra2dir&amp;#039; example path, TCL doesn&amp;#039;t support backslash for path navigation, it uses the UNIX system of forwardslash. There are a few settings and toggles located within the aiclean.tcl that control its behaviour, including one where AI object names can be anonymized. Furthermore there is an external aiclean.cfg file to (optionally) edit, which contains settings specific to {{ini|rules}} sorting order.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since AICLEAN is potentially destructive in what it does, there is an option within aiclean.tcl that will either rename the old &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ini &lt;/del&gt;files with a timestamp and generate new ones of the original name, or will create entirely new &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ini &lt;/del&gt;files with &#039;(NEW)&#039; in the name (eg. rules(NEW).ini). There is no unsafe option.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since AICLEAN is potentially destructive in what it does, there is an option within aiclean.tcl that will either rename the old &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;INI &lt;/ins&gt;files with a timestamp and generate new ones of the original name, or will create entirely new &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;INI &lt;/ins&gt;files with &#039;(NEW)&#039; in the name (eg. rules(NEW).ini). There is no unsafe option.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN does have good compatibility with [[Ares]]/[[Phobos]], as it doesn&amp;#039;t really make judgements about the content, just how it is structured. For error-checking there&amp;#039;s [[AICHECK]]...&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN does have good compatibility with [[Ares]]/[[Phobos]], as it doesn&amp;#039;t really make judgements about the content, just how it is structured. For error-checking there&amp;#039;s [[AICHECK]]...&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ATHSE</name></author>
	</entry>
	<entry>
		<id>https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27746&amp;oldid=prev</id>
		<title>ATHSE at 03:06, 8 April 2025</title>
		<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27746&amp;oldid=prev"/>
		<updated>2025-04-08T03:06:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:06, 8 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before using AICLEAN, all three inis have to be extracted to the game directory, where AICHECK files should also be extracted, with the correct read/write permissions. A copy of the TCL runtimes (version 8.3+) have to be installed, available through Activestate, link below.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before using AICLEAN, all three inis have to be extracted to the game directory, where AICHECK files should also be extracted, with the correct read/write permissions. A copy of the TCL runtimes (version 8.3+) have to be installed, available through Activestate, link below.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To configure AICLEAN to run correctly, and read the right files, the aiclean.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the &#039;ra2dir&#039; example path, TCL doesn&#039;t support backslash for path navigation, it uses the UNIX system of forwardslash. There are a few settings and toggles located within the aiclean.tcl that control its behaviour, including one where AI object names can be anonymized. Furthermore there is an &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;additional &lt;/del&gt;aiclean.cfg file to (optionally) edit, which contains settings specific to {{ini|rules}} sorting order.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To configure AICLEAN to run correctly, and read the right files, the aiclean.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the &#039;ra2dir&#039; example path, TCL doesn&#039;t support backslash for path navigation, it uses the UNIX system of forwardslash. There are a few settings and toggles located within the aiclean.tcl that control its behaviour, including one where AI object names can be anonymized. Furthermore there is an &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;external &lt;/ins&gt;aiclean.cfg file to (optionally) edit, which contains settings specific to {{ini|rules}} sorting order.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since AICLEAN is potentially destructive in what it does, there is an option within aiclean.tcl that will either rename the old ini files with a timestamp and generate new ones of the original name, or will create entirely new ini files with &amp;#039;(NEW)&amp;#039; in the name (eg. rules(NEW).ini). There is no unsafe option.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since AICLEAN is potentially destructive in what it does, there is an option within aiclean.tcl that will either rename the old ini files with a timestamp and generate new ones of the original name, or will create entirely new ini files with &amp;#039;(NEW)&amp;#039; in the name (eg. rules(NEW).ini). There is no unsafe option.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ATHSE</name></author>
	</entry>
	<entry>
		<id>https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27696&amp;oldid=prev</id>
		<title>ATHSE at 05:45, 6 April 2025</title>
		<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27696&amp;oldid=prev"/>
		<updated>2025-04-06T05:45:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:45, 6 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Guideheader&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Guideheader&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|ts=yes&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|fs=yes&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|ra2=yes&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|ra2=yes&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|yr=yes&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|yr=yes&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ATHSE</name></author>
	</entry>
	<entry>
		<id>https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27691&amp;oldid=prev</id>
		<title>ATHSE at 04:27, 6 April 2025</title>
		<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27691&amp;oldid=prev"/>
		<updated>2025-04-06T04:27:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:27, 6 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To configure AICLEAN to run correctly, and read the right files, the aiclean.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the &amp;#039;ra2dir&amp;#039; example path, TCL doesn&amp;#039;t support backslash for path navigation, it uses the UNIX system of forwardslash. There are a few settings and toggles located within the aiclean.tcl that control its behaviour, including one where AI object names can be anonymized. Furthermore there is an additional aiclean.cfg file to (optionally) edit, which contains settings specific to {{ini|rules}} sorting order.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To configure AICLEAN to run correctly, and read the right files, the aiclean.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the &amp;#039;ra2dir&amp;#039; example path, TCL doesn&amp;#039;t support backslash for path navigation, it uses the UNIX system of forwardslash. There are a few settings and toggles located within the aiclean.tcl that control its behaviour, including one where AI object names can be anonymized. Furthermore there is an additional aiclean.cfg file to (optionally) edit, which contains settings specific to {{ini|rules}} sorting order.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since AICLEAN is potentially destructive in what it does, there is an option within aiclean.tcl that will either rename the old ini files with a timestamp and generate new ones of the original name, or will create entirely new ini files with &#039;(NEW)&#039; in the name (eg. rules(NEW).ini).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since AICLEAN is potentially destructive in what it does, there is an option within aiclean.tcl that will either rename the old ini files with a timestamp and generate new ones of the original name, or will create entirely new ini files with &#039;(NEW)&#039; in the name (eg. rules(NEW).ini)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. There is no unsafe option&lt;/ins&gt;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN does have good compatibility with [[Ares]]/[[Phobos]], as it doesn&amp;#039;t really make judgements about the content, just how it is structured. For error-checking there&amp;#039;s [[AICHECK]]...&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN does have good compatibility with [[Ares]]/[[Phobos]], as it doesn&amp;#039;t really make judgements about the content, just how it is structured. For error-checking there&amp;#039;s [[AICHECK]]...&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ATHSE</name></author>
	</entry>
	<entry>
		<id>https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27690&amp;oldid=prev</id>
		<title>ATHSE at 04:26, 6 April 2025</title>
		<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27690&amp;oldid=prev"/>
		<updated>2025-04-06T04:26:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:26, 6 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To configure AICLEAN to run correctly, and read the right files, the aiclean.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the &amp;#039;ra2dir&amp;#039; example path, TCL doesn&amp;#039;t support backslash for path navigation, it uses the UNIX system of forwardslash. There are a few settings and toggles located within the aiclean.tcl that control its behaviour, including one where AI object names can be anonymized. Furthermore there is an additional aiclean.cfg file to (optionally) edit, which contains settings specific to {{ini|rules}} sorting order.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To configure AICLEAN to run correctly, and read the right files, the aiclean.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the &amp;#039;ra2dir&amp;#039; example path, TCL doesn&amp;#039;t support backslash for path navigation, it uses the UNIX system of forwardslash. There are a few settings and toggles located within the aiclean.tcl that control its behaviour, including one where AI object names can be anonymized. Furthermore there is an additional aiclean.cfg file to (optionally) edit, which contains settings specific to {{ini|rules}} sorting order.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since AICLEAN is potentially destructive in what it does, there is an option within aiclean.tcl that will either rename the old ini files with a timestamp and generate new ones of the original name, or will create entirely new ini files with &#039;(NEW)&#039; in the name (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ie&lt;/del&gt;. rules(NEW).ini).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since AICLEAN is potentially destructive in what it does, there is an option within aiclean.tcl that will either rename the old ini files with a timestamp and generate new ones of the original name, or will create entirely new ini files with &#039;(NEW)&#039; in the name (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;eg&lt;/ins&gt;. rules(NEW).ini).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN does have good compatibility with [[Ares]]/[[Phobos]], as it doesn&amp;#039;t really make judgements about the content, just how it is structured. For error-checking there&amp;#039;s [[AICHECK]]...&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN does have good compatibility with [[Ares]]/[[Phobos]], as it doesn&amp;#039;t really make judgements about the content, just how it is structured. For error-checking there&amp;#039;s [[AICHECK]]...&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ATHSE</name></author>
	</entry>
	<entry>
		<id>https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27689&amp;oldid=prev</id>
		<title>ATHSE at 04:26, 6 April 2025</title>
		<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27689&amp;oldid=prev"/>
		<updated>2025-04-06T04:26:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:26, 6 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To configure AICLEAN to run correctly, and read the right files, the aiclean.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the &amp;#039;ra2dir&amp;#039; example path, TCL doesn&amp;#039;t support backslash for path navigation, it uses the UNIX system of forwardslash. There are a few settings and toggles located within the aiclean.tcl that control its behaviour, including one where AI object names can be anonymized. Furthermore there is an additional aiclean.cfg file to (optionally) edit, which contains settings specific to {{ini|rules}} sorting order.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To configure AICLEAN to run correctly, and read the right files, the aiclean.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the &amp;#039;ra2dir&amp;#039; example path, TCL doesn&amp;#039;t support backslash for path navigation, it uses the UNIX system of forwardslash. There are a few settings and toggles located within the aiclean.tcl that control its behaviour, including one where AI object names can be anonymized. Furthermore there is an additional aiclean.cfg file to (optionally) edit, which contains settings specific to {{ini|rules}} sorting order.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since AICLEAN is potentially destructive in what it does, there is an option within aiclean.tcl that will either rename the old ini files with a timestamp and generate new ones of the original name, or will create entirely new ini files with &#039;(NEW)&#039; in the name (ie. rules(NEW).ini).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since AICLEAN is potentially destructive in what it does, there is an option within aiclean.tcl that will either rename the old ini files with a timestamp and generate new ones of the original name, or will create entirely new ini files with &#039;(NEW)&#039; in the name (ie. rules(NEW).ini).&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN does have good compatibility with [[Ares]]/[[Phobos]], as it doesn&amp;#039;t really make judgements about the content, just how it is structured. For error-checking there&amp;#039;s [[AICHECK]]...&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN does have good compatibility with [[Ares]]/[[Phobos]], as it doesn&amp;#039;t really make judgements about the content, just how it is structured. For error-checking there&amp;#039;s [[AICHECK]]...&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ATHSE</name></author>
	</entry>
	<entry>
		<id>https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27688&amp;oldid=prev</id>
		<title>ATHSE at 04:25, 6 April 2025</title>
		<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27688&amp;oldid=prev"/>
		<updated>2025-04-06T04:25:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:25, 6 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To configure AICLEAN to run correctly, and read the right files, the aiclean.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the &amp;#039;ra2dir&amp;#039; example path, TCL doesn&amp;#039;t support backslash for path navigation, it uses the UNIX system of forwardslash. There are a few settings and toggles located within the aiclean.tcl that control its behaviour, including one where AI object names can be anonymized. Furthermore there is an additional aiclean.cfg file to (optionally) edit, which contains settings specific to {{ini|rules}} sorting order.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To configure AICLEAN to run correctly, and read the right files, the aiclean.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the &amp;#039;ra2dir&amp;#039; example path, TCL doesn&amp;#039;t support backslash for path navigation, it uses the UNIX system of forwardslash. There are a few settings and toggles located within the aiclean.tcl that control its behaviour, including one where AI object names can be anonymized. Furthermore there is an additional aiclean.cfg file to (optionally) edit, which contains settings specific to {{ini|rules}} sorting order.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;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; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Since AICLEAN is potentially destructive in what it does, there is an option within aiclean.tcl that will either rename the old ini files with a timestamp and generate new ones of the original name, or will create entirely new ini files with &#039;(NEW)&#039; in the name (ie. rules(NEW).ini).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN does have good compatibility with [[Ares]]/[[Phobos]], as it doesn&amp;#039;t really make judgements about the content, just how it is structured. For error-checking there&amp;#039;s [[AICHECK]]...&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN does have good compatibility with [[Ares]]/[[Phobos]], as it doesn&amp;#039;t really make judgements about the content, just how it is structured. For error-checking there&amp;#039;s [[AICHECK]]...&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ATHSE</name></author>
	</entry>
	<entry>
		<id>https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27687&amp;oldid=prev</id>
		<title>ATHSE at 04:21, 6 April 2025</title>
		<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27687&amp;oldid=prev"/>
		<updated>2025-04-06T04:21:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:21, 6 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|yr=yes&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|yr=yes&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN is a kind of house-keeping script for {{ra2}} and {{yr}} mods, that focuses on removing duplicated code, unnecessary/orphaned objects, comments, and allows the merging of &#039;include&#039; files used by some mod authors. It&#039;s meant to be a companion for [[AICHECK]], and can create a good base from which to start modding, or can be used as a cleanup script just prior to releasing a new version of a mod. It is run via a batchfile on Windows, but can be run via commandline directly on Linux, and creates a clean.log file with the results of that examination. On windows the batchfile will automatically launch the clean.log, so make sure to associate log files with your preferred text editor.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AICLEAN is a kind of house-keeping script for {{ra2}} and {{yr}} mods, that focuses on removing duplicated code, unnecessary &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or &lt;/ins&gt;orphaned objects, comments, and allows the merging of &#039;include&#039; files used by some mod authors. It&#039;s meant to be a companion for [[AICHECK]], and can create a good base from which to start modding, or can be used as a cleanup script just prior to releasing a new version of a mod. It is run via a batchfile on Windows, but can be run via commandline directly on Linux, and creates a clean.log file with the results of that examination. On windows the batchfile will automatically launch the clean.log, so make sure to associate log files with your preferred text editor.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before using AICLEAN, all three inis have to be extracted to the game directory, where AICHECK files should also be extracted, with the correct read/write permissions. A copy of the TCL runtimes (version 8.3+) have to be installed, available through Activestate, link below.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before using AICLEAN, all three inis have to be extracted to the game directory, where AICHECK files should also be extracted, with the correct read/write permissions. A copy of the TCL runtimes (version 8.3+) have to be installed, available through Activestate, link below.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ATHSE</name></author>
	</entry>
	<entry>
		<id>https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27686&amp;oldid=prev</id>
		<title>ATHSE: Created page with &quot;{{Guideheader |ts=yes |fs=yes |ra2=yes |yr=yes }} AICLEAN is a kind of house-keeping script for {{ra2}} and {{yr}} mods, that focuses on removing duplicated code, unnecessary/orphaned objects, comments, and allows the merging of &#039;include&#039; files used by some mod authors. It&#039;s meant to be a companion for AICHECK, and can create a good base from which to start modding, or can be used as a cleanup script just prior to releasing a new version of a mod. It is run via a bat...&quot;</title>
		<link rel="alternate" type="text/html" href="https://modenc2.markjfox.net/index.php?title=AICLEAN&amp;diff=27686&amp;oldid=prev"/>
		<updated>2025-04-06T04:21:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Guideheader |ts=yes |fs=yes |ra2=yes |yr=yes }} AICLEAN is a kind of house-keeping script for {{ra2}} and {{yr}} mods, that focuses on removing duplicated code, unnecessary/orphaned objects, comments, and allows the merging of &amp;#039;include&amp;#039; files used by some mod authors. It&amp;#039;s meant to be a companion for &lt;a href=&quot;/AICHECK&quot; title=&quot;AICHECK&quot;&gt;AICHECK&lt;/a&gt;, and can create a good base from which to start modding, or can be used as a cleanup script just prior to releasing a new version of a mod. It is run via a bat...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Guideheader&lt;br /&gt;
|ts=yes&lt;br /&gt;
|fs=yes&lt;br /&gt;
|ra2=yes&lt;br /&gt;
|yr=yes&lt;br /&gt;
}}&lt;br /&gt;
AICLEAN is a kind of house-keeping script for {{ra2}} and {{yr}} mods, that focuses on removing duplicated code, unnecessary/orphaned objects, comments, and allows the merging of &amp;#039;include&amp;#039; files used by some mod authors. It&amp;#039;s meant to be a companion for [[AICHECK]], and can create a good base from which to start modding, or can be used as a cleanup script just prior to releasing a new version of a mod. It is run via a batchfile on Windows, but can be run via commandline directly on Linux, and creates a clean.log file with the results of that examination. On windows the batchfile will automatically launch the clean.log, so make sure to associate log files with your preferred text editor.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before using AICLEAN, all three inis have to be extracted to the game directory, where AICHECK files should also be extracted, with the correct read/write permissions. A copy of the TCL runtimes (version 8.3+) have to be installed, available through Activestate, link below.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
To configure AICLEAN to run correctly, and read the right files, the aiclean.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the &amp;#039;ra2dir&amp;#039; example path, TCL doesn&amp;#039;t support backslash for path navigation, it uses the UNIX system of forwardslash. There are a few settings and toggles located within the aiclean.tcl that control its behaviour, including one where AI object names can be anonymized. Furthermore there is an additional aiclean.cfg file to (optionally) edit, which contains settings specific to {{ini|rules}} sorting order.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
AICLEAN does have good compatibility with [[Ares]]/[[Phobos]], as it doesn&amp;#039;t really make judgements about the content, just how it is structured. For error-checking there&amp;#039;s [[AICHECK]]...&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [https://www.ppmforums.com/topic-68089/aiclean-a-script-to-clean-and-organize-rulesartaiini/ Latest download at PPM]&lt;br /&gt;
* [https://platform.activestate.com/ActiveState/ActiveTcl-8.6/ ActiveTCL Runtime downloads (free registration)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools]]&lt;/div&gt;</summary>
		<author><name>ATHSE</name></author>
	</entry>
</feed>