Jump to content

Batch renaming scriptnames and properties


Recommended Posts

I've made quite a few small patches in my first foray into modding and I've come to dislike my choice of names for scripts and the property names I use in my scripts.

I'm also trying to rewrite my scripts from scratch and I thought it would be nice to update all my existing patches with the new scriptnames and properties using xedit, also a quest name used for an mcm menu.

Only I can't find any xedit script that do this and I'm not about to learn pascal/delphi when I'm just staring out on papyrus! :smile:

 

I had assumed that a simple string replacer would exist but I can't find one that I can get to work.

I'm also assuming that recursively using a hexeditor in my folder full of patch files will result in corrupted esps?

 

Any help out there?

 

diziet

Link to comment
Share on other sites

Renaming script names can get problematic for the end user. Users would most likely need to restart their games from scratch. Old scripts still in memory would try to run, new scripts might not initialize properly if their objects have already been loaded. Does not mean that you cannot rename your scripts. Just means that you need to be forth coming with your users as to what they would need to do to have a proper working mod.

 

There is no "batch" method that I know of to do what you want.

Link to comment
Share on other sites

Renaming script names can get problematic for the end user. Users would most likely need to restart their games from scratch. Old scripts still in memory would try to run, new scripts might not initialize properly if their objects have already been loaded. Does not mean that you cannot rename your scripts. Just means that you need to be forth coming with your users as to what they would need to do to have a proper working mod.

 

There is no "batch" method that I know of to do what you want.

Ok thanks for that, looks like I'm stuck with my confusing filenames! :)

I did do an experiment using a hex editor to edit the esp with new filenames of the same length and that seemed to work, but I'm not risking that, esp. after my recent reading on what savefiles retain, too fiddly.

 

diziet

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...