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....
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
.bin .xbt .xba .xbg farcry file formats
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
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
-
- VIP member
- Posts: 185
- Joined: Mon Aug 28, 2006 2:07 pm
- Has thanked: 1 time
- Been thanked: 14 times
- Contact:
-
- ultra-veteran
- Posts: 586
- Joined: Sun Jun 05, 2005 12:00 pm
- Location: Ontario, Canada
- Has thanked: 36 times
- Been thanked: 243 times
- Savage
- VIP member
- Posts: 559
- Joined: Sun Apr 17, 2005 11:00 am
- Has thanked: 16 times
- Been thanked: 18 times
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)Just tell me! I won't waste my time posting and waiting for replies!!
And yes i read all the posts the people do
As you can see the games start to be more difficult to "analyze",
You think so?i'm tired of this place being completely dead
http://www.onestat.com/aspx/login.aspx?sid=295084
Agree"Silence" in forums doesn't mean nobody reads your posts, it just means that nobody has something profound to say
PS: Nice Post
-
- ultra-veteran
- Posts: 586
- Joined: Sun Jun 05, 2005 12:00 pm
- Location: Ontario, Canada
- Has thanked: 36 times
- Been thanked: 243 times
its a great FPS xbox 1 game similar to halo 2Mario_Kart wrote:whats farcry?
It works now.Mario_Kart wrote:the sample link doesn't even work
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.