diff --git a/lib/common/helper/log_helper.dart b/lib/common/helper/log_helper.dart index 1658460..0a2c7c1 100644 --- a/lib/common/helper/log_helper.dart +++ b/lib/common/helper/log_helper.dart @@ -191,6 +191,11 @@ class SCLoggerHelper { return MapEntry(S.current.doctor_game_error_low_gpu_memory, S.current.doctor_game_error_low_gpu_memory_info); } + if (line.contains( + "try disabling with r_vulkanDisableLayers = 1 in your user.cfg")) { + return MapEntry(S.current.doctor_game_error_gpu_vulkan_crash, + S.current.doctor_game_error_gpu_vulkan_crash_info); + } /// Unknown if (line.contains("network.replicatedEntityHandle")) { diff --git a/lib/generated/intl/messages_en.dart b/lib/generated/intl/messages_en.dart index bbac2b6..7d7b51b 100644 --- a/lib/generated/intl/messages_en.dart +++ b/lib/generated/intl/messages_en.dart @@ -332,6 +332,11 @@ class MessageLookup extends MessageLookupByLibrary { "The game triggered a generic crash, please check the trouble shooting guide"), "doctor_game_error_gpu_crash": MessageLookupByLibrary.simpleMessage( "Your graphics card crashes! Please check the barrier guide"), + "doctor_game_error_gpu_vulkan_crash": + MessageLookupByLibrary.simpleMessage("GPU Vulkan Crash"), + "doctor_game_error_gpu_vulkan_crash_info": + MessageLookupByLibrary.simpleMessage( + "Vulkan Crash! This may be the problem of driving version or game engine, please try to update the GPU driver or use the color cleaner function to return to DX11"), "doctor_game_error_low_gpu_memory": MessageLookupByLibrary.simpleMessage("Insufficient VRAM"), "doctor_game_error_low_gpu_memory_info": diff --git a/lib/generated/intl/messages_zh_CN.dart b/lib/generated/intl/messages_zh_CN.dart index e95b4c3..08c47c8 100644 --- a/lib/generated/intl/messages_zh_CN.dart +++ b/lib/generated/intl/messages_zh_CN.dart @@ -297,6 +297,11 @@ class MessageLookup extends MessageLookupByLibrary { MessageLookupByLibrary.simpleMessage("游戏触发了最为广泛的崩溃问题,请查看排障指南"), "doctor_game_error_gpu_crash": MessageLookupByLibrary.simpleMessage("您的显卡崩溃啦!请查看排障指南"), + "doctor_game_error_gpu_vulkan_crash": + MessageLookupByLibrary.simpleMessage("GPU Vulkan 崩溃"), + "doctor_game_error_gpu_vulkan_crash_info": + MessageLookupByLibrary.simpleMessage( + "Vulkan 崩溃!这可能是驱动版本或游戏引擎问题,请尝试更新 GPU 驱动 或 使用清理着色器功能为您回退到 DX11"), "doctor_game_error_low_gpu_memory": MessageLookupByLibrary.simpleMessage("可用显存不足"), "doctor_game_error_low_gpu_memory_info": diff --git a/lib/generated/intl/messages_zh_TW.dart b/lib/generated/intl/messages_zh_TW.dart index dfa2d9d..9d8869e 100644 --- a/lib/generated/intl/messages_zh_TW.dart +++ b/lib/generated/intl/messages_zh_TW.dart @@ -296,6 +296,11 @@ class MessageLookup extends MessageLookupByLibrary { MessageLookupByLibrary.simpleMessage("遊戲觸發了最為廣泛的崩潰問題,請查看除錯指南"), "doctor_game_error_gpu_crash": MessageLookupByLibrary.simpleMessage("您的顯示卡已崩潰,請查看除錯指南"), + "doctor_game_error_gpu_vulkan_crash": + MessageLookupByLibrary.simpleMessage("GPU Vulkan 崩潰"), + "doctor_game_error_gpu_vulkan_crash_info": + MessageLookupByLibrary.simpleMessage( + "Vulkan 崩潰!這可能是驅動版本或遊戲引擎問題,請嘗試更新 GPU 驅動 或 使用清理著色器功能為您回退到 DX11"), "doctor_game_error_low_gpu_memory": MessageLookupByLibrary.simpleMessage("可用 VRAM 不足"), "doctor_game_error_low_gpu_memory_info": diff --git a/lib/generated/l10n.dart b/lib/generated/l10n.dart index a42fde5..9a10a60 100644 --- a/lib/generated/l10n.dart +++ b/lib/generated/l10n.dart @@ -4853,6 +4853,26 @@ class S { args: [], ); } + + /// `GPU Vulkan Crash` + String get doctor_game_error_gpu_vulkan_crash { + return Intl.message( + 'GPU Vulkan Crash', + name: 'doctor_game_error_gpu_vulkan_crash', + desc: '', + args: [], + ); + } + + /// `Vulkan Crash! This may be the problem of driving version or game engine, please try to update the GPU driver or use the color cleaner function to return to DX11` + String get doctor_game_error_gpu_vulkan_crash_info { + return Intl.message( + 'Vulkan Crash! This may be the problem of driving version or game engine, please try to update the GPU driver or use the color cleaner function to return to DX11', + name: 'doctor_game_error_gpu_vulkan_crash_info', + desc: '', + args: [], + ); + } } class AppLocalizationDelegate extends LocalizationsDelegate { diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index de3f6ab..7dfdb3c 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -959,5 +959,7 @@ "@tools_unp4k_missing_runtime_info": {}, "tools_unp4k_missing_runtime_action_install": "Install the runtime", "@tools_unp4k_missing_runtime_action_install": {}, - "home_localization_action_rsi_launcher_no_game_path_msg": "You are not currently installed in the game body or the game installation directory is not selected, and you can only use the promoter Chinese function. Please make sure the game is installed or adds the game installation directory in the box settings." + "home_localization_action_rsi_launcher_no_game_path_msg": "You are not currently installed in the game body or the game installation directory is not selected, and you can only use the promoter Chinese function. Please make sure the game is installed or adds the game installation directory in the box settings.", + "doctor_game_error_gpu_vulkan_crash": "GPU Vulkan Crash", + "doctor_game_error_gpu_vulkan_crash_info": "Vulkan Crash! This may be the problem of driving version or game engine, please try to update the GPU driver or use the color cleaner function to return to DX11" } \ No newline at end of file diff --git a/lib/l10n/intl_zh_CN.arb b/lib/l10n/intl_zh_CN.arb index af7aa8c..2ba83b4 100644 --- a/lib/l10n/intl_zh_CN.arb +++ b/lib/l10n/intl_zh_CN.arb @@ -652,6 +652,8 @@ "doctor_game_error_game_damaged_p4k_file_info": "请尝试删除 Data.p4k 文件 并在启动器校验 或 使用盒子分流。", "doctor_game_error_low_gpu_memory": "可用显存不足", "doctor_game_error_low_gpu_memory_info": "请不要在后台运行其他高显卡占用的 游戏/应用,或更换显卡。", + "doctor_game_error_gpu_vulkan_crash": "GPU Vulkan 崩溃", + "doctor_game_error_gpu_vulkan_crash_info": "Vulkan 崩溃!这可能是驱动版本或游戏引擎问题,请尝试更新 GPU 驱动 或 使用清理着色器功能为您回退到 DX11", "app_common_error_info": "出现错误: {v0}", "app_common_tip": "提示", "app_common_tip_i_know": "我知道了", diff --git a/lib/l10n/intl_zh_TW.arb b/lib/l10n/intl_zh_TW.arb index ceb7a10..ed017bf 100644 --- a/lib/l10n/intl_zh_TW.arb +++ b/lib/l10n/intl_zh_TW.arb @@ -795,5 +795,7 @@ "tools_rsi_launcher_enhance_action_expand": "展開額外功能", "tools_unp4k_missing_runtime": "缺少運行庫", "tools_unp4k_missing_runtime_info": "使用此功能需安裝 .NET8 運行庫,請點擊下方按鈕下載安裝,安裝成功後重新打開此頁面即可繼續使用。", - "tools_unp4k_missing_runtime_action_install": "安裝運行庫" + "tools_unp4k_missing_runtime_action_install": "安裝運行庫", + "doctor_game_error_gpu_vulkan_crash": "GPU Vulkan 崩潰", + "doctor_game_error_gpu_vulkan_crash_info": "Vulkan 崩潰!這可能是驅動版本或遊戲引擎問題,請嘗試更新 GPU 驅動 或 使用清理著色器功能為您回退到 DX11" } \ No newline at end of file