Difference between revisions of "How to determine OBMM version requirements"
Revision as of 21:00, 5 January 2011
Are you creating OMODs or OMOD-Ready archives for posting on the Internet and using Oblivion Mod Manager (OBMM) scripting to help ensure a smooth installation?
You'd better make sure that the script functions you're using are actually available in the version of OBMM being used to install your mod. Not everyone uses the latest version of OBMM. ;) How do you do this? Well, you could go through Timeslips change log and try to figure out when each function became available on which version of OBMM and which version of OBMM that function became stable.
All the research has already been done and utilized on this OBMM Script History page.
You don't have to drudge through your script comparing each function to the Script History research notes. You can use the OBMM Script Analyzer tool that will try its best to do that for you and recommend the minimum version of OBMM that is necessary to run your script without any problems AND it will even crank out the code for you to copy/paste at the top of your script.
NOTE: This analyzer is not perfect since all it does is search for string patterns in descending order. As soon as it finds a match, it stops and displays the version of OBMM required for the function keyword it found. The problem is that it can find the keyword "For" in a comment or in a text string. If it looks fishy, simply visit the OBMM Script History page and lookup the result yourself. The biggest problem with this tool is the "Select" keyword since it was recently modified, it is now one of the first things searched for and MANY other functions contain "Select" as part of their word. The code tries to get around it by search for "Select " with a space but it's not 100% foolproof.