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

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
Will07498
ultra-n00b
Posts: 2
Joined: Sat Dec 29, 2018 9:52 pm
Has thanked: 1 time

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

Post by Will07498 » Sat Dec 29, 2018 10:38 pm

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

Will07498
ultra-n00b
Posts: 2
Joined: Sat Dec 29, 2018 9:52 pm
Has thanked: 1 time

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

Post by Will07498 » 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.

User avatar
MaKiPL
advanced
Posts: 56
Joined: Sat Sep 13, 2014 2:05 pm
Has thanked: 7 times
Been thanked: 19 times

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

Post by MaKiPL » Mon Dec 31, 2018 12:27 pm

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;
}

User avatar
Acewell
VIP member
VIP member
Posts: 1226
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2365 times
Been thanked: 708 times

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

Post by Acewell » Sun Feb 17, 2019 3:42 am

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.

Post Reply