TurBoss / 7h

Final Fantasy 7 wrapper tool by Iros
Microsoft Public License
21 stars 31 forks source link

Add support for Plugin load order to XML #61

Open barkermn01 opened 4 years ago

barkermn01 commented 4 years ago

Having built Ultrasound to support plugins loaded via 7th Heaven, the Plugins for Ultrasound must be loaded before Ultrasound Plugin is loaded.

So this is a feature request to support a LoadPriority for plugins. and if no priority is specified it defaults to 1 so plugins that need to load before others can use 0.

E.G

  <LoadLibrary>VoiceHook.dll</LoadLibrary>
  <LoadPlugin Priotiy=1>Ultrasound7H.dll</LoadPlugin>
  <LoadPlugin Priority=0>UltrasoundInputHooker.dll</LoadPlugin> 

Instead of

  <LoadLibrary>VoiceHook.dll</LoadLibrary>
  <LoadPlugin>UltrasoundInputHooker.dll</LoadPlugin> 
  <LoadPlugin>Ultrasound7H.dll</LoadPlugin>