Hey guys, for some reason "lua51.dll" won't work in the latest 0.9.12 git,I used to use a x64 version of a recent but kinda old git and the dll didn't work. Then,I got the latest git in x86 and that still doesn't work. If you have similiar problems or you have a fix please post it in the replies/comments.
Anonymous
define "wont work" please
basically,when i try loading a .lua (mario kart ds checkpoint viewer) it says the lua51.dll isnt in the folder where is desmume is (which im assuming it means the .exe) or to PATH
(picture)
works fine for me. i just downloaded https://sourceforge.net/projects/luabinaries/files/5.1.5/Windows%20Libraries/Dynamic/lua-5.1.5_Win32_dll14_lib.zip/download and stuck it in the directory with the exe (making a 32bit build)
ok thanks
it didnt work,same error
https://ci.appveyor.com/api/buildjobs/n8xoum1xj05fxwfo/artifacts/desmume%2Fsrc%2Ffrontend%2Fwindows%2F__bins%2FDeSmuME-VS2015-Release.exe
https://sourceforge.net/projects/luabinaries/files/5.1.5/Windows%20Libraries/Dynamic/lua-5.1.5_Win32_dll14_lib.zip/download
tested 100% working
Hey zeromus, it's working 0% for me. I cannot download your DeSmuME-VS-Release for some reason.
I tried using both 64 and 32bit with the specific 32 and 64 bit lua libraries, both lua51 and lua5.1 in the directory. It STILL throws the cannot find lua error, even though the path to the lua library is correct.
go to appveyor and find a newer build, it should work just the same.
also you need to take the lua5.1.dll from luabinaries and copy it as lua51.dll as well. Nobody knows why. Lua is a mess.
I just tried that, and compiled the thing (x86). It still threw an error. Could there be a plugin conflict or incompatibility? Mind running through it with me on teamviewer or something?
Did it throw THE SAME error?
Yeah, it threw the exact same error. Kinda at a loss at what to do here. If you could teamviewer me, I have a readme with paths for you on my desktop (All consolidated into one folder basically), with different desmume builds, including the master, to try out. I'm running windows 10 pro x64 bit.
For note, I have lua51.dll, the 32 bit version, as well as lua5.1.dll, the 32bit version, in the lua folder and the desmume root directory as well.
Last edit: Brandon Thomason 2019-04-16
then you downloaded the 64bit desmume, or are running 32bit from visual studio and don't understand how it's debug working directories work.
I won't teamviewer to you unless you get on IRC first, and then not until tomorrow.
Ok. I see. And yes, I got it working. I plan on posting a full explanation on how I got it working in a documentation.
To put it plainly, you were right, I was stupid and had to change 64 to 32 in the custom build properties. After inserting lua from the directory of 32 bit, it finally worked.
Thanks, you were a big help.
I'll see you on irc.
Hello. In DeSmuME 0.9.7 & above, lua51.dll isn't there, & nothing is working no matter what.
So I used 0.9.6+ (gocha's build) for my KSSU TAS.
Anonymous User is Chutacoacko Playz
I already sent you a build on tasvideos, go away
Finally figured out the lua51.dll problem on 64 bit DeSmuME. For 64 bit versions, you need to download lua5.1.dll, NOT lua51.dll. Put the lua5.1.dll file in the same folder as DeSmuME, then rename lua5.1.dll to lua51.dll. That should do it.
(If it still doesn't work go to Config -> Path Settings, look for the Lua section towards the bottom, amd click on the three dots (...) to adjust the file path to the DeSmuME folder.)
Hopefully this solves others' problems. Credit to EverOddish on GitHub - I stumbled across their directions for their own Lua scripts, tried some of their steps as described above, and lo and behold, success. Also, my apologies for the lengthiness of this post.
I also tried this, but it still doesn't work...
OK, with that much information, what do you expect anyone to do to help you?
mate I'm just a rando reading this and you're so aggressive, lol. chill out
yeah hes a weirdo
why even respond at all you aren't helpful
why are there so many people posting on lua threads lately? why are you complaining instead of helpfully asking what you want?
most up to date information
https://github.com/TASEmulators/desmume/issues/779
I LOVE YOU. I have been attempting to fix this issue with 0 knowledge of any of this tech talk. I just wanna play pokemon XD but this was the final piece of the puzzle I needed. Thank you almost 4 years later!
Wow, it has been 3 years since I've posted this issue, lol.