Beamdog / nwn-issues

Neverwinter Nights: Enhanced Edition Technical Bug Tracker
http://nwn.beamdog.com
31 stars 1 forks source link

Standard DDS files can crash game #609

Open Txpple opened 6 months ago

Txpple commented 6 months ago

Per the wiki at https://nwn.wiki/display/NWN1/DDS and if i recall one of the patch notes, NWN supports standard DDS if it is BC1 BC3 BC4 and BC5. When making a DDS in non-Bio format, the game hardcrashes when loading.

Cross linked to crash-analysis here: https://discord.com/channels/382306806866771978/1217908992794431649

To Reproduce

The sample DDS was created with CompressionatorCLI using the following command: CompressonatorCLI.exe -fd BC1 textest01.tga textest01.dds. Creating a similar BC1 with standard build of Crunch crashes, too. Basically, its standard DDS stuff.

Crash Dump

Specifics

Finaldeath commented 6 months ago

Have you tried crunch with the same file? Several tools that generate DDS files can generate ones that won't work due to newer or esoteric encodings.

Txpple commented 6 months ago

Yes same issue with base crunch (https://github.com/BinomialLLC/crunch).

I'm using just the standard encodings like BC1 and BC3.

NWNCrunch does not crash, but it also does NWN header info on the dds.

Finaldeath commented 6 months ago

nwcrunch doesn't add NWN headers anymore with the standard bat scripts.