<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://159.203.101.162/w/index.php?action=history&amp;feed=atom&amp;title=Barak%27s_conversion_script</id>
	<title>Barak's conversion script - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://159.203.101.162/w/index.php?action=history&amp;feed=atom&amp;title=Barak%27s_conversion_script"/>
	<link rel="alternate" type="text/html" href="http://159.203.101.162/w/index.php?title=Barak%27s_conversion_script&amp;action=history"/>
	<updated>2026-04-22T05:38:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>http://159.203.101.162/w/index.php?title=Barak%27s_conversion_script&amp;diff=2607&amp;oldid=prev</id>
		<title>Barak at 23:02, 21 October 2010</title>
		<link rel="alternate" type="text/html" href="http://159.203.101.162/w/index.php?title=Barak%27s_conversion_script&amp;diff=2607&amp;oldid=prev"/>
		<updated>2010-10-21T23:02:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:02, 21 October 2010&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-l33&quot; &gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;6) Recommended usage is in two steps:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;6) Recommended usage is in two steps:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;	&lt;/del&gt;A) Point the script at your existing gamemode directory and direct output to the 5.14 gamemode directory&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &lt;/ins&gt;A) Point the script at your existing gamemode directory and direct output to the 5.14 gamemode directory&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;	&lt;/del&gt;B) Point the script at your existing data directory and direct output to the 5.14 data directory&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &lt;/ins&gt;B) Point the script at your existing data directory and direct output to the 5.14 data directory&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Barak</name></author>
		
	</entry>
	<entry>
		<id>http://159.203.101.162/w/index.php?title=Barak%27s_conversion_script&amp;diff=2606&amp;oldid=prev</id>
		<title>Barak: Created page with &quot;[http://pcgen.svn.sourceforge.net/viewvc/pcgen/Trunk/utilities/convert%20514/?view=tar Barak's 5.12 -&gt; 5.14 Conversion Script]   Barak's conversion script automates much of the p...&quot;</title>
		<link rel="alternate" type="text/html" href="http://159.203.101.162/w/index.php?title=Barak%27s_conversion_script&amp;diff=2606&amp;oldid=prev"/>
		<updated>2010-10-21T22:59:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;[http://pcgen.svn.sourceforge.net/viewvc/pcgen/Trunk/utilities/convert%20514/?view=tar Barak&amp;#039;s 5.12 -&amp;gt; 5.14 Conversion Script]   Barak&amp;#039;s conversion script automates much of the p...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[http://pcgen.svn.sourceforge.net/viewvc/pcgen/Trunk/utilities/convert%20514/?view=tar Barak's 5.12 -&amp;gt; 5.14 Conversion Script]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Barak's conversion script automates much of the process of upgrading data files from 5.12 to 5.14.  However, there are some things that cannot be converted.  The script creates a log file and will note any of these items (and the file and line # within that file) in that log, as well as the recommended action to deal with them.&lt;br /&gt;
&lt;br /&gt;
Below are the docs for the script.&lt;br /&gt;
&lt;br /&gt;
'''FUNCTION''':  Update PCGen data files (.lst) from version 5.12 to 5.14&lt;br /&gt;
&lt;br /&gt;
'''INSTALLATION''':&lt;br /&gt;
   A) Get Perl if you don't already have it... any standard distribution with version 5.8 and over should work.  &lt;br /&gt;
   B) Once Perl is installed on your computer, put the script in the directory of your choice. &lt;br /&gt;
   C) To run the script all you have to do is type &amp;quot;perl convert_514.pl&amp;quot; with the proper parameters to make it work.&lt;br /&gt;
&lt;br /&gt;
'''COMMAND LINE PARAMETERS''':&lt;br /&gt;
   -S --&amp;gt; Create generic shieldprof file (Optional)&lt;br /&gt;
   -I=&amp;quot;&amp;lt;directory&amp;gt;&amp;quot; --&amp;gt; input directory (Required)&lt;br /&gt;
   -O=&amp;quot;&amp;lt;directory&amp;gt;&amp;quot; --&amp;gt; output directory (Required)&lt;br /&gt;
       directory names must be in double quotes if they contains spaces&lt;br /&gt;
