Gimp plugin for loading/saving plt files.
Written in Python and will run under Windows, Linux and MacOS (64bit or 32bit), but it is slower. For Windows 32bit there is also the older win32 version.
NOTE: Some Linux distros disable python in gimp by default - notably Arch based distros, you'll need to install package python2-gimp from AUR, should you need python support (or compile gimp from source of course)
Installation
Gimp 2.8
Linux: Unpack and place it in ~/.gimp-2.8/plug-ins/
Windows: Unpack and place it in C:\Users\USERNAME\.gimp-2.0\plug-ins or C:\Program Files\GIMP 2\share\gimp\2.0\plug-ins\
MacOS: Unpack and place it in $HOME/Library/Application Support/Gimp/2.8/plug-ins/
Gimp 2.10
Linux: Unpack and place it in ~/.config/GIMP/2.10/plug-ins/
Windows: Unpack and place it in C:\Users\USERNAME\Appdata\Roaming\GIMP\2.10\plug-ins\
Usage
Import/export plt files with File -> Open/ File -> Export As (similar to the win32 plugin)
Plt files contain 10 layers of [0,255] grayscale: 'skin', 'hair', 'metal1', 'metal2', 'cloth1', 'cloth2', 'leather1', 'leather2', 'tattoo1', 'tattoo2'. The plugin will look for layers with those names when choosing which layers to export (case insensitive). As plt files have no alpha the data on the bottom layers is ignored, when a top layer already contains data.
The option "Plt: Create Layers" under "Tools" will create all of the above 10 layers or add the ones that are still missing.
Changelog
2021-02-06
2020-09-17
2017-12-26
Attachment | Size |
---|---|
![]() | 3.46 KB |
![]() | 69.52 KB |
Any chance of a 64 bit windows version or the sources for someone to make one? The reason I ask is because of posts like this one.
TR
Seconded... my entire project is on hold until this gets resolved. Since I have Windows 7 ultimate 64 bit, I can't install the 32-bit version of gimp, so the plugin wouldn't work even if there were a way I could install 32 bit gimp.
Hmm, I should rename the project. This does actually work on all platforms. No matter if it's 32 or 64 bit, Windows, Linux, MacOS or whatever. If Gimp runs this should too.
The only thing it needs is a Python interpreter and the Windows versions of Gimp come with a built-in one (since Gimp 2.8 I believe). You can install it the same way as the win32 version: Unpack it and place it in "\Users\USERNAME\.gimp-2.0\plug-ins" or in the gimp installation directory "\GIMP 2\share\gimp\2.0\plug-ins"
It's not compiled, just plain Python code and if you are interested in the source you can just unpack it and open up the py file with a text editor.
Thank you for the rapid response and clarification, Symmetric. I can now get on with my project!
I have GIMP 2.10.8 in Ubuntu 19.
I download file-bioplt_linux64.zip and uncompress it in ~/.config/GIMP/2.10/plug-ins/
But nothing happens in GIMP. When I try to open a PLT it says unknown file.
I encounter this issue as well. I've also tried with the .py version, just in case, and I'm still getting this issue. There doesn't appear to another step to activating the plugin; it just isn't running for some reason.
I found a way to get it working! You have to compile from source code and make sure you have gimptool-2.0 installed (sudo apt-get . . . you know the drill.) I'm not sure if matters if you have the -dev version of gimptool or not, but I have the -dev version.
Anyways, what I did was download the source code, extract to some dummy file to hold everything, navigate to the src folder that was extracted and enter the following command:
gimptool-2.0 --install file-bioplt.c
For context, I was following the instructions here.
Much awesomeness- thank you!