#Simulate Keystrokes / User Input

20 messages · Page 1 of 1 (latest)

quiet geyser
#

I'm trying to build a bot that will learn to play celeste as part of a project. The wall I keep hitting right now is simulating key strokes. Can anyone help me with this? the game crashes when I use Sendkey from System.Windows.Forms.

modern mulch
#

why?

#

someone tried to build bot that will learn to play celeste

#

where is vid somewhere how that bot beats first screen of prologue

#

about half hour

cloud stag
#

iirc celeste tas has an end point where you can send arbitrary inputs in real time

quiet geyser
mild vale
#

You can only send actions like frame advance to celestetas

#

While it might be possible to dynamically write a tas file and frame advance, it would be quite slow

#

I think it would make sense to see how celestetas hijacks inputs and do the same

#

Note that there are a few cases for older versions in celestas' code, you can just ignore those

mild vale
#

No only hotkeys

cloud stag
#

dang it

mild vale
#

And that shouldnt really have performance issues

mild vale
quiet geyser
mild vale
#

dont know where exactly, tho as said later, it might make sense creating a tas on the fly