I unfortunately have no more ideas on what the issue could be. My only remaining guess is that VirtualBox is not flawless with how it handles memory using a windows guest on a linux host. This is most likely treading into new territory where few have gone, you may be the first person to ever install a windows VM on linux for the purpose of creating BC7 textures. I don't think there's anything I can do about it, the script is just a fancy way of picking options to feed into the programs, and the programs themselves are the culprit here (which one is questionable, my guess is VirtualBox and not TexConv). I highly doubt the script is corrupting the textures, the only thing it does that any of the programs do not do is splice together mipmap textures. This can cause corruption if done incorrectly, but not the type of corruption you are seeing (it will only affect lower mipmaps), and I have long nailed down that issue.
I can throw out one last chain of ideas.
- Maybe it's a problem with that specific OS, as in VirtualBox does not like Windows 10. Perhaps you would have better luck with Windows 7 or Windows 8, they have been around a lot longer so I can only assume support is better. Windows 7 uses PowerShell v2, which my script supports, but can also be updated. There are a few near useless features that won't be missed by using this version of PS. I have never tested Windows 10 as a guest because my main OS is windows 10. The only operating systems I've installed as guests are Windows 7, 8, and linux Ubuntu (just to try it out).
- Maybe it's an actual memory management bug in VirtualBox, in this case it might be worth making a post on their support forum. The people there are probably far better in dealing with this issue than I am. Like I said before, this might only be a bug when using Linux host and windows guest, or more specifically, Windows 10 guest.
- Maybe you do actually have a bad stick of RAM that passes memory tests. There was a time I had a stick of G.Skill DDR3 1600Mhz that passed MemTest86, and multiple hours of torture tests. But, I would randomly get blue screens while doing heavy tasks every couple of days. This nightmare took weeks to figure out the issue. I thought it was my overclock being unstable, but it persisted at stock settings. It wasn't until I started pulling RAM did I find the problem.
- Perhaps you'll have better luck with a different VM altogether. I only have experience with VirtualBox, so I can't make any solid suggestions there. The unfortunate thing about others is they can cost a lot of money. VMware for example can go for over 200 dollars.
- Maybe there is software that exists natively for linux that can create BC7 (BPTC) textures. I don't use linux and know very little about it, so I haven't really looked too hard. It probably won't offer any of the features of my script (most importantly separating normal images from mipmap images), but it could be a solution to just simply wanting to create BC7 textures. The entire "DDS" format and the various types of block compression used in DDS is mostly a Microsoft/Direct-X thing, so it's hard to find anything outside of windows.
- The last suggestion I can offer is to scrap the whole VM idea and use a dedicated Windows PC/laptop, or dual boot with your current rig.
I can throw out one last chain of ideas.
- Maybe it's a problem with that specific OS, as in VirtualBox does not like Windows 10. Perhaps you would have better luck with Windows 7 or Windows 8, they have been around a lot longer so I can only assume support is better. Windows 7 uses PowerShell v2, which my script supports, but can also be updated. There are a few near useless features that won't be missed by using this version of PS. I have never tested Windows 10 as a guest because my main OS is windows 10. The only operating systems I've installed as guests are Windows 7, 8, and linux Ubuntu (just to try it out).
- Maybe it's an actual memory management bug in VirtualBox, in this case it might be worth making a post on their support forum. The people there are probably far better in dealing with this issue than I am. Like I said before, this might only be a bug when using Linux host and windows guest, or more specifically, Windows 10 guest.
- Maybe you do actually have a bad stick of RAM that passes memory tests. There was a time I had a stick of G.Skill DDR3 1600Mhz that passed MemTest86, and multiple hours of torture tests. But, I would randomly get blue screens while doing heavy tasks every couple of days. This nightmare took weeks to figure out the issue. I thought it was my overclock being unstable, but it persisted at stock settings. It wasn't until I started pulling RAM did I find the problem.
- Perhaps you'll have better luck with a different VM altogether. I only have experience with VirtualBox, so I can't make any solid suggestions there. The unfortunate thing about others is they can cost a lot of money. VMware for example can go for over 200 dollars.
- Maybe there is software that exists natively for linux that can create BC7 (BPTC) textures. I don't use linux and know very little about it, so I haven't really looked too hard. It probably won't offer any of the features of my script (most importantly separating normal images from mipmap images), but it could be a solution to just simply wanting to create BC7 textures. The entire "DDS" format and the various types of block compression used in DDS is mostly a Microsoft/Direct-X thing, so it's hard to find anything outside of windows.
- The last suggestion I can offer is to scrap the whole VM idea and use a dedicated Windows PC/laptop, or dual boot with your current rig.