Difference between revisions of "Shader caches"

From Emulation General Wiki
Jump to navigation Jump to search
(yuzu)
(yuzu: Remove pre-hades shaders and update current shader version)
Line 304: Line 304:
 
Right click the game in yuzu's game list and click <code>Open Transferable Pipeline Cache</code> and copy/paste the .bin file.
 
Right click the game in yuzu's game list and click <code>Open Transferable Pipeline Cache</code> and copy/paste the .bin file.
  
Current shader version is Hades (2021/07/25). <!-- Versioning reset with the project hades shader rewrite, current version is '''5''' for both [https://github.com/yuzu-emu/yuzu/blob/master/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp#L58 Vulkan] and [https://github.com/yuzu-emu/yuzu/blob/master/src/video_core/renderer_opengl/gl_shader_cache.cpp#L55 OpenGL] and hasn't changed since project hades was merged. -->
+
Current shader version is '''7''' (2022/11/04). <ref>[https://github.com/yuzu-emu/yuzu/blob/master/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp#L56 Vulkan] and [https://github.com/yuzu-emu/yuzu/blob/master/src/video_core/renderer_opengl/gl_shader_cache.cpp#L52 OpenGL] shader version source on Github</ref>
  
 
{| class="wikitable" style="text-align:center;"
 
{| class="wikitable" style="text-align:center;"
Line 314: Line 314:
 
! scope="col"|'''Shader Count'''
 
! scope="col"|'''Shader Count'''
 
|-
 
|-
|Animal Crossing: New Horizons
+
|Crash Team Racing Nitro-Fueled
|[https://www.mediafire.com/file/c9sql0ojue9ywjs/ACNH+yuzu+cache.7z/file OpenGL]
 
|21
 
|2830
 
|-
 
|ARMS
 
|[https://www.mediafire.com/file/sxuebxm41w5rl4q/ARMS+yuzu+cache.7z/file OpenGL]
 
|21
 
|2734
 
|-
 
|Astral Chain
 
|[https://www.mediafire.com/file/b8b45hv807c2v9c/AC+yuzu+cache.7z/file OpenGL]
 
|21
 
|567
 
|-
 
|Brigandine: Legend of Runesaria
 
|[https://www.mediafire.com/file/rxcueuycfccv0oq/BR+yuzu+cache.7z/file OpenGL]
 
|21
 
|447
 
|-
 
|Captain Toad Treasure Tracker
 
|[https://www.mediafire.com/file/0cezvc94ql2z80m/CTTT+yuzu+cache.7z/file OpenGL]
 
|21
 
|1793
 
|-
 
| rowspan="2" |Crash Team Racing Nitro-Fueled
 
|[https://www.mediafire.com/file/mea0qk0ayj2uln8/CTRNF+yuzu+cache.7z/file OpenGL]
 
|21
 
|435
 
|-
 
 
|[https://www.mediafire.com/file/yg32rs0pb8wuqcy/Crash_Team_Racing_Nitro-Fueled_vulkan_shaders.rar/file Vulkan]
 
|[https://www.mediafire.com/file/yg32rs0pb8wuqcy/Crash_Team_Racing_Nitro-Fueled_vulkan_shaders.rar/file Vulkan]
|Hades
+
|<abbr title="2021/07/25 - 2022/08/31">5</abbr>
 
|954
 
|954
 
|-
 
|-
 
|Donkey Kong Country: Tropical Freeze
 
|Donkey Kong Country: Tropical Freeze
 
|[https://www.mediafire.com/file/tg25mm6bgzj79tj/Donkey_Kong_Country_Tropical_Freeze_vulkan_shaders.rar/file Vulkan]
 
|[https://www.mediafire.com/file/tg25mm6bgzj79tj/Donkey_Kong_Country_Tropical_Freeze_vulkan_shaders.rar/file Vulkan]
|Hades
+
|5
 
|1084
 
|1084
 
|-
 
|-
| rowspan="2" |Fire Emblem Three Houses
+
|Fire Emblem Three Houses
|[https://www.mediafire.com/file/ghv323896sag8us/FETH+yuzu+cache.7z/file OpenGL]
 
|21
 
|317
 
|-
 
 
|[https://www.mediafire.com/file/fnqw4npc9zhy1g6/FETH+yuzu+ogl+hades+cache.7z/file OpenGL]
 
|[https://www.mediafire.com/file/fnqw4npc9zhy1g6/FETH+yuzu+ogl+hades+cache.7z/file OpenGL]
|Hades
+
|5
 
|247
 
|247
|-
 
|Hyrule Warriors: Definitive Edition
 
|[https://www.mediafire.com/file/164n5zvzyakocze/HW-DE+yuzu+cache.7z/file OpenGL]
 
|21
 
|367
 
|-
 
|Hyrule Warriors: Age of Calamity
 
|[https://www.mediafire.com/file/0i43h9d33r4zt94/HW-AoC+yuzu+vulkan+cache.7z/file Vulkan]
 
|Hades
 
|2233
 
|-
 
|Kirby Star Allies
 
|[https://www.mediafire.com/file/kb3d1z5z8qb886f/KSA+yuzu+cache.7z/file OpenGL]
 
|21
 
|8553
 
 
|-
 
|-
 
|Kirby and the Forgotten Land
 
|Kirby and the Forgotten Land
 
|[https://www.mediafire.com/file/q6xbq4mztg5jrzl/vulkan+kirby.rar/file Vulkan]
 
|[https://www.mediafire.com/file/q6xbq4mztg5jrzl/vulkan+kirby.rar/file Vulkan]
|Hades
+
|5
 
|6683
 
|6683
 
|-
 
|-
| rowspan="3" |Luigi's Mansion 3
+
| rowspan="2" |Luigi's Mansion 3
|[https://www.mediafire.com/file/lwpagskvawu2czt/LM3+yuzu+cache.7z/file OpenGL]
 
|21
 
|1192
 
|-
 
 
|[https://www.mediafire.com/file/hya90bycn41wt5k/LM3+yuzu+ogl+hades+cache.7z/file OpenGL]
 
|[https://www.mediafire.com/file/hya90bycn41wt5k/LM3+yuzu+ogl+hades+cache.7z/file OpenGL]
|Hades
+
|5
 
|1015
 
|1015
 
|-
 
|-
 
|[https://www.mediafire.com/file/dmnlb7gm2h40ix1/vulkan.rar/file Vulkan]
 
|[https://www.mediafire.com/file/dmnlb7gm2h40ix1/vulkan.rar/file Vulkan]
|Hades
+
|5
 
|1946
 
|1946
 
|-
 
|-
 
|LEGO Harry Potter Collection
 
|LEGO Harry Potter Collection
 
|[https://www.mediafire.com/file/5cr4uretmuc5ryj/LEGO_Harry_Potter_Collection_vulkan_shaders.rar/file Vulkan]
 
|[https://www.mediafire.com/file/5cr4uretmuc5ryj/LEGO_Harry_Potter_Collection_vulkan_shaders.rar/file Vulkan]
|Hades
+
|5
 
|3181
 
|3181
 
|-
 
|-
| rowspan="2" |Mario & Sonic at the Olympic Games Tokyo 2020
+
|Mario & Sonic at the Olympic Games Tokyo 2020
|[https://www.mediafire.com/file/sf38jcowoaes2jr/MSOGT2020+yuzu+cache.7z/file OpenGL]
 
|21
 
|346
 
|-
 
 
|[https://www.mediafire.com/file/hcy2hy2if9p4f9r/Mario_and_Sonic_Olympics_vulkan_shaders.rar/file Vulkan]
 
|[https://www.mediafire.com/file/hcy2hy2if9p4f9r/Mario_and_Sonic_Olympics_vulkan_shaders.rar/file Vulkan]
|Hades
+
|5
 
|545
 
|545
 
|-
 
|-
| rowspan="2" |Mario Kart 8 Deluxe
+
|Mario Kart 8 Deluxe
|[https://www.mediafire.com/file/1qqu2r5ugtnusas/MK8D+yuzu+cache.7z/file OpenGL]
 
|21
 
|4596
 
|-
 
 
|[https://www.mediafire.com/file/d0mmobhhjha3fjb/Mario_Kart_8_Vulkan_shaders.rar/file Vulkan]
 
|[https://www.mediafire.com/file/d0mmobhhjha3fjb/Mario_Kart_8_Vulkan_shaders.rar/file Vulkan]
|Hades
+
|5
 
|6130
 
|6130
|-
 
|Mario Tennis Aces
 
|[https://www.mediafire.com/file/y090s266mzy2d04/MTA+yuzu+cache.7z/file OpenGL]
 
|21
 
|2414
 
 
|-
 
|-
 
|Metroid Dread
 
|Metroid Dread
 
|[https://www.mediafire.com/file/l3gceinbbadawsr/MD_yuzu_cache.7z/file Vulkan]
 
|[https://www.mediafire.com/file/l3gceinbbadawsr/MD_yuzu_cache.7z/file Vulkan]
|Hades
+
|5
 
|490
 
|490
 
|-
 
|-
| rowspan="2" |New Super Mario Bros. U Deluxe
+
|New Super Mario Bros. U Deluxe
|[https://www.mediafire.com/file/rm7fe96km0cujke/NSMBUD+yuzu+cache.7z/file OpenGL]
 
|21
 
|639
 
|-
 
 
|[https://www.mediafire.com/file/phyg2argivss3x4/New_Super_Mario_Bros_U_Deluxe_vulkan_shaders.rar/file Vulkan]
 
|[https://www.mediafire.com/file/phyg2argivss3x4/New_Super_Mario_Bros_U_Deluxe_vulkan_shaders.rar/file Vulkan]
|Hades
+
|5
 
|1308
 
|1308
 
|-
 
|-
 
|Nickelodeon Kart Racers
 
|Nickelodeon Kart Racers
 
|[https://www.mediafire.com/file/pxteaxt401cmiqj/Nickelodeon_Kart_Racers_vulkan_shaders.rar/file Vulkan]
 
|[https://www.mediafire.com/file/pxteaxt401cmiqj/Nickelodeon_Kart_Racers_vulkan_shaders.rar/file Vulkan]
|Hades
+
|5
 
|437
 
|437
 
|-
 
|-
|Paper Mario: Origami King
+
|Pokemon Sword & Shield
|[https://www.mediafire.com/file/zylt9ua8kejbbs1/PMOK+yuzu+cache.7z/file OpenGL]
 
|21
 
|4483
 
|-
 
|rowspan="2" |Pokemon Sword & Shield
 
|[https://www.mediafire.com/file/k1z42y83r08nvyf/PKMSwSh+yuzu+cache.7z/file OpenGL]
 
|21
 
|14165
 
|-
 
 
|[https://www.mediafire.com/file/7sc7mx1eseeq43t/swsh_vulkan.rar/file Vulkan]
 
|[https://www.mediafire.com/file/7sc7mx1eseeq43t/swsh_vulkan.rar/file Vulkan]
|Hades
+
|5
 
|13169
 
|13169
 
|-
 
|-
|Splatoon 2
+
|Super Mario 3D World + Bowser's Fury
|[https://www.mediafire.com/file/6c0f81t59fljwif/Spl2+yuzu+cache.7z/file OpenGL]
 
|21
 
|2563
 
|-
 
|rowspan="2" |Super Mario 3D World + Bowser's Fury
 
|[https://www.mediafire.com/file/zmnxyldn7utl2fa/SM3DWBF+yuzu+cache.7z/file OpenGL]
 
|21
 
|4520
 
|-
 
 
|[https://www.mediafire.com/file/gvnoy8002p3q0us/Super_Mario_3D_World_vulkan_shaders.rar/file Vulkan]
 
|[https://www.mediafire.com/file/gvnoy8002p3q0us/Super_Mario_3D_World_vulkan_shaders.rar/file Vulkan]
|Hades
+
|5
 
|7178
 
|7178
 
|-
 
|-
| rowspan="2" |Super Mario Odyssey
+
|Super Mario Odyssey
|[https://www.mediafire.com/file/ojt9r64s3fvi9tq/SMO+yuzu+cache.7z/file OpenGL]
 
|21
 
|10040
 
|-
 
 
|[https://www.mediafire.com/file/2ywi1d3tqh48g1r/Super_Mario_Odyssey_Yuzu_Vulkan_cache_%2528FULL_GAME%2529.7z/file Vulkan]
 
|[https://www.mediafire.com/file/2ywi1d3tqh48g1r/Super_Mario_Odyssey_Yuzu_Vulkan_cache_%2528FULL_GAME%2529.7z/file Vulkan]
|Hades
+
|5
 
|28852
 
|28852
 
|-
 
|-
| rowspan="3" |Super Smash Bros. Ultimate
+
| rowspan="2" |Super Smash Bros. Ultimate
|[https://www.mediafire.com/file/7gyyzzs2b0r686b/SSBU+yuzu+cache.7z/file OpenGL]
 
|21
 
|19300
 
|-
 
 
|[https://www.mediafire.com/file/fsoo24g2j0z58sn/SSBU_yuzu_ogl_hades_cache.7z/file OpenGL]
 
|[https://www.mediafire.com/file/fsoo24g2j0z58sn/SSBU_yuzu_ogl_hades_cache.7z/file OpenGL]
|Hades
+
|5
 
|11803
 
|11803
 
|-
 
|-
 
|[https://www.mediafire.com/file/8wceutnahk4x59b/SSBU+yuzu+vulkan+cache.7z/file Vulkan]
 
|[https://www.mediafire.com/file/8wceutnahk4x59b/SSBU+yuzu+vulkan+cache.7z/file Vulkan]
|Hades
+
|5
 
|16862
 
|16862
|-
 
|The Legend of Zelda: Link's Awakening
 
|[https://www.mediafire.com/file/lywfpsdh9nyxbc4/TLoZLA_yuzu_cache.7z/file OpenGL]
 
|21
 
|2666
 
|-
 
|Xenoblade Chronicles: Definitive Edition
 
|[https://www.mediafire.com/file/0qjxt2ew914j3fc/XC-DE+yuzu+cache.7z/file OpenGL]
 
|21
 
|8350
 
 
|-
 
|-
 
|Xenoblade Chronicles 2: Torna
 
|Xenoblade Chronicles 2: Torna
 
|[https://mega.nz/file/HmxEmKyS#1nKxzyUJVBNPazNVpmAWipjcjFILIzoI9fPLusYm3Cw Vulkan]
 
|[https://mega.nz/file/HmxEmKyS#1nKxzyUJVBNPazNVpmAWipjcjFILIzoI9fPLusYm3Cw Vulkan]
|Hades
+
|5
 
|19369
 
|19369
 
|}
 
|}

Revision as of 05:10, 14 November 2022

Modern consoles and their games make heavy use of precompiled shaders specific to their GPUs, and these shaders can't be run natively on PC hardware so they need to be translated, or recompiled. The simplest way to do this is to recompile them at runtime, but that's slow and can cause stuttering every time a new shader is loaded in the game. A mitigation to this stuttering is to compile the shaders asynchronously to the emulator, but this has its own drawback in that in the time it takes to compile the shader the effect in-game that relies on it wont be shown. Another approach is to cache the raw shader pipeline of the system and then use that to compile the shaders before the game even starts. The only drawback here is that someone has to play through the game once to 'build' a cache that can be used by others.

When an emulator updates the way it handles shaders they may break compatibility with previous shader caches, for this reason the shader version is listed below.

Note: Please compress your shader caches with 7zip or Winrar before uploading them.

Cemu

Put files in <cemuFolder>\shaderCache\transferable\

Newer versions of Cemu leverage Vulkan 1.2 and asynchronous shaders in a way that it may be preferable on modern GPUs to use async shaders instead of a shader cache.

Current shader version is 150, but Cemu is backwards-compatible from version 149 (Cemu version 1.7.0, 2017/05/16) Cemu 1.25.0+ is not backwards compatible with any prior transferable cache.

Game Link(s) Shader Version Shader Count Notes
Bayonetta 2 Download 149 1210
Captain Toad Treasure Tracker Download 149 2146
Devil's Third Download 149 4421
Donkey Kong Country: Tropical Freeze Download 149 1950
Fast Racing NEO Download 149 1776
Fatal Frame 5 Download 149 1023
Hyrule Warriors Download 149 1222
Kirby and the Rainbow Curse Download 149 3004
Mario Kart 8 Download 149 12029
Mario Party 10 Download 149 1235
Mario Tennis Download 149 1230
New Super Mario Bros. U + New Super Luigi U Download 149 886
Ninja Gaiden 3: Razor's Edge Download 149 868
Pikmin 3 Download 149 2423
Splatoon Download 149 6790
Star Fox Zero Download 149 384
Super Mario 3D World Download 149 4212
Super Mario Maker Download 149 584
Super Smash Bros. WiiU Download 150 4765
Tekken Tag Tournament 2 Download 149 1980
The Legend of Zelda: Breath of the Wild Download 149 9674
Download 150 6500ish shaders, 11000 vulkan pipelines Incomplete, this is meant for Vulkan users (the cache above will still work with Vulkan) so that they don't have to build pipelines.
Don't try to combine the pipelines with another cache as they are not compatible.
Download 150 9627 shaders, 32609 vulkan pipelines Almost perfect, JPN ver of BOTW for the cemu 1.25, other region versions can use the opengl shaders, change it's name, for example, change 9300 to 9500.
The vulkan pipelines will increase with your hardware driver update. submitted by 百万战神.
The Legend of Zelda: Twilight Princess HD Download 149 2635
The Legend of Zelda: Wind Waker HD Download 149 11835
Tokyo Mirage Sessions #FE Download 149 2438
Xenoblade Download 149 17592
Yoshi Wolly World Download 149 5002

RPCS3

Put the raw and pipeline folders in <RPCS3Folder>\cache\<gameSerial>\ppu-<hash>-EBOOT.BIN\shaders_cache\

Current shader version is v1.93 (2022/03/17)[1]

Game Link(s) Shader Version Shader Count Renderer Notes
Demon's Souls Download v1.91 599 Vulkan Incomplete
Ratchet and Clank: Tools of Destruction Download v1.91 1075 Vulkan
Ratchet and Clank: Quest for Booty Download v1.91 660 Vulkan
Ratchet and Clank Collection Ratchet and Clank
Going Commando
Up Your Arsenal
Deadlocked
v1.91 100
106
122
147
Vulkan
Ratchet and Clank: A Crack in Time Download v1.93 1191 Vulkan
Ratchet and Clank: Into the Nexus Download v1.93 1150 Vulkan

Xenia

Put the files in <XeniaFolder>\cache\shaders\shareable

Current shader version is 20210425[2]

Game Link(s) Shader Version Renderer Notes
Ace Combat 6 Download 20201219 DX12 ROV First couple levels

Citra

Put files in <user>\shaders\opengl\transferable\

Current shader version is 1 (2019/09/07)[3]

Game Link(s) Shader Version Shader Count
Animal Crossing: New Leaf Download 1 1403
Mario Kart 7 Download 1 299
New Super Mario Bros. 2 Download 1 1308
Pokemon: Ultra Sun Download 1 703
Super Mario 3D Land Download 1 1379
Super Smash Bros. 3DS Download 1 3265
The Legend of Zelda: Ocarina of Time 3D Download 1 426
The Legend of Zelda: Majora's Mask 3D Download 1 2211

Ryujinx

Right click the game in ryujinx's game list, Cache Management > Open Shader Cache Directory and copy/paste the guest folder.

Ryusak is a tool to automatically download and share shader caches for Ryujinx.

yuzu

Right click the game in yuzu's game list and click Open Transferable Pipeline Cache and copy/paste the .bin file.

Current shader version is 7 (2022/11/04). [4]

Game Link(s) Shader Version Shader Count
Crash Team Racing Nitro-Fueled Vulkan 5 954
Donkey Kong Country: Tropical Freeze Vulkan 5 1084
Fire Emblem Three Houses OpenGL 5 247
Kirby and the Forgotten Land Vulkan 5 6683
Luigi's Mansion 3 OpenGL 5 1015
Vulkan 5 1946
LEGO Harry Potter Collection Vulkan 5 3181
Mario & Sonic at the Olympic Games Tokyo 2020 Vulkan 5 545
Mario Kart 8 Deluxe Vulkan 5 6130
Metroid Dread Vulkan 5 490
New Super Mario Bros. U Deluxe Vulkan 5 1308
Nickelodeon Kart Racers Vulkan 5 437
Pokemon Sword & Shield Vulkan 5 13169
Super Mario 3D World + Bowser's Fury Vulkan 5 7178
Super Mario Odyssey Vulkan 5 28852
Super Smash Bros. Ultimate OpenGL 5 11803
Vulkan 5 16862
Xenoblade Chronicles 2: Torna Vulkan 5 19369

References