Post subject: New to TASing, need some help for a computer science project
Joined: 3/7/2014
Posts: 1
Hello, I'm new to TASing since I have more a programmer background I want to do a little side project. I want to use a string my program outputs (I can format it if's needed, but basically it looks like
UP UP DOWN B A B DOWN DOWN DOWN
etc. I want to use this as inputs in an emulator, also I want my program to retrieve data such as the ingame clock and the x position and interact with the emulator. Maybe to stream it too. Can anyone help me with the basics and getting started? Thanks.
Zarmakuizz
He/Him
Joined: 10/12/2013
Posts: 279
Location: France
You didn't tell which emulator you targeted. However, Twitchplayspokemon uses a python script to send inputs to VisualBoy Advance, so you might look at his work: https://github.com/sunshinekitty5/TwitchPlaysPokemon It also manages streaming! However, for the ingame clock and x position, these are variables that changes for every game. TASers usually look at the RAM of the game, watch every variable, then try actions (move to the right, throw a fireball) to figure what is the role of each variable, and with a bit of Lua scripting they display to the screen the value they are looking for. DISCLAIMER: I never did this, I am not a TASer, I don't know if it is possible to send the variables in a given output.