Editor, Skilled player (1778)
Joined: 7/9/2010
Posts: 1325
For those who always wanted an upgrade to RAM Watch or just displaying the current frames memory values to the client window with lua; It's now here, the TAStudio Output Logger Framework! With this framework you can write your own very simple lua script to display the memory values for each played back frame in TAStudio as color and text. Not working Branch action undo and branch reordering, it messes up the files and logs. Features GUI It consists of a dropdown list with the branches and the time difference compared to the current section start, a number below 0 means the branch is faster than the current input. The list is opened by clicking the '▲'-button and clicking on an item from the list selects the given branch as the branch to compare against. Next to it are '-' and '+'-button to just decrement and increment the branch index by 1. The 'Best'-button selects the branch with the shortest time between the section start marker and the section end marker, with the same notes as the the current section markers. Finally the text next to it is the current section start markers text with the time difference to the selected branch at the end, a value below 0 means the current input is faster. Sections Sections are marker that don't start its note with "-" or aren't empty. Name the markers individualy - like "Level 1 Key", "Level 2 Key" and so on, or the section find algorithm might fail. The sections are used to offset the index for relative branch comparison and to display the time difference. Logs A log consists of its name, a function how to retrieve the logs values from games memory and a list containing each logged value. Branch Logs When saving a branch the current values are saved into a branch log. And loading a branch loads the branch logs values into the current log. Old Logs The old logs are the logs with the values from the last input change, which means the old logs are only updated with current logs values when playing back over ungreenzone frames. It also gets updated by loading branches. Printers Those define how to output the values from the logs into TAStudio cells as text and as color. On how to write a script, please use the userfile notes as reference. Also have a try with the demo srcipt.
toca
He/Him
Player (150)
Location: 🇪🇺 Europe
Joined: 6/27/2017
Posts: 54
Location: 🇪🇺 Europe
I just used the output logger for the first time in order to display some coordinates in TAStudio, and I just wanted to leave an appreciation post to say that I think this is a fantastic tool and that it worked like a charm. Keep it up! :)
Dimon12321
He/Him
Editor, Reviewer, Skilled player (1243)
🇷🇴 Romania
Joined: 4/5/2014
Posts: 1524
Location: 🇷🇴 Romania
Hello, TASeditor! Long time no see! Thank you for your effort!
TASing is like making a film: only the best takes are shown in the premier. https://xkcd.com/3246/
Player (27)
Joined: 7/3/2012
Posts: 45
Is there a way to display values in hexadecimal format? EDIT: OK, I see it now (under "textexpression" in the printer code, write the string "hex"). New question: is there a way to put an "empty" value for "colorexpression"?
Editor, Skilled player (1778)
Joined: 7/9/2010
Posts: 1325
In the AddPrinter function pass nil for the colorexpression to use the default TAStudio colors.
Experienced player (527)
🇩🇪 Germany
Joined: 1/28/2008
Posts: 149
Location: 🇩🇪 Germany
really cool - had some trouble setting it up at first but works really well! thank you for this ♥
2-do: Smurfs Nightmare, The (EU) GBC 10% fin : Mega Man: Dr. Wily's Revenge improvement: submitted Mega Man II Improvement: submitted Mega Man IV Improvement: submitted Mega Man V Improvement: submitted future plan: -n-
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3494)
🇺🇸 United States
Joined: 11/3/2004
Posts: 4764
Location: 🇺🇸 United States
Very nice! This is exactly what I had in mind when setting up user data in the tasproj format and the hooks to use it. Thanks for making this, very impressive.
It's hard to look this good. My TAS projects
Player (27)
Joined: 7/3/2012
Posts: 45
Is there a way to remove a column? I wanted to rename a column in my logger, but it created a new column and the old column persisted. Also opening the .tasproj now throws an error.
Editor, Skilled player (1778)
Joined: 7/9/2010
Posts: 1325
Try disabling it in Colums or Restore Defaults in Settings