Page 1 of 1

300 Heroes .dat file

Posted: Wed Mar 28, 2018 2:45 pm
by alphax
Hi there. Recently I tried to rip a character model from the game 300 heroes. 3dsmax or maya couldn't open this file format, so I started searching. Following your instructions that i found on site I converted the .x file using offzip and got 2 other files: .dat and .wuy. But, when it came to use Hex2Obj I lost it completely. Can anyone help? I will be very grateful! I'll attach a link to .rar with the files.
https://drive.google.com/open?id=1dRa6v ... sVvozdZihX

Re: 300 Heroes .dat file

Posted: Wed Mar 28, 2018 6:21 pm
by akderebur
The model data is easy to find. Search for "00 00 01 00 02 00" to find the start of the indices. After the indices end, there is some other data with lots of 0s (didn't investigate what it might be). After that the vertex data starts, should be easy to spot by looking at the ASCII view. The data is sequential : first vertex positions, after that normals, followed by uvs. So when you find the start offset of the vertex positions, you would do offset + 24 * vertex count to get the uv offset.

2 examples in hex2obj (000023c8.dat) :
Image
Image