Jump to content


Photo

BSA v .DLL



  • Please log in to reply
6 replies to this topic

#1 Wizard42

Wizard42

    Prisoner

  • Members
  • 13 posts

Posted 19 September 2018 - 06:31 PM

Im not sure if i am posting this in the correct place on the forums, please move else where if need be

my question is ? :::: whats the difference between the source script files you find in a bsa and a .dll for a skse plugin

are they entirely different  


  • 0

#2 Greg

Greg

    Dragonborn

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1,867 posts

Posted 19 September 2018 - 09:01 PM

Moved to Support and Troubleshooting / General

 

Scripts in a BSA are interpreted by the Papyrus interpreter in the game engine. DLL files are compiled to machine code (so they are not interpreted) and usually extend the scripting ability provided by SKSE to add additional commands and such that can be used from Papyrus scripts.



#3 Wizard42

Wizard42

    Prisoner

  • Members
  • 13 posts

Posted 20 September 2018 - 04:45 AM

Moved to Support and Troubleshooting / General

 

Scripts in a BSA are interpreted by the Papyrus interpreter in the game engine. DLL files are compiled to machine code (so they are not interpreted) and usually extend the scripting ability provided by SKSE to add additional commands and such that can be used from Papyrus scripts.

So Scripts in a BSA could be complied to a DLL  for SKSE and it would call the same commands and functions


  • 0

#4 Greg

Greg

    Dragonborn

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1,867 posts

Posted 20 September 2018 - 05:34 PM

No, this is not quite correct. Papyrus scripts are always interpreted by the game engine and are always stored in a BSA archive or as a standalone .pex file. SKSE DLLs files basically expand the capabilities of Papyrus by adding new commands that can be called from a Papyrus script.



#5 Wizard42

Wizard42

    Prisoner

  • Members
  • 13 posts

Posted 20 September 2018 - 05:49 PM

No, this is not quite correct. Papyrus scripts are always interpreted by the game engine and are always stored in a BSA archive or as a standalone .pex file. SKSE DLLs files basically expand the capabilities of Papyrus by adding new commands that can be called from a Papyrus script.

Thank you Greg, for your time with the explanation

as you could see i was trying to understand the functions from a bsa script to recompile to a .dll has there are many mods/plugins that are out of date. thinking the source code from a bsa would work
thank you  :wallbash:


  • 0

#6 Mator

Mator

    Jarl

  • Mod Authors
  • PipPipPipPipPipPipPipPipPip
  • 614 posts

Posted 20 September 2018 - 07:14 PM

DLLs are entirely different from papyrus scripts.  There is no need to do anything with DLLs unless you have a mod with a DLL, and in that case you need the C++ source code for the DLL to recompile the DLL with visual studio.  Messing with Visual Studio is not something I'd recommend for a novice programmer.  You either already know how to do this or you have no business doing it.  :woot:


  • 0

#7 Wizard42

Wizard42

    Prisoner

  • Members
  • 13 posts

Posted 20 September 2018 - 07:48 PM

DLLs are entirely different from papyrus scripts.  There is no need to do anything with DLLs unless you have a mod with a DLL, and in that case you need the C++ source code for the DLL to recompile the DLL with visual studio.  Messing with Visual Studio is not something I'd recommend for a novice programmer.  You either already know how to do this or you have no business doing it.  :woot:

thank you for the heads up, guess i was eager to learn something new  :armscrossed:  :thumbsup:


  • 0



Also tagged with one or more of these keywords:

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users