New beta version. I have finally added everything I wanted to for this version (it has taken me over a year!), so new features are on hold until v47.0 is released.
https://www.mediafire.com/file/aqkmw2hnnvecdz8/Custom_Texture_Tool_PS_v47.0.b30.zip/file
The big addition this time is the Material Map Generator, which can be accessed with the operation Create Materials With Material Map Generator which can only be found in Dolphin Mode. This has been on my to do list for several months and it's finally implemented.
![[Image: a79pgDd.png]](https://i.imgur.com/a79pgDd.png)
Because it requires Python and a number of other Python dependencies, I have added a "Check Dependencies" button that will run through everything to check if anything is missing. If Python or Material Map Generator are missing or they are not linked to the script, it will alert you to go download them. If there is any missing Python dependencies, the script will automatically download them.
There are a few options at your disposal:
Tile Size: I think this is similar to the workaround I implemented in ESRGAN/SFTGAN. If the GPU runs out of memory, smaller tile sizes can work around it.
Edge Pixels: Also similar to my upscaling methods, this can set different ways to handle the edge pixels. I have not tested it enough to understand how "Mirror" and "Replicate" work.
Disable GPU Acceleration: Pretty self explanatory. This shouldn't be used unless the GPU is made by AMD as CUDA is nvidia only.
I have not tested it too much as I do not use Ishiiruka and have never really worked with material maps, but from my limited testing it does seem to work. Before the release I will do much more testing to make sure everything is good to go.
![[Image: tE4h9V3.png]](https://i.imgur.com/tE4h9V3.png)
Other changes include updating the ESRGAN/SFTGAN automatic installer so it downloads the latest version of Python and other dependencies. Also fixed some scaling/alignment issues with some GUI elements at 96 DPI or when high DPI scaling is disabled in the script.
(11-12-2020, 03:05 PM)ImDirtyDan Wrote: Just wanted to share something I made. It's a tool that will automatically generate material maps from textures and has a mode that will save them in Ishiiruka's texture tool format. https://github.com/JoeyBallentine/Material-Map-Generator/
The big addition this time is the Material Map Generator, which can be accessed with the operation Create Materials With Material Map Generator which can only be found in Dolphin Mode. This has been on my to do list for several months and it's finally implemented.
![[Image: a79pgDd.png]](https://i.imgur.com/a79pgDd.png)
Because it requires Python and a number of other Python dependencies, I have added a "Check Dependencies" button that will run through everything to check if anything is missing. If Python or Material Map Generator are missing or they are not linked to the script, it will alert you to go download them. If there is any missing Python dependencies, the script will automatically download them.
There are a few options at your disposal:
Tile Size: I think this is similar to the workaround I implemented in ESRGAN/SFTGAN. If the GPU runs out of memory, smaller tile sizes can work around it.
Edge Pixels: Also similar to my upscaling methods, this can set different ways to handle the edge pixels. I have not tested it enough to understand how "Mirror" and "Replicate" work.
Disable GPU Acceleration: Pretty self explanatory. This shouldn't be used unless the GPU is made by AMD as CUDA is nvidia only.
I have not tested it too much as I do not use Ishiiruka and have never really worked with material maps, but from my limited testing it does seem to work. Before the release I will do much more testing to make sure everything is good to go.
![[Image: tE4h9V3.png]](https://i.imgur.com/tE4h9V3.png)
Other changes include updating the ESRGAN/SFTGAN automatic installer so it downloads the latest version of Python and other dependencies. Also fixed some scaling/alignment issues with some GUI elements at 96 DPI or when high DPI scaling is disabled in the script.
