Closed Lisias closed 2 months ago
Hypothesis
From the user's log, I found:
[LOG 19:46:41.480] Load DDS texture: KAX/Parts/KAX_radialProp/radialPropBlu
[WRN 19:46:41.480] LOAD FAILED : DDS: The 'DXT3' format isn't supported, use DXT1 for RGB textures or DXT5 for RGBA textures
[WRN 19:46:41.487] Duplicate PNG texture 'KAX/Parts/KAX_radialProp/radialPropBlu' with extension 'png' won't be loaded
[LOG 19:46:41.498] Load DDS texture: KAX/Parts/KAX_radialProp/radialPropChk
[WRN 19:46:41.498] LOAD FAILED : DDS: The 'DXT3' format isn't supported, use DXT1 for RGB textures or DXT5 for RGBA textures
[WRN 19:46:41.506] Duplicate PNG texture 'KAX/Parts/KAX_radialProp/radialPropChk' with extension 'png' won't be loaded
[LOG 19:46:41.517] Load DDS texture: KAX/Parts/KAX_radialProp/radialPropRed
[WRN 19:46:41.517] LOAD FAILED : DDS: The 'DXT3' format isn't supported, use DXT1 for RGB textures or DXT5 for RGBA textures
[WRN 19:46:41.523] Duplicate PNG texture 'KAX/Parts/KAX_radialProp/radialPropRed' with extension 'png' won't be loaded
But I didn't found anything like that on the logs I get from my test beds. Absolutely weird...
Yep, mine is working fine:
[LOG 03:06:27.111] Load(Texture): KAX/Parts/KAX_radialProp/radialPropBlack
[LOG 03:06:27.678] Load(Texture): KAX/Parts/KAX_radialProp/radialPropBlu
[LOG 03:06:27.841] Load(Texture): KAX/Parts/KAX_radialProp/radialPropChk
[LOG 03:06:27.997] Load(Texture): KAX/Parts/KAX_radialProp/radialPropRed
[LOG 03:06:28.159] Load(Texture): KAX/Parts/KAX_radialProp/radialProp_NRM
[LOG 03:06:28.535] Load(Texture): KAX/Parts/KAX_radialProp/radialProp_txr
Hummm... WAIT!
I found PNG and DDS for some textures on the KAX 2.8.1.0 distribution package!
I removed the PNG files, leaving the DDS. But still they loaded fine again. So I'm not the source of the borkage.
Oukey, there's no other explanation. Something converted the KAX's DDS's to DXT3, or perhaps converted the PNG files into DXT3 instead of DXT1 - this issue is completely unrelated to KAX.
Yes, there's another explanation - I borked the second test without being aware.
The duplicated textures are already fixed on the DEV branch, so this is something that was already tackled down.
Found the commit: https://github.com/net-lisias-ksp/KAX/commit/7fbbafe9b4325e93e00dc699c5a4ab66f869c1e5
Hummm.... KSPCF is installed, and I know it optimizes the textures for quicker loading... It worth a try.
YES, IT WAS KSPCF!!!
Found this on my KSP.log from my KSPCF test bed:
[LOG 03:25:45.116] Load DDS texture: KAX/Parts/KAX_radialProp/radialPropBlu
[WRN 03:25:45.117] LOAD FAILED : DDS: The 'DXT3' format isn't supported, use DXT1 for RGB textures or DXT5 for RGBA textures
[WRN 03:25:45.117] Duplicate PNG texture 'KAX/Parts/KAX_radialProp/radialPropBlu' with extension 'png' won't be loaded
[LOG 03:25:45.144] Load DDS texture: KAX/Parts/KAX_radialProp/radialPropChk
[WRN 03:25:45.144] LOAD FAILED : DDS: The 'DXT3' format isn't supported, use DXT1 for RGB textures or DXT5 for RGBA textures
[WRN 03:25:45.217] Duplicate PNG texture 'KAX/Parts/KAX_radialProp/radialPropChk' with extension 'png' won't be loaded
[LOG 03:25:45.469] Load DDS texture: KAX/Parts/KAX_radialProp/radialPropRed
[WRN 03:26:24.211] LOAD FAILED : DDS: The 'DXT3' format isn't supported, use DXT1 for RGB textures or DXT5 for RGBA textures
[LOG 03:26:24.439] [ModuleManager] INFO: Loading Physics.cfg
[WRN 03:26:24.447] Duplicate PNG texture 'KAX/Parts/KAX_radialProp/radialPropRed' with extension 'png' won't be loaded
So, this is what's happening:
Next KAX release will not have duplicated textures, so I hope this problem will not be triggered again by KAX - but KSPCF clearly have a bug, and they should not be overwritting 3rd party assets!
Closing this so.
WRONG
I indeed shoved DXT3 DDSs in the distribution.
This is a bug, being masked silently by how KSP (stock) load things. KSPCF was the messenger that I ended up shooting by mistake.
On a (hopefully) final note, thanks for the KSPCF guys for (properly) diagnosing the problem, and my apologies for shooting the messenger.
On the bright side, a change request on KSPCF were create to prevent further mishaps like this one.
Fellow Kerbonaut Nophallus reported on Forum:
MODLIST
Evidences