Page 1 of 1
Help extracting Heavenly Sword Textures
Posted: Mon Oct 30, 2017 3:29 am
by nightwolf1982
Working on extracting models from the game Heavenly Sword, but I have no idea how to get the textures from the game.
Re: Help extracting Heavenly Sword Textures
Posted: Tue Oct 31, 2017 3:24 pm
by nightwolf1982
I read in an older forum post that the textures are in the .dat files extracted by quickbms, but I haven't been able to find a tool that can read or convert the files. Anyone have a suggestion?
Re: Help extracting Heavenly Sword Textures
Posted: Sat Nov 04, 2017 6:21 pm
by nightwolf1982
Still needing help with this, does anyone have any ideas?
Re: Help extracting Heavenly Sword Textures
Posted: Sun Nov 05, 2017 10:29 am
by nightwolf1982
OK, This is what I've figured out so far:
Code: Select all
endian big
get DUMMY long # First four bytes, not a string, no indication of file type, always the same
get SIZE long # The total size of the file from OFFSET
get FILENUM long # Number of files (?)
get ZERO long # Zero value
get OFFSET long # File Offset
get IMAGESIZE long # Actual image size, from OFFSET
get HASH long # Unknown value, possibly file name or hash
get ZERO long # Zero value
get HEIGHT short # Height of Image
get WIDTH short # Width of Image
get COLORS long # Color depth of image (?)
get ZERO long # Zero value
get ZERO long # Zero value
The next 80 bytes are all P (0x50), which I'm assuming is padding. I'm attaching one of the dat files so people can take a look for themselves.
Re: Help extracting Heavenly Sword Textures
Posted: Sun Nov 05, 2017 9:33 pm
by Acewell
128 byte big-endian header
at 0x18 - 1byte - format ID (this sample is dxt5 format)
at 0x19 - 1byte - num mips
at 0x20 - 2bytes - width
at 0x22 - 2bytes - height
of course some of that is speculation until more than one sample is provided
someweirdeyelookingthing.png
Re: Help extracting Heavenly Sword Textures
Posted: Mon Nov 06, 2017 7:16 am
by nightwolf1982
Acewell, what did you use to convert that?
edit - nevermind, TextureFinder seems to be working now.
Re: Help extracting Heavenly Sword Textures
Posted: Mon Nov 06, 2017 8:16 am
by nightwolf1982
Big thank you to AceWell for giving me the clue to figuring this out!! Not everything is working, unfortunately, but I've got the files I was looking for.