Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Help extracting Heavenly Sword Textures
-
- veteran
- Posts: 158
- Joined: Fri May 05, 2017 7:19 am
- Has thanked: 7 times
- Been thanked: 22 times
Help extracting Heavenly Sword Textures
Working on extracting models from the game Heavenly Sword, but I have no idea how to get the textures from the game.
-
- veteran
- Posts: 158
- Joined: Fri May 05, 2017 7:19 am
- Has thanked: 7 times
- Been thanked: 22 times
Re: Help extracting Heavenly Sword Textures
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?
-
- veteran
- Posts: 158
- Joined: Fri May 05, 2017 7:19 am
- Has thanked: 7 times
- Been thanked: 22 times
Re: Help extracting Heavenly Sword Textures
Still needing help with this, does anyone have any ideas?
-
- veteran
- Posts: 158
- Joined: Fri May 05, 2017 7:19 am
- Has thanked: 7 times
- Been thanked: 22 times
Re: Help extracting Heavenly Sword Textures
OK, This is what I've figured out so far:
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.
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
You do not have the required permissions to view the files attached to this post.
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
Re: Help extracting Heavenly Sword Textures
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
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
You do not have the required permissions to view the files attached to this post.
-
- veteran
- Posts: 158
- Joined: Fri May 05, 2017 7:19 am
- Has thanked: 7 times
- Been thanked: 22 times
Re: Help extracting Heavenly Sword Textures
Acewell, what did you use to convert that?
edit - nevermind, TextureFinder seems to be working now.
edit - nevermind, TextureFinder seems to be working now.
-
- veteran
- Posts: 158
- Joined: Fri May 05, 2017 7:19 am
- Has thanked: 7 times
- Been thanked: 22 times
Re: Help extracting Heavenly Sword Textures
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.