Skip to content

Commit

Permalink
修改日志分析器 (#2495)
Browse files Browse the repository at this point in the history
* 小小的修改下细节

* 修改细节

* 修改链接

* add failed_to_load_a_library

* 修改一些细节

* 发现重复项(

* add NEED_JDK11 rule

minecraft-exported-crash-info-2023-08-30T18-53-01.zip!/minecraft.log: https://mclo.gs/PGKK8xD

* 修改 Java 下载地址

* add INSTALL_MIXINBOOTSTRAP

minecraft-exported-crash-info-2023-08-31T20-24-28.zip!/minecraft.log: https://mclo.gs/0gmBukK

* Update I18N_zh_CN.properties

* Update I18N.properties

* Update I18N_zh_CN.properties

* d

* Update I18N_zh_CN.properties

* Update I18N_zh_CN.properties

* Update I18N_zh_CN.properties

* add INCOMPLETE_FORGE_INSTALLATION

* update lang

* Close #2199. add mixin_apply_mod_failed

* fix

* Add crash report analyzer for RTSS and Sodium compatibility

* Fix compatibility issue with RivaTuner Statistics Server (RTSS) and Sodium

* Update CrashReportAnalyzer.java

---------

Co-authored-by: burningtnt <[email protected]>
Co-authored-by: Glavo <[email protected]>
  • Loading branch information
3 people authored Feb 5, 2024
1 parent c9ddb7a commit ffeabbf
Show file tree
Hide file tree
Showing 17 changed files with 1,247 additions and 104 deletions.
19 changes: 12 additions & 7 deletions HMCL/src/main/resources/assets/lang/I18N.properties
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ account.methods.microsoft.snapshot=You are using an unofficial build of HMCL. Pl
account.methods.microsoft.snapshot.website=Official Website
account.methods.offline=Offline
account.methods.offline.name.special_characters=Recommended to use letters, numbers and underscores for naming
account.methods.offline.name.invalid=Under normal circumstances, the game username can only contain English characters, numbers and underscores, and the length cannot exceed 16 characters. \n\
account.methods.offline.name.invalid=Under normal circumstances, the game username can only contain English characters, numbers and underscores, and the length cannot exceed 16 characters.\n\
Some legitimate usernames: HuangYu, huang_Yu, Huang_Yu_123;\n\
Some illegal usernames: Huang Yu, Huang-Yu_%%%, Huang_Yu_hello_world_hello_world. \n\
Some illegal usernames: Huang Yu, Huang-Yu_%%%, Huang_Yu_hello_world_hello_world.\n\
If you believe that there is a corresponding mod or plugin on the server side to remove this restriction, you can ignore this warning.
account.methods.offline.uuid=UUID
account.methods.offline.uuid.hint=UUID is the unique identifier for the game character in Minecraft. The way that it is generated might vary between different game launchers. Changing it to the one generated by other launchers allows you to keep your items in your offline account inventory.\n\
Expand Down Expand Up @@ -449,12 +449,13 @@ game.crash.reason.file_or_content_verification_failed=The current game has a pro
game.crash.reason.mod_repeat_installation=Because the current game has installed duplicate Mods, each Mod can only appear once. Please delete the duplicate Mods and then restart the game.
game.crash.reason.forge_error=Forge may have provided error information.\nYou can view the log and make corresponding processing according to the log information in the error report.\nIf you do not see the error message, you can view the error report to understand how the error occurred.\n%1$s
game.crash.reason.mod_resolution0=The current game cannot continue to run because of some Mod problems.\nYou can check the log to find the error mod(s).
game.crash.reason.mixin_apply_mod_failed=The current game cannot continue to run because Mixin failed to apply the %1$s mod.\nYou can try deleting or updating the mod to resolve the issue.
game.crash.reason.mod_profile_causes_game_crash=The current game cannot continue to run because of a problem with the Mod configuration file.\nYou can check the log to find the error mod(s) and its configuration file.
game.crash.reason.fabric_reports_an_error_and_gives_a_solution=Forge may have provided error information.\nYou can view the log and make corresponding processing according to the log information in the error report.\nIf you do not see the error message, you can view the error report to understand how the error occurred.
game.crash.reason.java_version_is_too_high=The current game crashed because the Java version is too high to continue running.\nPlease use a lower version of Java in the Java Path tab of global game settings or per-instance game settings, and then start the game.\nIf not, you can download it from <a href="https://www.java.com/download/">java.com (Java8)</a> or <a href="https://bell-sw.com/pages/downloads/#downloads">BellSoft Liberica Full JRE (Java17)</a> and other distributions to download and install one (restart the launcher after installation).
game.crash.reason.need_jdk11=The current game cannot continue to run due to an inappropriate version of the Java virtual machine. \nYou need to download and install Java 11, and set Java to a version starting with 11 in the global (per-instance) game settings.
game.crash.reason.mod_name=The current game cannot continue to run because of Mod file name problems. \nMod file names should use only English letters (Aa~Zz), numbers (0~9), hyphens (-), underscores (_), and dots (.) in half width. \nPlease go to the mods folder and add all non-compliant Mod file names with one of the above compliant characters.
game.crash.reason.incomplete_forge_installation=The current game cannot continue due to an incomplete installation of Forge. \nPlease reinstall Forge in Instance Settings - Modloaders / OptiFine.
game.crash.reason.incomplete_forge_installation=The current game cannot continue due to an incomplete installation of Forge / NeoForge. \nPlease reinstall Forge / NeoForge in Instance Settings - Modloaders / OptiFine.
game.crash.reason.fabric_version_0_12=Fabric 0.12 or above are incompatible with currently installed mods. You need to downgrade it to 0.11.7.
game.crash.reason.fabric_warnings=The Fabric modloader warned:\n\
%1$s
Expand All @@ -475,16 +476,15 @@ If your computer has a discrete graphics card, you need to check whether the gam
\n\
If you are using your integrated graphics card, please notice that Minecraft 1.16.5 or older requires <a href="https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html">Java 1.8.0_51 or older</a> for Intel(R) Core(TM) 3000 processor series or earlier.\n\
\n\
Turning on the "Use OpenGL software renderer" option in the instance settings can also solve this problem, but when this option is turned on, the frame rate will be significantly reduced in the case of insufficient CPU performance. So it is only recommended to turn it on for debugging purposes or in case of emergency.\n\
\n\
You can go to <a href="https://hmcl.huangyuhui.net/help/game/graphics-card">this website (in Chinese)</a> for more information.
Turning on the "Use OpenGL software renderer" option in the instance settings can also solve this problem, but when this option is turned on, the frame rate will be significantly reduced in the case of insufficient CPU performance. So it is only recommended to turn it on for debugging purposes or in case of emergency.
game.crash.reason.illegal_access_error=The game crashed because of some mod(s).\n\
\n\
If you know: %1$s, you can update or delete the mod(s) and then try again.
game.crash.reason.install_mixinbootstrap=The current game cannot continue to run due to missing MixinBootstrap.\nYou can try installing <a href="https://www.curseforge.com/minecraft/mc-mods/mixinbootstrap">MixinBootstrap</a> to solve the problem. If it crashes after installation, try adding an English "!" in front of the module's filename. in front of the file name of the module to try to solve the problem.
game.crash.reason.optifine_is_not_compatible_with_forge=The current game crashes because OptiFine is incompatible with the current version of Forge.\nPlease go to<a href="https://optifine.net/downloads">On the official website of OptiFine</a>, check whether the Forge version is compatible with OptiFine, and reinstall the game in strict accordance with the corresponding version or change the version in the instance settings - Modloaders / OptiFine.\nAfter testing, too high or too low a Forge version may cause a crash.
game.crash.reason.mod_files_are_decompressed=The current game cannot continue to run because the Mod file has been decompressed.\nPlease put the entire Mod file directly into the Mod folder!\nIf unzipping will cause errors in the game, please delete the unzipped Mod in the Mod folder, and then start the game.
game.crash.reason.cannot_find_launch_target_fmlclient=The current game cannot be found because Forge is not installed completely. \nYou can try going to Game Management - Modloaders / OptiFine and reinstalling Forge.
game.crash.reason.shaders_mod=The current game cannot continue to run because both OptiFine and Shaders Mod are installed. \nBecause OptiFine has built-in support for shaders, just remove Shaders Mod.
game.crash.reason.rtss_forest_sodium=The current game crashed because RivaTuner Statistics Server (RTSS) is incompatible with Sodium.\nClick <a href="https://github.com/CaffeineMC/sodium-fabric/wiki/Known-Issues#rtss-incompatible">here</a> for more details.
game.crash.reason.too_many_mods_lead_to_exceeding_the_id_limit=The current game cannot continue to run because you have installed too many Mods, which exceeds the ID limit of the game.\nPlease try installing<a href="https://www.curseforge.com/minecraft/mc-mods/jeid">JEID</a>, or delete some large Mods.
game.crash.reason.night_config_fixes=The current game cannot continue to run due to some problems with Night Config. \nYou can try to install the <a href="https://www.curseforge.com/minecraft/mc-mods/night-config-fixes">Night Config Fixes</a> mod, which may help you this problem. \nFor more information, visit the mod's <a href="https://www.github.com/Fuzss/nightconfigfixes">GitHub repository</a>.
game.crash.reason.optifine_causes_the_world_to_fail_to_load=The current game may not continue to run because of OptiFine.\nThis problem only occurs in a specific version of OptiFine. You can try changing the version of OptiFine in instance settings - Modloader / OptiFine.
Expand Down Expand Up @@ -585,6 +585,11 @@ game.crash.reason.unsatisfied_link_error=Unable to launch Minecraft due to missi
If you have modified native library settings, please make sure these libraries do exist. Or, please try launching again after reverting it back to default.\n\
If you did not, please check if you have missing dependency mods.\n\
Otherwise, if you believe this is caused by HMCL, please feedback to us.
game.crash.reason.failed_to_load_a_library=Failed to load a library.\n\
\n\
If you have modified native library settings, please make sure these libraries do exist. Or, please try launching again after reverting it back to default.\n\
If you did not, please check if you have missing dependency mods.\n\
Otherwise, if you believe this is caused by HMCL, please feed back to us.
game.crash.title=Game Crashed
game.directory=Game Path
game.version=Game Version
Expand Down
Loading

0 comments on commit ffeabbf

Please sign in to comment.