The compression flag for the format may be wrong. TID files from neptunia v2's GAME0000 GAME00000\event\bg\ has many TID files that has DXT5 compression fourcc, with the bit not set.
The proposed fix is directly check for the compression fourcc. However, a string type is not a char[] as in c/c++. The current fix treats all fourccs with NULL start as non-compressed.
The fix works for Neptunia v2 TID files, but I do not know if it breaks things elsewhere.
(I'm sorry if there's coding style error, etc. I simply do not know much about csharp...)
The compression flag for the format may be wrong. TID files from neptunia v2's GAME0000 GAME00000\event\bg\ has many TID files that has DXT5 compression fourcc, with the bit not set.
The proposed fix is directly check for the compression fourcc. However, a string type is not a char[] as in c/c++. The current fix treats all fourccs with NULL start as non-compressed.
The fix works for Neptunia v2 TID files, but I do not know if it breaks things elsewhere.
(I'm sorry if there's coding style error, etc. I simply do not know much about csharp...)