Open hakasapl opened 5 days ago
I also see the Mod manager solution as the most reliable solution and we could make it optional in case someone does not want to use a mod manager. Also for that case and as a first step in general we could:
I just had another idea: The report could show small previews of the used height map, cm map and their corresponding diffuse texture. Then it would be very easy to spot if there is a mismatch.
I just realized that we can find files in the staging folder of the mod manager, for Vortex on my machine it isC:\ProgramData\vortex\skyrimse\mods
- we can do a mapping of the textures to the mod directory and in the summary output a warning when the diffuse texture is from a different directory than the parallax texture. We could match the texture by filesize.
For MO2 I don't know yet, what do you think @hakasapl ?
As discussed: MO2 has the same folder, so we can make use of that folder information. For MO2 there is also a load order file that can be used
If the user specifies a command line argument with the MOD manager staging folder, we create a summary file that shows mod names if one mod contains the diffuse and the other the parallax map based on the load order. This is ensured by comparing the actual file used in the data folder via hash and filename to the one of the staging folder. The folder where this texture lies is the winning mod.
Current use cases that are problematic
--upgrade-shaders
instead of the env mask already in the load orderThe core issue is that ParallaxGen cannot identify whether a diffuse/normal map goes with a height/env mask map
Potential Solutions
Mod Manager Solution
--upgrade-shaders
, if a parallax map is higher priority than a CM map, it should still make a new CM map with that parallax map instead of skipping.@Sebastian-81 thoughts?