A general purpose crash logger compatible with all versions of the game past, present, and future, in perpetuity.
Permissions and credits
Author's instructions
(c) 2023 Ryan McKenzie All rights reserved
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.4.0
Fix for os information failing to display in some cases
Post mortem should no longer spawn a visible console window
Source location information is now printed for symbols which have a relevant pdb
Version 1.3.1
Fix for call stacks not showing up in certain scenarios
Version 1.3.0
Improve error detection and reporting for the developer API
Fix for OS build information displaying errors on certain operating systems
Added support for pre-loading if using Engine Fixes
Verify PDBs are compatible with the associated binary before using them
Fix for wrong call stacks when encountering access violations at 0x000000000000
Crashes should now report where the log is located
Crash logs will now auto open in a text editor (disable in trainwreck/post_mortem.toml)
Option to auto upload crash logs to pastebin for sharing (disable in trainwreck/post_mortem.toml)
Version 1.2.1
Fix for searching for pdbs in the wrong path
Fix for SKSE reporting incompatible for Skyrim versions 1.6.317 <-> 1.6.353
Version 1.2.0
Modules list now includes each module's computed SHA512 (useful for modules with no/incomprehensible versioning)
Added support for parsing type names from pdbs
Fix for Windows 11 reporting as Windows 10
Version 1.1.0
Script extender plugins are now sorted alphabetically
XSE is now included in the script extender plugins list
Version 1.0.0
Initial release
Just as Todd Howard can not stop himself from re-releasing this 12 year old game, so too can I not stop myself from re-releasing crash loggers. And indeed we do need a crash logger, because crashing and Skyrim go together like peanut butter and jelly, or like Todd Howard and his trendy leather jackets. But how could this crash logger be different from the myriad other crash loggers already made for this game (including the one I made)? Well you see, this crash logger is simply indestructible, and no update of Skyrim will ever render it inoperable. Yes, I have challenged Godd himself by releasing a crash logger designed to work with every single version of Skyrim that has ever been made, and ever will be made (and we know Todd will make more). All that is required is a functional copy of SKSE to load the crash logger itself.
I don't own Skyrim for VR, GoG, or Epic, but it probably works with those versions too.
Crash logs are written to "My Games\Skyrim Special Edition\SKSE\Crashlogs"
If you are a developer, then you may be interested in the developer api.
The source code for post_mortem.exe is located here.