<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.thedarkmod.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Judie08</id>
	<title>The DarkMod Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.thedarkmod.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Judie08"/>
	<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Special:Contributions/Judie08"/>
	<updated>2026-04-28T09:50:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=DDS_creation&amp;diff=10176</id>
		<title>DDS creation</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=DDS_creation&amp;diff=10176"/>
		<updated>2010-07-08T18:57:39Z</updated>

		<summary type="html">&lt;p&gt;Judie08: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This should describe the steps you&#039;ll have to follow in order to create DDS files suitable for [http://www.freelancercareers.com/ writing jobs] use in your Dark Mod maps and how to convert from DDS to other image formats using &amp;quot;The Compressonator&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Converting Image TO DDS==&lt;br /&gt;
&lt;br /&gt;
You&#039;ll need [http://72.8.59.188/TheDarkMod/Files/ATI_Compressonator_v1.21.zip ATI&#039;s &amp;quot;The Compressonator&amp;quot; application version 1.21.1044] with this exact version - other (newer) versions will not work! Install/unzip it to a folder and create a shortcut if you like.&lt;br /&gt;
&lt;br /&gt;
{{important|headline=Important|text=The normalmap DDS compression section is here for documentation purposes only. &#039;&#039;&#039;You don&#039;t need to compress the normalmaps for using them in The Dark Mod.&#039;&#039;&#039; Only compress the diffusemaps and speculars.}}&lt;br /&gt;
&lt;br /&gt;
=== Compress Diffuse/Specular Maps ===&lt;br /&gt;
* Open your source (TGA) file&lt;br /&gt;
* Create Mip Maps using the &#039;&#039;&#039;Box-Filter&#039;&#039;&#039; with the lowest mip map size of &#039;&#039;&#039;1x1&#039;&#039;&#039;.&lt;br /&gt;
[[Image:01_mips.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
* Compress the Image using &#039;&#039;&#039;DXT1 compression (0/1 bit alpha)&#039;&#039;&#039; with a colour weighting of &#039;&#039;&#039;red=0.3086, green=0.6094, blue=0.082&#039;&#039;&#039;. This applies for images &#039;&#039;&#039;without alpha&#039;&#039;&#039;. For images with alpha you&#039;ll have to choose the DXT3 compression.&lt;br /&gt;
[[Image:02_compression.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
* Save your DDS to the &#039;&#039;&#039;dds/&#039;&#039;&#039; tree, e.g. dds/textures/darkmod/stone/blah.dds. You won&#039;t need to add the dds/ path prefix to your shader definition, this is automatically added by the game.&lt;br /&gt;
&lt;br /&gt;
=== Compress Normalmaps ===&lt;br /&gt;
{{important|headline=Important|text=The normalmap DDS compression section is here for documentation purposes only. You &#039;&#039;&#039;don&#039;t&#039;&#039;&#039; need to compress the normalmaps for using them in The Dark Mod.}}&lt;br /&gt;
&lt;br /&gt;
* Open your source (TGA) file&lt;br /&gt;
* Create Mip Maps using the &#039;&#039;&#039;Box-Filter&#039;&#039;&#039; with the lowest mip map size of &#039;&#039;&#039;1x1&#039;&#039;&#039; (same as for the diffuse maps).&lt;br /&gt;
[[Image:01_normal_mips.jpg|frameless]]&lt;br /&gt;
* Compress your normalmap using the &#039;&#039;&#039;UberCompressor&#039;&#039;&#039; in &#039;&#039;&#039;DXT5 RXGB&#039;&#039;&#039; format with the colour weighting of &#039;&#039;&#039;red=0, green=0.5, blue=0.5&#039;&#039;&#039; and &#039;&#039;&#039;&amp;quot;adaptive&amp;quot; ticked off&#039;&#039;&#039;.&lt;br /&gt;
[[Image:02_normal_compression.jpg|frameless]]&lt;br /&gt;
* Save your DDS to the &#039;&#039;&#039;dds/&#039;&#039;&#039; tree, e.g. dds/textures/darkmod/stone/blah_local.dds. You won&#039;t need to add the dds/ path prefix to your shader definition, this is automatically added by the game.&lt;br /&gt;
&lt;br /&gt;
=== Batch Processing ===&lt;br /&gt;
Choose &#039;&#039;&#039;File &amp;gt; Batch Compress&#039;&#039;&#039; or hit F4 to open the batch compression dialog. Choose the same compression settings as described above for your diffuse and normal maps. Don&#039;t mix diffuse/speculars with normals as they require different compression settings.&lt;br /&gt;
&lt;br /&gt;
[[Image:dds_batch_screenshot.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Change the File Extension to lowercase ===&lt;br /&gt;
The Compressonator automatically names the file *.DDS, but all files should be lowercase (also the TGAs). Be sure to rename the files to a lowercase .dds extension before uploading them. &lt;br /&gt;
&lt;br /&gt;
Option A: Use Windows Explorer. You need to change your Explorer settings to display the file extension:&lt;br /&gt;
# Open up Windows Explorer&lt;br /&gt;
# Go &#039;&#039;&#039;Tools&#039;&#039;&#039; &amp;gt; &#039;&#039;&#039;Folder Options&#039;&#039;&#039;&lt;br /&gt;
# Click the View tab and uncheck &#039;&#039;&#039;Hide extensions for known file types&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Then you can highlight your file and hit F2 (or right-click &amp;gt; Rename) and change the extension to lowercase.&lt;br /&gt;
&lt;br /&gt;
Option B: This can also be done via the command line &#039;&#039;&#039;Start&#039;&#039;&#039; &amp;gt; &#039;&#039;&#039;Run...&#039;&#039;&#039; &amp;gt; &#039;&#039;&#039;cmd&#039;&#039;&#039; (then cd to your textures folder) and rename the files via:&lt;br /&gt;
 ren *.DDS *.dds&lt;br /&gt;
&lt;br /&gt;
=== Command Line Parameters ===&lt;br /&gt;
ATI&#039;s compressonator provides some command line parameters to compress the textures:&lt;br /&gt;
 thecompressonator -convert &amp;quot;normal.tga&amp;quot; &amp;quot;normal.dds&amp;quot; RXGB +red 0.0 +green 0.5 +blue 0.5 -mipmaps &lt;br /&gt;
 thecompressonator -convert &amp;quot;specular.tga&amp;quot; &amp;quot;specular.dds&amp;quot; DXT1 -mipmaps &lt;br /&gt;
 thecompressonator -convert &amp;quot;diffuse.tga&amp;quot; &amp;quot;diffuse.dds&amp;quot; DXT1 -mipmaps &lt;br /&gt;
 thecompressonator -convert &amp;quot;diffuse_with_alpha.tga&amp;quot; &amp;quot;diffuse.dds&amp;quot; DXT3 -mipmaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Converting FROM DDS to common image file formats==&lt;br /&gt;
&lt;br /&gt;
This is trivial but slightly confusing on The Compressonator:&lt;br /&gt;
&lt;br /&gt;
* File Menu &amp;gt; Save Original&lt;br /&gt;
* At the bottom of the dialog below the file name input select &#039;&#039;save as type&#039;&#039;. It may show DDS by default so don&#039;t be put off.&lt;br /&gt;
* Select file format from BMP, PNG, or TGA (use TGA generally for Dark Mod.)&lt;br /&gt;
* Make sure the filename you want is shown in the input box and click &#039;&#039;save&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorial]]&lt;br /&gt;
[[Category:Textures]]&lt;/div&gt;</summary>
		<author><name>Judie08</name></author>
	</entry>
</feed>