Page 1 of 1

Converting to X360 DXT

Posted: Sun Apr 29, 2018 12:42 pm
by mzkoops56
I've been trying to convert some DDS textures into the x360 tiled version. If there is a script that can do that based on the file format I've uploaded, that would be great.

Format I want to convert to:
https://drive.google.com/open?id=1vcqaw ... zGNIee4aoD

[X360] Just Dance 2018 (.ckd)

Posted: Mon Apr 30, 2018 9:24 am
by Acewell
what is the game name? i need to name script :)

this Noesis python script will open your ckd samples :D
tex_JustDance2018_X360_ckd.zip
supports dxt1 and dxt5

then you can export the images to usable format and modify as you wish.
then save a modified image as for example test.tga
now you need to find a program named bundler.exe located in the X360 SDK,
i can not link it here because it will make trouble, just google.
next create a text file and name it test.rdf and paste this inside that file

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<RDF Version="XPR2">
<Texture
   Name   = "StrName"
   Source = "test.tga"
   Format = "D3DFMT_DXT5"
   Width  = "256"
   Height = "256"
   Levels = "1"
/>
</RDF>
set your source file name, format, width, height and levels (mip map levels),
for "Levels" if you set it to 0 bundler.exe will create all mip map levels by default,
if you set it to 1 it will only have top level mip,
any other number will set custom number of mips i think.

now you should have a folder with your modified image, the rdf file and bundler.exe:
test.tga
test.rdf
bundler.exe

next just drag and drop the test.rdf file on bundler.exe and it will create test.xpr
open test.xpr in a Hex editor and go to 0x80c and copy the data from there to the end.
then open the corresponding original ckd file (make a backup first) in hex editor
and go to 0x60 and paste that data overwriting the original and you should be good
as long as you didn't change the width, height and format to something different than original.

Re: Converting to X360 DXT

Posted: Mon Apr 30, 2018 11:03 am
by mzkoops56
Thank you so much! I've had the X360 SDK for awhile, I just never knew which program to use. The game name is Just Dance 2018