<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=VGAPaint_386_PCX_Self-Extracting_Picture</id>
		<title>VGAPaint 386 PCX Self-Extracting Picture - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=VGAPaint_386_PCX_Self-Extracting_Picture"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=VGAPaint_386_PCX_Self-Extracting_Picture&amp;action=history"/>
		<updated>2026-04-20T07:47:15Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=VGAPaint_386_PCX_Self-Extracting_Picture&amp;diff=41537&amp;oldid=prev</id>
		<title>Jsummers: Created page with &quot;{{FormatInfo |formattype=electronic |subcat=Graphics |extensions={{ext|pcx}} |released=1996 }} '''VGAPaint 386 PCX Self-Extracting Picture''' (referred to here as PCX-SFX) is ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=VGAPaint_386_PCX_Self-Extracting_Picture&amp;diff=41537&amp;oldid=prev"/>
				<updated>2021-12-17T15:47:30Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{FormatInfo |formattype=electronic |subcat=Graphics |extensions={{ext|pcx}} |released=1996 }} &amp;#039;&amp;#039;&amp;#039;VGAPaint 386 PCX Self-Extracting Picture&amp;#039;&amp;#039;&amp;#039; (referred to here as PCX-SFX) is ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Graphics&lt;br /&gt;
|extensions={{ext|pcx}}&lt;br /&gt;
|released=1996&lt;br /&gt;
}}&lt;br /&gt;
'''VGAPaint 386 PCX Self-Extracting Picture''' (referred to here as PCX-SFX) is an unusual raster graphics file created by VGAPaint 386, an image and animation editor for DOS. For more information about VGAPaint 386, refer to [[VGAPaint 386 Animation]].&lt;br /&gt;
&lt;br /&gt;
== Discussion ==&lt;br /&gt;
A PCX-SFX file is almost a [[PCX]] file, but the first two bytes are different, and it contains executable code in some otherwise-unused bytes.&lt;br /&gt;
&lt;br /&gt;
The format seems to have a very narrow use case. A PCX-SFX file is not an executable ''file''; it is essentially a fragment of machine code that could be incorporated into a computer program.&lt;br /&gt;
&lt;br /&gt;
The documentation says that this feature &amp;quot;Saves the current picture in a special self-extracting format. To uncompress, load the file into a memory buffer the necessary size +1024, then call it in 32-bit protected mode.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Identification ==&lt;br /&gt;
PCX-SFX files start with bytes {{magic|eb 0e 01 08}}, and (at least for v1.4) have &lt;br /&gt;
{{magic|e8 00 00 00 00 58 83 e8 15 60 8d b0}} at offset 16.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
* VGAPaint 386 - Refer to [[VGAPaint 386 Animation#Software]]&lt;br /&gt;
&lt;br /&gt;
Note: Using a hex editor to change the first two bytes from &amp;lt;code&amp;gt;eb 0e&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;0a 05&amp;lt;/code&amp;gt; should be sufficient to convert the file to a valid [[PCX]] file.&lt;br /&gt;
&lt;br /&gt;
[[Category:Executable envelopes]]&lt;/div&gt;</summary>
		<author><name>Jsummers</name></author>	</entry>

	</feed>