This should help resolve issues with loading DDS files in some applications like paint.net. If the cube flag is set, the number of layers should be 1.