nesrak1 / UABEA

c# uabe for newer versions of unity
MIT License
1.05k stars 135 forks source link

Suggestion: PS4 Texture swizzling/unswizzling #297

Open eikun79 opened 7 months ago

eikun79 commented 7 months ago

Recently, PS4 is also seeing an increasing number of games with Swizzle image files, such as Nintendo Switch Can you help me convert PS4 Swizzle files to Unsweezle as below?

NotoSansJP-Regular SDF Atlas-sharedassets0.assets-590.zip

Example) https://github.com/nesrak1/UABEA/issues/185

nesrak1 commented 7 months ago

I'm not sure how close ps5 swizzling is to ps4, but some work was done for ps5 textures in the past (although I don't know where that fork is right now). I don't think it should be too terrible to implement that into the current version since switch swizzle support exists as a starting point, but I would need people to help test since I don't own a ps4.

eikun79 commented 7 months ago

The game in the file I uploaded yesterday is il2cpp version 29, and there is another problem because the managed cannot be extracted. (So far, working on PS4unity localization has produced some works... for SDF font application, monobehaviour (.txt) extraction is essential, but version 29 cannot be extracted...)

enreal engine games have a lot of experience working on swizzle images (dds to gnf) but I've only seen swizzle images of unity games twice so far,(Of course, I didn't unpack a lot of games) As we move on to the latest 22~23 years, the image of Unity Swizzle seems to be increasing.