Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Fable 2 TEX texture files

Featured Replies

  • Author
  • Localization

ByronT, posted Sun Sep 19, 2021 7:01 am (66531)


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:
  • Author
  • Localization

h3x3r, posted Sun Sep 19, 2021 12:26 pm (66540)


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.
  • Author
  • Localization

ByronT, posted Mon Sep 27, 2021 9:55 am (66685)


Turns out they're encrypted as well, at least partially.

Included more .tex files and corresponding headers, extracted from different .bnk archive.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.