bkacjios / m-overlay

A controller input display/overlay for Dolphin
MIT License
163 stars 43 forks source link

Having trouble building on Windows #184

Open MORImementos opened 10 months ago

MORImementos commented 10 months ago

I was trying to build so that I could work locally on a file for Mario Superstar Baseball, and add the ability to recognize Project Rio (the client that MSSB uses for netplay). However, I've been having issues with getting SSL to work properly. I have installed OpenSSL and attempted to install the SSL library but it's giving me lots of trouble, so I wanted to check if it was just on my end/if you know of something that might help solve that issue. Even when running it via run64 shortcut I get the error. I spent a good deal of time trying to figure out why it was giving me grief yesterday but couldn't get it figured out.

modules/ssl.lua:8: module 'ssl.core' not found: no field package.preload['ssl.core'] no 'ssl/core' in LOVE game directories. no file 'ssl/core' in LOVE paths. no file 'C:\Program Files (x86)\Lua\5.1\lua\ssl\core.luac' no file '.\ssl\core.lua' no file 'C:\Program Files\LOVE\lua\ssl\core.lua' no file 'C:\Program Files\LOVE\lua\ssl\core\init.lua' no file '.\ssl\core.lua' no file 'C:\Program Files\LOVE\lua\ssl\core.lua' no file 'C:\Program Files\LOVE\lua\ssl\core\init.lua' no file 'C:\Program Files (x86)\Lua\5.1\lua\ssl\core.luac' no file 'C:\Program Files (x86)\Lua\5.1\clibs' no file 'C:\Program Files (x86)\Lua\5.1\clibs' stack traceback: [C]: in function 'require' modules/ssl.lua:8: in main chunk [C]: in function 'require' modules/https.lua:10: in main chunk [C]: in function 'require' modules/downloader/thread.lua:1: in main chunk stack traceback: [C]: in function 'error'

    main.lua:786: in function <main.lua:774>
    [C]: in function 'xpcall'
    [string "boot.lua"]:802: in function <[string "boot.lua"]:769>

A separate issue I was running into was that after removing the SSL references, I was able to get it to run with MSSB, but then suddenly it no longer recognized when dolphin was hooked. I might have changed something but I'm not sure what I could've changed to cause it to suddenly stop (in this regard I was just curious if this was something you'd experienced before)

MORImementos commented 10 months ago

Found a (somewhat) workaround for testing by upgrading LOVE to 12.0. That came with a few side effects like messing with the colors of a couple controller skins for whatever reason, but I'm still not able to get 11.3 working due to the SSL issues.

bkacjios commented 10 months ago

https://github.com/bkacjios/m-overlay/issues/176#issuecomment-1592168387

Try this

MORImementos commented 10 months ago

No luck so far unfortunately. I put the DLL in Program Files/LOVE/ with the love.exe file but it's still not finding it. It's possible that I'm just doing something wrong since lua itself is new to me but not completely sure what. I have lua installed in Program Files (x86) from using Lua for Windows to install, so I don't know if them being in different places is contributing to that, or if I'm overlooking something else.