XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 18, 2013, 05:37:32 PM


Login with username, password and session length


Pages: « 1 2 3 »
  Print  
Author Topic: kong BIGFILE  (Read 25453 times)
th0mas
Member
**
Posts: 37


View Profile WWW
« Reply #20 on: January 15, 2006, 12:42:26 PM »

I'll get that windows binary asap...

Hoss: Just comment out my definition of uint32_t since cygwin already has it defined.

I'll write a repacker, but it's a bit more complex than unpacking.. I've only RE'd enough of the file format to unpack files: there's still a lot of unknown dwords that have a meaning, just I don't know what.  My solution will be to save all that extraneous data and then reuse it when repacking.  So you won't be able to add new files to a BF file or create a raw BF file of your own, but you will be able to repack modified data files back into a BF file (which is more important anyways)

edit: http://th0mas.sixbit.org/bfunpack.exe - untested windows binary.  Make sure the directory you're dumping to exists.
« Last Edit: January 15, 2006, 12:44:57 PM by th0mas » Logged

Hoss
Member
**
Posts: 14


View Profile
« Reply #21 on: January 15, 2006, 01:40:57 PM »

dont know if this has to do with the program, but none of the wave files play.
Logged
is0-mick
Master Hacker
****
Posts: 108


View Profile
« Reply #22 on: January 15, 2006, 02:33:07 PM »

yes i noticed that, same as when i tried to extract wav's from a xzp file.
I think it has something to do with the compression format the xbox must use? anyone know what codec's are required?

Mick
Logged
th0mas
Member
**
Posts: 37


View Profile WWW
« Reply #23 on: January 15, 2006, 03:23:19 PM »

I believe they use a different format type that might correspond to being 5.1.  WAVE files are not compressed (unless microsoft is packing compressed audio data into a WAVE format file and pretending it's a WAVE, but that'd be pretty dumb)
Logged

Hoss
Member
**
Posts: 14


View Profile
« Reply #24 on: January 15, 2006, 04:07:20 PM »

i also find it puzzling that most files are 2 kb, with the exception of a few.
Logged
th0mas
Member
**
Posts: 37


View Profile WWW
« Reply #25 on: January 15, 2006, 04:55:00 PM »

Me too.. but that is seriously what the file says is there!

I'll look into it again, maybe that BF file is substantially different, but as far as I can tell that is what's going on.
Logged

BlueCop
Master Hacker
****
Posts: 316


"When the going gets weird, the weird turn pro."


View Profile
« Reply #26 on: January 15, 2006, 07:49:08 PM »

would looking at the retail 360 and pc versions of the bf help? i downloaded the demo version for pc to check out its bf to see if they were similar but it looked different and their headers weren't the same.

drop me a pm if you want me to do some comparisons or testing
Logged
kotix
Hacker
***
Posts: 54


View Profile
« Reply #27 on: January 16, 2006, 04:28:43 PM »

I've tryed to open a wav or wad or even a wam file with "gspot" to see if it tell me wich codec is used and here is the result:

voxware_byte_aligned (0x0069) Voxware Inc.
Logged
th0mas
Member
**
Posts: 37


View Profile WWW
« Reply #28 on: January 16, 2006, 05:00:28 PM »

Yeah, most of them are all WAVE files in Sound_Cmmon.bf, at least to some extent..

As an update:  I'm working on the understanding the directory structure, following which I'll have a new unpacker and also a repacker.

update:  I'm reading the directory structure.. I could dump it all pretty easily, but ~90% of directories in the list are empty.  It seems that the creators of the game left the structure for the full version intact, and only deleted the files from the BF.
« Last Edit: January 16, 2006, 06:47:36 PM by th0mas » Logged

player98198
Newbie
*
Posts: 9


View Profile
« Reply #29 on: January 16, 2006, 07:32:57 PM »

heres my tool. has nametable support and you can extract/rebuild files and then relink/reindex table as well to make it seem like the original!

http://s11.yousendit.com/d.aspx?id=389GCVU...932LWG78HJJ6LAU
Logged
SiliconIce
Administrator
Master Hacker
*****
Posts: 226



View Profile WWW
« Reply #30 on: January 16, 2006, 07:36:25 PM »

heres my tool. has nametable support and you can extract/rebuild files and then relink/reindex table as well to make it seem like the original!

http://s11.yousendit.com/d.aspx?id=389GCVU...932LWG78HJJ6LAU

Link seems invalid.
Logged

-- SiliconIce
player98198
Newbie
*
Posts: 9


View Profile
« Reply #31 on: January 16, 2006, 08:25:11 PM »

http://tinyurl.com/ceey2
Logged
player98198
Newbie
*
Posts: 9


