audinowho / PMDODump

All content generation for PMDO. BEWARE SPOILERS.
MIT License
64 stars 13 forks source link

Properly rename core_osx.so to core.so for mac builds #405

Closed issuebotaudinowho[bot] closed 10 months ago

issuebotaudinowho[bot] commented 11 months ago

Discord: traio#0 <@467050112787677184>

Bug Report:

upon booting up PMDO on Mac, it uses core.so instead of core_osx.so for debugging

audinowho commented 11 months ago

This also happens with x86 debugging since there's a conflict with core_x86.dll as well.

Possible fixes:

Current lua search path (windows):

NLua.Exceptions.LuaScriptException
  HResult=0x80131500
  Message=...\PMDODump\DumpAsset\Data/Script/lib/socket.lua:12: module 'socket.core' not found:
    no field package.preload['socket.core']
    no file '~\PMDODump\PMDC\PMDC\bin\x64\Debug\net6.0\lua\socket\core.lua'
    no file '~\PMDODump\PMDC\PMDC\bin\x64\Debug\net6.0\lua\socket\core\init.lua'
    no file '~\PMDODump\PMDC\PMDC\bin\x64\Debug\net6.0\socket\core.lua'
    no file '~\PMDODump\PMDC\PMDC\bin\x64\Debug\net6.0\socket\core\init.lua'
    no file '~\PMDODump\PMDC\PMDC\bin\x64\Debug\net6.0\..\share\lua\5.4\socket\core.lua'
    no file '~\PMDODump\PMDC\PMDC\bin\x64\Debug\net6.0\..\share\lua\5.4\socket\core\init.lua'
    no file '.\socket\core.lua'
    no file '.\socket\core\init.lua'
    no file '~\PMDODump\DumpAsset\Data/Script/lib/socket\core.lua'
    no file '~\PMDODump\DumpAsset\Data/Script/socket\core.lua'
    no file '~\PMDODump\DumpAsset\Data/Script/socket\core/init.lua'
    no file '~\PMDODump\PMDC\PMDC\bin\x64\Debug\net6.0\socket\core.dll'
    no file '~\PMDODump\PMDC\PMDC\bin\x64\Debug\net6.0\..\lib\lua\5.4\socket\core.dll'
    no file '~\PMDODump\PMDC\PMDC\bin\x64\Debug\net6.0\loadall.dll'
    no file '.\socket\core.dll'
    no file '~\PMDODump\DumpAsset\Data\Script\bin\socket\core.dll'
    no file '~\PMDODump\PMDC\PMDC\bin\x64\Debug\net6.0\socket.dll'
    no file '~\PMDODump\PMDC\PMDC\bin\x64\Debug\net6.0\..\lib\lua\5.4\socket.dll'
    no file '~\PMDODump\PMDC\PMDC\bin\x64\Debug\net6.0\loadall.dll'
    no file '.\socket.dll'
    no file '~\PMDODump\DumpAsset\Data\Script\bin\socket.dll'
  Source=
  StackTrace:
   at NLua.Lua.ThrowExceptionFromError(Int32 oldTop) in ~\PMDODump\PMDC\RogueEssence\NLua\src\Lua.cs:line 367
audinowho commented 10 months ago

https://github.com/RogueCollab/RogueEssence/commit/489b3ca2338ce124d52647d0f4f19a29b15375ac