I've been developing some software to parse and automatically detect various issues in Prism and MultiMC logs (PrismLauncher/PrismLauncher#2777 (comment)). I've tested it on 4.5k logs, and it is able to detect issues in 52.3% of the logs such as a JVM argument not being supported, out of memory errors, wrong Java version being used, missing libraries etc.
The issues include metadata such as the argument that needs to removed, the Java version to use, or the problematic mod. There already is code in the crate to convert this to title & body text like Refraction currently uses to display to the user (format.rs).
Polyhedron (the analysis crate) performs more advanced parsing instead of just relying on string / regex searches. This helps reduce false positives. The OptiFine check for example only triggers if the game is running on a version where Sodium is not yet available yet.
I think the current issue detection for the Discord bot at src/handlers/event/analyze_logs/issues.rs could be expanded with this to detect more issues automatically.
If you have any more questions feel free to DM me on Discord (qazcetelic)
Related to: PrismLauncher/PrismLauncher#2777
I've been developing some software to parse and automatically detect various issues in Prism and MultiMC logs (PrismLauncher/PrismLauncher#2777 (comment)). I've tested it on 4.5k logs, and it is able to detect issues in 52.3% of the logs such as a JVM argument not being supported, out of memory errors, wrong Java version being used, missing libraries etc.
The issues include metadata such as the argument that needs to removed, the Java version to use, or the problematic mod. There already is code in the crate to convert this to title & body text like Refraction currently uses to display to the user (format.rs).
Polyhedron (the analysis crate) performs more advanced parsing instead of just relying on string / regex searches. This helps reduce false positives. The OptiFine check for example only triggers if the game is running on a version where Sodium is not yet available yet.
I think the current issue detection for the Discord bot at src/handlers/event/analyze_logs/issues.rs could be expanded with this to detect more issues automatically.
If you have any more questions feel free to DM me on Discord (
qazcetelic)Related to: PrismLauncher/PrismLauncher#2777