Menu

#1628 lua51.dll isnt not working in latest git

future
open
nobody
0.9.12
5
2024-09-23
2017-08-03
No

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.

Discussion

1 2 > >> (Page 1 of 2)
  • zeromus

    zeromus - 2017-08-03

    define "wont work" please

     
  • Fancy Alexander Lazala

    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

     
  • Fancy Alexander Lazala

    (picture)

     
  • Fancy Alexander Lazala

    ok thanks

     
  • Fancy Alexander Lazala

    it didnt work,same error

     
  • Brandon Thomason

    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.

     
    • zeromus

      zeromus - 2019-04-16

      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.

       
      • Brandon Thomason

        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?

         
        • zeromus

          zeromus - 2019-04-16

          Did it throw THE SAME error?

           
          • Brandon Thomason

            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
  • zeromus

    zeromus - 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.

     
  • Brandon Thomason

    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.

     
  • Anonymous

    Anonymous - 2020-02-22

    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

     
    • zeromus

      zeromus - 2020-02-22

      I already sent you a build on tasvideos, go away

       
  • Anonymous

    Anonymous - 2020-02-29

    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.

     
    • Anonymous

      Anonymous - 2020-04-27

      I also tried this, but it still doesn't work...

       
      • zeromus

        zeromus - 2020-04-27

        OK, with that much information, what do you expect anyone to do to help you?

         
        • Anonymous

          Anonymous - 2021-08-07

          mate I'm just a rando reading this and you're so aggressive, lol. chill out

           
          • Anonymous

            Anonymous - 2021-09-05

            yeah hes a weirdo

             
        • Anonymous

          Anonymous - 2024-03-25

          why even respond at all you aren't helpful

           
          • zeromus

            zeromus - 2024-03-25

            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

             
    • Anonymous

      Anonymous - 2024-02-11

      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!

       
  • Anonymous

    Anonymous - 2020-04-28

    Wow, it has been 3 years since I've posted this issue, lol.

     
1 2 > >> (Page 1 of 2)

Anonymous
Anonymous

Add attachments
Cancel