Convert ripped nca graphics?

  • Thread starter Thread starter mrdude
  • Start date Start date
  • Views Views 1,572
  • Replies Replies 2

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,063
Reaction score
5,160
Trophies
1
Age
58
XP
8,384
Due to the way the switch displays some stuff graphics in games seem to be non standard. For example I ripped some resources from the switch game Let's Sing Abba - now the graphics ripped are different on the switch compared to other consoles such as ps4. I think this is down to the switch's display from handheld to TV. When I rip some graphics they end up like this:

Lg3G5Hd.png


I think there is a way to convert them back by scanning each line and flipping it, but I can't remember what software can do this, does anyone know?

I've attached the ripped png, I am looking for a tool to re-align the graphics so they show properly.
 

Attachments

Last edited by mrdude,
This is related to how GPU works. By loading preswizzled textures you are saving GPU time.

Each GPU architecture is different and because of that it has different best way to do operations on textures.
All consoles current gen and previous gen allow that. PC games don't do that because there are many different GPU architectures to choose from.

To unswizzle any raw texture I recommend rawtex

https://zenhax.com/viewtopic.php?t=7099

It supports any format supported by DDS. So it doesn't support ASTC.
You need to provide offset at which file stores raw texture, width, height, type and check "Switch swizzle" box in right upper corner (uncheck Autodetect size if you know dimensions)

You must do unswizzling on original texture as swizzle depends on few factors like block size (for example DXT5 has 16 bytes 4x4 block while RGBA8 4 bytes 1x1 block)
 
Last edited by masagrator,
  • Like
Reactions: mrdude
Thank you for the info and the link, I was able to use it to dump the image properly.

CLMYKBV.png


Now I can get the assets from a switch game and use it to make dlc for my ps4 :-).
 

Site & Scene News

Popular threads in this forum