Warhammer 40,000: Dawn of War
0 of 0

File information

Last updated

Original upload

Created by

Daemonjax

Uploaded by

Daemonjax

Virus scan

Safe to use

Tags for this mod

About this mod

Texture tool to assist modding the Dawn of War 1 game. Allows for resizing decals in .SGB map file and soon(tm) .WHE model files. Definitely works with Dark Crusade files. Should work with Soul Storm files (but I haven't tested it ). Might work with Do1 original and Winter Assault (not sure).

Permissions and credits
Mirrors
If you want to replace a decal with a higher resolution version in a map or model, you'll run into a problem -- the decal just gets bigger ingame and not higher resolution.

This tool fixes that by allowing you to modify the physical decal size shown ingame -- so your higher res textures are actually higher res and don't simply take up more space.

Definitely works with Dark Crusade files.  Should work with Soul Storm files (but I haven't tested it).  Might work with Do1 original and Winter Assault (not sure).  It'll either work perfectly or "fail-fast" during execution if the internal structure of the files changed between the DoW 1 versions, so you'll know quickly one way or another.

v1.0 Feature list:
  • SGB MAP FILES:
    • List the filenames for all decals used in a map
    • List all the current sizes (as float value) of a specific decal used in a map
    • Resize all instances of a specific decal used in a map by multiplying it by an arbitrary float value


v1.3 New Features:
  • Can specify a folder path instead of just a file path so that the target and command gets applied to all *.SGB map files in that folder. This is super useful because decals are often used in multiple map files.
  • Options. These are optional arguments that can be combined. Currently there's just two: -o for overwrite and -l for logging output to a logfile instead of console.
  • -list target. This allows you to specify a text file as the target which contains a list of actual targets and commands. Take a look at the testArgList.DoW1tt file on the GutHub page (https://github.com/daemonjax/DoW1-Texture-Tool/blob/master/testArgList.DoW1tt )for an example.
v1.4 New Feature:
  • Added feature: new Command for -decal Target: -replace_all=[decal filepath]...  For example: java -jar DoW1TextureTool.jar  "e:\maps\6p_rhean_floodlands.sgb" -decal="art/decals/jungle/jungle_debris_03" -replace_all="art/decals/jungle/jungle_debris_04"

Currently it just works on .SGB map files, but that is the most important feature because doing it by hand would be next to impossible.

Targets Java 11 features, so you'd need to use  a java version 11+ to run it.

To run:

java -jar DoW1TextureTool.jar

The above will print a "usage" screen which includes examples.

Github page: https://github.com/daemonjax/DoW1-Texture-Tool