Posts for CyZnRg


Post subject: Lua Read then Write to File
CyZnRg
He/Him
Joined: 4/28/2018
Posts: 1
I am running a lua script or series of scripts that read from various memory addresses, do math, and then display the results as gui.text. I am wondering how I can output those same results to an external file separate from the emulator instead - ideally with a static line that updates for each so it doesn't constantly write with a carriage return like the console - so I can view them without overlaying them on my emulator window(s). I tried various I/O commands within the scripts but they all print to the console. I am uncertain whether this is even possible, or whether the choice of commands I was using are just incorrect. This would be useful because more information could be viewed at the same time as well as function as a sort of RAM Watch with math included. It would also leave the emulator screens free of text and potential garbage, and perhaps allow saving of particular information for future reference.