Editing Shader caches
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
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. | |
− | + | 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]]== | ==[[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. |
− | + | ||
− | Cemu 1.25.0+ is not | + | 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. | ||
{| class="wikitable" style="text-align:center;" | {| class="wikitable" style="text-align:center;" | ||
Line 127: | Line 122: | ||
|1980 | |1980 | ||
|- | |- | ||
− | | rowspan=" | + | | rowspan="3" |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 135: | Line 130: | ||
|150 | |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 they don't have to build pipelines.<br>Don't try to combine the pipelines with another cache | + | |Incomplete, this is meant for Vulkan users (the cache above will still work with Vulkan) so that they don't have to build pipelines.<br>Don't try to combine the pipelines with another cache as they are not compatible. |
|- | |- | ||
|[https://baiwanzhanshen.lanzouo.com/ivMEMxhzv5g Download] | |[https://baiwanzhanshen.lanzouo.com/ivMEMxhzv5g Download] | ||
|150 | |150 | ||
|9627 shaders, 32609 vulkan pipelines | |9627 shaders, 32609 vulkan pipelines | ||
− | |Almost perfect, JPN | + | |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. <br>The vulkan pipelines will increase with your hardware driver update. submitted by 百万战神. |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|The Legend of Zelda: Twilight Princess HD | |The Legend of Zelda: Twilight Princess HD | ||
Line 176: | Line 166: | ||
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. | + | Current shader version is v1.93 (2022/03/17)<ref>[https://github.com/RPCS3/rpcs3/blob/master/rpcs3/Emu/RSX/VK/VKGSRender.cpp#L509 RPCS3's shader version source on Github]</ref> |
{| class="wikitable" style="text-align:center;" | {| class="wikitable" style="text-align:center;" | ||
Line 188: | Line 178: | ||
! scope="col"|'''Notes''' | ! scope="col"|'''Notes''' | ||
|- | |- | ||
− | | | + | |Demon's Souls |
− | |[https://www.mediafire.com/file/ | + | |[https://www.mediafire.com/file/yjssfl8r52ncbul/DeS_RPCS3_cache.7z/file Download] |
− | |v1. | + | |<abbr title="2019/08/23 - 2021/06/27">v1.91</abbr> |
− | | | + | |599 |
+ | |Vulkan | ||
+ | |Incomplete | ||
+ | |- | ||
+ | |Ratchet and Clank: Tools of Destruction | ||
+ | |[https://www.mediafire.com/file/s8odyywe99k1ybg/R%2526CToD_RPCS3_cache.7z/file Download] | ||
+ | |v1.91 | ||
+ | |1075 | ||
|Vulkan | |Vulkan | ||
| | | | ||
|- | |- | ||
− | | | + | |Ratchet and Clank: Quest for Booty |
− | |[https://www.mediafire.com/file/ | + | |[https://www.mediafire.com/file/hby7wrmjozmydk1/R%2526CQfB_RPCS3_cache.7z/file Download] |
− | |v1. | + | |v1.91 |
− | | | + | |660 |
|Vulkan | |Vulkan | ||
| | | | ||
|- | |- | ||
− | | | + | |Ratchet and Clank Collection |
− | |[https://www.mediafire.com/file/ | + | |[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] |
− | |v1. | + | |v1.91 |
− | | | + | |100<br>106<br>122<br>147 |
|Vulkan | |Vulkan | ||
| | | | ||
Line 211: | Line 208: | ||
|Ratchet and Clank: A Crack in Time | |Ratchet and Clank: A Crack in Time | ||
|[https://www.mediafire.com/file/i0hoxv1w0ezq3jr/R%2526CACiT_RPCS3_cache.7z/file Download] | |[https://www.mediafire.com/file/i0hoxv1w0ezq3jr/R%2526CACiT_RPCS3_cache.7z/file Download] | ||
− | | | + | |v1.93 |
|1191 | |1191 | ||
|Vulkan | |Vulkan | ||
Line 222: | Line 219: | ||
|Vulkan | |Vulkan | ||
| | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Line 258: | Line 235: | ||
! scope="col"|'''Notes''' | ! scope="col"|'''Notes''' | ||
|- | |- | ||
− | | | + | |Ace Combat 6 |
− | |[https://www.mediafire.com/file/ | + | |[https://www.mediafire.com/file/kef3lw048calycg/AC6_Xenia_cache.7z/file Download] |
− | | | + | |<abbr title="2020/12/19 - 2021/04/25">20201219</abbr> |
|DX12 ROV | |DX12 ROV | ||
− | | | + | |First couple levels |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Line 335: | Line 281: | ||
|- | |- | ||
|Super Smash Bros. 3DS | |Super Smash Bros. 3DS | ||
− | |[https://www.mediafire.com/file/ | + | |[https://www.mediafire.com/file/9avtz26uq404ghc/SSB3DS_Citra_cache.7z/file Download] |
|1 | |1 | ||
− | | | + | |3265 |
|- | |- | ||
|The Legend of Zelda: Ocarina of Time 3D | |The Legend of Zelda: Ocarina of Time 3D | ||
Line 348: | Line 294: | ||
|1 | |1 | ||
|2211 | |2211 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
==[[Ryujinx]]== | ==[[Ryujinx]]== | ||
− | Right click the game in | + | Right click the game in ryujinx's game list, Cache Management > Open Shader Cache Directory and copy/paste the guest folder. |
− | + | '''[https://github.com/Ecks1337/RyuSAK/releases 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 <code>Open Transferable Pipeline Cache</code> and copy/paste the .bin file. | |
− | Current shader version is | + | 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 514: | Line 328: | ||
|5 | |5 | ||
|247 | |247 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|Kirby and the Forgotten Land | |Kirby and the Forgotten Land | ||
Line 545: | Line 354: | ||
|- | |- | ||
|Mario Kart 8 Deluxe | |Mario Kart 8 Deluxe | ||
− | |[https://www.mediafire.com/file/ | + | |[https://www.mediafire.com/file/d0mmobhhjha3fjb/Mario_Kart_8_Vulkan_shaders.rar/file Vulkan] |
− | | | + | |5 |
− | | | + | |6130 |
|- | |- | ||
|Metroid Dread | |Metroid Dread | ||
Line 553: | Line 362: | ||
|5 | |5 | ||
|490 | |490 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|New Super Mario Bros. U Deluxe | |New Super Mario Bros. U Deluxe | ||
Line 569: | Line 373: | ||
|437 | |437 | ||
|- | |- | ||
− | |Pokemon | + | |Pokemon Sword & Shield |
− | |||
− | |||
− | |||
− | |||
− | |||
|[https://www.mediafire.com/file/7sc7mx1eseeq43t/swsh_vulkan.rar/file Vulkan] | |[https://www.mediafire.com/file/7sc7mx1eseeq43t/swsh_vulkan.rar/file Vulkan] | ||
|5 | |5 | ||
Line 583: | Line 382: | ||
|5 | |5 | ||
|7178 | |7178 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|Super Mario Odyssey | |Super Mario Odyssey | ||
Line 599: | Line 393: | ||
|11803 | |11803 | ||
|- | |- | ||
− | + | |[https://www.mediafire.com/file/8wceutnahk4x59b/SSBU+yuzu+vulkan+cache.7z/file Vulkan] | |
− | + | |5 | |
− | + | |16862 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |[https://www.mediafire.com/file/ | ||
− | | | ||
− | | | ||
|- | |- | ||
|Xenoblade Chronicles 2: Torna | |Xenoblade Chronicles 2: Torna |