ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Dev Tools (https://www.esoui.com/forums/forumdisplay.php?f=173)
-   -   Powershell saved variable parser (https://www.esoui.com/forums/showthread.php?t=10798)

robert.labrie 01/28/24 02:29 PM

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

Baertram 01/28/24 02:53 PM

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.

robert.labrie 01/28/24 03:52 PM

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

Baertram 01/28/24 04:02 PM

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

robert.labrie 01/28/24 04:12 PM

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


All times are GMT -6. The time now is 12:46 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI