起因:在某次正常游玩之后,再次打开Cemu发现一加载就闪退,甚至没有看到加载进度条就自动退出了。log.txt 的 部分内容如下:
[00:16:06] ------- Active settings -------
[00:16:06] CPU-Mode: Multi-core recompiler (gameprofile)
[00:16:06] Load shared libraries: true (gameprofile)
[00:16:06] Use precompiled shaders: auto (gameprofile)
[00:16:06] Full sync at GX2DrawDone: true
[00:16:06] Async compile: true
[00:16:06] Console language: English
[00:16:06] Unrecoverable error in Vulkan renderer
[00:16:06] Msg: Failed to create pipeline cache: -13
看到了关键词“Vulkan”,但把图形API换成 OpenGL 也没法解决问题。所幸我有囤游戏的习惯,觉得好玩的游戏会存一份压缩包放移动硬盘里,于是把对应的压缩包找到解压,文件一一比对排查问题,发现是 F:\Games\cemu1.27.1\shaderCache\driver\vk 下的 “00050000101c9300.bin” 文件导致了闪退。
解决方法:把“00050000101c9300.bin” 删掉,再次打开Cemu会自动生成一份没问题的文件版本。