How to use Scripts, Extensions and Commands

Disclaimer

The following guide worked for my Windows machine and should hopefully work for you but I CANNOT guarantee that they will.

I recommend that you Google.[www.google.com]

Create a back up of your save each time you try a new script

Make sure you completely understand the instructions before continuing.

Back up your game. IT IS NOT MY FAULT IF YOU BREAK IT.

Gathering And Setting Up Required Files.

Open your Melvor installation folder.

Download the appropriate NW.js SDK, the current version you want is 0.54.0, it is possible this may change with future updates.

- https://dl.nwjs.io/v0.54.0/

Place the contents of the nwjs-sdk directory into the installation folder

Download the mods you wish. I'll help you install Combat Sim, and SEMI. Others you will have to configure on your own.

(Scripting Engine For Melvor Idle) SEMI-main.zip Download[gitlab.com]

(Melvor Idle Combat Simulator) MICS master.zip Download[github.com] Create a folder within your installation directory called Mods

Within that folder create folder called MICS-Steam, and a folder called SEMI-Steam.

Place the icons, styles, and scripts folders from the SEMI-main.zip into the SEMI-Steam folder you created.

Place the icons, styles and scripts folders from the Extensions folder within the master.zip into the MICS-Steam folder you created.

Editing SEMI And MICS To Load Through Our Folders.

As the title say you're going to have to edit the main extension scripts which are files called contentScript.js for MICS and SEMI.js for SEMI; this will allow all the required files to be loaded.

MICS's contentScript.js is located under Melvor-Idle-Combat-Simulator-Reloaded/Extension/sources/

SEMI's SEMI.js is located under SEMI/scripts

Replace these with the appropriate paths:

MICS:

icons/ -> Mods/MICS-steam/icons/

(Line 30)

sources/ -> Mods/MICS-steam/sources/

(Lines 31, 52) SEMI:

icons/ -> Mods/SEMI-steam/icons/

(Line 161)

scripts/ -> Mods/SEMI-steam/scripts/

(Lines 73, 78, 163, 164)

Using The Console And Launching Extensions.

Start the game and select your character. I am not sure if you're able to bypass the 12 hour limit by having the option enabled and loading it while the "While you were gone" screen is open. I haven't tried yet.

Press F12 to open the console.

Change the context of the console from Top to game (steam.melvoridle.com); It is located in the at the top left of the bottom panel. There is a drop down box.

You can now enable extensions and use the console. Using the following code[pastebin.com] you can enable the extensions we added earlier. Sorry for the link... Steam wouldn't let me use the code formatting and to properly post the code.

You have to do this every time you start the game.

Extra - Launch SEMI On Start.

Thank you to Snow for finding out how to do this.

To have SEMI start on launch you'll have to edit a single file.

Open the main directory of Melvor Idle

Find the file named package.json

At the end of the code but before the } add ,"inject_js_end":"./Mods/SEMI-Steam/scripts/SEMI.js" and save the file.

SEMI should now load when you pick your save.

The only issue is that your hidden options will be visible but darkened and the options won't be able to hidden. Nothing is broken though.

Recommended - Using M3

Below is a link to a guide and tool created by Buttchouda. Its a much better way to get mods running on Melvor.

https://steamcommunity.com/sharedfiles/filedetails/?id=2582553468

Source: https://steamcommunity.com/sharedfiles/filedetails/?id=2309908125					

More Melvor Idle guilds