(10-10-2016, 08:57 AM)Tino Wrote: [ -> ]the input should be .lum.xxx files for ezample aaaa.png, aaaa.lum.png, aaaa.nrm.png, aaaa.spec.png, aaaa.bump.png, and the output will be aaaa_lum.png, aaaa.map.png
That is to create a combined material from the uncombined textures, this I know. I'm talking about creating from an already combined material (using -frommaterial). I always used the combined material as input (.nrm now .mat), but I just noticed Ishiiruka Tool does not care which file is input so the color texture can also be the input. For example either one of these worked, and the output was the same:
ColorTexturePath = "\tex1_256x256_m_e3487d3b2a9d3e11_14.png"
MateriaMaplPath = "\tex1_256x256_m_e3487d3b2a9d3e11_14.mat.png"
TextureEncoder "ColorTexturePath" "OutputPath" -nomipmaps -compress -w 512 -h 512 -savecolor -frommaterial
- or -
TextureEncoder "MateriaMaplPath" "OutputPath" -nomipmaps -compress -w 512 -h 512 -savecolor -frommaterial
No matter which one of those I used, I always got 2 textures: the color texture, and the recreated material. It does not seem to matter which one was sent as the input. So for the next example....
ColorTexturePath = "\tex1_256x256_m_e3487d3b2a9d3e11_14_lum.png"
MateriaMaplPath = "\tex1_256x256_m_e3487d3b2a9d3e11_14.mat.png"
TextureEncoder "ColorTexturePath" "OutputPath" -nomipmaps -compress -w 512 -h 512 -savecolor -frommaterial
- or -
TextureEncoder "MateriaMaplPath" "OutputPath" -nomipmaps -compress -w 512 -h 512 -savecolor -frommaterial
Both of those I get one texture, meaning whatever the input is. If I send it the (_lum), the output is (_lum). If I feed it (.mat) I only get the (.mat). So basically I only get one or the other, but before lum it always gave both textures. It's the same with .mat. I learned that I can just do each texture individually, so this is less of a concern for me now, but it nullifies what -savecolor is supposed to do.
I can actually work around these issues knowing that. The mipmap names aren't really too big of a deal either.
As for the mipmaps issue I can't seem to reproduce it again either. Let me try to figure out what I did.
Edit: I was actually able to work around all bugs, so if you don't want to change anything that's okay with me.

I still can't reproduce the mipmap size issue, I have no idea what I did....
Anyway, here is my (awful) PS code that works around all issues and passes all my test cases using v0.9.5 when creating material maps from already combined material maps (not the bump/spec/nrm/lum textures). Maybe it will offer some insight, specifically the "WORKAROUND" parts.
http://bhemuhelp.co.nf/other/Ishiiruka.html