In depth guide for installing Random Encounter Reworked

Please keep in mind we're in the process of updating the documentation for the next-gen version. While everything is rewritten, documentation for the older versions isn't archived yet. If you are using the 1.32 and wish to install RER then it is recommended to wait a few days until the old documents are published again.


Installing the mod and its dependencies

Downloading the mod and its dependencies

You can use this direct link to download the latest full release archive from Github. Alternatively the mod is currently hosted on GitHub, and its releases are shared under the releases tab. You can find the zip archive with the mod and all of its dependencies under the "assets" categories of the releases.

Installing the mod and its dependencies

Navigate in the release archive until you find three folders: bin, dlc, mods; drop the folders in your game's root directory to merge them with the existing folders. When/if prompted to replace files, deny all requests to ensure you do not override any of your existing mods.

Updating the menu filelists for next-gen

Two ways to do it:
  • The quick and easy way by using the menu filelist updater, from Github or Nexusmods
  • Manually, by adding modRandomEncountersReworked.xml to the two filelists.txt files

Merging instructions

Merging instructions for known conflicts

Merge everything. In case of a conflict between a sharedutils mod and a mod of yours, always pick at least the sharedutils AND the other mod. The order you pick however may be important so be careful on that. Sharedutils code never overrides vanilla features so you can be sure that by picking your other mod and sharedutils the other mod will continue working as intended.


Known hard to solve conflicts:

Enhanced Edition
The list below includes all of the conflicts you may get on a fresh EE + RER install with no other mod. For each file it will list the conflicting mods and will indicate whether or not you should include the mods during the merging process. A mod you should include is represented with a checked box and a mod you should not include is represented with an unchecked/empty box.
It is very important you follow the list for the files that do not include all of the conflicting mods. For example the component.ws one. Or else the game will not compile.

Conflicts & files to merge/ignore

  • engine\component.ws
    • mod_sharedutils_npcInteraction
    • modSharedImports
    • modW3EE
  • engine\environment.ws (DO NOT MERGE)
    • modSharedImports
    • modW3EE
  • engine\persistentEntity.ws
    • mod_sharedutils_npcInteraction
    • modW3EE
  • game\gameplay\damage\damageManagerProcessor.ws
    • mod_sharedutils_damagemodifiers
    • modW3EE
  • game\gui\hud\modules\hudModuleBossFocus.ws (DO NOT MERGE)
    • mod_sharedutils_custombossbar
    • modW3EE
  • game\gui\hud\modules\hudModuleDialog.ws
    • mod_sharedutils_dialogChoices
    • modW3EE
  • game\gui\hud\modules\hudModuleMinimap2.ws
    • mod_sharedutils_mappins
    • modW3EE
  • game\gui\menu\mapMenu.ws
    • mod_sharedutils_mappins
    • modW3EE
  • game\npc\npc.ws
    • mod_sharedutils_damagemodifiers
    • modW3EE

Adding the keyboard keybinds

What each keybind does and how to add them to your game

Keybind - Trigger an encounter

What is its role?

When you press the key an encounter will be created by RER after a 5 seconds delay.

How to add it?

  1. Go to Documents/The Witcher 3 and open input.settings with a text editor
  2. Search for [Exploration] and add a line below it with IK_0=(Action=RandomEncounter)
  3. You can replace the 0 in IK_0 by the key you want, here it means the 0 of your keyboard

Keybind - Reload the settings

What is its role?

When you change the settings you usually have to load a save for them to be applied. This keybind solves this by forcing a settings refresh without the need to load a save.

How to add it?

  1. Go to Documents/The Witcher 3 and open input.settings with a text editor
  2. Search for [Exploration] and add a line below it with IK_0=(Action=OnRefreshSettings)
  3. You can replace the 0 in IK_0 by the key you want, here it means the 0 of your keyboard

Keybind - Toggle Random Encounters Reworked

What is its role?

Sometimes you want to stop RER from doing its job, you can go into the mod menu and set the Enabled toggle to OFF. This keybind can be used to toggle it without going to the mod menu

How to add it?

  1. Go to Documents/The Witcher 3 and open input.settings with a text editor
  2. Search for [Exploration] and add a line below it with IK_0=(Action=OnRER_enabledToggle)
  3. You can replace the 0 in IK_0 by the key you want, here it means the 0 of your keyboard

Keybind - Analyse surrounding ecosystem

What is its role?

Geralt can analyse the surrounding ecosystem to get information about the creatures that live here and also offers advice on how to change the ecosystem.

How to add it?

  1. Go to Documents/The Witcher 3 and open input.settings with a text editor
  2. Search for [Exploration] and add a line below it with IK_C=(Action=EcosystemAnalyse,State=Duration,IdleTime=0.4)
  3. You can replace the C in IK_C by the key you want, here it means the C of your keyboard
  4. Note that you need to press the key for 0.4s for it to trigger.

Uninstalling Random Encounters Reworked

Before removing RER
Run the commands:
  • rercompletecontract
  • rerabandonbounty
  • reruninstall
Then save your game
Removing RER files
Removing community patches and shared dependencies
The following mods are shared dependencies. RER uses them but other could also need them, which means you may still need them after uninstalling RER.

Boostrap

It is sometimes needed by lightning mods, or other mods that need to always run in the background. Remove it if you're sure it is not needed anymore.
  • In your Mods folder:
    • Remove mobBootstrap
    • Remove modBootstrap-registry
  • In your DLC folder:
    • Remove dlcBootstrap

Community Patch - Base

This patch is often needed by big overhauls like Ghost Mode.
  • In your Mods folder:
    • Remove mod0000___CompilationTrigger if you have any (RER's installer doesn't add it)
Then head to the Community Patch - Base's files tab, in the optional section get the vanilla scripts that correspond to your version. Refer to the "Uninstallation" section of this mod to understand how to restore the vanilla scripts.

Once all this is done, you can finally remerge your scripts.