Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[request] TAStudio branch lua functions #843

Closed
brunovalads opened this issue May 16, 2017 · 6 comments
Closed

[request] TAStudio branch lua functions #843

brunovalads opened this issue May 16, 2017 · 6 comments
Assignees
Labels
Enhancement For feature requests or possible improvements Tool: TAStudio

Comments

@brunovalads
Copy link
Contributor

While working on TAStudio using various branches would be nice to get information in lua, like:

  • table tastudio.getbranches(): Returns a table with current branches, with id, frame and text;
  • table tastudio.getbranchinput(int branch_id, int frame): Returns a table of buttons pressed on a given frame of the chosen branch;
  • some function to read greenzone data of other branches in order to know the memory state at a given frame or prior to that.

My intention is to make a ghost script to be used while you're TASing.

@vadosnaprimer
Copy link
Contributor

Can't work on this anytime soon.

@vadosnaprimer
Copy link
Contributor

BTW how are you planning to draw ghost input letters (if that's your plan)?

@brunovalads
Copy link
Contributor Author

@vadosnaprimer My idea is to display different instances of the character, exactly like this ghost display in this video https://www.youtube.com/watch?v=Qd1y27xMIBA
The problem is that this script used to make the ghosts uses data from separate movies, you kinda need to run each movie in order to record stuff, only then you get the final result.
My idea is reading data form the branches of the tasproj you are currently working, in order to manipulate this data to display ghosts in realtime, to help the comparison between branches.

@vadosnaprimer
Copy link
Contributor

Yeah except that doesn't answer my question. Imagine you have info about branch input. What do you do next?

@brunovalads
Copy link
Contributor Author

I forgot what I thought for the inputs, I guess my idea was to compare inputs from different branches looking for matches and differences to develop a tree view of them.
More important than inputs, the ram data from the greenzone would be essential for this ghost idea.

@zeromus zeromus added the Enhancement For feature requests or possible improvements label Jul 10, 2017
@adelikat adelikat self-assigned this Aug 5, 2017
@adelikat
Copy link
Contributor

adelikat commented Aug 5, 2017

Implemented :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For feature requests or possible improvements Tool: TAStudio
Projects
None yet
Development

No branches or pull requests

4 participants