Lua script can't find files on new Windows 10 device











up vote
0
down vote

favorite












I've been trying to set up a co-op emulator experience with some friends (emu-coop and bizhawk-co-op are two different ones that both exhibit the same symptoms). On my old computer, the download and run worked just fine. However, I built a new computer and moved from Windows 7 to Windows 10 (not sure if this is relevant).



Now, when I try to run the scripts that use Lua, I get exceptions saying it can't find my modules:



NLua.Exceptions.LuaScriptException: [string "main"]:35: module 'bizhawk-co-opsync' not found:
no field package.preload['bizhawk-co-opsync']
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coop'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopmodes'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1cooppl'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopsocket'
no file '.bizhawk-co-opsync.dll'
no file 'C:UsersKevinDesktopBizHawk-2.3bizhawk-co-opsync.dll'
no file 'C:UsersKevinDesktopBizHawk-2.3loadall.dll'


The sync.lua files seem to exist, but it seems to specifically be looking for a DLL file instead. I've exhausted internet searches and can't seem to find any similar issues.



Worth noting I'm having the same issue with a standalone Lua installation that I just built:



C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1>lua coopcoop.lua
lua: coopcoop.lua:1: module 'pl.class' not found:
no field package.preload['pl.class']
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coop'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopmodes'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1cooppl'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopsocket'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinplclass.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabin..liblua5.3plclass.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinloadall.dll'
no file '.plclass.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinpl.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabin..liblua5.3pl.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinloadall.dll'
no file '.pl.dll'
stack traceback:
[C]: in function 'require'
coopcoop.lua:1: in main chunk
[C]: in ?









share|improve this question
























  • Did you install the software or simply transfer the folder to the new machine?
    – Ramhound
    Dec 2 at 2:53










  • I originally transferred, but there isn't a direct installer for it anyway. I also re-downloaded it fresh from the website and that didn't work either. I also (as you maybe can tell) added a lot of places to the lua path and path variables hoping it might pick it up, but it didn't.
    – DivineWolfwood
    Dec 2 at 5:10















up vote
0
down vote

favorite












I've been trying to set up a co-op emulator experience with some friends (emu-coop and bizhawk-co-op are two different ones that both exhibit the same symptoms). On my old computer, the download and run worked just fine. However, I built a new computer and moved from Windows 7 to Windows 10 (not sure if this is relevant).



Now, when I try to run the scripts that use Lua, I get exceptions saying it can't find my modules:



NLua.Exceptions.LuaScriptException: [string "main"]:35: module 'bizhawk-co-opsync' not found:
no field package.preload['bizhawk-co-opsync']
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coop'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopmodes'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1cooppl'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopsocket'
no file '.bizhawk-co-opsync.dll'
no file 'C:UsersKevinDesktopBizHawk-2.3bizhawk-co-opsync.dll'
no file 'C:UsersKevinDesktopBizHawk-2.3loadall.dll'


The sync.lua files seem to exist, but it seems to specifically be looking for a DLL file instead. I've exhausted internet searches and can't seem to find any similar issues.



Worth noting I'm having the same issue with a standalone Lua installation that I just built:



C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1>lua coopcoop.lua
lua: coopcoop.lua:1: module 'pl.class' not found:
no field package.preload['pl.class']
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coop'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopmodes'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1cooppl'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopsocket'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinplclass.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabin..liblua5.3plclass.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinloadall.dll'
no file '.plclass.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinpl.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabin..liblua5.3pl.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinloadall.dll'
no file '.pl.dll'
stack traceback:
[C]: in function 'require'
coopcoop.lua:1: in main chunk
[C]: in ?









share|improve this question
























  • Did you install the software or simply transfer the folder to the new machine?
    – Ramhound
    Dec 2 at 2:53










  • I originally transferred, but there isn't a direct installer for it anyway. I also re-downloaded it fresh from the website and that didn't work either. I also (as you maybe can tell) added a lot of places to the lua path and path variables hoping it might pick it up, but it didn't.
    – DivineWolfwood
    Dec 2 at 5:10













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I've been trying to set up a co-op emulator experience with some friends (emu-coop and bizhawk-co-op are two different ones that both exhibit the same symptoms). On my old computer, the download and run worked just fine. However, I built a new computer and moved from Windows 7 to Windows 10 (not sure if this is relevant).



Now, when I try to run the scripts that use Lua, I get exceptions saying it can't find my modules:



NLua.Exceptions.LuaScriptException: [string "main"]:35: module 'bizhawk-co-opsync' not found:
no field package.preload['bizhawk-co-opsync']
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coop'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopmodes'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1cooppl'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopsocket'
no file '.bizhawk-co-opsync.dll'
no file 'C:UsersKevinDesktopBizHawk-2.3bizhawk-co-opsync.dll'
no file 'C:UsersKevinDesktopBizHawk-2.3loadall.dll'


The sync.lua files seem to exist, but it seems to specifically be looking for a DLL file instead. I've exhausted internet searches and can't seem to find any similar issues.



Worth noting I'm having the same issue with a standalone Lua installation that I just built:



