DDS Invencible Online

Textures, recreate headers, conversions, algorithms and parsing of image files
CriticalError
Posts: 204
Joined: Thu Aug 14, 2014 8:52 pm

DDS Invencible Online

Post by CriticalError »

Hello guys, well with script of finale I got unpacked files of Invencible Online, now the problem is DDS are changed header or something like that, because when try open or see in Windows Explorer nothing happen, so here I upload some samples of DDS so maybe somebody can take a look into that for make bms script conversion? many thanks for all.

http://puu.sh/bQ9kT/90a0c2a6e9.7z
MerlinSVK
Posts: 165
Joined: Wed Aug 13, 2014 10:00 am

Re: DDS Invencible Online

Post by MerlinSVK »

Yes, header is partially xored. Try this script.

Code: Select all

get FSIZE asize
math DATASZ = FSIZE
math DATASZ -= 0x3F
get NAME filename
string NAME += ".dds"

putvarchr MEMORY_FILE FSIZE 0
log MEMORY_FILE 0 0

filexor "0x4c 0x4a 0x4b 0x53 0x43 0x6e 0x6c 0x6b 0x65 0x6e 0x63 0x6e 0x73 0x64 0x6b 0x6c 0x73 0x64 0x6a 0x66 0x77 0x65 0x66 0x6e 0x77 0x65 0x72 0x31 0x3f 0x33 0x23 0x40 0x24 0x61 0x6e 0x63 0x61 0x6c 0x73 0x64 0x68 0x23 0x40 0x24 0x25 0x39 0x32 0x38 0x37 0x35 0x65 0x79 0x31 0x33 0x34 0x35 0x39 0x31 0x32 0x34 0x33 0x5c 0x5d"
log MEMORY_FILE 0 0x3F
filexor ""
append
log MEMORY_FILE 0x3F DATASZ
append

log NAME 0 FSIZE MEMORY_FILE
CriticalError
Posts: 204
Joined: Thu Aug 14, 2014 8:52 pm

Re: DDS Invencible Online

Post by CriticalError »

awesome work, thanks a lot for your scritp, works great, keep working mate.