libTAS icon indicating copy to clipboard operation
libTAS copied to clipboard

[Feature Request] Socket Communication Functions in Lua

Open victorsevero opened this issue 1 year ago • 2 comments

I suggest a communication implementation in Lua just like Bizhawk does (the comm library). I suppose the most common use case would be sockets, so that seems like a good starting point. Lua already has a pretty known socket library named LuaSocket, so libTAS could "just" wrap it with common functions like BizHawk does.

I could try to implement this by myself. I think I would need some guidelines on how to get some data, but I can get by Lua.

victorsevero avatar Jan 10 '24 07:01 victorsevero

Could you expose in which context you would use this feature?

clementgallet avatar Jan 14 '24 14:01 clementgallet

Reinforcement Learning applications on games! I already accomplished that on PSX games with BizHawk: https://github.com/victorsevero/bizket

victorsevero avatar Jan 15 '24 15:01 victorsevero