2 Commits

Author SHA1 Message Date
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