Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Rayman Origin Wii (*.ckd - dds Texture)

Featured Replies

  • Author
  • Localization

shadow_lonely, posted Sat Jul 11, 2015 9:42 am (6300)


Could you help me convert .ckd to dds and back? I think it's Little Endian
Image
Here is example file:
Thanks for any help!
  • Author
  • Localization

shadow_lonely, posted Mon Dec 07, 2015 10:14 am (10367)


Anyone! Can help? :cry:
  • Author
  • Localization

aluigi, posted Mon Dec 07, 2015 11:00 am (10368)


I think it's a bit more complex than that.

quickbms has a cool features that allows to swap the endianess of all the fields that have been read from the file so I did the following test, I made a BACKUP copy of the file and then used this script with the -E -w options of quickbms (quickbms -E -w script.bms font02_0.tga.ckd):
Code:
get DDS_SIGN long
  DWORD           dwSize;
  DWORD           dwFlags;
  DWORD           dwHeight;
  DWORD           dwWidth;
  DWORD           dwPitchOrLinearSize;
  DWORD           dwDepth;
  DWORD           dwMipMapCount;
  DWORD           dwReserved1[11];

  #DDS_PIXELFORMAT ddspf;
#struct DDS_PIXELFORMAT {
  DWORD dwSize;
  DWORD dwFlags;
  DWORD dwFourCC;
  DWORD dwRGBBitCount;
  DWORD dwRBitMask;
  DWORD dwGBitMask;
  DWORD dwBBitMask;
  DWORD dwABitMask;
#};

  DWORD           dwCaps;
  DWORD           dwCaps2;
  DWORD           dwCaps3;
  DWORD           dwCaps4;
  DWORD           dwReserved2;

get MAX_SIZE asize
savepos TMP
xmath NUM "(MAX_SIZE - TMP) / 4"
for i = 0 < NUM
    get DUMMY long
next i

Then I renamed font02_0.tga.ckd to font02_0.dds and opened it but the output image doesn't have sense.
I tried also to comment the last part (from get MAX_SIZE) but it's still not clear.

Hope it's a starting point, at least.
  • Author
  • Localization

shadow_lonely, posted Mon Dec 07, 2015 11:30 am (10370)


aluigi wrote:
I think it's a bit more complex than that.

quickbms has a cool features that allows to swap the endianess of all the fields that have been read from the file so I did the following test, I made a BACKUP copy of the file and then used this script with the -E -w options of quickbms (quickbms -E -w script.bms font02_0.tga.ckd):
Code:
get DDS_SIGN long
  DWORD           dwSize;
  DWORD           dwFlags;
  DWORD           dwHeight;
  DWORD           dwWidth;
  DWORD           dwPitchOrLinearSize;
  DWORD           dwDepth;
  DWORD           dwMipMapCount;
  DWORD           dwReserved1[11];

  #DDS_PIXELFORMAT ddspf;
#struct DDS_PIXELFORMAT {
  DWORD dwSize;
  DWORD dwFlags;
  DWORD dwFourCC;
  DWORD dwRGBBitCount;
  DWORD dwRBitMask;
  DWORD dwGBitMask;
  DWORD dwBBitMask;
  DWORD dwABitMask;
#};

  DWORD           dwCaps;
  DWORD           dwCaps2;
  DWORD           dwCaps3;
  DWORD           dwCaps4;
  DWORD           dwReserved2;

get MAX_SIZE asize
savepos TMP
xmath NUM "(MAX_SIZE - TMP) / 4"
for i = 0     get DUMMY long
next i

Then I renamed font02_0.tga.ckd to font02_0.dds and opened it but the output image doesn't have sense.
I tried also to comment the last part (from get MAX_SIZE) but it's still not clear.

Hope it's a starting point, at least.


Thanks! Hope it's a starting point! :)
  • Author
  • Localization

shadow_lonely, posted Tue Dec 08, 2015 12:21 am (10380)


Could you swap the endianess from normal texture (DXT3/DXT5 with alpha)?
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.