ckosmic / g64

Garry's Mod addon that uses libsm64 to put Mario in the game
112 stars 7 forks source link

Addon does not work at all and I keep on getting errors. #109

Closed Plu1223 closed 6 months ago

Plu1223 commented 7 months ago

I recently moved computers, and I wanted to get G64 running again, and I have everything required, the z64 file, I'm on the chromium branch. But for some reason, the addon does not work at all and I get this error message when the loading says "Ready to play!"

[g64-master] addons/g64-master/lua/autorun/g64_init.lua:358: Couldn't load module library! (The specified module could not be found.)

  1. require - [C]:-1
    1. InitializeWorld - addons/g64-master/lua/autorun/g64_init.lua:358
      1. v - addons/g64-master/lua/autorun/g64_init.lua:457
        1. unknown - lua/includes/modules/hook.lua:96

As for clicking "Browse" in the G64 option menu I get

[G64] lua/autorun/client/g64_spawnmenu.lua:31: attempt to index global 'libsm64' (a nil value)

  1. DoClick - lua/autorun/client/g64_spawnmenu.lua:31
  2. unknown - lua/vgui/dlabel.lua:237

I also tried typing out my z64 file directory, and that doesn't work neither. I've verified my Garry's Mod files, reinstalled Garry's Mod, and nothing worked.

Plu1223 commented 6 months ago

So update, I actually needed some files from "Microsoft Visual C++ 2010 Redistributable" or whatever that is. You can find a fix when you search up "MSVCR100 dll" or something similar, as that is what I used to find it.