Mod Creation/Enabling DevTools for the Steam and Epic Clients: Difference between revisions

From Melvor Idle
(Remove step for manually installing Chrome extensions, no longer relevant)
(Update instruction following update to Steam client)
Line 1: Line 1:
For mod developers, it may be beneficial to enable DevTools within the Steam or Epic client. This can be achieved by following the process detailed below. This is a one off operation and does not need to be repeated, that is unless the Steam or Epic client is uninstalled or reinstalled.
For mod developers, it may be beneficial to enable DevTools within the Steam or Epic client. This can be achieved by following the process detailed below. This is a one off operation and does not need to be repeated, that is unless the Steam or Epic client is uninstalled or reinstalled, or when the game client updates.
=== Enabling DevTools for Steam ===
=== Enabling DevTools for Steam & Epic ===
# Download Melvor Idle on Steam, and find the installation folder. e.g. <code>[...]/steamapps/common/Melvor Idle</code>
<ol>
#* Not sure where it's installed? Go to Melvor Idle in your Steam library, right click, and go to <code>Manage</code> <code>Browse local files</code>.
<li>Download Melvor Idle on Steam or Epic, and find the installation folder. e.g. <code>[...]/steamapps/common/Melvor Idle</code>
# Download the NW.js SDK (Windows: v0.71.1; other OS: v0.49.2). The version might change in the future, but you need the specific one listed.
<br/>Not sure where it's installed? It is possible to locate the installation folder through the Steam & Epic clients:</li>
#* '''64bit Windows''': https://dl.nwjs.io/v0.71.1/nwjs-sdk-v0.71.1-win-x64.zip
<ul>
#* '''64bit Linux''': https://dl.nwjs.io/v0.49.2/nwjs-sdk-v0.49.2-linux-x64.tar.gz
<li>'''Steam:''' Locate Melvor Idle within your library, right click, then click <code>Properties</code> - a window should appear. Within this window, click <code>Installed Files</code> <code>Browse..</code></li>
#* '''Other''': https://dl.nwjs.io/
<li>'''Epic:''' Locate Melvor Idle within your library, right click, then click <code>Manage</code> - a window should appear. Within this window, click on the folder icon within the Installation section
# Extract all zipped files.
</ul>
# Place the '''contents''' of the <code>nwjs-sdk*</code> folder in the Melvor Idle installation folder.
<li>Open the <code>package.nw</code> folder then <code>package.json</code>. Inside <code>package.json</code>, find <code>"chromium-args":</code> and then remove <code>--devtools-flags=disable</code> and save the changes.</li>
#* The current contents of the <code>nwjs-sdk-v0.71.1-win-x64</code> folder has 22 total items. Moving this to the Melvor Idle folder will overwrite over 100 existing files.
</ol>
#* If it didn't ask you to overwrite any files then you did something wrong.
 
=== Enabling DevTools for Epic ===
# Download Melvor Idle on Epic, and find the installation folder. e.g. <code>[...]/Program Files/Epic Games/MelvorIdleXLcGb</code>
#* Not sure where it's installed? Open the Epic Launcher and navigate to the Library then right click Melvor Idle and 'Manage'. Click the folder icon in Installation.
# Open the <code>package.nw</code> folder then <code>package.json</code>. Inside <code>package.json</code>, find <code>"chromium-args":</code> and then remove <code>--devtools-flags=disable</code> and save the changes.


{{ModGuideNav}}
{{ModGuideNav}}
{{Menu}}
{{Menu}}

Revision as of 10:50, 24 January 2024

For mod developers, it may be beneficial to enable DevTools within the Steam or Epic client. This can be achieved by following the process detailed below. This is a one off operation and does not need to be repeated, that is unless the Steam or Epic client is uninstalled or reinstalled, or when the game client updates.

Enabling DevTools for Steam & Epic

  1. Download Melvor Idle on Steam or Epic, and find the installation folder. e.g. [...]/steamapps/common/Melvor Idle
    Not sure where it's installed? It is possible to locate the installation folder through the Steam & Epic clients:
    • Steam: Locate Melvor Idle within your library, right click, then click Properties - a window should appear. Within this window, click Installed FilesBrowse..
    • Epic: Locate Melvor Idle within your library, right click, then click Manage - a window should appear. Within this window, click on the folder icon within the Installation section
  2. Open the package.nw folder then package.json. Inside package.json, find "chromium-args": and then remove --devtools-flags=disable and save the changes.