MCLOGS banner

MCLOGS

11 devlogs
8h 36m 21s

Minecraft Creates Logs, and we Overanalyze them, Granting Something as a result.
A Python program that can analyze your game logs, and tell you what went wrong. Contributions for crash, mod loading, and error detection are welcomed!
Man I hate Regexes. I do need practice though.

Loading README...

Seven

A bunch of things happened. I made a detector for Sinytra Connector in crash reports. I also made the function necessary to get the modlist from a Neoforge crash report. It was a lot of annoying regexes. Here look at the one I ended up with:
\s*(.+?)\s*?|(.+?)\s*|([0-9a-z_]+?)\s*?|([0-9a-zA-Z-.+]+?)\s*?|Manifest:.*
Like what is that. Anyway, tomorrow is probably the rest of mod list extraction, which will hopefully be easier.

Attachment
Attachment
0
Seven

I made a detector for the Improved Crash Reports mod, and got the info from it. I made some tests for that as well

Attachment
0
Seven

Restructuring, improving readme, general QOL things. Not much. Also added pytest tests to find out when I break things

Attachment
0
Seven

I forgot to add crash report parsing to forge. oops. done that

Attachment
0
Seven

I have now finished the basic data extraction for all major mod loaders. I can detect crash reports vs. regular logs. Next is going to be finding extra info from crash reports, like other mods providing improved reporting data, and common issue mods like Sinytra Connector

Attachment
0
Seven

Made detectors for both fabric and quilt crash reports, and got the same basic data as the regular logs. I had to change how the files are loaded and passed in the main script, because it was causing the line numbers to be off by one for some reason. Just closed and reopened the files and it works now. I also had to change the initial file extension regex, because it didn’t work properly

Attachment
Attachment
2

Comments

Seven
Seven about 1 month ago

Oh I also made a small function to check if a provided file is a crash report or not

Seven
Seven about 1 month ago

So apparently I didn’t have the fabric data extraction nailed down, but I do now

Seven

Got the Forge detection done, and reformatted the data gatherer a little bit

Attachment
Attachment
0
Seven

Got the neoforge stuff all sorted out hopefully. I also got the fabric detection and version detection done. Going to do forge and quilt, but thats probably it

Attachment
0
Seven

Got Java version detection and minecraft version detection working properly. The only problem is that all of this is useless now that I have looked at a newer Neoforge log. I was basing all of this off of a 1.21.1 log, which spits out a lot more info than the new ones. I am going to have to use the modlist to detect neoforge versions

Attachment
0
Seven

Got a new Neoforge version detector, but now I’m onto Minecraft version detection. Detecting Neoforge’s version was easy, but the MC is in two different places, and I have to check both. Although I think the Neoforge version system might be derived from the MC versions, so I’ll have to check

Attachment
1

Comments

Seven
Seven about 1 month ago

Idk why theres two identical images, but I guess there is now

Seven

Sadly, I’m going to have to write a lot of Regexes for this project, good practice tho. I made a detector for the Neoforge mod loader, that as I type this I realize is not guaranteed and will need to be changed. I also made a checker for the inputted file extensions, so you can’t enter anything other than a .txt or .log.

Attachment
0