6 Commits

Author SHA1 Message Date
ds5678
4707fb5a60 Support BGR24 and ARGBFloat 2025-11-28 16:46:23 -08:00
ds5678
063aa46094 Allow mipped textures in SwitchSwizzle 2025-11-27 22:03:57 -08:00
ds5678
cdf4f3f24d Fix remaining Switch deswizzling issues
Related: #2001
2025-11-27 13:41:03 -08:00
ds5678
4529fc218e Improve Switch deswizzling
Resolves #2001
2025-11-26 23:47:40 -08:00
ds5678
b328be9ec6 Use BinaryPrimitives instead of BitConverter 2025-10-09 16:45:07 -07:00
Raytwo
4cccff3d5a
Implement texture unswizzling for Switch platform (#1948)
* Experimental unswizzling port

* Remove unused helper

* Fix wrong field usage

* Remove unused methods

* Properly check for swizzling

* Update Source/AssetRipper.SourceGenerated.Extensions/SwitchSwizzle.cs

Co-authored-by: Jeremy Pritts <49847914+ds5678@users.noreply.github.com>

* Update Source/AssetRipper.SourceGenerated.Extensions/SwitchSwizzle.cs

Co-authored-by: Jeremy Pritts <49847914+ds5678@users.noreply.github.com>

* Inline IsSwitchSwizzled

* Rename boolean for clarity

* Turn SwitchSwizzle into a static class

* Return on unsupported format

* Fix nullable accesses

* Apply recommended change

* Update Source/AssetRipper.SourceGenerated.Extensions/SwitchSwizzle.cs

Co-authored-by: Jeremy Pritts <49847914+ds5678@users.noreply.github.com>

---------

Co-authored-by: Jeremy Pritts <49847914+ds5678@users.noreply.github.com>
2025-09-30 16:03:07 -07:00