Converting to X360 DXT

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
mzkoops56
ultra-n00b
Posts: 4
Joined: Wed Apr 05, 2017 11:44 pm
Has thanked: 1 time

Converting to X360 DXT

Post by mzkoops56 » Sun Apr 29, 2018 12:42 pm

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

User avatar
Acewell
VIP member
VIP member
Posts: 1218
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2357 times
Been thanked: 705 times

[X360] Just Dance 2018 (.ckd)

Post by Acewell » Mon Apr 30, 2018 9:24 am

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.
You do not have the required permissions to view the files attached to this post.
Last edited by Acewell on Mon Apr 30, 2018 10:05 pm, edited 2 times in total.

mzkoops56
ultra-n00b
Posts: 4
Joined: Wed Apr 05, 2017 11:44 pm
Has thanked: 1 time

Re: Converting to X360 DXT

Post by mzkoops56 » Mon Apr 30, 2018 11:03 am

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

Post Reply