Skip to content

KostromDan/Crash-Assistant

Repository files navigation

Crash Assistant
Supported Versions License CF Modrinth

Shows a GUI after Minecraft crashes, immediately showing all affected game/launcher logs, crash reports, or hs_err files. Provides a one-click solution to upload them, copy the link, and perform other actions for easier reporting, debugging, and troubleshooting.

image

Contributing:

Use gradle build task of root project. Compiled jars can be found in: build\libs:

  • crash_assistant-fabric-<version>.jar) fabric mod.
  • crash_assistant-forge-<version>.jar) forge mod.

For localization go lang

Project structure:

\app has code of gui app

\fabric has code of fabric mod

  • app is inluded in jar in jar

\forge has code of forge mod

\common has code for fabric and forge mods shared code.

\common_config has code for app, fabric, forge_coremod shared code used for runtime config, lang, launching gui app.

\forge_coremod has code of forge coremod from which forge mod and app launched.

  • app and forge are inluded in jar in jar

How it works?

Coremod includes 2 services:

  • CrashAssistantTransformationService
    • app should be launched as soon as possible after game start to be able to help players even with coremod/mixin/hs_err crashes. So we launch it from static block of ITransformationService, the first point, we can launch it from forge mod.
  • CrashAssistantDependencyLocator
    • We want to have singlefile mod, not forge_mod.jar and forge_coremod.jar. Since forge doesn't load jar in jar mods from coremods, we should do it by ourselves.

About

GUI after Minecraft crashed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages