Closed WilliamSzeto1 closed 2 years ago
Working as intended. Changing this to a feature request.
The intent is to only use this method with movies, maybe it would be better to move this to movie.setinputfrommnemonicstr() ?
I am trying to use this function in TASing/RNG Manipulating, and having to create and load a movie just to do this is weird given that this is the only compact data-driven format for doing controller input. If you want to put a list of controller inputs into a file (like bk2 does internally) and then use them, without a function like this you can't. For a scriptable toolkit, I would think you would want to support using some consistent input file format, and this is the one that's knocking around, right?
(Also, I am entirely able to do this in Bizhawk 2.4.2, so I'm not sure when things changed such that the function shouldn't be usable outside of a movie context.)
^ possibly a hack? @adelikat
Summary
Running Lua programs for Pokemon Red, joypad.setfrommnemonicstr won't actually set the inputs for a frame until I open TASStudio. After closing TASStudio, the function will work properly.
Repro
Host env.