This is an old revision of the document!

Modding introduction

File types

  • .txx

Think of .txx as encrypted rar archives that contain game textures, meshes, scripts.

  • .bsb

Encrypted text files. Are game scripts and meshes.

  • .txf

Plain text files. They usually accompany a texture with the same filename, in the same folder.
They specify the blending mode Hook will use to apply the texture.

“RGB_888” “Opaque”
Completely opaque texture with no transparency. Casts shadows.
“RGB_8888” “AlphaMask”
Pixels with opacity higher than 50% will be completely opaque, while those with less will be completely transparent.
Only opaque pixels will cast shadows. “RGB_8888” “AlphaBlend”
Gradual change of opacity will be visible. Textures with this mode will not cast shadows, regardless of the opacity level, and may produce unwanted visual artifacts and glitches (such as flickering and wrong lighting).
The number of digits corresponds to the number of channels used. Opaque texture will only have three channels, while others may have four (RGB + Alpha or Transparency).

Operating with txx and bsb

Both txx and bsb need to be encrypted to be functional in game. To edit those files you need to decrypt them. Use Game files unpacking tools to do it.

Translations of this page: