The rules have been updated, read them now: Rules!

.bin .xbt .xba .xbg farcry file formats

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
User avatar
sababa
beginner
Posts: 20
Joined: Wed Apr 12, 2006 3:23 am
Been thanked: 2 times

.bin .xbt .xba .xbg farcry file formats

Post by sababa » Tue Sep 25, 2007 8:53 pm

Silver wrote this a long time ago:

For Textures:

Texture Start
[4] - Unknown (00010403) seems to initiate all textures?
[4] Dimension x
[4] Dimension y
[4] Image Size in Bytes
[4] Type? 0x12 (18 ) = DXT3 / 0x10 (16) = DXT1 (All this is guess work based on math :p )
[4] Mip Maps
[4] Alpha?
[4] ?
[4] ?


I'm trying to figure out what kind of files and how I could possibly extract the models, graphics, textures or use it in any way from these types of files:
.xbt
.xbg
.xba
.mac.mrg.bin
.mcl.mrg.bin
.man.mrg.bin

I checked out the header structure and dimension X and dimension Y are equal to each other, and image size was 512 on one xbt I checked.. the rest I don't what to make out of it

I'd appreciate any insight or help in analayzing these files, I provide a link to get some sample files here:
http://tzfiles.com/users/shrek/xentaxsmplpackage.rar
the password is: fcxentax


BTW: the mac.mrg... mcl.mrg.. appears to be a naming convention. so I suppose the file format is just .bin plainly, the .bin files are grouped together with usually 1 xbt file, it seems that maybe the .bin are some kind of resources used for the .xbt file, so maybe these are archives that are extractable as well....
Last edited by sababa on Tue Oct 02, 2007 2:36 am, edited 2 times in total.

User avatar
sababa
beginner
Posts: 20
Joined: Wed Apr 12, 2006 3:23 am
Been thanked: 2 times

Post by sababa » Wed Sep 26, 2007 7:17 am

I found this pattern on all the xbg files:
browing3rd_carver.xbg
OFFSET|NUM|VALUE
----------------------
104|4|356 - offset of string
108|4|103 - length of string (2 strings with . at end of both)


XBT files
XBT files - 32 byte header
4 8 12 16 20 24 26 (offsets)
dimX-dimY-Size- Type-MpMps-Alpha- ?
256 256 87408 17 9 1 0 mk19
32 32 696 16 6 1 0 rock_pebble
32 32 1392 18 6 1 0 gfx_sparks
64 64 5488 18 7 1 0 claymore
16 16 6144 12 1 6 0 envmap_weaponscope

the size is 32 off because it does not include the 32 byte header

here's an analysis of about 100 or more XBT files:
(it seems that the uknown is always 0, and the alpha is only 1 and one time i saw it as 6)
http://tzfiles.com/users/hello123/xbt_log.txt

User avatar
sababa
beginner
Posts: 20
Joined: Wed Apr 12, 2006 3:23 am
Been thanked: 2 times

Post by sababa » Fri Sep 28, 2007 11:56 pm

if you READ this, say something!
i'm tired of this place being completely dead, is everybody in on ignoring me?

Just tell me! I won't waste my time posting and waiting for replies!!

User avatar
Deniz Oezmen
VIP member
VIP member
Posts: 185
Joined: Mon Aug 28, 2006 2:07 pm
Has thanked: 1 time
Been thanked: 14 times
Contact:

Post by Deniz Oezmen » Sat Sep 29, 2007 9:25 pm

Well, if you just want a reply ... yes, I have read your posts. Unfortunately, I absolutely don't have time to research anything at the moment, sorry ...

"Silence" in forums doesn't mean nobody reads your posts, it just means that nobody has something profound to say ...

mariokart64n
ultra-veteran
ultra-veteran
Posts: 550
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 33 times
Been thanked: 186 times

Post by mariokart64n » Mon Oct 01, 2007 3:47 am

?whats farcry

User avatar
Savage
VIP member
VIP member
Posts: 560
Joined: Sun Apr 17, 2005 11:00 am
Has thanked: 16 times
Been thanked: 17 times

Post by Savage » Mon Oct 01, 2007 2:24 pm

Just tell me! I won't waste my time posting and waiting for replies!!
Unfortunately my level about detection structures it's a bit poor, i'm more "prepared" in audio files and "easy" detection compression algs, NOT unpacking, just deduction (the theory)

And yes i read all the posts the people do

As you can see the games start to be more difficult to "analyze",
i'm tired of this place being completely dead
You think so?
http://www.onestat.com/aspx/login.aspx?sid=295084
"Silence" in forums doesn't mean nobody reads your posts, it just means that nobody has something profound to say
Agree 8D

PS: Nice Post
Image

mariokart64n
ultra-veteran
ultra-veteran
Posts: 550
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 33 times
Been thanked: 186 times

Post by mariokart64n » Mon Oct 01, 2007 10:47 pm

the sample link doesn't even work

User avatar
sababa
beginner
Posts: 20
Joined: Wed Apr 12, 2006 3:23 am
Been thanked: 2 times

Post by sababa » Tue Oct 02, 2007 2:39 am

Mario_Kart wrote:whats farcry?
its a great FPS xbox 1 game similar to halo 2

Mario_Kart wrote:the sample link doesn't even work
It works now.

BTW: I looked over many XBT files, and either Silver was wrong about the file structure or something else.. Many texture files have more mipmaps levels in that field than makes logical sense like a 32 by 32 haveing 10 levels, alpha is sometimes 6 and not always 0, I organized a folder hiearchy by type, mipmap level, dimensions, and alpha if anyone wants this, its about 8 megs so I won't post it right away. I figured I could identify any kind of pattern..... (not quite)

Maybe some textures are volume, or cube textures and the levels indicates how many sides perhaps? I thought I had a match on DXT2, but then i looked over other files it and it no longer matched, So I'm back to square 1 on being lost. :(

Post Reply