Penumbra
Penumbra copied to clipboard
Basic texture reloading
I'm not exactly sure what's the best way to actually integrate this into Penumbra, but I at least found how to refresh texture files.
The RequestFile
function skips the GetResourceAsyncHandler
/ Sync
functions since we basically want to modify the resources in-place, rather than getting an entirely new one, hence the need to check for replacements in the ReadSqpackHandler
function again.
I'm assuming that other types of resources have similar functions to the texture refresh one, but I haven't dug around too much
So I took a look at this and I think it actually fixes the issue listed in issue https://github.com/xivdev/Penumbra/issues/61. However, just wanted to note that when entering gpose it would still apply the default collection textures and not the character collection ones. That being said, if the tattoo is on the character collection, it will apply to everyone. Just an observation I made and figured I should share