Compression, Importer, Working on exporter. #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've added the 7.6 compression elements to the exporter for strata source VTFs.
I've also improved the VTF importer to where it now no longer RGBA8888s everything. It now respects alpha (so formats with no alpha channel with become RGB888/161616f) as well As I8 and A8 becoming grayscale. I'm currently working on the exporter respecting the formats gimp supports in it's layers. A critical flaw is that if a format doesn't have an alpha channel or is smaller/greater than ui8 it will either crash the plugin or create corrupt image data. GIMP doesn't really like to share what formats it supports? So I'm trying to figure out how to translate the formats used by the drawables into as close of a match that VTFPP understands.
This plugin could be very useful when it works properly.