.tga.ckd to dds (Just Dance)

Textures, recreate headers, conversions, algorithms and parsing of image files
Slappy
Posts: 12
Joined: Mon Mar 20, 2017 11:52 am

Re: .tga.ckd to dds (Just Dance)

Post by Slappy »

Hello.

What about Rayman Legends (Definitive Edition) for Nintendo Switch .tga.ckd?

It looks like DDS format ("TEX" can be found in file) but the "DDS" is missing and the other known tools do not convert the file.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: .tga.ckd to dds (Just Dance)

Post by Acewell »

1024x1024 dxt3, data starts at 0x234 :D
you can get the unswizzled image with Rawtex here:
viewtopic.php?f=7&t=7099
tick the "Switch swizzle" option before viewing.
Slappy
Posts: 12
Joined: Mon Mar 20, 2017 11:52 am

Re: .tga.ckd to dds (Just Dance)

Post by Slappy »

Thanks, works perfectly. Is there any tool to swizzle the textures back to Switch format?
Now I have .png file from Rawtex, I modify it with Gimp and save as DDS DXT3 and copy bytes in hex editor back into .tga.ckd but the texture is not good.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: .tga.ckd to dds (Just Dance)

Post by Acewell »

i suppose you could try the Switch-Toolbox here:
https://github.com/KillzXGaming/Switch-Toolbox
or maybe masagrator's method:
https://forum.xentax.com/viewtopic.php?t=19960#p150801
icebb
Posts: 2
Joined: Tue Sep 29, 2020 1:20 pm

Re: .tga.ckd to dds (Just Dance)

Post by icebb »

ekvirjd wrote:
LazyguyMC wrote:I have tga.ckd files from Yo-Kai Watch: Just Dance Special Version for the Wii U. These files likely share the same format with Just Dance Wii U (Japan) and Just Dance 2014. None of the .py scripts worked to decode this format. Can you write a script to do just that for these formats?

(Side note: Is there a way to re-encode these textures using a hex editor or special program?)


1. Open a file (example geragerapoori_coach_1.tga.ckd) in hex editor
2. Delete ALL words before Gfx2 and save it
3. Now you have a backup of this file and modded file
4. Name it to geragerapoori_coach_1.gtx (the type of file should change to gtx)
5. Download https://drive.google.com/file/d/12N72eS ... sp=sharing and unzip it
6. Put geragerapoori_coach_1.gtx in folder named convert
7. Run convertGTX.bat
8. Now go to OutDDS folder and enjoy your files.


but if the file dont have a "Gfx2"? like the file above
help me!