Skyrim Se Save Editor



The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search
Skyrim
  • 1FormID
  • 2File

PC The Elder Scrolls V: Skyrim Special Edition (Save Game) 4:33 PM Open-world, PC, Remaster, Role-play-game, RPG, S, Save Game, Skyrim, T, The Elder Scrolls 1 comment Platform: PC. Elder Scrolls V: Skyrim - Save Manager v1.1 Based on the Fallout 3 Save Manager mod, this mod allows a bit more control over Skyrim save files. This program is based on digitalfun's Fallout 3 Savegame Manager, so special thanks to him for releasing the source code.

TESV ESS files editor - save game editor This project has been abandoned. Full Turbo Delphi (Delphi 2006) source code is included in the download. Please be careful while using it. Please backup your savegame files before do any changes to your save game. Please don't send me any information about errors and bugs in my program. My Skyrim seems to have started double-saving, creating both an.ess save and an.skse save every time I save the game. For example: Save 5 - Katja Helgen Keep 00.15.20.ess Save 5 - Katja Helgen Keep 00.15.20.skse What is known to cause this?

See File Format Conventions to understand the variables and the data types this specification uses.


FormID[edit]

FormIDs in save files are stored as 3 bytes, rather than the usual 4 byte uint32 formID. These will be referred to as RefID.

RefID[edit]

The lower 22 bits represent the formID value itself, while the upper 2 bits are the type of formID.

NameType/SizeInfo
byte0uint8The upper two bits represent the type of formID:
  • 0 = An index into the File.formIDArray. If the index value of 0 is given, the formID is 0x00000000, else, index into the array using value - 1.
  • 1 = Default (ie, came from Skyrim.esm)
  • 2 = Created (ie, plugin index of 0xFF)
  • 3 = ???
byte1uint8
byte2uint8

For example, the global variable 'DragonsAbsorbed' (0x0001C0F2) becomes the bytes: 41 C0 F2

Skyrim Special Edition Save Editor

File[edit]

NameType/SizeInfo
magicchar[13]Constant: 'TESV_SAVEGAME'
headerSizeuint32Size of the header.
headerHeader
screenshotDataLE: uint8[3*shotWidth*shotHeight]
SE: uint8[4*shotWidth*shotHeight]
For LE: RGB pixel data of the image.
For SE: RGBA pixel data of the image.
uncompressedLenuint32Uncompressed length (SE only)
compressedLenuint32Compressed length (SE only)
formVersionuint8current as of LE 1.9 and SE 1.5.97 is 74.
pluginInfoSizeuint32Size of the plugin information.
pluginInfoPlugin Info
lightPluginInfoLight Plugin InfoOnly for SE save games (and formVersion >= 78?). This contains info about ESL plugins.
fileLocationTableFile Location Table
globalDataTable1Global Data[fileLocationTable.globalDataTable1Count]Types 0 to 8.
globalDataTable2Global Data[fileLocationTable.globalDataTable2Count]Types 100 to 114.
changeFormsChange Form[fileLocationTable.changeFormCount]
globalDataTable3Global Data[fileLocationTable.globalDataTable3Count]Types 1000 to 1005.
formIDArrayCountuint32
formIDArrayformID[formIDArrayCount]Not to be confused with RefIDs. These are FormIDs, four bytes in length, little endian.
visitedWorldspaceArrayCountuint32
visitedWorldspaceArrayformID[visitedWorldspaceArrayCount]A list of the FormIDs of all worldspaces visited by the player.
unknown3TableSizeuint32Size in bytes of unknown3Table.
unknown3TableUnknown 3 Table

Header[edit]

NameType/SizeInfo
versionuint32Current LE version: 9, supported: 7 - 9, for SE it will be 12. Use this to determine whether or not the save file is for LE or SE.
saveNumberuint32Save number, used for default name of save file. Presumably this is a counter keeping track of the total number of saves you have made to date.
playerNamewstring
playerLeveluint32
playerLocationwstring
gameDatewstringIn-game date at the time of saving.
playerRaceEditorIdwstring
playerSexuint16
  • 0 = Male
  • 1 = Female
