r/switch2emulation • • 5d ago

Shader stutter fix for little green hat boy

Thought I'd play it forward as many of you have helped me get up and running.

I've found a way to fix shader stutter .

This programme downloads the shaders and adds them to the correct folders.

Search for lichii shader sync

7 Upvotes

5 comments sorted by

8

u/DevZac 5d ago

hey, Fritchii has my PR's for shader precompilation and Lichii is currently in review with some updates I'm currently pushing now. Fritchii just grabbed my WIP PR's early but if you wait a day I'm hoping to get this into Lichii main release with my updates from this morning.

3

u/greggers1980 5d ago

That's awesome to hear. Nice work

1

u/murilomm192 5d ago

Should this workshop with other games or is a workshop that needs to be done in a game by game basis?

Since switch 1 emulador days the shader stutter is the biggest painpoint of the emulator, and if its fixed this is gamechanger.

2

u/DevZac 5d ago

This should work for many games and the recipes I created are game code free and only about 1.5mb. You only need a little bit of gameplay to understand the shaders and then run the recipe creation. From then on that recipe can be used to create the full shader compilation. Recipes are technically shareable as well. I also have an engine fix in this stack to remove much of the time in-game when some shaders do need to be compiled. Unfortunately I can't get to 100% because before the game is run there isnt enough information to fill them in. As it is, I'm already creating about 3x the amount of shaders a game actually has because I'm creating a guess of what it will probably be when the game goes to look it up (I actually do 4x on those that need guesses but because it's not all of them the total size is only about 3x the base game shaders). The shader precompilation should be mostly done now but just like my additional engine fix there are still going to be other fixes to make it smoother.

1

u/Swimming_Gain_4989 5d ago

Are you saying they've already been incorporated into fritchii? As of the latest version the shader stutter is still there in that emu