Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

300 Heroes .dat file

Post questions about game models here, or help out others!
Post Reply
alphax
ultra-n00b
Posts: 1
Joined: Wed Mar 28, 2018 1:23 pm

300 Heroes .dat file

Post 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
akderebur
double-veteran
double-veteran
Posts: 640
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 65 times
Been thanked: 898 times

Re: 300 Heroes .dat file

Post 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
Post Reply