Skip to content

Scans folders for DDS textures with abnormal dimensions

Notifications You must be signed in to change notification settings

niston/TextureScan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WHAT IS THIS

This tool will scan a folder (including all subfolders) for DDS texture files with abnormal dimensions. It allows you to find textures in your folders that have the potential to crash your game or 3D application. Also, it goes very fast if your harddrive can keep up.

alt text

HOW TO USE

  • Requires Microsoft .NET Framework 4.7.1 or higher
  • Build from Source, or exctract and run the executable from Release
  • Select scan folder with textures in it
  • Hit GO button
  • Observe
  • Doubleclick on any listed texture file to open it with your default DDS viewer/editor program

HOW DOES IT WORK

  • The tool finds all .DDS files in the given path and reads the DDS header of each file.
  • If the cubemap bit flag is set in the file, it will validate that the texture dimensions are multiples of 4.
  • If the cubemap bit flag is not set, it will validate that the texture dimensions be powers of two.
  • If the file doesn't have a DDS header, it'll list it as INVALID.
  • If the file has a malformed DDS header, it'll list it as CORRUPTED.
  • If the file is corrupted so badly that it manages to crash the header parser, it'll list it as ERROR.

NOTE

Not every texture it lists will necessarily crash the game. For example, background screens may not be powers of two sized. Use your own judgement.

RELEASES

You can find the current release on nexusmods: https://www.nexusmods.com/fallout4/mods/71588

About

Scans folders for DDS textures with abnormal dimensions

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages