<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://community.bistudio.com/wiki?action=history&amp;feed=atom&amp;title=SetVersion</id>
	<title>SetVersion - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://community.bistudio.com/wiki?action=history&amp;feed=atom&amp;title=SetVersion"/>
	<link rel="alternate" type="text/html" href="https://community.bistudio.com/wiki?title=SetVersion&amp;action=history"/>
	<updated>2026-04-20T18:43:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>https://community.bistudio.com/wiki?title=SetVersion&amp;diff=85301&amp;oldid=prev</id>
		<title>Benargee: Category:Mikero Tools</title>
		<link rel="alternate" type="text/html" href="https://community.bistudio.com/wiki?title=SetVersion&amp;diff=85301&amp;oldid=prev"/>
		<updated>2014-10-12T23:27:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki/Category:Mikero_Tools&quot; title=&quot;Category:Mikero Tools&quot;&gt;Category:Mikero Tools&lt;/a&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 01:27, 13 October 2014&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-l62&quot;&gt;Line 62:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 62:&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;files will remain in the pbo, where, normally, these too would be removed during  &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;files will remain in the pbo, where, normally, these too would be removed during  &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;the rapification process.&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;the rapification process.&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;&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;&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;[[Category:Mikero Tools]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Benargee</name></author>
	</entry>
	<entry>
		<id>https://community.bistudio.com/wiki?title=SetVersion&amp;diff=83491&amp;oldid=prev</id>
		<title>Mikero: Created page with &quot;          SetVersion version 2.xx by Mikero.&lt;br&gt; &lt;br&gt; see readme general&lt;br&gt; see fixes    ----   &lt;br&gt; SerVersion changes the RequiredVersion= of any config.cpp/bin within an  ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://community.bistudio.com/wiki?title=SetVersion&amp;diff=83491&amp;oldid=prev"/>
		<updated>2014-09-07T13:43:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;          SetVersion version 2.xx by Mikero.&amp;lt;br&amp;gt; &amp;lt;br&amp;gt; see readme general&amp;lt;br&amp;gt; see fixes    ----   &amp;lt;br&amp;gt; SerVersion changes the RequiredVersion= of any config.cpp/bin within an  ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;         &lt;br /&gt;
SetVersion version 2.xx by Mikero.&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
see readme general&amp;lt;br&amp;gt;&lt;br /&gt;
see fixes&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
----&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
SerVersion changes the RequiredVersion= of any config.cpp/bin within an &lt;br /&gt;
addon.pbo&amp;lt;br&amp;gt; &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
It is specifically targetted at (but not limited to) making Arma ONE addons &lt;br /&gt;
compatible with Arma TWO.&amp;lt;br&amp;gt; &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
For the most part this will work, because. for the most part, the engine &lt;br /&gt;
'understands' the alternate p3d compressions (lzss) inside arma1. And / Or, the &lt;br /&gt;
p3d models and classes are largely in the same /ca/folder/ network.&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
As an aside, but, for the removal of some half dozen objects in the arma2 addons, &lt;br /&gt;
sara, and most missions would have been compatible with a2. There is no readily &lt;br /&gt;
available upgrade path, rendering all previous efforts and mission creation, &lt;br /&gt;
redundant. So much for a retaining a loyal customer base. &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Secondly, why on earth each revision of the engine from cwc through to arma2 has &lt;br /&gt;
revision values LESS than previous engines defies all explanation.&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
------&amp;lt;br&amp;gt;&lt;br /&gt;
Useage&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
SetVersion [-options] 1.03(eg) SomePbo[.pbo] [AnotherPbo[.pbo]]&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
options&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
-x Exclude config.cpp(s) from revision. only revise bin&amp;lt;br&amp;gt;&lt;br /&gt;
-p dont pause&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
note that SetVersion is recursive. It will change ALL config.cpp/bins's &lt;br /&gt;
encountered in the pbo&amp;lt;br&amp;gt; &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Return Values&amp;lt;br&amp;gt;&lt;br /&gt;
--------------&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
for Dos usage it is useful to 'know' (via ERRORLEVEL) what operation was &lt;br /&gt;
performed&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
0 VERSION_CHANGED: a change took place&amp;lt;br&amp;gt;&lt;br /&gt;
1 VERSION_SAME: the RequiredVersion(s) are identical to what was wanted no &lt;br /&gt;
change to pbo&amp;lt;br&amp;gt;&lt;br /&gt;
2 VERSION_NONE: no config(s) (or no RequiredVersion= in those configs) found. no &lt;br /&gt;
change to pbo&amp;lt;br&amp;gt;&lt;br /&gt;
3 VERSION_ERROR: file could not be processed in some way&amp;lt;br&amp;gt; &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
***************&amp;lt;br&amp;gt;&lt;br /&gt;
CAVEAT EMPTOR and ROE (rules of engagement)&amp;lt;br&amp;gt;&lt;br /&gt;
***************&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Config.cpp&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Config.cpp is normally a text file. It can, alternatively be encountered in a &lt;br /&gt;
binarised form, and to all intents is a config.bin&amp;lt;br&amp;gt; &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
When config.cpp IS a text file, SetVersion attempts to convert it 'on the fly' &lt;br /&gt;
to a binarised form&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
This conversion will fail if paths are incorrect for #include statements (eg). &lt;br /&gt;
Generally, any binarisation of a config requires that you set up a P: drive&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
You also may not wish to do this for several reasons. You can use the -x option &lt;br /&gt;
to prevent setversion changing config.cpp's&amp;lt;br&amp;gt; &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
HOWEVER&amp;lt;br&amp;gt;&lt;br /&gt;
if allowed, and IF encountered, and IF successful, the original 'file' is &lt;br /&gt;
renamed to config.cpp.txt, and a new text file replaces it. THIS, NEW text file&amp;lt;br&amp;gt;&lt;br /&gt;
will be stripped of all comments and #includes (because they are unecessary at &lt;br /&gt;
this point)&amp;lt;br&amp;gt; &amp;lt;br&amp;gt; &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Note finally, that this is a kludge. Redundant hpp files and included cpp text &lt;br /&gt;
files will remain in the pbo, where, normally, these too would be removed during &lt;br /&gt;
the rapification process.&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mikero</name></author>
	</entry>
</feed>