Fallout 4
0 of 0

File information

Last updated

Original upload

Created by

niston

Uploaded by

niston

Virus scan

Safe to use

Tags for this mod

About this mod

Sniff out textures that might CTD your game. With BA2 support.

Requirements
Permissions and credits
Changelogs
WHAT IS THIS

This tool will scan a folder (including all subfolders and, optionally, all contained BA2 archives) for DDS texture files with abnormal dimensions. This allows you to locate textures that have the potential to CTD your game. It will find odd-sized cubemaps that were saved without the cubemap flag set as well.

And it will go really  fast if your harddrive can keep up:



On my box, it plows through 6200 textures per second.
You'll get slower speeds if you have potato computer ofc. Having lots of BA2 General type archives with textures in them will also slow things down.

Btw it'll work for Skyrim, too. Or any other game/application that uses DDS textures (or BA2 General and Texture type archives).

Finally: Want to know DDS format details about specific files? Debug texture related issues like black face bug?
Check out my all new and shiny DDS Texture Informer, too!


HOW TO USE

- This is obviously not a playable mod
- Requires Microsoft .NET Framework 4.7.1 or higher
- Download, extract archive into folder & run TextureScan.exe (or rebuild from source, if you like)
- Select folder with textures in it
- Tick the "Process BA2 Archives" checkbox if you want the scanner to look inside any BA2 archives it finds
- Hit GO button
- Observe
- Doubleclick on any listed texture file to open it with your default DDS viewer/editor program (not supported for archived files)
- Hovering the mouse over a INVALID/CORRUPTED/ERROR or UNSUPPORTED entry will pop up a ToolTip with more info about the problem.
- Right click on the list will popup a menu with some additional options: Copy list to clipboard, Copy selected to clipboard, Open path in Explorer.

- Note: Not every texture that gets listed will necessarily crash the game. For example, background screens will not be powers of two sized.
  Use your own judgement, test and verify where appropriate. As a general rule of thumb, you can ignore stuff in vanilla archives.



WITCHCRAFT!!! HOW DOES THIS WORK???

- The tool finds all .DDS texture files in the scan path and reads the DDS header of each file.
- If the "Process BA2 Archives" option is enabled, it will also look for .DDS files inside any BA2 archives it discovers within the scan path.
- Archived textures will be extracted only if contained within a General type BA2 archive. Texture type BA2 archives can be processed more efficiently.
- If a texture's cubemap flag is set, it will validate that the texture dimensions are multiples of 4.
- If the cubemap flag is not set, it will validate that the texture dimensions be powers of two.
- If texture dimensions don't validate properly, it'll add the file to the list.
- Additionally, the number of MipMaps in the file is shown in the list, as well as the Cubemap flag status.
- If the file is contained in a BA2 archive, the archive type will be shown as well.
- If the file doesn't have any Mipmaps, it'll always get listed on request.
- If the file is contained in a General type BA2 archive, it'll always get listed on request.
- If the file doesn't have a DDS header, it'll list it as INVALID. This file is certainly not a DDS texture, despite what it's .DDS extension may claim.
- If the file has a malformed DDS header, it'll list it as CORRUPTED. Opening and resaving the texture in a capable DDS editor might fix this.
- If the file's DDS header is so badly damaged that it crashes the header parser, the file will be listed with ERROR. This file is likely unsalvageable.
- If the file's contained in a BA2 archive of unknown type, it'll be listed as "UNSUPPORTED". The tool can't process files in unknown archive types.



SOURCE

Visit muh github: https://github.com/niston/TextureScan



CREDITS

- maxiteo for testing
- Straw for testing
- EngineGaming for testing
- Maxie for cubemap bit flag hint
- Vladislav Vorobev for BA2Tools
- Alexander Ellingsen for BSABrowser




---

Would you like to know more (mods)? Click here.