<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.xoreos.org/index.php?action=history&amp;feed=atom&amp;title=Xoreostex2tga</id>
	<title>Xoreostex2tga - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.xoreos.org/index.php?action=history&amp;feed=atom&amp;title=Xoreostex2tga"/>
	<link rel="alternate" type="text/html" href="https://wiki.xoreos.org/index.php?title=Xoreostex2tga&amp;action=history"/>
	<updated>2026-04-30T13:59:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.6</generator>
	<entry>
		<id>https://wiki.xoreos.org/index.php?title=Xoreostex2tga&amp;diff=183&amp;oldid=prev</id>
		<title>DrMcCoy: Created page with &quot;BioWare textures to TGA converter  = Synopsis =   xoreostex2tga [&lt;options&gt;] &lt;input file&gt; &lt;output file&gt;  = Description =  &#039;&#039;&#039;xoreostex2tga&#039;&#039;&#039; converts textures of various forma...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.xoreos.org/index.php?title=Xoreostex2tga&amp;diff=183&amp;oldid=prev"/>
		<updated>2015-09-18T22:30:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;BioWare textures to TGA converter  = Synopsis =   xoreostex2tga [&amp;lt;options&amp;gt;] &amp;lt;input file&amp;gt; &amp;lt;output file&amp;gt;  = Description =  &amp;#039;&amp;#039;&amp;#039;xoreostex2tga&amp;#039;&amp;#039;&amp;#039; converts textures of various forma...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;BioWare textures to TGA converter&lt;br /&gt;
&lt;br /&gt;
= Synopsis =&lt;br /&gt;
&lt;br /&gt;
 xoreostex2tga [&amp;lt;options&amp;gt;] &amp;lt;input file&amp;gt; &amp;lt;output file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Description =&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;xoreostex2tga&amp;#039;&amp;#039;&amp;#039; converts textures of various formats found in BioWare games into plain TGA images.&lt;br /&gt;
&lt;br /&gt;
Supported formats:&lt;br /&gt;
* DDS: Both the common DirectDraw Surface format and BioWare&amp;#039;s own, completely different DDS format are supported, each with a variety of pixel formats&lt;br /&gt;
* SBM: Found in Jade Empire, holding font glyphs&lt;br /&gt;
* TXB: Textures in Jade Empire and the Xbox version of Knights of the Old Republic&lt;br /&gt;
* TPC: Textures in other versions of Knights of the Old Republic.&lt;br /&gt;
* TGA: Textures in various games, in many different pixels formats&lt;br /&gt;
&lt;br /&gt;
The output format is always either 24-bit or 32-bit BGR(A) TGA, depending on whether the input file has an alpha channel or not. Only the highest resolution mip map will be used.&lt;br /&gt;
&lt;br /&gt;
= Options =&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;-h&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;--help&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: Show a help text and exit.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;--version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: Show version information and exit.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;-f&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;--flip&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: Flip the image vertically while converting.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;--auto&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: Try to autodetect the format of the input file. This is the default mode of operation.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;--dds&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: Explicitly mark the input file as DDS.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;--sbm&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: Explicitly mark the input file as SBM.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;--tpc&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: Explicitly mark the input file as TPC.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;--txb&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: Explicitly mark the input file as TXB.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;--tga&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: Explicitly mark the input file as TGA.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;input file&amp;gt;&lt;br /&gt;
: The name of the texture file to read.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;output file&amp;gt;&lt;br /&gt;
: The resulting TGA file will be written there.&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
&lt;br /&gt;
Convert texture.dds into image.tga:&lt;br /&gt;
 xoreostex2tga texture.dds image.tga&lt;br /&gt;
&lt;br /&gt;
Convert texture.dds into image.tga and flip the image:&lt;br /&gt;
 xoreostex2tga --flip texture.dds image.tga&lt;br /&gt;
&lt;br /&gt;
Convert the TPC texture.txb into image.tga and flip the image:&lt;br /&gt;
 xoreostex2tga --flip --tpc texture.txb image.tga&lt;br /&gt;
&lt;br /&gt;
= References =&lt;br /&gt;
&lt;br /&gt;
* https://en.wikipedia.org/wiki/DirectDraw_Surface&lt;br /&gt;
* https://en.wikipedia.org/wiki/Truevision_TGA&lt;/div&gt;</summary>
		<author><name>DrMcCoy</name></author>
	</entry>
</feed>