Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Search found 9 matches
- Thu Jan 27, 2011 4:40 pm
- Forum: Compressed files and methods
- Topic: BREACH "DAR" file format
- Replies: 0
- Views: 719
BREACH "DAR" file format
There are files in a new game called BREACH which are compressed into a "DAR" format i.e. recon_level.dar FirstPerson.dar etc The format itself isn't much, it doesn't seem encrypted or really "compressed" in any way other than it is a bunch of files stuck together in an archive. ...
- Tue Aug 17, 2010 8:33 pm
- Forum: Game Archive
- Topic: Mafia II SDS files?
- Replies: 158
- Views: 74010
Re: Mafia II SDS files?
The script .dat format is as follows (FILE HEADER) [filesize (int)][12 bytes][filesize2 (int)][directory length (byte)][00 (byte)][directory name (str)][number_of_files (byte)][3 bytes (end header?)] (HEADER FOR EACH ENTRY) [hash (16 bytes, md5)][file name length (byte)][00 (byte)][file name (str)]...
- Sun Aug 15, 2010 9:52 pm
- Forum: Game Archive
- Topic: Mafia II SDS files?
- Replies: 158
- Views: 74010
Re: Mafia II SDS files?
(FILE HEADER) [filesize (int)][12 bytes][filesize2 (int)].... the first 12 bytes of all the extracted files is another ram header: uint32 RAM; uint32 VRAM; uint32 OtherRAM; uint32 OtherVRAM; so dont rely on this value - use filesize2 instead! Nice find, will do, probably will fix an error i had pre...
- Sun Aug 15, 2010 12:54 am
- Forum: Game Archive
- Topic: Mafia II SDS files?
- Replies: 158
- Views: 74010
Re: Mafia II SDS files?
The script .dat format is as follows (FILE HEADER) [filesize (int)][12 bytes][filesize2 (int)][directory length (byte)][00 (byte)][directory name (str)][number_of_files (byte)][3 bytes (end header?)] (HEADER FOR EACH ENTRY) [hash (16 bytes, md5)][file name length (byte)][00 (byte)][file name (str)][...
- Sat Aug 14, 2010 4:01 am
- Forum: Game Archive
- Topic: Mafia II SDS files?
- Replies: 158
- Views: 74010
Re: Mafia II SDS files?
Hizzah! I've dumped /missionscripts/ Here is the pastebin for the code i used (DynamicBuffer i won't be giving out, but it is possible to rewrite this easily with structs, full source will be available later) http://pastebin.com/PPKLG3Ne EDIT: Removed link, the dumps were buggy but I'm almost there!
- Sat Aug 14, 2010 2:13 am
- Forum: Game Archive
- Topic: Mafia II SDS files?
- Replies: 158
- Views: 74010
Re: Mafia II SDS files?
yeah, the xml description holds information for the engine to allocate memory as well as the filenames. the headers have 16 bytes+, but some dds headers have 30 bytes, some 29 - and neither have filenames. edit: the files may be handled by resource type - i left the headers commented out, but they ...
- Sat Aug 14, 2010 1:39 am
- Forum: Game Archive
- Topic: Mafia II SDS files?
- Replies: 158
- Views: 74010
Re: Mafia II SDS files?
final version #2 ! note: dumped files will have 30 bytes or so of random data at the start. i cant find the size of this to remove it, so work with it 8) removed the naming-by-resource-type. you can name them yourself from the xml. this should be all. Hi, and thank you very much! I noticed the begi...
- Sat Aug 14, 2010 12:50 am
- Forum: Game Archive
- Topic: Mafia II SDS files?
- Replies: 158
- Views: 74010
Re: Mafia II SDS files?
Good job.WRS wrote:updated my script. adding some comments before i upload
I don't know which luac script my friend used to make this:
http://pastie.org/1088974
but he claims there is corrupted (or something) bytes in my dumped Luas.
If we could really dump the true luac files, it would help us alot
- Fri Aug 13, 2010 12:51 pm
- Forum: Game Archive
- Topic: Mafia II SDS files?
- Replies: 158
- Views: 74010
Re: Mafia II SDS files?
The contents of this post was deleted because of possible forum rules violation.