Skyrim
0 of 0

File information

Last updated

Original upload

Created by

Aaron Logue

Uploaded by

Xoraxax

Virus scan

Safe to use

About this mod

ESP Scalpel - A command line tool for performing close-to-the-metal operations on ESP files. C source code is included.

Permissions and credits
ESP Scalpel is a fast and powerful command line tool for performing surgery on ESP file elements. While primarily intended for modders familiar with ESP file internal structures, it is perfectly suitable for use as an exploration and learning tool for those who aren't afraid of hexadecimal output. A batch file is included that uses it to extract an NPC from skyrim.esm, rename it, assign a new ID, modify its AI packages and inventory, and drop it into the Bannered Mare as a new NPC. A manual and walkthrough of the NPC extraction process is included.

ESP Scalpel works by loading ESP files into memory as a linked list of groups. Command line switches are used to select a specific group for expansion into subchains of records and subrecords. Records and subrecords that have been expanded can then be operated on using generic primitives such as extract and write to file, delete, insert, replace using previously extracted records, overwrite with string or binary literals, and so on. Changed block sizes are recalculated, compressed sections are recompressed, and files can be created or overwritten. C source code is included.