Error with mods

Post Reply
PleaseHelpah
Member
Posts: 17
Joined: Mon Apr 13, 2020 08:25
IRC: Dunno
In-game: Dunno

Error with mods

by PleaseHelpah » Post

Been trying to get mods to work on Linux, never seems to... Is it retarded or???

When using a windows server and the gui I can get mods to load just fine...
On debian linux with a run in place installation aka /home/whatever-user/minetest/mods I extract say a weather mod like so: I obviously wget https://github.com/Jeija/minetest-mod-w ... ter.tar.gz && tar -zxvf mine* so it puts master.tar.gz into the mods folder, I then rename the folder inside mods from minetest_mod_weather-master to minetest_mod_weather and shabang, just never works or loads, says could not be found...

What could be the issue? Does it just not work on linux anymore?

Or is it just looking in the wrong place and how would I check? Thanks!

viewtopic.php?t=5245

2020-05-21 11:25:27: ERROR[Main]: The following mods could not be found: "animals" "minetest_mod_weather"
Last edited by PleaseHelpah on Thu May 21, 2020 11:38, edited 1 time in total.

PleaseHelpah
Member
Posts: 17
Joined: Mon Apr 13, 2020 08:25
IRC: Dunno
In-game: Dunno

Re: Error with mods

by PleaseHelpah » Post

sec@localhost:~/minetest/mods$ ls
master.tar.gz minetest_mod_weather
sec@localhost:~/minetest/mods$ pwd
/home/sec/minetest/mods
sec@localhost:~/minetest/mods$

PleaseHelpah
Member
Posts: 17
Joined: Mon Apr 13, 2020 08:25
IRC: Dunno
In-game: Dunno

Re: Error with mods

by PleaseHelpah » Post

Clearly it is in the right folder, and I've added in
load_mod_minetest_mod_weather = true
Inside world.mt
But no deal? What's wrong ?

PleaseHelpah
Member
Posts: 17
Joined: Mon Apr 13, 2020 08:25
IRC: Dunno
In-game: Dunno

Re: Error with mods

by PleaseHelpah » Post

Dependencies: none

PleaseHelpah
Member
Posts: 17
Joined: Mon Apr 13, 2020 08:25
IRC: Dunno
In-game: Dunno

Re: Error with mods

by PleaseHelpah » Post

I've tried to rename the mod to simply weather and made sure no folder inside weather has another folder called weather....

Minetest does not complain about anything failing to load...

However inside world.mt as soon as I set load_mod_weather = true
I save and exit and reboot minetest only to find it has changed to load_mod_weather = false

PleaseHelpah
Member
Posts: 17
Joined: Mon Apr 13, 2020 08:25
IRC: Dunno
In-game: Dunno

Re: Error with mods

by PleaseHelpah » Post

init.lua = modpath=minetest.get_modpath("weather"),

So I assume it is looking for a folder inside mods called weather

User avatar
FreeGamers
Member
Posts: 650
Joined: Sat May 25, 2019 00:15
GitHub: is proprietary I use NotABug
Location: United States
Contact:

Re: Error with mods

by FreeGamers » Post

what is the mod name in the init.lua for the mod?

Name your mod folder to that.
FreeGamers.org has moved to MeseCraft.net | FreeGamers on this forum is now MeseCraft

User avatar
FreeGamers
Member
Posts: 650
Joined: Sat May 25, 2019 00:15
GitHub: is proprietary I use NotABug
Location: United States
Contact:

Re: Error with mods

by FreeGamers » Post

in 5.2 and maybe 5.1.1 there is a default mod called "weather" too. You might have to deal with a possible conflict or workaround.

However, farming_redo works on top of the default farming mod. You just install it and it overrides it. Same with a boats mod i've been using.
FreeGamers.org has moved to MeseCraft.net | FreeGamers on this forum is now MeseCraft

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: Error with mods

by Krock » Post

Start: http://irc.minetest.net/minetest/2020-05-21#i_5689623
Solved: http://irc.minetest.net/minetest/2020-05-21#i_5690639

Conclusion: Ensure correct directory structure, CLI arguments and install mods properly.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

PleaseHelpah
Member
Posts: 17
Joined: Mon Apr 13, 2020 08:25
IRC: Dunno
In-game: Dunno

Re: Error with mods

by PleaseHelpah » Post

All solved... Thanks Krock and all!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests