Post subject: FCEUX not finding lua51.dll in .exe directory.
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
So I wanted to try my hand at doing a hitbox viewer when taking breaks from other coding. I ran into a little problem and I cannot seem to solve it. When I want to run a LUA script I keep getting an error telling me lua51.dll wasn't found, and that I shall update the PATH variable or put the DLL in the .exe folder. The DLL is untouched since I unpacked fceux, so it still resides in the same directory as the .exe. I also set the base directory in the config thinking that could help, nothing changed. Searching the forums, help file or google didn't help me. FCEUX 2.2.2. Windows XP Professional 64 SP2 Anyone has an idea?
WST
She/Her
Active player (489)
Joined: 10/6/2011
Posts: 1697
Location: RU · ID · AM
An idea: trying to use a 32 bit library within a 64 bit executable?
S3&A [Amy amy%] improvement (with Evil_3D & kaan55) — currently in SPZ2 my TAS channel · If I ever come into your dream, I’ll be riding an eggship :)
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
I downloaded "fceux-2.2.2-win32.zip" from the website, I didn't build it myself. But just to be sure I forced the exe and dlls into 32bit mode. No change. Thanks for the idea though!
Editor, Skilled player (1202)
Joined: 9/27/2008
Posts: 1085
Try removing fceux.cfg (preferably to somewhere you can find it again) and running FCEUX. That's the only idea I have. If you were using an older version and copied the .cfg over or unpacked FCEUX 2.2.2 right over the old version, it feels like doing that can cause unexpected errors. Or unpack the zip again in a clean folder and go straight to trying a lua script. Maybe load a ROM if you need to, but basically mess with absolutely nothing else. Aside from that, I've got nothing, and someone else will have to chime in.
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
I just tried a fresh unzip to a brand new folder, and the first thing I tried to do was to run "BoulderDash_AmoebaAI.lua" from the luaScripts folder. Tried both without ROM loaded, and with ROM loaded. Didn't work, same error. Appreciate the idea.
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
So I got a suggestion after talking to a friend on MSN, and he asked me if I could try another DLL. So I borrowed the DLL from PSXjin and that seems to work fine so far. That I didn't think of this myself... Issue solved, thanks for the ideas everyone! ... even if they didn't work.