Editing Textures - three-houses-research-team/Throne-of-Knowledge GitHub Wiki

Tools

Guide

Exporting Textures (.dds)

In the [Texture Convert] LINKDATA导入导出工具-0.430 folder, drag and drop the desired file onto the Export.bat batch script. A new folder with the file's filename should be created with .dds files.

Importing Textures (.dds)

In the [Texture Convert] LINKDATA导入导出工具-0.430 folder, run the Import.bat batch script. Drop the original file onto the command prompt, and press enter. Drop the folder containing the .dds files and press enter. The file should now have the edits.

Image Editors

GIMP

Filename Compression Type Format
XXXXX_XXXXXX-DXT1.dds BC1 / DXT1 N/A
XXXXX_XXXXXX-DXT3.dds BC2 / DXT3 N/A
XXXXX_XXXXXX-DXT5.dds BC3 / DXT5 N/A
XXXXX_XXXXXX-ARGB.dds None ABGR8
  1. Open up the dds file you want to edit. On load, a Load DDS dialog will pop up. Untick Load mipmaps and click the OK button.

  2. Once done editing, click File > Export As. In the Export Image dialog, export the image as a dds file. In the Export as DDS dialog, click the Compression: dropdown list and select the compression and format based on the table above. Click the Mipmaps dropdown list and select Generate mipmaps.

  3. Once finished, click the Export button.

Photoshop

Filename Compression Type
XXXXX_XXXXXX-DXT1.dds DXT1 ARGB 4 bpp | 1 bit alpha
XXXXX_XXXXXX-DXT3.dds DXT3 ARGB 8 bpp | explicit alpha
XXXXX_XXXXXX-DXT5.dds DXT5 ARGB 8 bpp | interpolated alpha
XXXXX_XXXXXX-ARGB.dds 8.8.8.8 ARGB 32 bpp | unsigned
  1. Open up the dds file you want to edit. In the Load Options dialog menu, if it has a checkbox that says Load mip-maps into separate layer, remember that. Do not toggle any of the checkboxes and click the OK button.

  2. Once done editing, click File > Save As. In the Save As dialog, click the Save as type: dropdown list and click D3D/DDS (*.DDS; *.DDS) and NOT Intel® Texture Works (*.DDS; *.DDS).

  3. In the NVIDIA dds Format dialog, click the dropdown list in the same row as the Save and Cancel button. Select the compression type based on the table above. In the Mip Map Generation section, if there was a checkbox that says Load mip-maps into separate layer in step 2, select Generate MIP maps. If there wasn't, select No MIP maps.

  4. Once finished, click the Save button.

Paint.NET

Filename Compression Type
XXXXX_XXXXXX-DXT1.dds BC1 (Linear, DXT1)
XXXXX_XXXXXX-DXT3.dds BC2 (Linear, DXT3)
XXXXX_XXXXXX-DXT5.dds BC3 (Linear, DXT5)
XXXXX_XXXXXX-ARGB.dds B8G8R8A8 (Linear, A8R8G8B8)
  1. Open up the dds file you want to edit.

  2. Once done editing, click File > Save As. In the Save As dialog, click the Save as type: dropdown list and click DirectDraw Surface (DDS)(*.dds).

  3. In the Save Configuration dialog, under Settings, click the dropdown list and select the compression type based on the table above.

  4. In the Save Configuration dialog, under Additional Options, tick Generate Mip Maps.

  5. Once finished, click the OK button.

⚠️ **GitHub.com Fallback** ⚠️