Closed Avasam closed 1 year ago
It seems the raw file formats aren't exactly what GXImageFormat already expects, so they may have to be re-implemented.
The GXImageFormat must be used at some point because it is the only one supported by the gpu of the wii and gamecube.
Still far from working, but more descriptive exceptions, some comments, proper endian, and added some .editorconfig entries so that VisualStudio's Code Cleanup respects your code style (at least for this file).
It seems the raw file formats aren't exactly what GXImageFormat already expects, so they may have to be re-implemented. For reference, here's where the Pitfall TexConvert tool does the conversion from raw bytes to image, per format: https://github.com/Helco/Pitfall/tree/v1.2/TexConvert/Formats