View Profile
« Reply #32 on: January 16, 2006, 10:57:08 PM »

i don't have the files anymore. so thomas if u need some help im willing to help out, just post me atleast 1mb of any .bf header. i was thinking of making a explorer type interface to my tool to make it easier to see what files exist and so on.
Logged
is0-mick
Master Hacker
****
Posts: 108


View Profile
« Reply #33 on: January 17, 2006, 05:08:04 PM »

Just been trying the extractor programs.

I have been looking at the .bin files. They look like they may be either compressed or encrypted?

There are some common headers in the bin files. They all seem to start off with FC XX XX XX 00 D0 07

XX could relate to a start or end or length address, the 00 D0 07 seems constant on the files I have looked at so far.

ff01eabc.bin
00000000h: FC E7 CA 01 00 D0 07 00 89 FB 00 00 0D 48 00 00 ; üçÊ..Ð..‰û...H..
00000010h: 00 53 5C 00 26 2E 77 6F 77 EA 7A 00 9E 7C 00 01 ; .S\.&.wowêz.ž|..

ff80c456.bin
00000000h: FC 0F 08 00 00 D0 07 00 85 D5 01 00 09 2C 00 00 ; ü....Ð..…Õ...,..
00000010h: 00 FF FF FF FF 00 00 07 00 60 00 01 34 12 D0 CA ; .ÿÿÿÿ....`..4.ÐÊ

ff80c45a.bin
00000000h: FC D7 8C 00 00 D0 07 00 9A 14 05 00 09 2C 00 00 ; ü׌..Ð..š....,..
00000010h: 00 FF FF FF FF 00 00 07 00 2A 00 00 00 02 34 12 ; .ÿÿÿÿ....*....4.


Mick
Logged
th0mas
Member
**
Posts: 37


View Profile WWW
« Reply #34 on: January 17, 2006, 11:30:14 PM »

player98198:  Nice program (although I haven't tested it, I don't run windows..) I have two questions for you about the file format:

the offsets to the filelist, at 0x44 that consists of two dwords (offset, unknown).. what is that second dword in each entry?  Do you interpret it?  I currently just store it and reuse the same value when repacking.

same for the dwords in the file info structure and the directory info structure's.. there's 4 or 5 dwords, I know how they reference parent directories (and hence can build the whole directory structure) but what are the other dwords?

If someone verifies that player98198's program does repack successfully please tell me so I don't continue writing my own, I have better things to do Smiley.  However if it doesn't work I'll finish my repacker.
Logged

legacy266
Newbie
*
Posts: 1


View Profile
« Reply #35 on: January 18, 2006, 02:01:59 AM »

i have tested Player98198'packer, it has some little problem sometime but seem to work ok.

A feature is missing, i'm working on using .bf from Original, but on original there is two .bf, on for textures and one for maps.
With this tool i can extract and repack both individually, but can't merge to obtain the same file as for DEMO...

if you Thomas or Player98198  can add this possibility it would be amazing....
Logged
player98198
Newbie
*
Posts: 9


View Profile
« Reply #36 on: January 18, 2006, 02:27:30 PM »

i need about 1mb of the file header because i odn't have it. you could just use a file cutting app or later i will post another tool me and my friend created for this purpose. please put it on www.yousendit.com and post me a link or email me the file at player98198@gmail.com
Logged
player98198
Newbie
*
Posts: 9


View Profile
« Reply #37 on: January 18, 2006, 04:15:06 PM »

if you wish to repack files of your own then what you could do for now is
1. create a dir list of the folder that contains all files u want to add
2. put all your files into the @Extracted folder
3. replace the names in the -LBA.txt file with your names you made when u did the dir list (use excel or that type of app)

now one problem that exists is that there is a filecounter that i implamented. so that would be a big problem because tool will not know when to stop because it refers to the original munge file. i will try to figure out a better solution when i have some time.
Logged
player98198
Newbie
*
Posts: 9


View Profile
« Reply #38 on: January 18, 2006, 06:54:51 PM »

not sure what that other one could be, my tool leaves it as-is when reindexing.

btw,there seems to be no folders but if u open up the lba.txt file and replace the "_" with "\" then my tool
will create folders. it seems to be a little bit more organized that way.
Logged
player98198
Newbie
*
Posts: 9


View Profile
« Reply #39 on: January 20, 2006, 02:10:40 PM »

heres update to my tool. fixed the gui some what to make it easier to view contents.

http://s28.yousendit.com/d.aspx?id=08VR8NSKNZ1QM10DOT23GRKUT0

link expires in 7 days
Logged
Pages: « 1 2 3 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM