what is the game name? i need to name script
this Noesis python script will open your ckd samples
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.