C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1>lua coopcoop.lua
lua: coopcoop.lua:1: module 'pl.class' not found:
no field package.preload['pl.class']
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coop'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopmodes'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1cooppl'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopsocket'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinplclass.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabin..liblua5.3plclass.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinloadall.dll'
no file '.plclass.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinpl.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabin..liblua5.3pl.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinloadall.dll'
no file '.pl.dll'
stack traceback:
[C]: in function 'require'
coopcoop.lua:1: in main chunk
[C]: in ?









share|improve this question















I've been trying to set up a co-op emulator experience with some friends (emu-coop and bizhawk-co-op are two different ones that both exhibit the same symptoms). On my old computer, the download and run worked just fine. However, I built a new computer and moved from Windows 7 to Windows 10 (not sure if this is relevant).



Now, when I try to run the scripts that use Lua, I get exceptions saying it can't find my modules:



NLua.Exceptions.LuaScriptException: [string "main"]:35: module 'bizhawk-co-opsync' not found:
no field package.preload['bizhawk-co-opsync']
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coop'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopmodes'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1cooppl'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopsocket'
no file '.bizhawk-co-opsync.dll'
no file 'C:UsersKevinDesktopBizHawk-2.3bizhawk-co-opsync.dll'
no file 'C:UsersKevinDesktopBizHawk-2.3loadall.dll'


The sync.lua files seem to exist, but it seems to specifically be looking for a DLL file instead. I've exhausted internet searches and can't seem to find any similar issues.



Worth noting I'm having the same issue with a standalone Lua installation that I just built:



C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1>lua coopcoop.lua
lua: coopcoop.lua:1: module 'pl.class' not found:
no field package.preload['pl.class']
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coop'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopmodes'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1cooppl'
no file 'C:UsersKevinDesktopRandomizer StuffSnes 9x COOPcoop-full-1key14-1coopsocket'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinplclass.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabin..liblua5.3plclass.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinloadall.dll'
no file '.plclass.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinpl.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabin..liblua5.3pl.dll'
no file 'C:UsersKevinDesktoplua-5.3.5.tarluabinloadall.dll'
no file '.pl.dll'
stack traceback:
[C]: in function 'require'
coopcoop.lua:1: in main chunk
[C]: in ?






windows-10 lua






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 1 at 23:51









Worthwelle

2,2993924




2,2993924










asked Dec 1 at 22:48









DivineWolfwood

1013




1013












  • Did you install the software or simply transfer the folder to the new machine?
    – Ramhound
    Dec 2 at 2:53










  • I originally transferred, but there isn't a direct installer for it anyway. I also re-downloaded it fresh from the website and that didn't work either. I also (as you maybe can tell) added a lot of places to the lua path and path variables hoping it might pick it up, but it didn't.
    – DivineWolfwood
    Dec 2 at 5:10


















  • Did you install the software or simply transfer the folder to the new machine?
    – Ramhound
    Dec 2 at 2:53










  • I originally transferred, but there isn't a direct installer for it anyway. I also re-downloaded it fresh from the website and that didn't work either. I also (as you maybe can tell) added a lot of places to the lua path and path variables hoping it might pick it up, but it didn't.
    – DivineWolfwood
    Dec 2 at 5:10
















Did you install the software or simply transfer the folder to the new machine?
– Ramhound
Dec 2 at 2:53




Did you install the software or simply transfer the folder to the new machine?
– Ramhound
Dec 2 at 2:53












I originally transferred, but there isn't a direct installer for it anyway. I also re-downloaded it fresh from the website and that didn't work either. I also (as you maybe can tell) added a lot of places to the lua path and path variables hoping it might pick it up, but it didn't.
– DivineWolfwood
Dec 2 at 5:10




I originally transferred, but there isn't a direct installer for it anyway. I also re-downloaded it fresh from the website and that didn't work either. I also (as you maybe can tell) added a lot of places to the lua path and path variables hoping it might pick it up, but it didn't.
– DivineWolfwood
Dec 2 at 5:10










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










Apparently this is a really terrible way of showing that your PATH is messed up. In particular, having an environment variable called LUA_PATH seemed to override something it was trying to do. Yikes.






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1380059%2flua-script-cant-find-files-on-new-windows-10-device%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote



    accepted










    Apparently this is a really terrible way of showing that your PATH is messed up. In particular, having an environment variable called LUA_PATH seemed to override something it was trying to do. Yikes.






    share|improve this answer

























      up vote
      0
      down vote



      accepted










      Apparently this is a really terrible way of showing that your PATH is messed up. In particular, having an environment variable called LUA_PATH seemed to override something it was trying to do. Yikes.






      share|improve this answer























        up vote
        0
        down vote



        accepted







        up vote
        0
        down vote



        accepted






        Apparently this is a really terrible way of showing that your PATH is messed up. In particular, having an environment variable called LUA_PATH seemed to override something it was trying to do. Yikes.






        share|improve this answer












        Apparently this is a really terrible way of showing that your PATH is messed up. In particular, having an environment variable called LUA_PATH seemed to override something it was trying to do. Yikes.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 4 at 6:46









        DivineWolfwood

        1013




        1013






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1380059%2flua-script-cant-find-files-on-new-windows-10-device%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

            Alcedinidae

            Origin of the phrase “under your belt”?