Onimusha: Way of the Sword shader.cache Location and Safe Rebuild Steps

For graphics problems or instability after a game or GPU-driver update when you want to compare a fresh shader cache.

No account needed. Saved only in this browser.

The short answer

Capcom identifies shader.cache and shader.cache2 in the folder containing OnimushaWotS.exe as files to remove when troubleshooting instability. Instead of deleting them, first move only the files that exist to a separate backup folder. Launch again and compare after any shader preparation finishes. If neither file exists, skip this step; do not remove other files to compensate.

Different symptom or still not fixed? Find the next check →
Open My Games →Keep this game’s fixes handy. No account. This browser only.

Key facts

Default game folder
C:\Program Files (x86)\Steam\steamapps\common\OnimushaWotS
Files covered by this procedure
shader.cache and shader.cache2 only
If neither file exists
Skip the operation, as Capcom advises
GPU-driver cache
Use the GPU manufacturer’s instructions for its separate cache

Find your symptom

Start with your symptom. Skip steps that do not apply to your setup.

What you seeWhat to checkGo to
Graphics become corrupted or unstable after an updateCompare freshly generated game shader cachesStep 2
Problems began after a driver updateAfter the game-cache check, consult the GPU vendor about its cacheStep 4
shader.cache is missingThe specified files may not exist; no deletion is neededStep 2

Fixes, in order

Continue this issue

Private notes stay in this browser. Nothing is sent automatically. Back up important notes on My Page. PC settings are never changed by this site.

Step 1|Open the game folder, then close the game and Steam

Avoid moving files while the game is using them.

Time: About 1 minute · Risk: low

  1. Use Steam → Library → right-click the game → Manage → Browse local files, and leave that folder open.
  2. Close the game, then exit Steam from its menu.

Step 2|Move only shader.cache and shader.cache2 aside

Moving the files keeps a copy available if you need to restore them.

Time: About 1 minute · Risk: medium

  1. Look for shader.cache and shader.cache2 in the same folder as OnimushaWotS.exe.
  2. Create a separate, clearly named backup folder outside the installation and move only the specified files that are present. Record their original location.
  3. If neither exists, skip this operation. Do not remove similarly named files, config.ini, save folders or the whole installation.

Step 3|Launch again and compare the result

Retest after the game has completed any shader preparation.

Time: Several minutes; varies by PC · Risk: low

  1. Reopen Steam and launch the game.
  2. Allow shader preparation to finish if it runs. Do not confuse a slow preparation stage with an error that closes the game.
  3. Compare the same scene. Keep the backup until the result is clear. To revert, close the game and Steam, move any newly generated files to a different backup folder, and return the originals without blindly overwriting files.

Step 4|Consult the GPU vendor about its separate cache

Capcom also mentions clearing shader caches created by the graphics driver.

Time: About 5 minutes, plus regeneration · Risk: medium

  1. Consider this only if rebuilding the specified game caches did not help.
  2. Follow current NVIDIA or AMD instructions for your driver. Do not guess cache paths or delete broad Windows or driver folders.
  3. Restart the PC as directed, launch again, and compare after shader preparation.

Avoid

  • Do not delete unrelated files or the entire game folder.
  • Do not move caches while the game is running.

Important cautions

  • Keep the moved files until you have checked the result. A cache rebuild is a comparison, not proof that corruption caused the problem.

FAQ

Is it safe to remove shader.cache?

Capcom recommends removing shader.cache and shader.cache2 when troubleshooting instability. Moving the specific files aside first preserves a copy. After relaunching, allow any shader preparation to finish before comparing the same scene.

What if I cannot find either cache file?

Skip the operation. Capcom explicitly says it is unnecessary when the specified files do not exist. Their absence is not a reason to delete other files.

Will this remove my saved game?

This procedure moves only the two named shader-cache files. It does not include any save files or Steam userdata folder. If a filename or location is unclear, stop and confirm it rather than moving a whole folder.

Sources

These steps summarize the linked Capcom, Steam and Microsoft guidance in our own words. PCGamingWiki is linked as a secondary reference, not publisher guidance. Unverified version-specific settings and save paths are not treated as established facts. This is a source-based guide, not a claim that we tested every fix on this game. Follow newer official guidance if it differs.

Capcom: Onimusha: Way of the Sword PC troubleshooting guidePCGamingWiki: Onimusha: Way of the Sword (community reference)Onimusha: Way of the SwordJapanese version of this page