Random_Taffer on 23/12/2016 at 19:21
Hi there.
Having some texture issues when I test my campaign in T2.
There are 4 total missions that are loaded, miss17, miss18, miss19, and miss20.
Miss20 is the one that is giving me trouble here. Basically it's dropping a couple textures unless it's the first mission opened.
If you open up each miss file in order of the campaign without first closing dromed and reopening, it drops the same 2 textures every time when it gets to miss20 and those appear as jorge in game. The textures it dropped are still in the palette, but not applied. If you compress all textures, it removes them from the palette.
I'm guessing the issue with some memory issue, but am uncertain how to proceed. I suppose I could change them to textures that actually load, but I'd rather figure this out if at all possible.
Le MAlin 76 on 23/12/2016 at 19:38
Maybe too long name of texture or too long root for the textures. It's for me the only problem than can occure with this issue.
Random_Taffer on 23/12/2016 at 19:43
Well, the trouble with that is one of the textures that gets dropped in miss20 actually successfully gets applied in miss17.
Unna Oertdottir on 23/12/2016 at 19:54
Maybe there are double textures names like
wood.png
wood.dds
Random_Taffer on 23/12/2016 at 20:14
Sadly, it's not that either.
Yandros on 23/12/2016 at 20:21
This would seem to be we're hitting a limit on total #textures in the campaign or something similar. I don't think it's memory because watching Dromed in task manager, it varies according to the size of the mission being loaded and isn't unusually large when the 4th mission is loaded. I wish monolog said something like "Unable to load texture blahblahblah due to being out of texture handles" or something similar. Also btw, on my side when I reproduce it, the two textures are not in the palette at all.
Unna Oertdottir on 23/12/2016 at 20:29
Did you enable Large Adress Aware? Is this a DromEd only issue?
Yandros on 23/12/2016 at 20:42
No, it's also in Thief2.exe. By swapping those two textures to others already in the palette, it appears to have resolved the problem, but that was just a test. R_T is now trying to swap them for suitable replacements (my test just randomly picked replacement textures). It appears that we may be 2 over some total #textures allowed limit, but I'm only guessing.
Le MAlin 76 on 23/12/2016 at 23:36
Double texture is not a problem dromed chose automatically the better quality (if you have wood.png and wood.dds, dromed/thief will just load the .dds)
Le MAlin 76 on 23/12/2016 at 23:39
Limits are:
Max texture families: 32 (from 16)
Max family textures: 1024-ish (from 256-ish)
So it will be hard to reach the limit, but if they are many textures...