#Simple way to make mods compatible with the development branch?

1 messages · Page 1 of 1 (latest)

potent crane
#

There a simple way to make mods compatible with the current development branch at all? Such as changing the waywardVersion to the current version? Or something similiar? I know some games, modding compatibility between different versions, just by changing the "version" of the mod can make it work. Is there anything similar to this at all? Or a way to make the mod compatible with the current version of the game?

severe niche
#

Sorry, not on my PC but under the modding guide it explains how you can run the update command from console.

#

(If you're making a new mod or have access to its source files)

potent crane
#

Hmm, I found what you mean, but it would seem that it doesn't work on any of the workshop mods. Nor TARS. Can't update any of the mods to the nightly build.

severe niche
#

Oh I see! Lookup the GitHub for each of those, they have development branches for each! You can download those and run them on the dev branch.

#

Not back to my PC but googling "Wayward GitHub" usually brings it up if you don't have it bookmarked.

lapis shale
#

There’s a branch dropdown on the GitHub pages for each. It’ll either say master or main by default (I don’t remember which) and you can click on it to switch it to “development”, and then download them as zip with the green button (I think it says “code” for some reason)

#

Once you’ve downloaded it unzip it and put the mod folder in your wayward/mods folder

#

Should show up under local mods

potent crane
#

Thanks for the info you two!

potent crane
#

A little confused now. I found the development branch, downloaded and tried to load. Says the mod is incompatible with current version.

Ok, so I do the update wayward +mod update . , but then I get the error: “error loading mod”

Not sure what to do from here. I’m on the nightly branch.

#

Oh and I’m on Linux

potent crane
#

Welp I found the issue: I didn’t download the mod from the green button. I did the git clone… somehow doing it that way breaks it? Not sure. 🤔

#

Oh wait, the git clone was most likely downloading the master not development one.

#

Geez I keep speaking too soon lol, while the above worked, it only worked for TARS. All other mods error out and I guess not compatible with the nightly build.

severe niche
#

Id keep checking - I'm able to get debug tools and the others working fine off the current GitHub development branches for each.

potent crane
#

Well debug tools does work as well... but the others: Argus, Odd Magicks, Troposphere do not work, just state: "Error loading Mod."

lapis shale
#

odd

#

it's still been getting updated, idk

#

When you hover over the mod, what version does it say it is in the tooltip?

#

For each of them

#

oh nvm that doesn't get updated

#

I think I'd have to see your log to know what's happening

#

If you have multiple versions of the mod installed sometimes that can happen?

#

Idk what else it could be

potent crane
#

I’ll look into it again after work tomorrow. Try a few things, and give some logs.

potent crane
#

Sorry it took so long to get back. Recently started doing another playthrough. Same issues and all. If it matters, this time it

#

it

#

it's on the Steam Deck

#

I did the update feature, to no avail. Even just did a clean download from the developer branches on github, still get the error: "Error loading mod"

potent crane
#

Seems the "out" folder from the master branch is missing from the development branch.

#

If I copy the "out" folder from the master, I get this error now:

[2024-11-07T01:39:44.284Z] [Mod] [Odd Magicks] [DEBUG] Setup with state Error
[2024-11-07T01:39:44.285Z] [Mod] [TARS] [WARN] Unable to initialize mod. Could not initialize /home/deck/.local/share/Steam/steamapps/common/Wayward/mods/tars-master. Error: Script error for "mod/Mod", needed by: /home/deck/.local/share/Steam/steamapps/common/Wayward/mods/oddmagicks-development/out/OddMagicks, /home/deck/.local/share/Steam/steamapps/common/Wayward/mods/tars-master/out/TarsMod
http://requirejs.org/docs/errors.html#scripterror
#

Which I assume is because the

#

"out" folder is the actual contents of the mod, of which are not updated since the development branch does not come with that folder.

lapis shale
#

You want to download the main zip file and that will include the out folder

#

If you want to create the out folder yourself from the source code you need to build it in vscode

potent crane
#

Geez, that was the issue. While I do look at release, usually if I don’t see a date/number corresponding on the release while looking at the main Page for the GitHub, I just assume I have to download the zip from the code button. Which, most of the time works, but in this case, that does not work.