Ryan777 Posted August 2, 2011 Posted August 2, 2011 I've been looking all over for a LUA script for HGSS, could someone possibly provide a download please? Thanks!
Kaphotics Posted August 3, 2011 Posted August 3, 2011 Position Reader: while true do gui.text(0,0, string.format("X: %d, Y: %d", memory.readword(0x021DA6DE,2), memory.readword(0x021DA6FE,2))) emu.frameadvance() end
Ryan777 Posted August 3, 2011 Author Posted August 3, 2011 Isn't there usually a file that you have to open while in the Desmume menu? Or do I have to insert that text somewhere?
Kaphotics Posted August 3, 2011 Posted August 3, 2011 Just create a new notepad file, paste that in and name it Position.lua without the txt extention (so save as type All Files)
Ryan777 Posted August 3, 2011 Author Posted August 3, 2011 Now it's saying that lua51.dll was not found and it must be put in the same path. Or am I doing this wrong?
Kaphotics Posted August 3, 2011 Posted August 3, 2011 download it and put it in your desmume folder then...
Ryan777 Posted August 3, 2011 Author Posted August 3, 2011 I did and the same error box keeps coming up
Kaphotics Posted August 3, 2011 Posted August 3, 2011 http://dl.dropbox.com/u/12206225/PP/lua51.dll http://dl.dropbox.com/u/12206225/PP/lua5.1.dll Put them directly into your Desmume folder, which has the .exe for desmume.
Ryan777 Posted August 3, 2011 Author Posted August 3, 2011 It still didn't work, but I guess downloading an older version of Desmume worked, so thanks for your help
Andibad Posted August 3, 2011 Posted August 3, 2011 I used Lua51.dll is working... i used new version of desmume (0.9.7 and SVN build) is working fine with my LUA script
KazoWAR Posted August 3, 2011 Posted August 3, 2011 The lua dlls need to match your version of desmume for x86/x64 I had that problem, here is a lua script for b/w I made a while back that comes with the dlls for both version. http://dl.dropbox.com/u/3706406/Files/BW%20Random%20Encounters.rar
Michielleus Posted June 3, 2013 Posted June 3, 2013 Sorry to bump, but I was wondering if somebody has the position values for Pokemon Platinum? I can find Diamond/Pearl/HG/SS's, but strangely not Platinums. Thanks in advance.
Michielleus Posted June 5, 2013 Posted June 5, 2013 Thank you for posting that page, but sadly it doesn't list what I'm looking for. Perhaps I formulated my question wrongly. I'm looking for the ram values that give the X and Y positions. while true do gui.text(0,0, string.format("X: %d, Y: %d", memory.readword(0x0XXXXXXX,2), memory.readword(0x0XXXXXXX,2))) emu.frameadvance() end I'd like to get this script working for Platinum, but I don't have the correct values. I'm sure somebody has them. If it could be posted in this thread, I'd be grateful.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now