Important information: this site is currently scheduled to go offline indefinitely by end of the year.

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

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

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

Post 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
logama6388
ultra-n00b
Posts: 2
Joined: Sat Dec 29, 2018 9:52 pm
Has thanked: 1 time
Been thanked: 1 time

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

Post by logama6388 »

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: 60
Joined: Sat Sep 13, 2014 2:05 pm
Has thanked: 10 times
Been thanked: 20 times

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

Post 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;
}
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

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

Post 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.
Paulred4567
ultra-n00b
Posts: 2
Joined: Thu Apr 18, 2019 7:30 pm
Has thanked: 1 time

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

Post 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?
Post Reply