mGBA Forums

Full Version: Sample lua scripts or code snippets
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm glad to see that mGBA is now supporting lua scripting. Are there any sample code snippets available?

Specifically, I'm looking for guidance with the TCP socket APIs. I have a server created in an external program, but I can't get the lua script to connect and send a message
There's a bug with that that got fixed recently. I'd have to check when. The program should ship some sample scripts, but the source is available here: https://github.com/mgba-emu/mgba/tree/ma...es/scripts