FormIDs and You
available since forever
The algorithm for writing FormID in _DISTR file is the following:
- Grab a FormID in xEdit (or by any other means)
- If plugin is one of the base game's plugins (Skyrim.esm or one of the DLCs (but not the Creation Club)) skip go straight to step #5.
- [Only for mod plugins] For ESP/ESM plugins delete first 2 digits (so the result will contain only 6 digits), for ESL (ESLified) plugins delete first 5 digits (so the result will contain only 3 digits)
- [Only for mod plugins] Append to the end of this result the exact plugin name (including file extension) with tilde (~). e.g. ~MyMod.esp.
- If the result contains any leading zeros remove all of them.
- Finally, prefix what's left with 0x.
Here is a few examples of this algorithm in action:
1) Leather Backpack from Adventurer's Backpack.
- It has FormID FE044801 (assuming this creation has 44th load index in the load order)
- Plugin name is ccfsvsse001-backpacks.esl
- FormID FE044801
- This is not a base game's FormID nor DLC's.
- This is a ESL plugin, so we remove first 5 digits:
FE044801. - This is a mod plugin, so we append plugin name at the end: 801~ccfsvsse001-backpacks.esl
- There are no leading zeros in this example.
- Adding 0x: 0x801~ccfsvsse001-backpacks.esl
- Correct FormID in SPID config is: 0x801~ccfsvsse001-backpacks.esl
2) Iron Dagger from Skyrim.
- It has FormID 0001397E
- Plugin name is Skyrim.esm
- FormID 0001397E
- This is a base game's FormID, so we skip steps #3 and #4.
- Skipped.
- Skipped.
- Removing all leading zeroes:
0001397E - Adding 0x: 0x1397E
- Correct FormID in SPID config is: 0x1397E
3) Nordic Dagger from Dragonborn.
- It has FormID 0401CDAE (Dragonborn DLC is the 4th plugin in the load order)
- Plugin name is Dragonborn.esm
DLCs can be treated as either the base game or a mod. Though former is preferred:
As the base game:
- FormID 0401CDAE
- This is a DLC's FormID, so we skip steps #3 and #4.
- Skipped.
- Skipped.
- Removing all leading zeroes:
0401CDAE - Adding 0x: 0x401CDAE
- Correct FormID in SPID config is: 0x401CDAE
As a mod:
- FormID 0401CDAE
- This is not a base game's FormID.
- This is a ESM (not light) plugin, so we remove first 2 digits:
0401CDAE - This is a mod plugin, so we append plugin name at the end: 01CDAE~Dragonborn.esm
- Removing all leading zeroes:
01CDAE~Dragonborn.esm - Adding 0x: 0x1CDAE~Dragonborn.esm
- Correct FormID in SPID config is: 0x1CDAE~Dragonborn.esm
0 comments