Hello,
So while this option may seem a bit weird to have initially, let me explain.
I've been playing Metroid Prime 2: Echoes (NGC) the last week and it runs perfectly on my computer (except for the small laggspikes when moving out of water or opening a portal (refraction?)) but yesterday I encountered something weird when I started the game.. The main menu had a green overlay and when I loaded my save it looked like this:
So that was weird.. As I'm a programmer myself I knew it had something to do with shaders or textures missing, then I remembered saying that driver updates, swapping GPU or anything like that might invalidate the shader cache used by the Ubershaders and they'd have to be compiled again.. Now let luck have it that the night before Windows decided to update. I believe it also updated my graphics drivers among other things.. So ok.. I'll need dolphin to recompile shaders for me..
No problem, let's see.. Dolphin directory.. Hmm where does Dolphin keep its compiled shaders.. Not here anywhere..
Ok perhaps it keeps it elsewhere, lets check %appdata% .. Not in the roaming folder, not in the local folder..., come on this is the spot where application data should be kept.. even temporary..
C:\ProgramData\ perhaps? Nope not here, Ok let's google quickly, saves are kept in My Documents, ok lets have a look there.
Ok My Documents it was, though a bit weird to keep all the other data in here too but sure.. Now to find the shaders..
"Documents\Dolphin Emulator\Cache\Shaders" That seems like it, now delete it all and Dolphin would have to force a shader recompile.
So I run the game.. No recompile? huh that's weird, booted up and same issue.. So I check the settings.. it IS set to Exclusive mode on Ubershaders. Well how do I get Dolphin to recompile my shaders ugh, Ok I know, I'll just switch rendering API (Vulkan -> D3D) and bam there it goes, compiling shaders, and we're all set now it works again..
So that was ehm a bit of a hassle to go through..
So my request, especially as Windows updates can happen frequently (and/or graphics drivers too)
Can we have a flag or a button that recompiles the shaders the next time a game is run? Because it seems it doesn't automatically detect it (or not in all cases atleast). Its little effort and helps a lot.
So while this option may seem a bit weird to have initially, let me explain.
I've been playing Metroid Prime 2: Echoes (NGC) the last week and it runs perfectly on my computer (except for the small laggspikes when moving out of water or opening a portal (refraction?)) but yesterday I encountered something weird when I started the game.. The main menu had a green overlay and when I loaded my save it looked like this:
So that was weird.. As I'm a programmer myself I knew it had something to do with shaders or textures missing, then I remembered saying that driver updates, swapping GPU or anything like that might invalidate the shader cache used by the Ubershaders and they'd have to be compiled again.. Now let luck have it that the night before Windows decided to update. I believe it also updated my graphics drivers among other things.. So ok.. I'll need dolphin to recompile shaders for me..
No problem, let's see.. Dolphin directory.. Hmm where does Dolphin keep its compiled shaders.. Not here anywhere..
Ok perhaps it keeps it elsewhere, lets check %appdata% .. Not in the roaming folder, not in the local folder..., come on this is the spot where application data should be kept.. even temporary..
C:\ProgramData\ perhaps? Nope not here, Ok let's google quickly, saves are kept in My Documents, ok lets have a look there.
Ok My Documents it was, though a bit weird to keep all the other data in here too but sure.. Now to find the shaders..
"Documents\Dolphin Emulator\Cache\Shaders" That seems like it, now delete it all and Dolphin would have to force a shader recompile.
So I run the game.. No recompile? huh that's weird, booted up and same issue.. So I check the settings.. it IS set to Exclusive mode on Ubershaders. Well how do I get Dolphin to recompile my shaders ugh, Ok I know, I'll just switch rendering API (Vulkan -> D3D) and bam there it goes, compiling shaders, and we're all set now it works again..
So that was ehm a bit of a hassle to go through..
So my request, especially as Windows updates can happen frequently (and/or graphics drivers too)
Can we have a flag or a button that recompiles the shaders the next time a game is run? Because it seems it doesn't automatically detect it (or not in all cases atleast). Its little effort and helps a lot.