playerCurExpfloat32Experience gathered for level up.
playerLvlUpExpfloat32Experience required for level up.
filetimeFILETIMESee the Microsoft Docs for more info on this type.
shotWidthuint32Screenshot width (in pixels).
shotHeightuint32Screenshot height (in pixels).
compressionTypeuint16(SE only)
  • 0 = None
  • 1 = zLib (appears to not be used, see this from MO2.
  • 2 = LZ4 (Block format)

If compression is present, everything after the compression lengths is compressed.

Plugin Info[edit]

NameType/SizeInfo
pluginCountuint8
pluginswstring[pluginCount]

Skyrim Se Save Editor Freeware


Light Plugin Info[edit]

Note: only found in SE save games

NameType/SizeInfo
pluginCountuint16
pluginswstring[pluginCount]

File Location Table[edit]

NameType/SizeInfo
formIDArrayCountOffsetuint32Absolute offset to the start of File.formIDArrayCount.
unknownTable3Offsetuint32Absolute offset to the start of File.unknown3TableSize.
globalDataTable1Offsetuint32Absolute offset to the start of File.globalDataTable1.
globalDataTable2Offsetuint32Absolute offset to the start of File.globalDataTable2.
changeFormsOffsetuint32Absolute offset to the start of File.changeForms.
globalDataTable3Offsetuint32Absolute offset to the start of File.globalDataTable3.
globalDataTable1Countuint32The number of Global Data in File.globalDataTable1 (9).
globalDataTable2Countuint32The number of Global Data in File.globalDataTable2 (15).
globalDataTable3Countuint32The number of Global Data in File.globalDataTable3 (5 -- bugged).

Note: This count is currently bugged (as of version 112) that it does not include type 1001 (Papyrus) in the count. This causes Skyrim to never read the final type in this table, which is typically type 1005 (Main), thankfully the bug is harmless since this type never has any data.

changeFormCountuint32
unuseduint32[15]

Global Data[edit]

NameType/SizeInfo
typeuint32
lengthuint32
datauint8[length]Format of data depends on its type:
  • 0 = Misc Stats
  • 1 = Player Location
  • 2 = TES
  • 3 = Global Variables
  • 4 = Created Objects
  • 5 = Effects
  • 6 = Weather
  • 7 = Audio
  • 8 = SkyCells
  • 100 = Process Lists
  • 101 = Combat
  • 102 = Interface
  • 103 = Actor Causes
  • 104 = Unknown 104
  • 105 = Detection Manager
  • 106 = Location MetaData
  • 107 = Quest Static Data
  • 108 = StoryTeller
  • 109 = Magic Favorites
  • 110 = PlayerControls
  • 111 = Story Event Manager
  • 112 = Ingredient Shared
  • 113 = MenuControls
  • 114 = MenuTopicManager
  • 1000 = Temp Effects
  • 1001 = Papyrus
  • 1002 = Anim Objects
  • 1003 = Timer
  • 1004 = Synchronized Animations
  • 1005 = Main

Change Form[edit]

Note: the layout of the data section is not a Record as it is in a mod file. Work is in progress documenting changeForm structures here: changeFlags

NameType/SizeInfo
formIDRefID
changeFlagsuint32A combination of changeFlags that indicates which changes are included in the data.
typeuint8

Upper 2 bits represent the size of the data lengths:

  • 0 = uint8
  • 1 = uint16 (> 0xFF)
  • 2 = uint32 (> 0xFFFF)

Lower 6 bits represent the type of form:

  • 0 = 63 (REFR) REFR change form
  • 1 = 64 (ACHR) ACHR change form
  • 2 = 65 (PMIS)
  • 3 = 67 (PGRE)
  • 4 = 68 (PBEA)
  • 5 = 69 (PFLA)
  • 6 = 62 (CELL)
  • 7 = 78 (INFO)
  • 8 = 79 (QUST) QUST change form
  • 9 = 45 (NPC_) NPC_ change form
  • 10 = 25 (ACTI)
  • 11 = 26 (TACT)
  • 12 = 27 (ARMO)
  • 13 = 28 (BOOK)
  • 14 = 29 (CONT)
  • 15 = 30 (DOOR)
  • 16 = 31 (INGR)
  • 17 = 32 (LIGH)
  • 18 = 33 (MISC)
  • 19 = 34 (APPA)
  • 20 = 35 (STAT)
  • 21 = 37 (MSTT)
  • 22 = 42 (FURN)
  • 23 = 43 (WEAP)
  • 24 = 44 (AMMO)
  • 25 = 47 (KEYM)
  • 26 = 48 (ALCH)
  • 27 = 49 (IDLM)
  • 28 = 50 (NOTE)
  • 29 = 105 (ECZN)
  • 30 = 10 (CLAS)
  • 31 = 11 (FACT)
  • 32 = 81 (PACK)
  • 33 = 75 (NAVM)
  • 34 = 120 (WOOP)
  • 35 = 19 (MGEF)
  • 36 = 115 (SMQN)
  • 37 = 124 (SCEN)
  • 38 = 106 (LCTN)
  • 39 = 123 (RELA)
  • 40 = 72 (PHZD)
  • 41 = 71 (PBAR)
  • 42 = 70 (PCON)
  • 43 = 93 (FLST) FLST change form
  • 44 = 46 (LVLN)
  • 45 = 55 (LVLI)
  • 46 = 84 (LVSP)
  • 47 = 66 (PARW)
  • 48 = 22 (ENCH)
versionuint8Current as of Skyrim 1.9 is 74. Older values (57, 64, 73) are also valid.
length1depends on flagsLength of following data.
length2depends on flagsIf this value is non-zero, data is compressed. This value then represents the uncompressed length.
datauint8[length1]

Unknown 3 Table[edit]

NameType/SizeInfo
countuint32
unknownwstring[count]

Xbox 360[edit]

The Xbox 360 uses a container for all of its user content. The STFS file system used for the container has been mapped out and files within them can be extracted using tools such as WxPirs or Horizon.

It is entirely possible to use Xbox 360 game saves on the PC version of Skyrim. The only draw back is that the first time a game save is used on the PC version of the game, the preview screenshot is swizzled. Saving the game again once you have it loaded will fix this.

Skyrim se save game editor

To get your XBOX 360 save. One would use a tool like Horizon to get your game save off of a Xbox 360 formatted drive (such as a USB drive) and extract the Savegame.dat from the Xbox 360 container and rename it to anything ending in '.ess'. After this one would put this new ess file in DocumentsMy GamesSkyrimSaves and load it in Skyrim as usual.

It is possible to perform this in the reverse direction as well. Rename your savegame.ess to savegame.dat. Then, use Horizon to reinject the save into the save originally transferred from the Xbox 360. You must then rehash and resign your save so it can be used on your Xbox 360. The only drawback of this is the same as the other: the screenshot is swizzled, but it works. This can be used to fix quest related bugs with the console if you have access to both a PC and Xbox 360 version of the game.

Retrieved from 'https://en.uesp.net/w/index.php?title=Tes5Mod:Save_File_Format&oldid=2246829'