technetium
Joined: 03 Apr 2005 Posts: 1
|
Posted: Sun Apr 03, 2005 6:46 pm Post subject: Silent Hunter File analyzer |
|
|
Hi,
I'm hacking the file format of silent hunter binary data files, since I've found out the general structure of the file format, I have written file analyzer to speedup the job. If you are interested in it too, grab it here.
http://intranet.lkcss.edu.hk/it-school/homepage/s1999103/SilentAnalyzer.zip
I've already found out the structure of those files, data are stored in those file, and are managed in tree form.
There are different kinds of data chunks, the type is stated by a 32bit integer in the file, the first 4 bytes at a data chunk.
I've already identified some kinds of common type of data. Here is the list:
Type ID(HEX) description
01 this type of data are usually quite large, i guess it is storing the 3d geometry, the actual format is still unknown.
02 probably info. of material used by 3d geometry.
03 it stores the binary of TGA file.
04 god knows
06 it stores the setting of the game.(e.g the max depth, armor level, sound level, etc..).the actual format is still unknown, and probably depends on the content of data.
08 root node in the tree, it stores nothing useful for modders.
0A middle node, it stores nothing useful for modders.
that's all I knew. if someone know more, pls share with us.
how to use my tool:
simply, click on the left open file icon, (the right one is a shortcut used by me for debug), select the directory you wanna analyze.
after that, it will scan thru the directory, and load all the binary files it has found. then, it will build up the tree list.
click on the item you wanna analyze.
for data with type id = 01, my tool treats it as array of vertex, and it loads it in 3d.(it is not wokring properly right now, since the format is unknown)
for TGA data chucks(ID 0x03), my tool automatally displays the tga file on the screen. if you wanna save it, double click on it.
for the rest kind of data, it opens up a hex view.
** NOTE ** THIS IS A TOOL WHICH CAN HELP YOU TO FIGURE OUT THE FILE FORMAT. IT IS NOT CAPABLE TO MOD ANYTHING! ALSO, THIS TOOL WASN'T MEANT TO BE REALEASED TO PUBLIC. IT IS WORSE CODED. IT IS FULL OF BUG(WHATEVER, IT WON'T CHANGE YOUR FILES AND BURN YOUR CPU ANYWAY). USE MY TOOL AT YOUR OWN RISK! |
|