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

From Melvor Idle
m (Amend incorrect version number)
(Added steps for Epic Games)
Line 1: Line 1:
For mod developers, it may be beneficial to enable DevTools within the Steam 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 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.
 
=== Enabling DevTools for Steam ===
# Download Melvor Idle on Steam, and find the installation folder. e.g. <code>[...]/steamapps/common/Melvor Idle</code>
# Download Melvor Idle on Steam, and find the installation folder. e.g. <code>[...]/steamapps/common/Melvor Idle</code>
#* 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>.
#* 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>.
Line 12: Line 12:
#* If it didn't ask you to overwrite any files then you did something wrong.
#* If it didn't ask you to overwrite any files then you did something wrong.
# Place the <code>icons</code>, <code>styles</code>, and source directories (i.e. <code>scripts</code> or <code>sources</code>) of the extracted extensions in the Melvor Idle installation folder.
# Place the <code>icons</code>, <code>styles</code>, and source directories (i.e. <code>scripts</code> or <code>sources</code>) of the extracted extensions in the Melvor Idle installation folder.
=== 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 package.nw and then package.json. Inside package.json, remove <code>--devtools-flags=disable</code> from <code>"chromium-args":</code> and save the changes.


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

Revision as of 05:04, 23 December 2023

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.

Enabling DevTools for Steam

  1. Download Melvor Idle on Steam, and find the installation folder. e.g. [...]/steamapps/common/Melvor Idle
    • Not sure where it's installed? Go to Melvor Idle in your Steam library, right click, and go to ManageBrowse local files.
  2. 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.
  3. Extract all zipped files.
  4. Place the contents of the nwjs-sdk* folder in the Melvor Idle installation folder.
    • The current contents of the nwjs-sdk-v0.71.1-win-x64 folder has 22 total items. Moving this to the Melvor Idle folder will overwrite over 100 existing files.
    • If it didn't ask you to overwrite any files then you did something wrong.
  5. Place the icons, styles, and source directories (i.e. scripts or sources) of the extracted extensions in the Melvor Idle installation folder.

Enabling DevTools for Epic

  1. Download Melvor Idle on Epic, and find the installation folder. e.g. [...]/Program Files/Epic Games/MelvorIdleXLcGb
    • 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.
  2. Open package.nw and then package.json. Inside package.json, remove --devtools-flags=disable from "chromium-args": and save the changes.