Problem with flickering fabric

I'm trying to create a mod with some textures copied from existing mods and some new ones I've created myself. The ones I've created are for StadiumFabric* and StadiumFabricStructure* with the FabricStructure files being copies of the corresponding Fabric files. I also found StadiumFabricL in other mods, it looked the same in both so I copied it to mine, but I didn't find a StadiumFabricStructureL. The trouble is the textures are flickering. It isn't just the usual z-fighting caused by bad mixing, even unmixed blocks are flickering. I think it's related to the depth sorting bug you get with some old mods with transparent textures, but I don't know how to fix it.
My textures had some transparency originally; I made versions with no transparency but that didn't entirely cure the problem. Most of the blocks have stopped flickering, but where I can look up at a roof (8-8-1) inside other fabric blocks the roof flickers, appearing to show through to the other fabric through it. I'm not sure whether this only happens when the second visible block is FabricStructure or if it also happens with Fabric, but like I said I just copied aech Fabric file to the corresponding FabricStructure.
I don't have Photoshop so I used GIMP. The textures are 1024x512 pixels. For the S I copied the N, brightened it only slightly and made it 50% transparent, because it isn't supposed to be shiny. For the N I used Gimp's Normalmap filter then decomposed into separate R, G, B and A layers and cut the red layer and pasted it into the alpha, then set the red to all black before recomposing. I saved them all with the BC3 DXT5 option and mipmap generation enabled.
My files are at http://www.realh.co.uk/tm/dds/.
A friend tried loading them into Photoshop and re-exporting them, but that made no difference. That was with an earlier version of the texture with broken normal maps (I hadn't moved the red to alpha), but I don't think that's the cause of the problem anyway. I also saw similar flickering when I tried using the fabric textures from Inca mod before making my own textures.
My textures had some transparency originally; I made versions with no transparency but that didn't entirely cure the problem. Most of the blocks have stopped flickering, but where I can look up at a roof (8-8-1) inside other fabric blocks the roof flickers, appearing to show through to the other fabric through it. I'm not sure whether this only happens when the second visible block is FabricStructure or if it also happens with Fabric, but like I said I just copied aech Fabric file to the corresponding FabricStructure.
I don't have Photoshop so I used GIMP. The textures are 1024x512 pixels. For the S I copied the N, brightened it only slightly and made it 50% transparent, because it isn't supposed to be shiny. For the N I used Gimp's Normalmap filter then decomposed into separate R, G, B and A layers and cut the red layer and pasted it into the alpha, then set the red to all black before recomposing. I saved them all with the BC3 DXT5 option and mipmap generation enabled.
My files are at http://www.realh.co.uk/tm/dds/.
A friend tried loading them into Photoshop and re-exporting them, but that made no difference. That was with an earlier version of the texture with broken normal maps (I hadn't moved the red to alpha), but I don't think that's the cause of the problem anyway. I also saw similar flickering when I tried using the fabric textures from Inca mod before making my own textures.