Skip to content

Fix Tex File mipmap offsets - #96

Merged
Squall-Leonhart merged 8 commits into
TexTools:developfrom
senko-forks:pr-mipoffset
Jul 4, 2025
Merged

Squall-Leonhart merged 8 commits into
TexTools:developfrom
senko-forks:pr-mipoffset

Conversation

@helpful-fox-senko-san

@helpful-fox-senko-san helpful-fox-senko-san commented Jun 11, 2025 •

Copy link
Copy Markdown
Contributor

Fixes multiple issues with Tex file mipmap offset calculations resulting in corrupted Tex file headers. Also provides migration for upgrading old modpacks.

Also TexTools was creating .tex files with 80 extra null bytes at the end, so the fixup function trims that too.

TTMP version is now 2.1, and TTMP 2.0 modpacks will have their textures fixed on import. PMP modpacks will always have their textures fixed on import.

Also contains some changes to the export of DDS files, fixing a couple of compatibility issues with GIMP in particular.

@Squall-Leonhart
Squall-Leonhart merged commit 57d1ada into TexTools:develop Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants