Shader caches: Difference between revisions

Babyclav (talk | contribs)
Kgr (talk | contribs)
 
(301 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
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.
:''This page contains Shader Cache sets to download for specific games''


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.
A '''shader cache''' is  a collection of GPU specific programs known as shaders that get stored in your computer's auxiliary memory for quick retrieval (as you play your game).


Note: Please compress your shader caches with 7zip or Winrar before uploading them.
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 won't be shown.
 
Another approach is to cache the system's raw shader pipeline and then compile the shaders before the game even starts. The only drawback here is that someone has to play through the game atleast once to 'build' a cache that can be used by others. This page provides files to pre-built caches for seamless use while playing your games.
 
When an emulator updates the way it handles shaders, it may break compatibility with previous shader caches; for this reason, the shader version is listed below.
 
'''Note: Please compress your shader caches with 7-Zip or WinRAR before uploading them.'''
 
===GPU Shader / Pipeline Caches vs. CPU JIT Recompilation===
 
'''Shader caches are NOT the same as CPU JIT / PPU / SPU / LLVM recompilation caches.''' See [[High and low-level emulation]] for more information. They are completely independent systems that solve different kinds of stutter:
 
* '''GPU shader / pipeline caches''' (what you download on this page) → translate console GPU shaders (RSX, GN, GX2, etc.) into Vulkan / D3D12 / OpenGL shaders for your PC GPU.
* '''CPU JIT recompilers''' → dynamically translate console CPU instructions (PowerPC PPU, SPU, ARM, etc.) into x86-64 code. These also produce heavy stutter the first time a code path is executed and use their own separate caching mechanisms.
 
{| class="wikitable" style="width: 100%;"
! Aspect !! GPU Shader / Pipeline Caches<br><small>(what you download here)</small> !! CPU JIT Recompilation<br><small>(PPU/SPU/LLVM in RPCS3, PowerPC JIT in Dolphin, etc.)</small>
|-
| What is compiled || Console GPU shaders → Vulkan / D3D12 / OpenGL shaders for your PC GPU || Console CPU code → native executable code (typically x86-64)
|-
| Primary stutter source || First time a new draw call triggers an unseen shader/pipeline permutation || '''RPCS3:''' Long boot-time "Compiling PPU Modules" → "Linking PPU Modules" → "Building SPU Cache" (first run only); rare runtime JIT hitches afterward<br/>Others: First execution of a new function/block/module
|-
| Cache files || <code>vk_pipeline_cache.bin</code>, <code>gl_cache</code>, transferable <code>.zip</code>/<code>.bin</code>/<code>.vkch</code>, etc. || '''RPCS3:''' <code>~/.config/rpcs3/cache/</code> (<code>PPU-*.bin</code>, <code>SPU-*.bin</code> with LLVM)<br/>Dolphin/etc.: Separate JIT caches
|-
| What determines compatibility? || GPU architecture + driver version + emulator shader decompiler + pipeline layout hash || Emulator build + patches + settings + host CPU
|-
| Can be shared between users? || Yes*<br/><small>* Caches built on NVIDIA usually only work on NVIDIA GPUs. AMD/Vulkan caches are less portable but sometimes compatible.<br/>* Driver updates frequently invalidate caches.<br/>* Emulator updates that change the shader decompiler or pipeline layout will invalidate old caches — always check the listed “Shader version” or build number.</small> || No — highly system-dependent
|-
| Invalidated by driver update? || Very often || No
|-
| Typical size per game || 200 MB – 6 GB || 50 MB – 1.5 GB
|-
| Even with a perfect GPU cache… || …you can still get CPU-side stutter on first playthrough || …you can still get GPU shader stutter if the cache is missing or invalid
|}
 
'''RPCS3 tip:''' First boot takes time (PPU/SPU precompilation). This is normal, not a crash; results are cached for future launches.
 
===What you’re downloading vs. driver/OS shader caches===
 
The shader cache files on this page are emulator-specific, per-game collections of translated shaders (sometimes called “shared caches”). They are completely separate from generic driver-level caches used by Windows and GPU drivers.
 
'''Important distinction:'''
* '''Shader cache''' → emulator-level translation artifacts.
* '''Pipeline cache''' → driver-level binary blobs generated from those shaders.
 
Pipeline caches are typically hash-based and may be invalidated by driver changes, GPU microcode updates, or pipeline layout differences.
 
{| class="wikitable" style="width: 100%;"
! Type !! Emulator/Game-Specific Cache<br><small>(what you download here)</small> !! Windows D3D12 Shader Cache !! NVIDIA NV_Cache / DXCache
|-
| Purpose || Pre-translated console → PC GPU shaders for one game || Generic DirectX 12 cache || NVIDIA internal driver caches
|-
| Location || Emulator folder (<code>shader_cache</code>, <code>cache</code>, <code>gl_cache</code>, etc.) || <code>%LocalAppData%\D3DSCache</code> || <code>%LocalAppData%\NVIDIA\…</code><br/><code>%ProgramData%\NVIDIA Corporation\…</code>
|-
| Shareable between users? || Yes* (see notes above) || No || No
|-
| Survives driver updates? || Often not || Sometimes (can occasionally cause bugs) || Usually wiped
|-
| Deleting one affects the other? || No || No || No
|}
 
'''Important:''' Deleting your NVIDIA or D3DSCache folders will '''not''' affect emulator caches you download here, and vice versa.
 
'''Technical note (OS-level D3D12 cache):''' The OS cache is controlled through official DirectX 12 Shader Cache APIs introduced in Windows 10 version 2004.<ref>{{cite web |url=https://microsoft.github.io/DirectX-Specs/d3d/ShaderCache.html |title=D3D12 Shader Cache Specification |publisher=Microsoft}}</ref> These APIs allow applications (including some emulators) to create in-memory or disk-backed cache sessions, explicitly store/find shaders, and query driver-managed caches. NVIDIA’s <code>NV_Cache</code> and <code>DXCache</code> folders exist outside this specification and are not directly controllable by applications.
 
=== How emulators solve shader compilation stutter ===
When emulating seventh-generation consoles and newer, thousands — sometimes millions — of unique shader permutations must be translated for your PC GPU. Compiling them on-the-fly causes noticeable stuttering.
Emulators use several techniques to reduce or eliminate this problem. '''Files hosted on this page''' are most commonly transferable '''disk shader/pipeline caches'''. When your emulator version, GPU vendor, and driver version align, you can achieve near stutter-free gameplay from the moment you press Play.
 
{| class="wikitable" style="text-align: center; width: 100%;"
! Technique !! How it works !! Pros !! Cons !! Typical emulators using it
|-
| '''Synchronous compilation''' || Compiles on the main thread the moment the shader is needed || Simple to implement || Severe stuttering (100 ms – seconds per shader) || Older builds
|-
| '''Asynchronous compilation''' || Background threads compile; until ready, draws may be skipped or placeholders used || Major stutter reduction || Brief visual glitches or missing effects while compiling || Azahar, Cemu, RPCS3[https://rpcs3.net/blog/2018/08/08/eliminating-stutter-with-asynchronous-shader-implementation/], Eden - Citron, Xenia Canary - Xenia Edge[https://github.com/has207/xenia-edge/commit/11a82b08355055222c9c1496e011b8162839d8ce]
|-
| '''Async Recompiler with Interpreter Fallback''' || Runs an interpreter for new GPU commands/shaders immediately while an optimized recompiler runs in the background; swaps once ready. || No missing visuals (unlike standard Async); much less stutter than Sync. || The "Interpreter phase" can be slow, leading to temporary frame rate fluctuations. Certain complex shaders (e.g., tessellation) may still fallback to skipping draws entirely. || RPCS3[https://github.com/RPCS3/rpcs3/pull/18676], Xenia Edge (Vertex shaders only)[https://github.com/has207/xenia-edge/commit/5a959788c5fc81e8eeed5829ec770678690817ec#diff-5653e5c2e8728aaff51d637a69226577bd705b4c94b0f031f1fc7d9592101825R186]
|-
| '''Disk shader and pipeline cache''' || Saves discovered shaders/pipelines to disk after creation; instantly reused later || Little to no stutter after the first full playthrough || Stutter on first encounter; invalidated by some driver/emulator updates || Dolphin, RPCS3, Cemu, Azahar[https://x.com/Pablomf6/status/2020527777896689888][https://github.com/azahar-emu/azahar/releases/tag/2125.0.1], Vita3K, [https://github.com/ehw/xemu/pull/1 ehw's Xemu fork]<ref>[https://github.com/xemu-project/xemu/issues/2804 Feature request] for mainline [[Xemu]].</ref>, Xenia Canary - Xenia Edge
|-
| '''Exclusive Ubershaders''' || One giant “do-everything” shader emulates the full GPU pipeline with no runtime specialization || Eliminates shader stutter || High constant GPU overhead; unsuitable for low-end hardware || Dolphin (Exclusive mode)[https://ast.dolphin-emu.org/blog/2017/07/30/ubershaders]
|-
| '''Hybrid Ubershaders''' || Uses an ubershader temporarily for unseen shaders while specialized versions compile in the background || Near-zero stutter with eventual full performance || Slightly higher RAM/CPU usage during compilation || Dolphin (Hybrid mode)[https://ast.dolphin-emu.org/blog/2017/07/30/ubershaders]
|-
| '''Pre-launch pipeline precompilation''' || Before gameplay, pipelines are compiled from previously discovered shaders or transferable caches || Minimal in-game stutter when cache is populated || Long launch times; requires an existing cache; invalidated on updates || Cemu, Dolphin, RPCS3 (partial)
|-
| '''Speculative pre-warming''' || Predicts likely shaders and compiles them at boot or level load || Smoother early gameplay || Extra CPU/GPU cost; predictions may miss rare shaders || Experimental / uncommon
|}
 
;Notes
:'''Transferable / pre-built cache''': Community-shared caches built for a specific GPU architecture and driver. Can provide near-zero shader stutter immediately if compatible. Large files; often break after driver or emulator shader changes.
:'''Parallel compilation''': Uses multiple CPU threads to compile many shaders simultaneously, dramatically reducing loading times at the cost of high temporary CPU usage.[https://github.com/azahar-emu/azahar/pull/1051]
:'''LRU cache eviction / size limits''': Automatically deletes least-recently-used shaders when a storage limit is reached, preventing unbounded cache growth. Revisiting evicted content requires recompilation.
:'''SPIR-V optimization passes''': Options such as "Optimize SPIR-V Output" do not eliminate shader stutter but can reduce pipeline build cost, sometimes improving first-time compilation smoothness. Helpful, but not a substitute for caches or async compilation.[https://old.reddit.com/r/cemu/comments/gbokct/how_is_optimize_shader_spirv_working_for_everyone/]
 
'''Technical insight:''' Modern GPUs use highly state-dependent pipelines. A single logical shader may generate dozens or hundreds of pipeline permutations depending on blend state, render targets, MSAA, vertex layout, and depth configuration. This combinatorial behavior is one reason fully eliminating first-run shader compilation remains difficult for many emulators.


==[[Cemu]]==
==[[Cemu]]==
Put files in <code><cemuFolder>\shaderCache\transferable\</code>
Put files in <code><cemuFolder>\shaderCache\transferable\</code>


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.
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, so try enabling that before hunting for shader caches.
 
The current shader version is '''150''', but Cemu is backward-compatible from version '''149''' (Cemu version 1.7.0, 2017/05/16)
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 backward-compatible with any prior transferable cache.
Cemu 1.25.0+ is not backwards compatible with any prior transferable cache.


{| class="wikitable" style="text-align:center;"
{| class="wikitable" style="text-align:center;"
Line 103: Line 197:
|-
|-
|Super Mario 3D World
|Super Mario 3D World
|[https://www.mediafire.com/file/5p64g9oz3bax6ox/SM3DW_Cemu_cache.7z/file Download]
|[https://drive.google.com/file/d/1u6mNCsgeq2xa9qIQHQuJtB7uTxmAK6pl/view Download]
|149
|149
|4212
|4298
|-
|-
|Super Mario Maker
|Super Mario Maker
Line 122: Line 216:
|1980
|1980
|-
|-
| rowspan="2" |The Legend of Zelda: Breath of the Wild
| rowspan="4" |The Legend of Zelda: Breath of the Wild
|[https://www.mediafire.com/file/chu14a4npy37azf/BOTW_Cemu_cache.7z/file Download]
|[https://www.mediafire.com/file/chu14a4npy37azf/BOTW_Cemu_cache.7z/file Download]
|149
|149
Line 128: Line 222:
|-
|-
|[https://files.catbox.moe/8tbhik.7z Download]
|[https://files.catbox.moe/8tbhik.7z Download]
|149
|150
|6500ish shaders, 11000 vulkan pipelines
|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 combine the pipelines with another cache as they are not compatible.
|Incomplete, this is meant for Vulkan users (the cache above will still work with Vulkan) so they don't have to build pipelines.<br>Don't try to combine the pipelines with another cache, as they are incompatible.
|-
|[https://baiwanzhanshen.lanzouo.com/ivMEMxhzv5g Download]
|150
|9627 shaders, 32609 vulkan pipelines
|Almost perfect, JPN version of ''Breath of the Wild'' for the Cemu 1.25, other region versions can use the OpenGL shaders, change its name, for example, change 9300 to 9500. <br>The Vulkan pipelines will increase with your hardware driver update.
|-
|[https://www.mediafire.com/file/oqht99ggzm2ty82/shaderCache.7z/file Download]
|150
|9430 shaders, 56354 vulkan pipelines
|US version of zelda breath of the wild game played through with Cemu version 1.26.2f using Vulkan Graphics API, this is the entire shaderCache folder.
|-
|-
|The Legend of Zelda: Twilight Princess HD
|The Legend of Zelda: Twilight Princess HD
Line 152: Line 256:
|17592
|17592
|-
|-
|Yoshi Wolly World
|Yoshi's Woolly World
|[https://www.mediafire.com/file/qm2nasf3wn1dw7b/YWW_Cemu_cache.7z/file Download]
|[https://www.mediafire.com/file/qm2nasf3wn1dw7b/YWW_Cemu_cache.7z/file Download]
|149
|149
Line 161: Line 265:
Put the raw and pipeline folders in <code><RPCS3Folder>\cache\<gameSerial>\ppu-<hash>-EBOOT.BIN\shaders_cache\</code>
Put the raw and pipeline folders in <code><RPCS3Folder>\cache\<gameSerial>\ppu-<hash>-EBOOT.BIN\shaders_cache\</code>


Current shader version is v1.92 (2021/06/27)<ref>[https://github.com/RPCS3/rpcs3/blob/master/rpcs3/Emu/RSX/VK/VKGSRender.cpp#L504 RPCS3's shader version source on Github]</ref>
Current shader version is v1.95 (2025/02/20)<ref>[https://github.com/RPCS3/rpcs3/blob/master/rpcs3/Emu/RSX/VK/VKGSRender.cpp#L591 RPCS3's shader version source on Github]</ref>


{| class="wikitable" style="text-align:center;"
{| class="wikitable" style="text-align:center;"
Line 173: Line 277:
! scope="col"|'''Notes'''
! scope="col"|'''Notes'''
|-
|-
|Demon's Souls
|Asura's Wrath
|[https://www.mediafire.com/file/yjssfl8r52ncbul/DeS_RPCS3_cache.7z/file Download]
|[https://www.mediafire.com/file/jdqqkh4ohwtihlj/ASURA%2527S_WRATH_%255BBLUS30721%255D_%252801.02%2529.7z/file Download]
|<abbr title="2019/08/23 - 2021/06/27">v1.91</abbr>
|v1.95
|599
|8989
|Vulkan
|
|-
|-
|God of War III
|[https://www.mediafire.com/file/2dg1c4yws75zcge/God_of_War_III_%252801.03%2529.7z/file Download]
|v1.94
|9330
|Vulkan
|
|-
|Guitar Hero 5
|[https://www.mediafire.com/file/noozx9rv6l94piy/GH5+RPCS3+Shaders.zip/file Download]
|v1.94
|1485
|Vulkan
|
|-
|Guitar Hero: Warriors of Rock
|[https://www.mediafire.com/file/tdwdnyu9e7t38ox/GHWOR+RPCS3+Shaders.zip/file Download]
|v1.94
|1953
|Vulkan
|
|-
|ModNation Racers
|[https://www.mediafire.com/file/m49sz842f9b0l17/ModNation_RPCS3_Shaders.zip/file Download]
|v1.94
|1311
|Vulkan
|
|-
|Ratchet and Clank: A Crack in Time
|[https://www.mediafire.com/file/i0hoxv1w0ezq3jr/R%2526CACiT_RPCS3_cache.7z/file Download]
|<abbr title="2022/03/17 - 2022/12/11">v1.93</abbr>
|1191
|Vulkan
|Vulkan
|Incomplete
|
|-
|-
|Ratchet and Clank: Tools of Destruction
|Ratchet and Clank: Into the Nexus
|[https://www.mediafire.com/file/s8odyywe99k1ybg/R%2526CToD_RPCS3_cache.7z/file Download]
|[https://www.mediafire.com/file/zdanba72rjqdif6/R%2526CItN_RPCS3_cache.7z/file Download]
|v1.91
|v1.93
|1075
|1150
|Vulkan
|Vulkan
|
|
|-
|-
|Ratchet and Clank: Quest for Booty
|Rock Band 3 Deluxe
|[https://www.mediafire.com/file/hby7wrmjozmydk1/R%2526CQfB_RPCS3_cache.7z/file Download]
|[https://www.mediafire.com/file/sig1mxr0fh3tjnq/RB3DX_RPCS3_Shaders.zip/file Download]
|v1.91
|v1.94
|660
|1280
|Vulkan
|Vulkan
|
|
|-
|-
|Ratchet and Clank Collection
|Skylanders Giants
|[https://www.mediafire.com/file/g4aqj38lcxn7pea/R%2526C1_RPCS3_cache.7z/file Ratchet and Clank]<br>[https://www.mediafire.com/file/io6ypmig4eiw3cm/R%2526C2_RPCS3_cache.7z/file Going Commando]<br>[https://www.mediafire.com/file/wh9q9r4v7exigg5/R%2526C3_RPCS3_cache.7z/file Up Your Arsenal]<br>[https://www.mediafire.com/file/grofya6blvwy6z0/R%2526C4_RPCS3_cache.7z/file Deadlocked]
|[https://www.mediafire.com/file/9zjssbiqes9ops6/SKYGIANTS_Shaders.7z/file Download]
|v1.91
|v1.94
|100<br>106<br>122<br>147
|2831
|Vulkan
|Vulkan
|
|
|-
|The Beatles: Rock Band
|[https://www.mediafire.com/file/0q22va8k29mx1vw/TBRB_RPCS3_Shaders.zip/file Download]
|v1.94
|721
|Vulkan
|}
|}


==[[Xenia]]==
==[[Xenia]]==
Put the files in <code><XeniaFolder>\cache\shaders\shareable</code>
Put the files in <code><XeniaFolder>\cache_host\shaders\shareable</code>


Current shader version is 20210425<ref>[https://github.com/xenia-project/xenia/blob/master/src/xenia/gpu/dxbc_shader_translator.h#L60 Xenia's shader version source on Github]</ref>
Current shader version is 20220720<ref>[https://github.com/xenia-project/xenia/blob/master/src/xenia/gpu/dxbc_shader_translator.h#L116 Xenia's shader version source on Github]</ref>


{| class="wikitable" style="text-align:center;"
{| class="wikitable" style="text-align:center;"
Line 216: Line 362:
! scope="col"|'''Notes'''
! scope="col"|'''Notes'''
|-
|-
|Ace Combat 6
|DreamWorks Bee Movie Game
|[https://www.mediafire.com/file/kef3lw048calycg/AC6_Xenia_cache.7z/file Download]
|[https://www.mediafire.com/file/52kid35n84er4ey/BeeGameXeniaCache.zip/file Download]
|20201219
|20220720
|DX12 RTV
|Full Playthrough
|-
|Lost Odyssey
|[https://www.mediafire.com/file/wkjg0bpagkc7u2i/LostOdysseyXenia2.zip/file Download]
|20220720
|DX12 ROV
|DX12 ROV
|First couple levels
|100% Full Playthrough (Discs 1-4)
Xenia Canary Build December 25 2022 (9f0d3d4)
|-
|Gears of War 2
|[https://www.mediafire.com/file/gfs7cqsc2i31gkp/gow2_xenia_shaders.zip/file Download]
|20220720
|DX12 ROV
|Full Playthrough of Main Campaign
|-
|Gears of War 3
|[https://www.mediafire.com/file/6nt15znflol7uc7/GOW3_Xenia.rar/file Download]
|20220720
|DX12 ROV
|Full Playthrough
|-
|Gears of War Judgment
|[https://www.mediafire.com/file/e2fdnilu7b5h4eo/GoWJudgment_Shader.rar/file Download]
|20220720
|DX12 ROV
|Full Playthrough Judgment/Aftermath
|-
|Fracture
|[https://www.mediafire.com/file/gqlrqqum3uqja32/FractureXeniaCache.zip/file Download]
|20220720
|DX12 ROV
|Full Playthrough of Main Campaign on Hardcore
|-
|Bloodforge
|[https://www.mediafire.com/file/tm2b4w4ur6n3utw/Bloodforge_Shaders.zip/file Download]
|20220720
|DX12 RTV
|Full Playthrough
|-
|Sonic Unleashed
|[https://www.mediafire.com/file/iq25e05c5rfqnlh/Sonic_Unleashed_Xenia_Shaders.zip/file Download]
|20220720
|DX12 ROV
|Full Playthrough
|-
|Red Dead Redemption
|[https://www.mediafire.com/file/hal62gtwylp0j44/RDR_Shaders.rar/file Download]
|20220720
|DX12 ROV
|Full Playthrough of Main Campaign and Undead Nightmare
|-
|Sonic Unleashed
|[https://www.mediafire.com/file/iq25e05c5rfqnlh/Sonic_Unleashed_Xenia_Shaders.zip/file Download]
|20220720
|DX12 ROV
|Full Playthrough
|-
|WET
|[https://www.mediafire.com/file/xf8mnz0eg9r6hq3/wet_xenia_shaders.zip/file Download]
|20220720
|DX12 ROV
|Full Playthrough of Main Campaign
|}
|}


Line 262: Line 469:
|-
|-
|Super Smash Bros. 3DS
|Super Smash Bros. 3DS
|[https://www.mediafire.com/file/9avtz26uq404ghc/SSB3DS_Citra_cache.7z/file Download]
|[https://www.mediafire.com/file/yifrpql6mm4kmhh/SSB3DS_Citra_cache.7z/file Download]
|1
|1
|3265
|3312
|-
|-
|The Legend of Zelda: Ocarina of Time 3D
|The Legend of Zelda: Ocarina of Time 3D
|[https://www.mediafire.com/file/8sz6xx0x5x7eikg/LoZOoT3D_Citra_cache.7z/file Download]
|[https://www.mediafire.com/file/ky48v512bici5nt/LoZOoT3D_Citra_cache.7z/file Download]
|1
|1
|426
|426
Line 275: Line 482:
|1
|1
|2211
|2211
|-
|The Legend of Zelda: A Link Between Worlds
|[https://www.mediafire.com/file/7i8sffs7kvh9ibz/TLoZ_aLBW_ShaderCache.zip/file Download]
|1
|49
|-
|Tomodachi Life
|[https://www.mediafire.com/file/0fzc1a0b0pp9vvu/TL_Citra_cache.7z/file Download]
|1
|10123
|-
|Hatsune Miku Project Mirai DX
|[https://www.mediafire.com/file/iq7ekpopeee2bo2/Project+Mirai+DX+shadercache.zip/file Download]
|1
|1022
|-
|Mario Kart 7
|[https://www.mediafire.com/file/yw5tyb0jo8usmxw/Mario+Kart+7+shadercache.zip/file Download]
|1
|742
|}
|}


==[[Ryujinx]]==
==[[Ryujinx]]==
Right click the game in ryujinx's game list, Cache Management > Open Shader Cache Directory and copy/paste the guest folder.
Right click the game in Ryujinx's game list, Cache Management > Open Shader Cache Directory, and extract the zip there.


Current shader version is 2469 (2021/07/12)<ref>[https://github.com/Ryujinx/Ryujinx/blob/master/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs#L41 ryujinx's shader version source on Github]</ref>
To share: Right click the game in Ryujinx's game list, Cache Management > Open Shader Cache Directory and zip all the files named "guest" and "shared". Use the title ID as filename (check the file path for a folder with a name that resembles 010015100b514000).


'''[https://github.com/stromcon/emusak-ui/releases Emusak] is a tool to automatically download and share shader caches for Ryujinx.'''
* '''Don't upload shaders if you used mods.'''
* '''Vendors seem to matter, so if your card is AMD and there's only an NVIDIA shader cache available, add another entry, and vice-versa. Don't just replace caches from different vendors.'''


 
Current shader version is 1.1 (2023/10/23)<ref>[https://github.com/Ryujinx/Ryujinx/blob/b1f8f868f6fdec87bd3342ac379594bd695cbbfd/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheGuestStorage.cs#L12 Ryujinx's shader version source on Github]</ref>
==[[yuzu]]==
Put files in <code><user>\shader\*opengl* or *vulkan*\transferable\</code>
 
Current shader version is 21 (2020/06/04)<ref>[https://github.com/yuzu-emu/yuzu/blob/master/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp#L61 yuzu's shader version source on Github.] You can use [https://www.mediafire.com/file/obyi8rgf0zb71as/yuzushadercachever.7z/file this cmd line program] to check the transferable cache version</ref>


{| class="wikitable" style="text-align:center;"
{| class="wikitable" style="text-align:center;"
Line 296: Line 520:
! scope="col"|'''Link(s)'''
! scope="col"|'''Link(s)'''
! scope="col"|'''Shader Version'''
! scope="col"|'''Shader Version'''
! scope="col"|'''Vendor'''
! scope="col"|'''Shader Count'''
! scope="col"|'''Shader Count'''
|-
|-
|Animal Crossing: New Horizons
|Advance Wars 1+2: Re-Boot Camp
|[https://www.mediafire.com/file/c9sql0ojue9ywjs/ACNH+yuzu+cache.7z/file OpenGL]
|[https://www.mediafire.com/file/sq4r3g1h23g0y9i/0100300012f2a000.zip/file Download]
|21
|1.1
|2830
|Nvidia
|279
|-
|Bayonetta 2
|[https://drive.google.com/file/d/1ZhA2KQoKWeVKcZgqj93-NCd4PZ3FSEIT/view Download]
|1.1
|AMD
|1117
|-
|Bayonetta 3
|[https://drive.google.com/file/d/1Vd5E_NS1DhtBK9zM08YeRE8L1ApI4tNL/view?usp=sharing Download]
|1.1
|AMD
|1943
|-
|Crash Team Racing Nitro-Fueled
|[https://www.mediafire.com/file/5hccsp9a3xmmv1p/0100f9f00c696000.zip/file Download]
|1.1
|AMD
|579
|-
|Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
|[https://www.mediafire.com/file/f24raqnu55yi2es/0100309016e7a000.zip/file Download]
|1.1
|AMD
|7521
|-
|Donkey Kong Country: Tropical Freeze
|[https://www.mediafire.com/file/4ocg3snb80rjbl8/0100c1f0051b6000.zip/file Download]
|1.1
|Apple
|784
|-
|Donkey Kong Country: Tropical Freeze
|[https://www.mediafire.com/file/2iupnuvaih9uc0r/DKCTF_Vulkan.zip/file Download]
|1.1
|NVIDIA
|796
|-
|Kirby and the Forgotten Land
|[https://www.mediafire.com/file/fpt6dsvtizxcxs7/01004d300c5ae000.zip/file Download]
|1.1
|NVIDIA
|6774
|-
|-
|ARMS
|Kirby and the Forgotten Land
|[https://www.mediafire.com/file/sxuebxm41w5rl4q/ARMS+yuzu+cache.7z/file OpenGL]
|[https://www.mediafire.com/file/y78ioexsbcvjjz1/01004d300c5ae000-KIRBY_AMD.zip/file Download]
|21
|1.1
|2734
|AMD
|6635
|-
|-
|Astral Chain
|Mario Kart 8 Deluxe
|[https://www.mediafire.com/file/b8b45hv807c2v9c/AC+yuzu+cache.7z/file OpenGL]
|[https://drive.google.com/uc?export=download&id=1CaDEA4h5jaqwTF5JuDgaoRKjBkJP-YHJ Download]
|21
|1.1
|567
|NVIDIA
|5934
|-
|-
|Brigandine: Legend of Runesaria
|Mario Kart 8 Deluxe
|[https://www.mediafire.com/file/rxcueuycfccv0oq/BR+yuzu+cache.7z/file OpenGL]
|[https://drive.google.com/uc?export=download&id=1QPULxBDTiTq3Tq_cVza1WZzx2vFroEKQ Download]
|21
|1.1
|447
|AMD
|5921
|-
|-
|Captain Toad Treasure Tracker
|Mario Kart 8 Deluxe
|[https://www.mediafire.com/file/0cezvc94ql2z80m/CTTT+yuzu+cache.7z/file OpenGL]
|[https://www.mediafire.com/file/qn9uakysrh76sw3/Mario_Kart_8_Deluxe_Apple_Ryujinx_Shader_Cache.zip/file Download]
|21
|1.1
|1793
|Apple
|5989
|-
|Metroid Dread
|[https://www.mediafire.com/file/pjrf5zlt8o3u1yv/010093801237C000.zip/file Download]
|1.1
|NVIDIA
|401
|-
|Luigi's Mansion 2 HD
|[https://www.mediafire.com/file/h8zz2zqcw75azqo/LM2HD_-_010048701995e000.zip/file Download]
|1.1
|NVIDIA
|117
|-
|Pokémon Legends: Z-A
|[https://www.mediafire.com/file/ak1gccwpxkbdics/AMD+Shaders+PLZA.zip Vulkan]
|1.1
|AMD
|3311
|-
|Pokémon Sword
|[https://www.mediafire.com/file/bg76b5d5x53x89w/0100abf008968000.zip/file Download]
|1.1
|AMD
|26042
|-
|Pokémon Violet 3.0.1 (with DLCs)
|[https://www.mediafire.com/file/ucgsmp2wzoi2n5w/01008f6008c5e000.rar/file Vulkan]
|1.1
|NVIDIA
|7637
|-
|Super Mario 3D World + Bowser's Fury
|[https://www.mediafire.com/file/4rfy6iysiqnln7o/SM3DW%252BBF_Vulkan.zip/file Download]
|1.1
|NVIDIA
|3634
|-
|Super Mario Bros. Wonder
|[https://www.mediafire.com/file/wisclvjbc2rglk1/010015100b514000.7z/file Download]
|1.1
|NVIDIA
|4169
|-
|Super Mario Bros. Wonder
|[https://www.mediafire.com/file/9l3q6ndy5y4j1ex/010015100b514000.zip/file Download]
|1.1
|AMD
|4119
|-
|Super Mario Bros. Wonder
|[https://www.mediafire.com/file/2rr60np9zct5x0d/010015100b514000.zip/file Download]
|1.1
|Intel
|7773
|-
|Super Mario Odyssey
|[https://www.mediafire.com/file/2k8s0hrn5yexd02/0100000000010000.zip/file Download]
|1.1
|NVIDIA
|14040
|-
|Super Mario RPG
|[https://www.mediafire.com/file/r523y1o9j11q9ym/0100bc0018138000.zip/file Download]
|1.1
|Apple
|822
|-
|Super Smash Bros. Ultimate
|[https://www.mediafire.com/file/oi3et9c0ofn9v3n/SSBU_Shader_Cache.zip/file Download]
|1.1
|NVIDIA
|22425
|-
|Super Smash Bros. Ultimate
|[https://drive.google.com/file/d/1cfYiQhfD3vrwa8BhBRUln3bXOODiUjzJ/view?usp=sharing Download]
|1.1
|AMD
|37892
|-
|Super Smash Bros. Ultimate
|[https://www.mediafire.com/file/9t20gzo6nynyra3/SSMBU_shaders_22425.zip/file Download]
|1.1
|NVIDIA
|22425
|-
|The Legend of Zelda: Echoes of Wisdom
|[https://mega.nz/file/f8gUVZYK#r-EqfgCYVkqjW75IOlsgPe9I2BaAMpH93crkA_x1ILw/file Download]
|1.1
|AMD
|4445
|-
|The Legend of Zelda: Echoes of Wisdom
|[https://www.mediafire.com/file/358novt89xzw2h9/shader.7z/file Download]
|1.1
|NVIDIA
|4518
|-
|Master Detective Archives: Rain Code
|[https://www.mediafire.com/file/ym7z5oc979j6fjg/0100149019460000.zip/file Download]
|1.1
|AMD
|4085
|-
|Xenoblade Chronicles 2
|[https://www.mediafire.com/file/hetrwsxsa37se7s/0100e95004038000.rar/file Download]
|1.1
|NVIDIA
|4517
|}
 
'''Dump from defunct RyuSAK servers. Have in mind that some shaders might be broken (such as Mario Kart 8).'''
 
Avoid re-uploading these shaders to the list above.
 
*[https://www.mediafire.com/file/vpyvasmyelkv8m9/Shaders.zip.001/file Download Part 1]
 
*[https://www.mediafire.com/file/qyv600io6sczyna/Shaders.zip.002/file Download Part 2]
 
==[[Yuzu]]==
NOTE: Yuzu is no longer being maintained and shutdown their services (including all repositories) [[History_of_emulation#Lawsuits|because of legal troubles]].
 
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 '''11''' (2024/1/27). Use version 1659 and below to get shader version '''10'''<ref>yuzu [https://github.com/yuzu-emu/yuzu/blob/master/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp#L57 Vulkan] and [https://github.com/yuzu-emu/yuzu/blob/master/src/video_core/renderer_opengl/gl_shader_cache.cpp#L54 OpenGL] shader version source on GitHub</ref> <br>
[https://www.mediafire.com/file/4xbwxyqgu1y3vfy/Yuzu_1644.zip/file Yuzu build 1644]
 
{| class="wikitable" style="text-align:center;"
|+
|-
|-
|CTR Nitro-Fueled
! scope="col"|'''Game'''
|[https://www.mediafire.com/file/mea0qk0ayj2uln8/CTRNF+yuzu+cache.7z/file OpenGL]
! scope="col"|'''Link(s)'''
|21
! scope="col"|'''Shader Version'''
|435
! scope="col"|'''Shader Count'''
|-
|-
| rowspan="2" |Fire Emblem Three Houses
|Crash Team Racing Nitro-Fueled
|[https://www.mediafire.com/file/ghv323896sag8us/FETH+yuzu+cache.7z/file OpenGL]
|[https://www.mediafire.com/file/yg32rs0pb8wuqcy/Crash_Team_Racing_Nitro-Fueled_vulkan_shaders.rar/file Vulkan]
|21
|<abbr title="2021/07/25 - 2022/08/31">5</abbr>
|317
|954
|-
|-
|Donkey Kong Country: Tropical Freeze
|[https://www.mediafire.com/file/tg25mm6bgzj79tj/Donkey_Kong_Country_Tropical_Freeze_vulkan_shaders.rar/file Vulkan]
|5
|1084
|-
|Fire Emblem Three Houses
|[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
|Hyrule Warriors: Age of Calamity
|[https://www.mediafire.com/file/0i43h9d33r4zt94/HW-AoC+yuzu+vulkan+cache.7z/file Vulkan]
|[https://www.mediafire.com/file/69iabzk29rjpgat/HWAoC+yuzu+1162.7z/file Vulkan]
|Hades
|10
|2233
|1162
|-
|Kirby Star Allies
|[https://www.mediafire.com/file/kb3d1z5z8qb886f/KSA+yuzu+cache.7z/file OpenGL]
|21
|8553
|-
|-
| rowspan="2" |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]
|5
|1946
|-
|Kirby and the Forgotten Land
|[https://www.mediafire.com/file/spz7t3pj0mbem88/Kirby-FL_Vulkan_Yuzu.7z/file Vulkan]
|11
|37354
|-
|-
|Kirby Return to Dream Land Deluxe
|[https://www.mediafire.com/file/5iwacqoszo3g9ag/RTDLD_Vulkan_Yuzu.7z/file Vulkan]
|11
|33055
|-
|LEGO Harry Potter Collection
|[https://www.mediafire.com/file/5cr4uretmuc5ryj/LEGO_Harry_Potter_Collection_vulkan_shaders.rar/file Vulkan]
|5
|3181
|-
|-
|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]
|[https://www.mediafire.com/file/hcy2hy2if9p4f9r/Mario_and_Sonic_Olympics_vulkan_shaders.rar/file Vulkan]
|21
|5
|346
|545
|-
|-
|Mario Kart 8 Deluxe
|Mario Kart 8 Deluxe
|[https://www.mediafire.com/file/1qqu2r5ugtnusas/MK8D+yuzu+cache.7z/file OpenGL]
|[https://www.mediafire.com/file/b7vj9wtcpd0qs1x/Mario_Kart_8_Deluxe_vulcan_shaders.rar/file Vulkan]
|21
|10
|4596
|7843
|-
|Metroid Dread
|[https://www.mediafire.com/file/l3gceinbbadawsr/MD_yuzu_cache.7z/file Vulkan]
|5
|490
|-
|-
|Mario Tennis Aces
|Metroid Prime Remastered
|[https://www.mediafire.com/file/y090s266mzy2d04/MTA+yuzu+cache.7z/file OpenGL]
|[https://www.mediafire.com/file/kj57f0n834kfr67/010012101468c000.zip/file/file Vulkan]
|21
|10
|2414
|2323
|-
|-
|New Super Mario Bros. U Deluxe
|New Super Mario Bros. U Deluxe
|[https://www.mediafire.com/file/rm7fe96km0cujke/NSMBUD+yuzu+cache.7z/file OpenGL]
|[https://www.mediafire.com/file/phyg2argivss3x4/New_Super_Mario_Bros_U_Deluxe_vulkan_shaders.rar/file Vulkan]
|21
|5
|639
|1308
|-
|-
|Paper Mario: Origami King
|Nickelodeon Kart Racers
|[https://www.mediafire.com/file/zylt9ua8kejbbs1/PMOK+yuzu+cache.7z/file OpenGL]
|[https://www.mediafire.com/file/pxteaxt401cmiqj/Nickelodeon_Kart_Racers_vulkan_shaders.rar/file Vulkan]
|21
|5
|4483
|437
|-
|-
|Pokemon Sword & Shield
|Pokemon Shield
|[https://www.mediafire.com/file/k1z42y83r08nvyf/PKMSwSh+yuzu+cache.7z/file OpenGL]
|[https://www.mediafire.com/file/7sc7mx1eseeq43t/swsh_vulkan.rar/file Vulkan]
|21
|5
|14165
|13169
|-
|Splatoon 2
|[https://www.mediafire.com/file/6c0f81t59fljwif/Spl2+yuzu+cache.7z/file OpenGL]
|21
|2563
|-
|-
|Super Mario 3D World + Bowser's Fury
|Super Mario 3D World + Bowser's Fury
|[https://www.mediafire.com/file/zmnxyldn7utl2fa/SM3DWBF+yuzu+cache.7z/file OpenGL]
|[https://www.mediafire.com/file/gvnoy8002p3q0us/Super_Mario_3D_World_vulkan_shaders.rar/file Vulkan]
|21
|5
|4520
|7178
|-
|-
| rowspan="2" |Super Mario Odyssey
|Super Mario Bros. Wonder
|[https://www.mediafire.com/file/ojt9r64s3fvi9tq/SMO+yuzu+cache.7z/file OpenGL]
|[https://www.mediafire.com/file/r68hq3vzuyp8mx6/010015100b514000.zip/file Vulkan]
|21
|10
|10040
|17531
|-
|-
|[https://www.mediafire.com/file/fwxsug8xc0tu0lp/SMO+yuzu+vulkan+cache.7z/file Vulkan]
|Super Mario Odyssey
|Hades
|[https://www.mediafire.com/file/2ywi1d3tqh48g1r/Super_Mario_Odyssey_Yuzu_Vulkan_cache_%2528FULL_GAME%2529.7z/file Vulkan]
|9348
|5
|-
|28852
| rowspan="3" |Super Smash Bros. Ultimate
|[https://www.mediafire.com/file/7gyyzzs2b0r686b/SSBU+yuzu+cache.7z/file OpenGL]
|21
|19300
|-
|-
| rowspan="2" |Super Smash Bros. Ultimate
|[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/folder/dle5wyb06a0im/01006a800016e000 Vulkan]
|Hades
|10
|16862
|14529
|-
|The Legend of Zelda: Breath of the Wild
|[https://mega.nz/file/cvFXDSgD#8jEbzCBQblR1_uDjlfdi6SXfy6i5id38M_eZJCh61eM/ Vulkan]
|10
|52239
|-
|The Legend of Zelda: Tears of the Kingdom
|[https://www.mediafire.com/file/f0yekhllc1t7jnd/0100f2c0115b6000.7z/file Vulkan]
|11
|54945
|-
|-
|The Legend of Zelda: Link's Awakening
|Xenoblade Chronicles 2: Torna
|[https://www.mediafire.com/file/lywfpsdh9nyxbc4/TLoZLA_yuzu_cache.7z/file OpenGL]
|[https://mega.nz/file/HmxEmKyS#1nKxzyUJVBNPazNVpmAWipjcjFILIzoI9fPLusYm3Cw Vulkan]
|21
|5
|2666
|19369
|
|-
|-
|Xenoblade Chronicles: Definitive Edition
|Xenoblade Chronicles 2
|[https://www.mediafire.com/file/0qjxt2ew914j3fc/XC-DE+yuzu+cache.7z/file OpenGL]
|[https://www.mediafire.com/file/6xvxw5jssk0lmoe/0100e95004038000.zip/file Vulkan]
|21
|11
|8350
|4000
|
|-
|Xenoblade Chronicles 3: Future Redeemed
|[https://www.mediafire.com/file/ol6kbqcxa5uggzy/Xenoblade_Chronicles_3_DLC_Wave_4_Update_2.0.0_ShaderCache.zip/file Vulkan]
|10
|55000
|}
|}
==See also==
*[[High and low-level emulation]]


==References==
==References==
Line 438: Line 867:


[[Category:FAQs]]
[[Category:FAQs]]
{{#seo:
|keywords=video games,emulation,emulator,emu,wiki,list,download,files,game,shader,cache
|description=A list of video game shader cache downloads for various emulators.
|published_time={{#time:c|{{REVISIONTIMESTAMP}}}}
}}