This is a small Autodesk Maya plugin written using the .NET API.
It adds support for loading BLP (a legacy texture format used by Warcraft III and World of Warcraft) image files via MPxImageFile, allowing them to be opened as regular image files inside Maya.
There's no direct GPU loading (the glLoad() method) here, only the MImage instance is initialized. Mipmaps are ignored.
The project also demonstrates how image file extensions can be registered in Maya’s Image Types list at runtime using MEL from managed code.
Maya does not provide a public API for this in MPxImageFile, so a MEL-based workaround is required.
Made for .NET 8 compatible versions of Maya (Maya 2025 or later), Windows only.
For Maya 2024 and earlier, plugin requires a BLP reader library compatible with .NET Framework 4.8.
The image format integration code remains relevant for these versions, but adjustments to syntax may be necessary.
- War3Net.Drawing.Blp by Drake53. Used as a NuGet package for reading and decoding BLP textures.
openmayacs.dll. Maya .NET API assembly provided with Autodesk Maya.


