Skip to content

Add experimental PS4/PS5 texture swizzle and deswizzle support - #19

Draft
mandel99 wants to merge 19 commits into
nesrak1:masterfrom
mandel99:feature/ps4-ps5-textures
Draft

mandel99 wants to merge 19 commits into
nesrak1:masterfrom
mandel99:feature/ps4-ps5-textures

Conversation

@mandel99

@mandel99 mandel99 commented Sep 29, 2026 •

Copy link
Copy Markdown

Adds experimental PS4 Morton and PS5 standard texture swizzle/deswizzle to the existing preview, export, import and edit workflows, including mip chains, RGB24 storage handling, padding preservation, an IsPreProcessed toggle and an original-swizzled preview checkbox. Also adds a conservative duplicate-resource-block heuristic; its origin and broader applicability need further investigation.

The AssetsTools.NET submodule currently points to mandel99/AssetsTools.NET, synced with upstream main. Its layout implementation is proposed separately in nesrak1/AssetsTools.NET#169. Supported formats and limitations are documented under docs/.

Validation: Windows Release build, 191 additional format checks, 115 regression checks and real-asset roundtrips. No in-game validation; game data and local test harnesses are not included.

Simplify comments and fork documentation, limit resource recovery to PS5, and use the updated AssetsTools.NET PS4 mip layout support.
@mandel99
mandel99 marked this pull request as draft October 1, 2026 20:16
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.

1 participant