ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Oct 23, 2021 4:54 pm

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Sep 19, 2021 7:01 am 
User avatar

Joined: Sun Aug 22, 2021 7:53 am
Posts: 5
Right, so I'm trying to make sense of Fable 2's texture files and they seem to be compressed.

The header files are stored in a separate archive bnk, even though the texture files I've seen have a lot, if not all of the header data in them. Dimensions, crucially, are there in the first 20 or so bytes.

According to this post by Tosyk https://forum.xentax.com/viewtopic.php?t=4571#p39375 the tex files are lzma:192k compressed (although I'm not sure how they found this out as I can't get 7zip to tell me anything.)

Thing is, and I might be trying to do something wrong here, I cannot find a straightforward way to decompress/inflate the texture files so that I can see what they are, using 7zip or any other tool I can find.

Could it be a quirk of the bnk extractor that dumps the texture files without decompressing them?

Any help/input very gratefully received!

Sample file attached:


Attachments:
rs_thatched_roof.zip [187.62 KiB]
Downloaded 69 times

_________________
Useful resource for Fable 2 files known and unknown: http://fable2mod.com/forums/forum/9
My blog, infrequently updated, documenting the verrrry sloooow progress on The Albion Scrolls: **WIP!**http://thealbionscrolls.blogspot.com/**WIP!**
Top
   
PostPosted: Sun Sep 19, 2021 12:26 pm 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 85
Image
But the size is bullsh!t Also there is no decompressed size. I can only see compressed size at 0x8 offset. "191904" big endian.


Top
   
PostPosted: Mon Sep 27, 2021 9:55 am 
User avatar

Joined: Sun Aug 22, 2021 7:53 am
Posts: 5
Turns out they're encrypted as well, at least partially.

Included more .tex files and corresponding headers, extracted from different .bnk archive.


Attachments:
File comment: Collection of Fable 2 .tex files and corresponding headers. Plus Fable 3 .tex for comparison.
Fable2Tex.zip [1.45 MiB]
Downloaded 19 times

_________________
Useful resource for Fable 2 files known and unknown: http://fable2mod.com/forums/forum/9
My blog, infrequently updated, documenting the verrrry sloooow progress on The Albion Scrolls: **WIP!**http://thealbionscrolls.blogspot.com/**WIP!**
Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited