Page 1 of 1

.tga.ckd files (Just Dance 2019 for the Wii)

Posted: Sat Dec 29, 2018 10:38 pm
by logama6388
Hello there. I've asked this on zenhax and got no response, so I'll ask here. How do you open the .tga.ckd files that are in the Wii version of Just Dance 2019? I've been looking everywhere on the internet for a solution, but couldn't find anything. Please tell me how you open them. Here's some samples: https://drive.google.com/drive/folders/ ... sp=sharing

Re: .tga.ckd files (Just Dance 2019 for the Wii)

Posted: Sat Dec 29, 2018 10:43 pm
by logama6388
You can private message me if you don't feel like saying it where every person looking at the topic can see.

Re: .tga.ckd files (Just Dance 2019 for the Wii)

Posted: Mon Dec 31, 2018 12:27 pm
by MaKiPL
The image data has some compression I'm not aware of
I just got two PMs asking about it- download TextureFinder (find it on web or here);
Open the image, set it to DXT5, set width to 256 and offset to 163
Image
Offset is wrong, but it's the closest image data I can get. There are several headers hidden inside:

Code: Select all

TEX
SDD
TTVN
AAPMC
none of those magic's are known
Real image data offset is actually 172 (from hex data)
I'm sorry I can't help more, there's some different image compression I don't know.

I could take a look at Dolphin simulator source code...

https://github.com/dolphin-emu/dolphin/ ... eneric.cpp

Code: Select all

case TextureFormat::CMPR:  // speed critical
    // The metroid games use this format almost exclusively.
    {
      for (int y = 0; y < height; y += 8)
      {
        for (int x = 0; x < width; x += 8)
        {
          DecodeDXTBlock((u32*)dst + y * width + x, (DXTBlock*)src, width);
          src += sizeof(DXTBlock);
          DecodeDXTBlock((u32*)dst + y * width + x + 4, (DXTBlock*)src, width);
          src += sizeof(DXTBlock);
          DecodeDXTBlock((u32*)dst + (y + 4) * width + x, (DXTBlock*)src, width);
          src += sizeof(DXTBlock);
          DecodeDXTBlock((u32*)dst + (y + 4) * width + x + 4, (DXTBlock*)src, width);
          src += sizeof(DXTBlock);
        }
      }
      break;
}

Re: .tga.ckd files (Just Dance 2019 for the Wii)

Posted: Sun Feb 17, 2019 3:42 am
by Acewell
i combined the critical parts of zheneq's Nintendo library with my script to open these images.
this is the resulting Noesis python script that can also open your Just Dance 2019 Wii ckd samples. :D
https://zenhax.com/viewtopic.php?p=43370#p43370

cmpa images will export as 2 files, the rgb color layers and the alpha layer,
you must combine these by hand in Photoshop or something.

Re: .tga.ckd files (Just Dance 2019 for the Wii)

Posted: Thu Apr 18, 2019 7:45 pm
by Paulred4567
Will07498 wrote: Sat Dec 29, 2018 10:43 pm You can private message me if you don't feel like saying it where every person looking at the topic can see.
Can you help me to open Just Dance CKD files?