Is there any way to clean savegame orphaned REGN references?

Post » Tue May 24, 2016 12:39 pm

Wyre Mash doesn't seem to do the job. Short of EE manual deletion, is there any fully or semi-automated method? Maybe TES3CMD based one?



This is related to my Sky Diversity project WIP


Spoiler
To support scripted weather changes I want to include every REGN in my mod library in this plug-in; that works fine so long as it's loaded first for new games but requires cleaning when adding a plug-in with region already defined.. [edit - what to recommend for this is pretty much the last hurdle before release].

User avatar
Bad News Rogers
 
Posts: 3356
Joined: Fri Sep 08, 2006 8:37 am

Post » Tue May 24, 2016 4:04 pm

I think it should be safe to just delete the records from the save file.



tes3cmd delete -type REGN SaveName.ess

They're regenerated on first load AFAIK, but be sure to test it out.

User avatar
Laura Elizabeth
 
Posts: 3454
Joined: Wed Oct 11, 2006 7:34 pm

Post » Wed May 25, 2016 1:19 am

Thanks. That works perfectly, of course. One drawback I think would be any scripted modregion change would be lost, such as the redmountain region becoming clear after completing the main quest, etc. Is it possible to run tes3cmd delete with some exceptions, namely all the gamesas defined regions? Maybe make a copy of the savegame, delete regions from the original and then copy over the gamesas regions or something like that?

User avatar
phillip crookes
 
Posts: 3420
Joined: Wed Jun 27, 2007 1:39 pm

Post » Tue May 24, 2016 6:22 pm


If you're just wanting to ignore bethesda regions, then I suppose this would do the trick:



tes3cmd delete --type REGN --no-match "(bitter coast region|azura\'s coast region|molag mar region|ashlands region|west gash region|red mountain region|ascadian isles region|grazelands region|sheogorad|mournhold region|felsaad coast region|moesring mountains region|isinfier plains region|hirstaang forest region|brodir grove region|thirsk region)" SaveName.ess

Should work, I don't have any save files with modded regions ATM though.

User avatar
R.I.P
 
Posts: 3370
Joined: Sat Dec 01, 2007 8:11 pm

Post » Tue May 24, 2016 10:04 pm

Works perfectly! With MWCMD running, I can even allow for customization of the excluded REGN list and auto-cleaning when new .esp/esm with new REGN is detected. I think that removes the last hurdle to releasing SkyDiversity.. Thanks!!

User avatar
Joanne Crump
 
Posts: 3457
Joined: Sat Jul 22, 2006 9:44 am


Return to III - Morrowind