&lt;br /&gt;
'''NOTES''':&lt;br /&gt;
&lt;br /&gt;
1) If you specify the same output directory as input directory your files will be overwritten, so make sure to backup your files in another location if you choose to do this. NOTE: This is *NOT* the recommended method&lt;br /&gt;
&lt;br /&gt;
2) The script will remove CHOICE tags that do not have targets that are schools, subschools or descriptors.  It will log these occurrences.&lt;br /&gt;
&lt;br /&gt;
3) Any CHOOSE tag with only one choice (like the old &amp;quot;CHOOSE:+3 HP&amp;quot; for the Toughness feat) will be converted to CHOOSE:NOCHOICE&lt;br /&gt;
&lt;br /&gt;
4) Any CHOOSE tag that does not have a first parameter that matches one of the documented ones will be converted to CHOOSE:STRING (in a non-equipmod file) or CHOOSE:STRING|...|TITLE=yyy in an equipmod file (the title will be the text between the colon and the first pipe)&lt;br /&gt;
&lt;br /&gt;
5) Any tags that need to be manually updated will be passed through as is and noted in the log file (line numbers given reference *input files*)&lt;br /&gt;
&lt;br /&gt;
6) Recommended usage is in two steps:&lt;br /&gt;
&lt;br /&gt;
	A) Point the script at your existing gamemode directory and direct output to the 5.14 gamemode directory&lt;br /&gt;
	B) Point the script at your existing data directory and direct output to the 5.14 data directory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''TAG CONVERSIONS/ADDITIONS''':&lt;br /&gt;
&lt;br /&gt;
SA -&amp;gt; SAB  (Logs those that need manual conversion - basically SA:.CLEAR)&lt;br /&gt;
&lt;br /&gt;
PROFICIENCY -&amp;gt; PROFICIENCY:&amp;lt;subtoken&amp;gt;|&amp;lt;prof&amp;gt;&lt;br /&gt;
&lt;br /&gt;
AUTO:ARMORPROF|TYPE -&amp;gt; AUTO:ARMORPROF|ARMORTYPE=&lt;br /&gt;
&lt;br /&gt;
AUTO:SHIELDPROF|TYPE -&amp;gt;  AUTO:SHIELDPROF|SHIELDTYPE=&lt;br /&gt;
&lt;br /&gt;
FEATAUTO -&amp;gt; AUTO:FEAT &lt;br /&gt;
&lt;br /&gt;
REPEATLEVEL -&amp;gt; &amp;lt;level #&amp;gt;:REPEATLEVEL&lt;br /&gt;
&lt;br /&gt;
PREDEITY -&amp;gt; PREDEITY:x,y,y&lt;br /&gt;
&lt;br /&gt;
PRETEMPLATE -&amp;gt; PRETEMPLATE:x,y,y&lt;br /&gt;
&lt;br /&gt;
PRERACE:y -&amp;gt; PRERACE:x,y,y&lt;br /&gt;
&lt;br /&gt;
PRELEVEL: -&amp;gt; PRELEVEL:MIN=#&lt;br /&gt;
&lt;br /&gt;
PRELEVELMAX -&amp;gt; PRELEVEL:MAX=#&lt;br /&gt;
&lt;br /&gt;
CONTAINS:-1 -&amp;gt; CONTAINS:UNLIM&lt;br /&gt;
&lt;br /&gt;
MOVECLONE:w,x,y,z -&amp;gt; MOVECLONE:x,y,z (Logs those that need manual conversion)&lt;br /&gt;
&lt;br /&gt;
PRETYPE: -&amp;gt; PRETYPE:x,y,y&lt;br /&gt;
&lt;br /&gt;
ADD:SA -&amp;gt; ADD:SAB&lt;br /&gt;
&lt;br /&gt;
KNOWNSPELLS:.CLEAR&amp;lt;stuff&amp;gt; -&amp;gt; KNOWNSPELLS:.CLEAR|&amp;lt;stuff&amp;gt;&lt;br /&gt;
&lt;br /&gt;
PREHD:#-# -&amp;gt; PREHD:MIN=x,MAX=y&lt;br /&gt;
&lt;br /&gt;
CHOICE -&amp;gt; CHOICE:SCHOOL &lt;br /&gt;
&lt;br /&gt;
CHOICE -&amp;gt; CHOICE:SUBSCHOOL &lt;br /&gt;
&lt;br /&gt;
CHOICE -&amp;gt; CHOICE:DESCRIPTOR&lt;br /&gt;
&lt;br /&gt;
FAVCLASS -&amp;gt; FAVCLASS:&amp;lt;class&amp;gt;.&amp;lt;subclass&amp;gt; &lt;br /&gt;
&lt;br /&gt;
FAVOREDCLASS -&amp;gt; FAVOREDCLASS:&amp;lt;class&amp;gt;.&amp;lt;subclass&amp;gt;	&lt;br /&gt;
&lt;br /&gt;
Create Armorprof file from armor.lst files&lt;br /&gt;
&lt;br /&gt;
PRECLASS -&amp;gt; PRECLASS:#,y,y conversion&lt;br /&gt;
&lt;br /&gt;
PREMOVE -&amp;gt; PREMOVE:#,y,y conversion&lt;br /&gt;
&lt;br /&gt;
PREWIELD -&amp;gt; PREWIELD:#,y,y conversion&lt;br /&gt;
&lt;br /&gt;
PREWEAPONPROF -&amp;gt; PREWEAPONPROF:#,y,y conversion&lt;br /&gt;
&lt;br /&gt;
PRESPELLSCHOOL:Abjuration,1,5 -&amp;gt; PRESPELLSCHOOL:1,Abjuration=5&lt;br /&gt;
&lt;br /&gt;
PRESPELLSCHOOLSUB:Healing,1,5 -&amp;gt; PRESPELLSCHOOLSUB:1,Healing=5&lt;br /&gt;
&lt;br /&gt;
PRESPELLDESCRIPTOR:Evil,1,5 -&amp;gt; PRESPELLDESCRIPTOR:1,Evil=5&lt;br /&gt;
&lt;br /&gt;
CHOOSE:Language(&amp;lt;type&amp;gt;) -&amp;gt; CHOOSE:LANGUAGE|&amp;lt;type&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CHOOSE:SKILLSNAMED|...|# -&amp;gt;  CHOOSE:SKILLSNAMED|...&amp;lt;tab&amp;gt; SELECT:#&lt;br /&gt;
&lt;br /&gt;
SPELLS:&amp;lt;spellbook&amp;gt;|TIMES:-1 to SPELLS:&amp;lt;spellbook&amp;gt;|TIMES:ATWILL&lt;br /&gt;
&lt;br /&gt;
NUMCHOICES=1 not allowed in CHOOSE:SPELLLEVEL&lt;br /&gt;
&lt;br /&gt;
CHOOSE: in EqMod with Title as first argument is deprecated -&amp;gt; CHOOSE:&amp;lt;subtoken&amp;gt;|&amp;lt;args&amp;gt;|TITLE=&amp;lt;title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
REMOVE:FEAT(&amp;lt;feat1&amp;gt;,&amp;lt;feat2&amp;gt;)# -&amp;gt; REMOVE:FEAT|&amp;lt;feat1&amp;gt;,&amp;lt;feat2&amp;gt;|#&lt;br /&gt;
&lt;br /&gt;
CHOOSE:&amp;lt;blah text1&amp;gt;|&amp;lt;blah text2&amp;gt; -&amp;gt; CHOOSE:STRING|&amp;lt;blah text1&amp;gt;|&amp;lt;blah text2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CHOOSE:CCSKILLLIST|x,x -&amp;gt; CHOOSE:SKILLSNAMED|CROSSCLASS&lt;br /&gt;
&lt;br /&gt;
CHOOSE:NONCLASSSKILLLIST|x -&amp;gt; CHOOSE:SKILLSNAMED|CROSSCLASS|EXCLUSIVE&lt;br /&gt;
&lt;br /&gt;
CHOOSE:SKILLIST|x,x -&amp;gt; CHOOSE:SKILLSNAMED|x|x&lt;br /&gt;
&lt;br /&gt;
CHOOSE:SKILLIST|LIST -&amp;gt; CHOOSE:SKILLSNAMED|ALL&lt;br /&gt;
&lt;br /&gt;
CHOOSE:Martial -&amp;gt; CHOOSE:PROFICIENCY|WEAPON|UNIQUE|TYPE.Martial&lt;br /&gt;
&lt;br /&gt;
CHOOSE:Exotic -&amp;gt; CHOOSE:PROFICIENCY|WEAPON|UNIQUE|TYPE.Exotic&lt;br /&gt;
&lt;br /&gt;
CHOOSE:SPELLLEVEL arguments may not contain ,&lt;br /&gt;
&lt;br /&gt;
LIST in some CHOOSEs no longer used&lt;br /&gt;
&lt;br /&gt;
ADD:FEAT(blah,blah1)# -&amp;gt; ADD:FEAT|#|blah,blah1&lt;br /&gt;
&lt;br /&gt;
ADD:CLASSSKILLS(blah,blah1)# -&amp;gt; ADD:CLASSSKILLS|#|blah,blah&lt;br /&gt;
&lt;br /&gt;
ADD:SPELLCASTER(blah,blah1)# -&amp;gt; ADD:SPELLCASTER|#|blah,blah &lt;br /&gt;
&lt;br /&gt;
PRESPELLTYPE:Arcane,1,5 -&amp;gt; PRESPELLTYPE:1,Arcane=5&lt;br /&gt;
&lt;br /&gt;
RESIZABLEEQUIPTYPE -&amp;gt; Add default to miscinfo.lst&lt;br /&gt;
&lt;br /&gt;
WEAPONREACH -&amp;gt; Add default to miscinfo.lst&lt;br /&gt;
&lt;br /&gt;
FOLLOWERALIGN -&amp;gt; PREALIGN &lt;br /&gt;
&lt;br /&gt;
PREVIEWDIR:d20/fantasy -&amp;gt; added to miscinfo.lst as a commented out example&lt;br /&gt;
&lt;br /&gt;
PREVIEWSHEET:preview.html -&amp;gt; added to miscinfo.lst as a commented out example&lt;br /&gt;
&lt;br /&gt;
VISION:Low-light,Darkvision -&amp;gt; VISION:Low-light|Darkvision&lt;br /&gt;
&lt;br /&gt;
CLASSES:Sorcerer=1[PRExxx] -&amp;gt; CLASSES:Sorcerer=1&amp;lt;tab&amp;gt;PRExxx&lt;br /&gt;
&lt;br /&gt;
PRESA:Wild Empathy -&amp;gt; PRESAB:Wild Empathy&lt;br /&gt;
&lt;br /&gt;
WT:- -&amp;gt; &amp;lt;tab&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ADD:Language -&amp;gt; ADD:LANGUAGE&lt;br /&gt;
&lt;br /&gt;
BONUSFEATS:1 -&amp;gt; BONUS:FEAT|POOL|1&lt;br /&gt;
&lt;br /&gt;
PREEQUIP:&amp;lt;equipment&amp;gt; -&amp;gt; PREEQUIP:#,&amp;lt;equipment&amp;gt;&lt;/div&gt;</summary>
		<author><name>Barak</name></author>
		
	</entry>
</feed>