I've been following this guide https://drive.google.com/drive/folders/0B_RXrYUHtKK_bjlieXhxbkZLajA and have everything working for my units except the textures. All the guides I could find explain the process using photoshop and an extension called Super PNG, which I don't have access to. Anyways, when I run the mask.png etc files through my papatran batch file, I get an error stating "--texture-mode incompatable with image input file 1 error" and thus that is where I'm at right now. From what I gather my images are relatively correct, its likely that the exporting is off. If someone has used Gimp in the past to create mask/diffuse/material stuff, I'd love to learn the details.
https://forums.uberent.com/threads/reference-models-textures.48081/ Hmm, that's an error that I haven't seen before. Pinging @killerkiwijuice
and this is my batch file cd C:\Program Files (x86)\Steam\steamApps\common\Planetary Annihilation Titans\bin_x64\tools\ set diffuse=%oamal%diffuse set material=%oamal%material set mask=%oamal%mask papatran --texture-mode strip -o "C:\Users\Cameron\Desktop\boxbot\oamal_diffuse.papa" "C:\Users\Cameron\Desktop\oamal_diffuse.PNG" papatran --texture-mode strip -o "C:\Users\Cameron\Desktop\boxbot\oamal_material.papa" "C:\Users\Cameron\Desktop\oamal_material.PNG" papatran --texture-mode strip -o "C:\Users\Cameron\Desktop\boxbot\oamal_mask.papa" "C:\Users\Cameron\Desktop\oamal_mask.PNG" pause
this is for another model, which turned out much better but had the same issue http://i.imgur.com/YnLq8Md.jpg http://i.imgur.com/9wdq1gz.jpg http://i.imgur.com/Eik2P9j.jpg
Try changing "strip" to "include". Strip is for models. Also the alpha layer should not be its own file, which is why superPNG is required (I don't think there is any alternative). The diffuse needs an alpha channel, maybe this will help https://docs.gimp.org/en/gimp-using-web-transparency.html
from those files I sent, would it be possible for you to do the super png export and batch conversion? with "strip" changed to "include", I get another error : "could not find resource-root setting"
Oh, it's because you're running papatran from an entirely separate folder. You need to copy it to the png folder then change the "cd" command to be in that folder. Papatran is trying to find default.settings in the tools folder.
I've tried copying papatran into the png folder as well as putting the settings file into tools, but the same error keeps popping up. Would the file name matter at all? I just have my batch labeled batch.bat
Based on your bat file, the default.settings file and papatran should be on your desktop. You need to cd to the desktop then run the batch file. And no, the name doesn't matter.
http://i.imgur.com/3YyHSBS.jpg This is what I've got so far, and can't figure out why it wont work. "default" is default.settings, I just changed it to read with notepad for the image.
@cascadian That default.settings was pulled from a directory where it was supposed to inherit from a higher tree. Go higher along the tree. EDIT: Use this: resource-root: /pa srgb-texname-expression: diffuse|skybox texture-format-alpha: dxt5 texture-format-noalpha: dxt1
you're probably right but the text should only be texture-max-size: n the other stuff is unnecessary for simple textures these files are really weird because they seem to be like a hybrid between binary and readable text