Find My Mod's Ref ID "Prefix"

Before you can use the console effectively to obtain what you need in the Cheaters Guild sections of the Cheating the Rings article, you first need to figure out the 2-character alpha-numeric prefix pertaining to the Ref ID for this mod (as it relates to your individualized installation).  If you are not familiar (or familiar enough) with using the console, please stop here and take a look at my other article, Learning to Use the Developer Console.  Then head back here and continue on...

If you look up pretty much anything on the Skyrim or Fallout Wikis, you'll often find a summary box in the top right of the page.  One item listed in that summary box is usually the Ref ID, and it's always 8 characters (e.g., 001E5FB4).  These 8 characters are alpha-numeric because they are actually a group of 4 hexadecimal 2-digit groupings.  In the example just given 001E5FB4 is actually 4 hex groupings combined:  00-1E-5F-B4.  The first hex number represents the plugins loaded by the game at run time, including the vanilla game and DLC masters (e.g., Fallout4.esm) and is many times referred to unofficially as the Ref ID "prefix".

If a mod you have installed just lays down some textures, meshes, and other "loose" files and does NOT include plugins (one or more files ending in .ESP or .ESM), then you can ignore anything we talk about here.  There often is a general "mod" limit not related to plugins that varies based on the mod organizer used, the game you're playing, and the performance capabilities of your computer.

But, if your mod DOES have one or more files ending in .ESP or .ESM, then as soon as you install that mod, those .ESP files which show up at the end of your plugin list.  This is where load order becomes the topic of the day, but we're going to avoid that topic like the plague right now.  Just know that this "plugin list" is what people talk about when discussing "load order" and discussing the "plugin limit".

So, what about the HC Glowing Rings mod?  Well, because I have to create objects and records that are added to the game to alter its functionality, it requires at least one plugin (in addition to the "loose" textures, meshes, and materials that I also use).  In this case, if you look at the root of your Fallout 4 Data folder, or if you look at the plugin list in NMM or MO, you'll notice a file named HCGlowingRings.esp.  That's my mod.

Now, we need to find out it's position in the plugin load order (in other words, where does it fall in that range of 1 to 254.  To do this, look at the plugins section of NMM or MO and you'll see an Index number associated with each plugin file.  Search through that list, find HCGlowingRings.esp, and make a note of the Index number.

Here's where things get a little tricky:

  • First, we need to determine the REAL decimal value.  Most of us are trained in school to think of a base 10 numbering system as starting with "1" and ending with "10" - remember, count to 10?  Most of us WRONGLY counted 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.  Ahhh... the good ol' USA (yes, even as a US resident, I'll admit we sometimes have our head up our ***).  Thankfully, other cultures recognized that this was incorrect and properly teach that a base 10 number system starts counting from 0 and goes from 0 to 9 (not 1 to 10).  So, once you find the Index number of HCGlowingRings.esp, subtract 1 from it to get the real decimal value that we need.
  • Next, we need to convert our new decimal value to hex notation.  Unless you are currently in school dealing with base numbering systems, have a fantastic memory, or are a math genius, just use a simple calculator to save yourself some time.  Windows Calculator will do, or you can use an online site like http://www.binaryhexconverter.com/hex-to-decimal-converter.

At this point, let's use my game as an example.  I have the HC Glowing Rings mod installed and I'm using Nexus Mod Manager at the moment.  So, I select the Plugins tab in NMM and find "HCGlowingRings.esp" in my load order.  The Index number assigned to it is 60.  Recognized the failure of the US Educational system to properly teach Base 10 numbering, I subtract one to get a new decimal index value of 59.  Then I use a Decimal to Hexadecimal calculator to convert the "59" decimal notation to the hex notation of "3B".

Now, I now that this mod's Ref ID Prefix in MY GAME is 3B.  In your game, it will be different.  Just follow the steps above, find out the Ref ID prefix for the "HCGlowingRings.esp" plugin in your game, and make a note of it...  like, now... chop, chop... come on you lazy bum, write it down... or type it in Notepad or on your smartphone...  finally.  What took you so long?

To test it out, let's open the console and type the following:

help "hc glowing ring" 0

Woah! Take a look at what I get back in return:

ARMO:  (3B000F99) 'HC Glowing Ring'

So, Hooked on Math - works for me!  The Ref ID for HC Glowing Ring that you can craft in game and wear has a prefix of 3B, just as expected.

Now take this newly discovered knowledge and go forth to the section for the Cheater's Guild you chose!  You didn't really write down your hex prefix like I asked did you... and now you forgot and have to figure it out again... well, you can't say I didn't warn you!

Tip of the Day:  Ever wonder why you have a plugin (ESP) limit of 254 in Beth games?  After 254 plugins, you will start to experience odd game behavior, crashes, mods missing, error messages, potential save corruption, and sometimes the game won't even load.  That's because vanilla Bethesda games start out with one master plugin, which consumes the hexadecimal "00" prefix.  "FF" is the highest you can go when you only have a two-character prefix  available, and "FF" in hex notation equals "255" in decimal notation.  However, Bethesda uses the "FF" prefix for records pertaining to your save game.  Therefore, any Ref ID starting with "00" is part of the vanilla game records, while any Ref ID starting with "FF" is part of your save game records.  That means "00" and "FF" can't be used by mods, so you end up with a plugin range of 01 thru FE (which corresponds to 01 thru 254 in hex notation).  If you start downloading official DLCs, guess what?  Your custom plugin limit just started getting even smaller...  Merge patch anyone?  :)

Article information

Added on

Edited on

Written by

yatz