Skip to content

A .tex plugin for photoshop. Leauge of legends .tex filetype

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
license.txt
MIT
LICENSE-MIT.txt
Notifications You must be signed in to change notification settings

LeagueToolkit/Photoshop-Tex-Plugin

Photoshop TEX Plugin

Load and save League of Legends .tex texture files in Adobe Photoshop.

Features

  • Load DXT1, DXT5, and BGRA8 texture formats.
  • Auto detect the compression and mipmaps, saves accordingly.
  • Second saving option with a dialog to manually pick the compression, error diffusion dithering and mipmap generation.
  • Preview window to compare original and compressed textures.
  • Fast DXT compression using Intel ISPC texture compressor.
  • Great error diffusion dithering quality (Floyd-Steinberg).
  • Full alpha channel support.
  • Settings persistence via Windows Registry.

Requirements

  • Adobe Photoshop CS6 or later (64-bit)
  • Windows 10 or later

Installation

  1. Close Photoshop completely
  2. Copy TexPlugin.8bi from the Plugins\x64 folder to your Photoshop plugins directory:
    • Default location: C:\Program Files\Adobe\Adobe Photoshop [Version]\Plug-ins
    • Example: C:\Program Files\Adobe\Adobe Photoshop 2024\Plug-ins
  3. Start Photoshop

Usage

Opening TEX Files

  • File -> Open -> Select your .tex file
  • Drag and drop .tex files into Photoshop

Saving TEX Files (Quick Save)

  1. File -> Save As
  2. Choose "League of Legends TEX" from the file type dropdown
  3. The file saves immediately using detected or previously saved settings

Saving TEX Files with Customizable Settings

  1. File -> Save As
  2. Choose "League of Legends TEX - Options" from the file type dropdown
  3. Configure your settings in the dialog:
    • Compression Format: DXT5 (BC3), DXT1 (BC1), or BGRA8 (uncompressed)
    • Error Diffusion Dithering: Enable Floyd-Steinberg dithering for better quality
    • Error Metric: Perceptual (recommended) or Uniform weighting
    • Mipmaps: Auto-generate mipmaps for the texture
  4. Click OK to save

Troubleshooting

Plugin doesn't appear in Photoshop:

  • Make sure Photoshop is completely closed before installing
  • Verify the plugin is in the correct Plug-ins folder
  • Ensure you're using the 64-bit version of Photoshop
  • Check that TexPlugin.8bi has the .8bi extension

"Image dimensions must be divisible by 4" error when saving:

  • TEX files require dimensions divisible by 4 for all compression formats
  • Resize your image to dimensions like 1024x1024, 2048x2048, 512x256, etc.

Texture looks wrong in game:

  • Try enabling error diffusion dithering for better gradient quality
  • Make sure you selected the correct compression format (DXT5 for textures with alpha)

Credits

Based on Intel Texture Works Plugin

Compression and Error Diffusion Dithering

About

A .tex plugin for photoshop. Leauge of legends .tex filetype

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
license.txt
MIT
LICENSE-MIT.txt

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •