Jump to content


Photo

Save plugin from script


  • Please log in to reply
2 replies to this topic

#1 IWantMyMod

IWantMyMod

    Prisoner

  • Members
  • 15 posts

Posted 07 April 2018 - 03:56 PM

Once I have made changes to a plugin or created a new plugin using a script how do I save the changed or new file?

 

Is this where I would use FileWriteToStream or is there an easier way?


  • 0

#2 hishutup

hishutup

    Daedric Prince

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,606 posts

Posted 07 April 2018 - 11:20 PM

I assume we're talking about xEdit by the given topic.
To save a file, there is a dialogue box upon closure of the program.

#3 zilav

zilav

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 353 posts

Posted 08 April 2018 - 01:04 AM

To change over original file you need to close xEdit (because all loaded plugins are memory mapped and can't be overwritten without unloading a plugin).

FileWriteToStream allows to save under a different name.


  • 0


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users