GuidanceOfGrace / CLASSIC-Fallout4

Crash Log Auto-Scanner & Setup Integrity Checker for Fallout 4 / Buffout 4. Tool that extensively scans Fallout 4 game & mod files and Buffout 4 crash logs, then provides troubleshooting advice depending on what it finds.
8 stars 4 forks source link

00-nothing #17

Closed evildarkarchon closed 1 year ago

evildarkarchon commented 1 year ago

The hotfix didn't work on the original loadorder.txt log that exposed the bug. I don't know how the [00] thing is supposed to work, so I just added it to the list if len(plugin_format) >= 1 and "[00]" not in plugin_list and it worked.

GuidanceOfGrace commented 1 year ago

I remembered why, here's how it goes: plugin_list gets defined first, which is all text in the crash log starting from the line which has "PLUGINS:" and then to check if crash log actually loaded plugins, it looks for "[00]" which is Fallout4.esm. But if loadorder.txt is available, it has to reformat the text inside that file by appending "[LO]" and few whitespaces so it matches the crash log format. The only problem is: it can't find "[00]" because "[LO]" was used. Therefore, appending [00] is completely fine.