The Script isn't needed for the mod work, i made the script so i could more easily update the mod, and decided to share it with people.
To use the script you need select the spell tome book records you want to rename in xEdit and run the script, it will only run on the selected records, also spells without half cost perk assigned won't be renamed.
I suggest not renaming the the original book record, and instead first forward as override the records into a new esp flagged esl plugin and renaming the tomes in that new plugin.
In particular it fixes a CTD caused by the bundled Mysticism patch (for the outdated v1.4) when accessing the inventory of any merchant carrying Mysticism's Adept-level (level III) Alteration tomes, like Tolfdir or Wylandriah.
Here's how to patch spell tomes name from other mods using KeiZero's script
Will look like a lot of step but it's actually pretty simple, this comes from someone who's only using SSEdit to quick auto clean and nothing more, now this.
What you need: SSEdit, my version is 4.04(I assume y'all already installed SSEdit so i skipped installing it in the step below. If not, youtube's your best bud)
1. Extract file called SpellTomeSorting.pas from this mod(in extra folder) 2. Put that file in SSEdit installation folder inside Edit Script folder 3. Open SSEdit through Vortex/MO2 4. Unselect all or right click then select none, type in filter the mod name you want to patch, will show the .esp. Select it then ok 5. Wait until "Background Loader: finished" in right window 6. Now to the left window, click + beside the mod's name, this will drop more options, find book, then click +, now all spelltomes from said mod will appear 7. Select all spelltomes, you can use shift click to select from top to bottom. Make sure only select from book drop down 8. Left click then select Apply Script... a new window will appear, now click on Script drop down and find SpellTomeSorting and select it SpellTomeSorting won't be there if you didn't put .pas file from this mod(step 2) 9. Select OK then wait for the script to patch the spelltomes(it took only less than 1 sec) 10. When done, close SSEdit, will be asked to save, (YES, duh) 11. Done OR Repeat from step 3 if you want to patch other spell tome mods
Boot up Skyrim and check if the spelltomes are updated, quick way using console command or additemmenu If there's a prompt from Vortex about External Change about the patched mod, confirm with newer file.
Here's the patched spell tomes names from Elemental Destruction Magic Redux https://imgur.com/a/UUCOufW
Just a heads up that the included version of the Mysticism file is not compatible with Mysticism2. It will overwrite spell levels to what Spell Tome Sorting expects (I noticed this with the Muffle spell. It is Apprentice level in Mysticism 2, but this mod makes it Adept level and increases the vendor prices to match).
I've never tried to use SSEEdit before, so I don't know yet if the Script will fix the issue. I guess I'll watch some youtube videos or something so I can figure out how to run the script and see if that resolves the issue.
Hi KeiZero, I wanted to use the script to update Arcanum and I got error "Error during Applying script "SpellTomeSorting": Error in unit 'SpellTomeSorting' on line 51 : Array index out of bounds" any help please?
45 comments
The Script isn't needed for the mod work, i made the script so i could more easily update the mod, and decided to share it with people.
To use the script you need select the spell tome book records you want to rename in xEdit and run the script, it will only run on the selected records, also spells without half cost perk assigned won't be renamed.
I suggest not renaming the the original book record, and instead first forward as override the records into a new esp flagged esl plugin and renaming the tomes in that new plugin.
In particular it fixes a CTD caused by the bundled Mysticism patch (for the outdated v1.4) when accessing the inventory of any merchant carrying Mysticism's Adept-level (level III) Alteration tomes, like Tolfdir or Wylandriah.
Will look like a lot of step but it's actually pretty simple, this comes from someone who's only using SSEdit to quick auto clean and nothing more, now this.
I tested this by patching Elemental Destruction Magic Redux by Phenderix NOT Reaperix
What you need: SSEdit, my version is 4.04(I assume y'all already installed SSEdit so i skipped installing it in the step below. If not, youtube's your best bud)
1. Extract file called SpellTomeSorting.pas from this mod(in extra folder)
2. Put that file in SSEdit installation folder inside Edit Script folder
3. Open SSEdit through Vortex/MO2
4. Unselect all or right click then select none, type in filter the mod name you want to patch, will show the .esp. Select it then ok
5. Wait until "Background Loader: finished" in right window
6. Now to the left window, click + beside the mod's name, this will drop more options, find book, then click +, now all spelltomes from said mod will appear
7. Select all spelltomes, you can use shift click to select from top to bottom. Make sure only select from book drop down
8. Left click then select Apply Script... a new window will appear, now click on Script drop down and find SpellTomeSorting and select it
SpellTomeSorting won't be there if you didn't put .pas file from this mod(step 2)
9. Select OK then wait for the script to patch the spelltomes(it took only less than 1 sec)
10. When done, close SSEdit, will be asked to save, (YES, duh)
11. Done OR Repeat from step 3 if you want to patch other spell tome mods
Boot up Skyrim and check if the spelltomes are updated, quick way using console command or additemmenu
If there's a prompt from Vortex about External Change about the patched mod, confirm with newer file.
Here's the patched spell tomes names from Elemental Destruction Magic Redux
https://imgur.com/a/UUCOufW
Thank you KeiZero for the mod and the script
Cheers
How possible would it be to apply this same sorting to spells in your power/favourites screens?
I've never tried to use SSEEdit before, so I don't know yet if the Script will fix the issue. I guess I'll watch some youtube videos or something so I can figure out how to run the script and see if that resolves the issue.