dear author, thanks for your script! i have a suggestion for description framework utility, can you add the name of the item to show in the output? it will help much, since a lot time editor Id doesn't match the name of the item
I've added name output for myself by copying and then modifying one of the existing outputs. It is extremely handy. Without it I don't think I could have sanely output all base & DLC items in the game for an item renaming mod in IPM format. I got a few hundred objects in doing it full-manually before realizing I had no good means of ensuring I didn't skip anything by mistake, went looking, and found this script.
While the permissions would allow me to release my own version, I really didn't do much. I'd rather just contribute the edit and leave it in author's hands, if they're open to that. This script helped me out immensely and it would be a small means of paying that back.
For me it kept throwing the "Exception in unit utdnGui line 91: [EConvertError] Format 'Parent height:%d' invalid or incompatible with argument" errors on the SSEEdit64.exe. It works no worries on the 32 bit .exe for me, it might be user error but you could try switching the .exe you're using.
I'm confused. How can i access data from plugin in these scripts? Example presets shows changing weight to constant 10, so that's kinda useless. How do i make it output actual item weight?
Hi! it seems like the script does not seem to work in Xedit 4.1.5b. It does work with Xedit 4.0.4.
I get the following error in 4.1.5b
[00:00] Exception in unit utdnGui line 91: [EConvertError] Format 'Parent height:%d' invalid or incompatible with argument [00:00] Aborted: Applying script "[utdn] Draft Whatever.ini"
Would it be possible to use this script to draft Fallout 4's Robco Patcher inis?
All of my scripts do not work on the build 4.1.5b, where the specifications are violated.
What element causes the error in the line 91 could be either TComponent.Height or Format(). TComponent.Height must return an Integer value. Format() must take %d for an Integer value, but I've got a report replacing %d with %s works fine there. (Of course, %d works on both 4.0.4 and 4.1.5, and the %s trick only causes errors on the Nexus versions.) Therefore, either TComponent.Height or Format() in 4.1.5b is broken.
We need further investigations in 4.1.5b, but let me declare I'm unwilling to support non-Nexus version.
For RobCo patcher, it will work as a quick look. I cannot confirm it. I don't have FO4. Just try it :)
This is very useful, thank you. Any way to Skypatch mods? Like, from the script, get the perks added by some mod to NPC and add it to the .ini? Or do I have to set those perks manually?
You're welcome, but sorry I don't know what you mean. Do you mean to copy new perk records added by some mods, and paste the perks in {Bar} format to Whatever.ini UI field? Try my copy-to-clipboard script! If not, I'd like you to elaborate your question :)
Would you like to extract perk IDs from NPC_ records? You can go to the record where the perk is defined, by Ctrl+Click on the perk in a NPC_ record, so that you can tell which file defines the perks. However, if you mean to copy the whole set of the perks referenced by a specific NPC_ record at once, we would need another script, AFAIK.
This is a very useful script, but there is a problem. When I write this in the script: filterByNpcs={Filename}{bar}{FormID},
I get the desired result, but for some reason the formids are cycled and duplicated in end, and at the beginning it is duplicated filename. For example: ; Addvar,AiaArria,Ahtar,AngelineMorrard filterByNpcs=Skyrim.esmSkyrim.esm|0x13255,Skyrim.esm|0x1325C,Skyrim.esm|0x1325F,Skyrim.esm|0x132600x13255,0x1325C,0x1325F,0x13260,
And is it possible to add an option to comment lines so that they are written to the column. And also the option to remove the record delimer at the end of the line.
I also wanted to thank you for the very convenient scripts, they make it easier to work on mods!
Oh no, you only have to write the following code: filterByNpcs={bar}{Bar} is an alias of {Filename}|{FormID}. You can find the description in a popup hint on the UI. The result should be this: ; Addvar,AiaArria,Ahtar,AngelineMorrard filterByNpcs=Skyrim.esm|0x13255,Skyrim.esm|0x1325C,Skyrim.esm|0x1325F,Skyrim.esm|0x13260 And if you intend the trendy SkyPatcher, I think you should remove "0x" as in its descriptions. Disable "Hex Prefix" option in the UI.
Also, if your "column" means the following results, please disable "Join Records into One Line" option. ; Addvar filterByNpcs=Skyrim.esm|0x13255 ; AiaArria filterByNpcs=Skyrim.esm|0x1325C ; Ahtar filterByNpcs=Skyrim.esm|0x1325F ; AngelineMorrard filterByNpcs=Skyrim.esm|0x13260
I see. Thank you for the illustration :) This script v1.0.0 does not provide such an option, and would not support it. Once SkyPatcher lets us use EditorID, such an option would be obsolete. We prefer readable EditorIDs to magic numbers with redundant comments. I also expect EditorID format would support wildcard as SPID does. That is a distinct advantage over current bar format. I think Zzyxzz will implement it sooner or later. He/She knows, or will know, how to implement it because powerofthree lets us see the source of SPID on MIT License.
Okay, thanks for the answer. Yes, the format of the EditorID entry is much clearer. The most unpleasant thing, for example, is if the EditorID is renamed and overwritten by another mod, and the overwritten EditorID is written in the patch's ini file.
You are right :) Both EditorID and FormID is vulnerable. ESLifying could change FormID. For VR user like me, some mods are required to be updated for VR ESL Support. I still prefer zMerge for some mods like very tiny ones, or those unlikely to be referenced to, though 4096 limit is so far.
27 comments
While the permissions would allow me to release my own version, I really didn't do much. I'd rather just contribute the edit and leave it in author's hands, if they're open to that. This script helped me out immensely and it would be a small means of paying that back.
I get the following error in 4.1.5b
[00:00] Exception in unit utdnGui line 91: [EConvertError] Format 'Parent height:%d' invalid or incompatible with argument
[00:00] Aborted: Applying script "[utdn] Draft Whatever.ini"
Would it be possible to use this script to draft Fallout 4's Robco Patcher inis?
What element causes the error in the line 91 could be either TComponent.Height or Format().
TComponent.Height must return an Integer value. Format() must take %d for an Integer value, but I've got a report replacing %d with %s works fine there. (Of course, %d works on both 4.0.4 and 4.1.5, and the %s trick only causes errors on the Nexus versions.)
Therefore, either TComponent.Height or Format() in 4.1.5b is broken.
We need further investigations in 4.1.5b, but let me declare I'm unwilling to support non-Nexus version.
For RobCo patcher, it will work as a quick look. I cannot confirm it. I don't have FO4. Just try it :)
Any way to Skypatch mods? Like, from the script, get the perks added by some mod to NPC and add it to the .ini? Or do I have to set those perks manually?
Do you mean to copy new perk records added by some mods, and paste the perks in {Bar} format to Whatever.ini UI field?
Try my copy-to-clipboard script!
If not, I'd like you to elaborate your question :)
You can go to the record where the perk is defined, by Ctrl+Click on the perk in a NPC_ record, so that you can tell which file defines the perks.
However, if you mean to copy the whole set of the perks referenced by a specific NPC_ record at once, we would need another script, AFAIK.
Thank you very much for the attention.
Arigatou.
When I write this in the script:
filterByNpcs={Filename}{bar}{FormID},
I get the desired result, but for some reason the formids are cycled and duplicated in end, and at the beginning it is duplicated filename. For example:
; Addvar,AiaArria,Ahtar,AngelineMorrard
filterByNpcs=Skyrim.esmSkyrim.esm|0x13255,Skyrim.esm|0x1325C,Skyrim.esm|0x1325F,Skyrim.esm|0x132600x13255,0x1325C,0x1325F,0x13260,
And is it possible to add an option to comment lines so that they are written to the column. And also the option to remove the record delimer at the end of the line.
I also wanted to thank you for the very convenient scripts, they make it easier to work on mods!
filterByNpcs={bar}{Bar} is an alias of {Filename}|{FormID}. You can find the description in a popup hint on the UI. The result should be this:; Addvar,AiaArria,Ahtar,AngelineMorrard
And if you intend the trendy SkyPatcher, I think you should remove "0x" as in its descriptions. Disable "Hex Prefix" option in the UI.filterByNpcs=Skyrim.esm|0x13255,Skyrim.esm|0x1325C,Skyrim.esm|0x1325F,Skyrim.esm|0x13260
Also, if your "column" means the following results, please disable "Join Records into One Line" option.
; AddvarfilterByNpcs=Skyrim.esm|0x13255
; AiaArria
filterByNpcs=Skyrim.esm|0x1325C
; Ahtar
filterByNpcs=Skyrim.esm|0x1325F
; AngelineMorrard
filterByNpcs=Skyrim.esm|0x13260
;Addvar
;AiaArria
;Ahtar
;AngelineMorrard
filterByNpcs=Skyrim.esm|0x13255,Skyrim.esm|0x1325C,Skyrim.esm|0x1325F,Skyrim.esm|0x13260
This script v1.0.0 does not provide such an option, and would not support it.
Once SkyPatcher lets us use EditorID, such an option would be obsolete. We prefer readable EditorIDs to magic numbers with redundant comments.
I also expect EditorID format would support wildcard as SPID does. That is a distinct advantage over current bar format.
I think Zzyxzz will implement it sooner or later. He/She knows, or will know, how to implement it because powerofthree lets us see the source of SPID on MIT License.
ESLifying could change FormID. For VR user like me, some mods are required to be updated for VR ESL Support. I still prefer zMerge for some mods like very tiny ones, or those unlikely to be referenced to, though 4096 limit is so far.