How to quickly enable external mods after update.

I was inspired to write this after getting frustrated with re-enabling mods I downloaded from Connect.

I happened to have VS Code already set up so I took advantage of it. If you are familiar with alternatives the same idea should work.

For the purpose of the guide I will use VS Code.

Limitation of guide is that I use a Windows system.

How to use Search and Replace feature in VS Code:

Step 1: Open the Mod Folder for Inzoi in VS Code

Step 2: In VS Code click edit tab at the top and then click replace in files

This opens a search tab.

Step 3: Enter text you want to find and also enter text you want to replace

In our case we want to make “bEnable”: false → “bEnable”: true

It should look like this:

Step 4: Click replace all button

It will prompt you with this:

Step 5: Click replace from prompt in prior step

Everything that was false is now true.

This should now allow you to play with external mods enabled without the trouble of changing a single line across multiple files.

Reference:

Setup Guide for VS Code:

Perhaps other users can contribute guide specific for other systems, since search and replace is a common feature.

4 Likes

Nice tip. Thanks!

An alternative to VS Code in this case is to use Notepad++ . Open source, also a portable version is available. It is a great replacement for notepad on Windows. And very useful in modding as it understands and color-codes syntax for most languages.

In Notepad++ use search-replace across multiple files. You can store these search-replace terms. And also set a macro. So no need to retype them every time.

1 Like

Hi! I would like to expound on Step 2, in case those who aren’t very familiar in VS Code find this part a bit confusing.

For this step, you can also:

  1. Left Click on one mod folder, hold down the Shift key and select the last mod folder to highlight every mod folder you own.

  2. Right Click and choose Find in Folder. This will automatically open the Search tab.

  3. On the first box, type in “bEnable”: false,(do not forget the comma).

  4. On the second box, type in “bEnable”: true, then click on the tiny icon just to the right of that second box to apply changes.

1 Like