dtmt/lib/sdk/src
Lucas Schwiderski 30b9a93fa3
Reverse DDSImage::load
Decompiling the game binary shows a rather elaborate algorithm to load
DDS images from binary. Though comparing it to Microsoft's documentation
on DDS, most of it seems to be pretty standard handling.

However, we don't actually need all of it. The part about calculating
pitch and reading blocks only accesses a subset of the `ImageFormat`
struct, so we can strip our implementation to just that.
2025-02-19 11:12:11 +01:00
..
bundle feat(sdk): Implement partial texture decompilation 2025-02-19 11:12:05 +01:00
filetype Reverse DDSImage::load 2025-02-19 11:12:11 +01:00
murmur sdk: Add dictionary group for texture categories 2025-02-19 11:12:08 +01:00
binary.rs feat(sdk): Implement partial texture decompilation 2025-02-19 11:12:05 +01:00
context.rs sdk: Add dictionary group for texture categories 2025-02-19 11:12:08 +01:00
lib.rs Implement faster hex string parsing 2024-07-09 16:16:48 +02:00