feat(crash): more detailed prompt for graphics card issue. Closes #1102.

This commit is contained in:
huanghongxun
2021-10-17 00:49:52 +08:00
parent f01c0408e1
commit 33efc38f4c
3 changed files with 15 additions and 3 deletions

View File

@@ -354,7 +354,11 @@ game.crash.reason.fabric_warnings=Fabric gives some warnings:\n%1$s
game.crash.reason.file_already_exists=Game cannot run because file %1$s already exists.\nIf it can be deleted, backup it, delete it and try again.
game.crash.reason.file_changed=Game cannot run because file verification failed.\nIf you have modified the Minecraft primary jar, you need roll back the changes, or re-download the game.
game.crash.reason.gl_operation_failure=Game crashed due to some mods, shader packs, texture packs.\nPlease disable the mods/shader packs/texture packs you are using and try again.
game.crash.reason.graphics_driver=Game crashed due to a problem with your graphics driver.\nPlease update your graphics driver to the latest version.\nIf your computer has a discrete graphics card, you need to check whether the game uses itegrated/core graphics. If so, please run HMCL and game using discrete graphics card. If you still have these problems, you may consider getting a new graphics card or a new computer.
game.crash.reason.graphics_driver=Game crashed due to a problem with your graphics driver.\n\
Please update your graphics driver to the latest version.\n\
If your computer has a discrete graphics card, you need to check whether the game uses integrated/core graphics. If so, please run HMCL and game using discrete graphics card. If you still have these problems, you may consider getting a new graphics card or a new computer.\n\
If you do want to continue using the core graphics, please check if you are using Intel(R) Core(TM) 3000 series or older Processor. If so, for Minecraft 1.16.5 or older version, you need to downgrade Java to 1.8.0_51 or older version, or you must buy a dedicated graphics card or new computer.\n\
Click <a href="https://hmcl.huangyuhui.net/help/game/graphics-card">here (Chinese website)</a> for more information.
game.crash.reason.illegal_access_error=Game crashed because of some mods.\nIf you recognize: %1$s, you may update or delete the mod and try again.
game.crash.reason.jdk_9=Game cannot run because the Java version is too high.\nYou need download and install Java 8 and select the newly installed Java in game settings.
game.crash.reason.jvm_32bit=Game crashed because memory allocation exceeds the limit of 32-bit Java VM.\nIf your OS is 64-bit, please install and use 64-bit Java. If your OS is 32-bit, you may reinstall a 64-bit OS or change a new computer.\nOr, you can disable automatic memory allocation and set maxmium memory size to 1024MB or below.