Jump to content

SSEEdit / TES5Edit script for mod compatibility


Recommended Posts

Posted

I had a lot of help a while back with writing a script for use in TES5Edit for users of one of my mods to run and pre-populate a variety of form lists making game play a little bit easier.  It works with SSEEdit as-is and I've even been able to make a few tweaks here and there to share feedback as it processes and to pre-add all plugins as masters which solved a lot of issues. I even figured out how to save the plugin as an ESP with the ESL flag. 

I would like a little confirmation as I do not have Skyrim LE installed and don't really want to re-install just for this test.  Will the following work to create a regular ESP in SLE? It does successfully create an ESL flagged ESP in SSEEdit.

  if not Assigned(ModPatch) then begin
    if wbAppName = 'TES5' then
      ModPatch := AddNewFileName(sModPatch)
    else
      ModPatch := AddNewFileName(sModPatch,true);
    // if failed for some reason
    if not Assigned(ModPatch) then
      raise Exception.Create('Error creating a new patch plugin!');
  end;

 

Posted

Yes, though LE  ignores ESL flag so ESP with such flag can be used in both games as is.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...