Forza .xdc

Textures, recreate headers, conversions, algorithms and parsing of image files
Teancum
Posts: 94
Joined: Mon Sep 22, 2014 5:13 pm

Forza .xdc

Post by Teancum »

The header reads CXDS, which I assume stands for Compressed XDS. Forza Studio ( http://codeescape.com/2012/05/forza-stu ... tion-tool/ ) can read a standard XDS texture, but in my feeble attempts at using offzip I couldn't get this to decompress.

http://www.mediafire.com/download/w6ldz ... ail_29.xdc
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Forza .xdc

Post by aluigi »

The format is something like the following:

Code: Select all

comtype unzip_dynamic
endian big
getdstring TYPE 4   # "cxds"
get DUMMY long
get SIZE long
get ZSIZE long
get SIZE long
savepos OFFSET
clog "" OFFSET ZSIZE SIZE
Teancum
Posts: 94
Joined: Mon Sep 22, 2014 5:13 pm

Re: Forza .xdc

Post by Teancum »

Yep, that was it exactly! Thanks much!