Search the Community
Showing results for tags 'lua'.
Found 3 results
I've been looking into writing a script to run on Desmume. I'm thinking of running it on either Platinum or one of the Gen V games. I haven't been able to find any detailed instructions for setting things up, can anyone help me out? It doesn't have to be Lua, really it should be something that "plugs in" to the emulator (fires button inputs straight into the emulator rather than using something like the Robot in Java to send keyboard and mouse events over the desktop). Also, if I wanted to look into reading the memory from the frame, how would I figure out what address and value correspond to what (ie. tiles, items, Pokemon health, player position, etc.)?
Hey all, I'm trying to pull the memory addresses for the flags that determine if a badge has been earned in all of the Pokémon games. I've managed to get out the pokemon party, etc, but can't find badges. I've done some research and I've gathered links that detail some things about badge memory addresses in RAM (I'm not aware of rules about external linking, but I can post the stuff I've found thus far if I'm allowed). Is there anybody out there that's done this or knows about the badges? I thought I'd start with Gen3 and work my way up. I'm using Lua to pull these out of emulators at the moment. But to no avail. Thanks in advance!
I have been trying to get Kaphotics' Lua scripts working in Pokemon Black and White, and I have downloaded the kit from his scripting thread and followed his video tutorial. Everything worked according to the tutorial until I was to open the Lua scripting window inside the emulator, and tried to load the zdXow.lua file. I then get an error that says "Lua51.dll was not found". I have tried putting the text file in various folders but it hasn't worked and I can't find any Lua51.dll file either. Does anyone know what is causing this error or how I could solve it? I am using DeSmuMe 0.9.9. Thanks in advance for any help.