Just Dance 2014 (Wii) .tga.ckd/png.ckd

Textures, recreate headers, conversions, algorithms and parsing of image files
DiiMashups
Posts: 14
Joined: Sat Jun 10, 2017 9:22 pm

Just Dance 2014 (Wii) .tga.ckd/png.ckd

Post by DiiMashups »

Hello, recently i've been extracting Just Dance games for Wii and i found out some (probably dds?) textures and i couldn't open them. They seem to have their header reversed so i don't know how to open them. Could anyone help me?
DiiMashups
Posts: 14
Joined: Sat Jun 10, 2017 9:22 pm

Re: Just Dance 2014 (Wii) .tga.ckd/png.ckd

Post by DiiMashups »

Anyone?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Just Dance 2014 (Wii) .tga.ckd/png.ckd

Post by aluigi »

Not useful but at least it's a starting point (the stored dds is in big endian):

Code: Select all

endian big
get DUMMY long
idstring "TEX\0"
get OFFSET long
get SIZE asize
math SIZE - OFFSET
encryption reverselong ""
get NAME basename   # .tga
get NAME basename   #
string NAME + ".dds"
log NAME OFFSET SIZE
Please note that this is not my field so wait the replies of other users.
DiiMashups
Posts: 14
Joined: Sat Jun 10, 2017 9:22 pm

Re: Just Dance 2014 (Wii) .tga.ckd/png.ckd

Post by DiiMashups »

aluigi wrote:Not useful but at least it's a starting point (the stored dds is in big endian):

Code: Select all

endian big
get DUMMY long
idstring "TEX\0"
get OFFSET long
get SIZE asize
math SIZE - OFFSET
encryption reverselong ""
get NAME basename   # .tga
get NAME basename   #
string NAME + ".dds"
log NAME OFFSET SIZE
Please note that this is not my field so wait the replies of other users.

Is there anything for stored dds in Little Endian? This is what happens if i open the big endian file in GetPaint.Net...
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Just Dance 2014 (Wii) .tga.ckd/png.ckd

Post by aluigi »

The dds is stored as big endian so the script automatically swaps all the 32bit fields without knowing the format (just raw basic swapping).
If you don't want it then remove the 'encryption reverselong ""' line