Thread Tools Display Modes
01/28/24, 02:29 PM   #1
robert.labrie
AddOn Author - Click to view addons
Join Date: Dec 2021
Posts: 16
Powershell saved variable parser

Piling on I wanted to share my eso_tools which are (eventually) a set (currently one) of PowerShell scripts to make it easier to rifle through saved vars.

I chose PowerShell because it's available on all Windows systems. I had planned to use the Lua.dll that ships with TTC since most people have that but I found it hard to work with and NLua just loads the whole script into a .Net object that is super easy to walk with PowerShell.

Hope someone finds this useful, if I find other things to contribute I will and pull requests welcome.

https://github.com/robertlabrie/eso_tools

PS: If you have a better source for the globals please tell me I'll change the way that script works.

Cheers,
Robert
  Reply With Quote
01/28/24, 02:53 PM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Hi, I can see that you query the https://wiki.esoui.com/Constant_Values page and just wanted to hint to that headline of the Wiki pages:


So better NOT use the Wiki pages for up2date data, but use the correct ESOUIDocumentation_Pxx.txt files linked at the version history!
https://wiki.esoui.com/APIVersion



or: Update the WIKI pages with up2date data, would be nice too.


And thanks for your scripts!!! I bet they can come in handy,e.g. for InventoryInsight or similar.

Last edited by Baertram : 01/28/24 at 02:55 PM.
  Reply With Quote
01/28/24, 03:52 PM   #3
robert.labrie
AddOn Author - Click to view addons
Join Date: Dec 2021
Posts: 16
I'll figure out dumper, rewrite the globals ps1 generator to use the output from that, and see about updating the wiki. Is there a script laying around to generate wikitext from the dumper output? Else I can make it too LMK
  Reply With Quote
01/28/24, 04:02 PM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Not that I know off, I never had any.
The Wiki got some "links" in that already exisitng files so the craeted links for the new data should keep the old links, if possible!
e.g. at events there exist some EVENT_INVENTORY_SINGLE_SLOT_UPDATE pages behind the event entry at the wiki, where ppl created content, examples etc.
So new automatically created contents for the wiki at best keep the existing links somehow.

I think because of that it was not so easy to automate some stuff there.

I got some php scripts (created by Reaby in the past, modified by myself) to parse the ESOUIDocumentation_Pxx.txt files though:

https://github.com/Baertram/IntelliJ...arse%20scripts

Last edited by Baertram : 01/28/24 at 04:15 PM.
  Reply With Quote
01/28/24, 04:12 PM   #5
robert.labrie
AddOn Author - Click to view addons
Join Date: Dec 2021
Posts: 16
I'll take a run at it then. It's a weekends only thing for me mind you but will see what I can do
  Reply With Quote

ESOUI » Developer Discussions » Dev Tools » Powershell saved variable parser


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off