xchellx Posted November 22, 2021 Share Posted November 22, 2021 (edited) Summery: This is a plugin that allows opening of the TXTR file format found in the Metroid Prime series of games. It supports all texture types of the format and allows for saving and loading the format. Features: Supports loading and saving every type of texture Automatically handles pixel coordinate flipping Supports mipmap loading and generation Note(s): There is a bug where saving the format does not show the saved mipmaps as layers. This is because the format doesn't support Paint.NET's layers (it only reads the first layer) and for mipmaps it generates them automatically. So, when saving, Paint.NET will ask to flatten the image which if the saved texture has mipmaps then the saved result wont show the mipmaps as layers. Re-opening the file fixes this issue. Download: TXTRFileType.7z Changelog: v1.2.0 Updated the save UI, it now reacts to dark theme more accurately. Seperated the mipmap size limit to a width and height limit (also in save UI). Updated the codebasea a lot. See the github for more information. Added dialog choice at load to ask if to load all mipmaps or just the first mipmap v1.1.0 Defaults button fixed. Added setting to limit mipmap count by size limit. v1.0.1 Fixed certain MP2 TXTRs causing a crash. v1.0.0 Initial stable release. Source Code: https://github.com/xchellx/TXTRFileType Edited February 14, 2022 by xchellx Plugin update Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted November 22, 2021 Share Posted November 22, 2021 @xchellx, because you're bundling a .deps.json and some shared libraries (e.g. ImageSharp), you need to make sure your plugin gets installed into its own directory. Otherwise another plugin could come along that overwrites your DLLs, or vice versa, and lots of things can break. Should be as simple as redoing your ZIP file so all the files are inside of a folder. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
xchellx Posted November 22, 2021 Author Share Posted November 22, 2021 @Rick BrewsterAlright, I updated the zip. (link didnt have to be updated as link stayed the same, but release zip has been changed) 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.