Difference between revisions of "Changing textures"

From XStoryPlayer Wiki
Jump to: navigation, search
Line 18: Line 18:
 
Download a .dds plugin for [https://developer.nvidia.com/nvidia-texture-tools-adobe-photoshop photoshop here].
 
Download a .dds plugin for [https://developer.nvidia.com/nvidia-texture-tools-adobe-photoshop photoshop here].
 
</li>
 
</li>
<li>Open the /scenes/textures/character6/body_all_png.dds texture. It is the body skin texture used for Saiko her body.
+
<li>Open the [code]/scenes/textures/character6/body_all_png.dds[/code] texture. It is the body skin texture used for Saiko her body.
 
Use "Load using default sizes" in the popup dialog if you get this popup dialog.</li>
 
Use "Load using default sizes" in the popup dialog if you get this popup dialog.</li>
 
</ol>
 
</ol>

Revision as of 14:50, 6 January 2015

The scene textures can be found in the ./pack/pack_dungeon/scenes/textures directory.

The scene sounds can be found in the ./pack/pack_dungeon/scenes/sounds directory.

The character sounds can be found in the ./pack/pack_dungeon/ai/speech/default directory.

Texture format

  • XStoryPlayer color textures are in .dds file format.
  • XStoryPlayer bump/displacement/normal textures are not in the .dds file format because that results in artifacts due to its normalized nature.
A .dds file is an compressed image format like .png or .jpg.
It contains reduced (mipmapped) versions of the image and it can directly be used as a compressed texture by the graphics card.

Opening a .dds file

  1. Most image editors have a plugin that allows you to open .dds files. This tutorial assumes you will be using Photoshop.
    Download a .dds plugin for photoshop here.
  2. Open the [code]/scenes/textures/character6/body_all_png.dds[/code] texture. It is the body skin texture used for Saiko her body. Use "Load using default sizes" in the popup dialog if you get this popup dialog.