Coders and would-be coders alike, this is the place to talk about programming.
baccello
beginner
Posts: 29 Joined: Wed Sep 22, 2004 6:44 pm
Contact:
Post
by baccello » Sat Dec 10, 2005 5:56 pm
Code: Select all
*.FS
* Format Type : Archive
* Endian Order : Little Endian
Format Specifications
// FILE DATA
// for each file
byte {X} - File Data
// FILENAME DIRECTORY
char {4} - Header (STR )
uint32 {4} - Filename Directory Length
// for each file
char {X} - Filename
byte {1} - Null Filename Terminator
// DIRECTORY
char {4} - Header (DIR )
uint32 {4} - Directory Length
// for each file
uint32 {4} - Compressed Size (if was zero file not compressed)
uint32 {4} - File Offset / 2048 (always begins with an offset module 2048)
uint32 {4} - Uncompressed Size
uint32 {4} - Filename Offset (offset start from Filename Directory Offset + 8)
// ARCHIVE HEADER
char {4} - Header (END )
uint32 {4} - null
uint32 {4} - Filename Directory Offset
NOTE: ZLib Compression used.
Number of File = Directory Length / 16
You can update your database with this GRAF!
You do not have the required permissions to view the files attached to this post.
Last edited by
baccello on Sun Dec 11, 2005 3:21 pm, edited 1 time in total.
I'm italian and speak little english
baccello
beginner
Posts: 29 Joined: Wed Sep 22, 2004 6:44 pm
Contact:
Post
by baccello » Tue Dec 20, 2005 11:15 pm
In refer:
http://wiki.xentax.com/index.php/Fantastic_4_FS
Code: Select all
// for each file
uint32 {4} - Unknown (often null)
uint32 {4} - File Offset [*2048]
uint32 {4} - File Length
uint32 {4} - Filename Offset (relative to the start of the filename directory)
Why unknown???
I give you the full graf without unknow!
Unknown is File Compressed Length, if was zero file is not compressed.
If GameExtractor used your script some of files extracted was corrupted, all compressed file, because this script extract more bytes from archive when extract compressed file.
Bye
I'm italian and speak little english
Mr.Mouse
Site Admin
Posts: 4073 Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:
Post
by Mr.Mouse » Wed Dec 21, 2005 7:13 am
Uhm, you've got a point there obviously. We have got to have a word with Watto, as he's the one who entered this page in the WIKI I think.
In any event, in general, if you have better information than the WIKI, feel free to change that in the WIKI ! That's what it's for! Thanks!
baccello
beginner
Posts: 29 Joined: Wed Sep 22, 2004 6:44 pm
Contact:
Post
by baccello » Wed Dec 21, 2005 10:59 am
In any event, in general, if you have better information than the WIKI, feel free to change that in the WIKI ! That's what it's for! Thanks!
I did not know thanks to it
I'm italian and speak little english
friendsofwatto
VVIP member
Posts: 532 Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:
Post
by friendsofwatto » Fri Dec 23, 2005 2:45 am
The specs I wrote on the wiki were, i think, from the exploration of the Fantastic 4 PS2/XBox game and it didn't use any compression - something like that - but like Mr Mouse said, you can just go in to the wiki and edit it yourself
. Thanks for your assistance!
WATTO
[email protected]
http://www.watto.org