Post subject: Bizhawk: Utilizing Tas Studio with Lua Scripting
Joined: 6/21/2020
Posts: 1
Is there any way to push inputs from a Lua script to be recorded to the Tas Studio? I'm only looking for doing some math for optimal angles in Lua to update the analog inputs in Tas Studio instead of having to manually input them. Possibly I'll want a way to go back several frames from the Lua Script too. Does anyone know how to do this? Working with the N64 emulator. (I'm not good at asking questions... If there's any ambiguity please let me know and I'll try to clear it up.)
Blazephlozard
He/Him
Banned User
Joined: 2/27/2013
Posts: 175
Location: Ohio
I have a script here that The8bitbeast made for optimizing lines in Banjo-Kazooie, so it should be fairly relevant to your goals, or at least a good reference: https://pastebin.com/ZUvujThj There's a good community of people that can help with Lua quickly in the #tas-production channel on the Discord: https://discord.com/invite/GySG2b6
Editor, Reviewer, Skilled player (1359)
Joined: 9/12/2016
Posts: 1646
Location: Italy
This script may also be of your interest: http://tasvideos.org/forum/viewtopic.php?t=19430
my personal page - my YouTube channel - my GitHub - my Discord: thunderaxe31 <Masterjun> if you look at the "NES" in a weird angle, it actually clearly says "GBA"