gocha / snes9x-rr

Snes9x - Portable Super Nintendo Entertainment System (TM) emulator
http://www.snes9x.com
Other
62 stars 15 forks source link

error loading module 'socket.core' from ... on x64 build #9

Closed CaitSith2 closed 4 years ago

CaitSith2 commented 4 years ago

Whenever I try to run the x64 build, with lua scripts that use local socket = require("socket"), the error error loading module 'socket.core' from file '[path to snes9x x64]\socket\core.dll': %1 is not a valid Win32 application. comes up. I have to explicitly use the x32 version to work around this issue, but I would much rather use the x64 version.

Mainly looking to use this with multibridge / emotracker, as I run multiworld randomizers

gocha commented 4 years ago

I'm not sure if that's the issue of snes9x-rr or rather the one of socket module. Where did you get the x64 version of socket module?

gocha commented 4 years ago

I guess the problem can be solved if you replace your socket/core.dll to x64 binary.

CaitSith2 commented 4 years ago

Actually yeah, finding a 64bit build of socket/core.dll resolved the issue.

TheTommynator commented 3 years ago

I'm having the same issue. But where do I find a working 64bit build of socket/core.dll and where is the folder where I have to put it?