Skip to content
 
 

Repository files navigation

LootLens (REPO-Scanner)

A BepInEx mod for R.E.P.O. that highlights nearby objects — valuables, enemies, items, cosmetics, and more — with coloured bounding boxes so you never miss loot.

Features

  • Continuous FOV scan (every 250 ms) — no button to press
  • Per-category enable/disable: Valuables, Enemies, Player Heads, Items, Cosmetics, Carts/Vehicles, Custom
  • Per-category radius overrides on top of the global scan radius
  • Multiplayer reveal: scanned undiscovered valuables are synced to other players' minimaps via RPC
  • Configurable box fill opacity
  • Optional integration with CustomDiscoverStateLib for custom box colours

Requirements

Dependency Version
BepInEx 5.4.21
R.E.P.O. (game) 4.0.2
CustomDiscoverStateLib (optional) any

Installation

  1. Install BepInEx 5 for R.E.P.O.
  2. Drop LootLens.dll into BepInEx/plugins/.
  3. (Optional) Install CustomDiscoverStateLib for coloured category boxes.
  4. Launch the game — a config file is generated at BepInEx/config/LootLens.cfg.

Configuration

Section Key Default Description
General Scan Radius 10 Detection radius in metres
General Multiplayer Reveal true Sync reveals to other players
Object Types Valuables true Highlight valuable objects
Object Types Only Discovered Valuables false Skip undiscovered valuables
Object Types Enemies true Highlight enemies
Object Types Player Heads true Highlight dead player heads
Object Types Items true Highlight equippable items
Object Types Cosmetics true Highlight cosmetic objects
Object Types Carts and Vehicles false Highlight carts/vehicles
Object Types Custom true Highlight custom discover objects
Radius Overrides Valuables … Custom 0 Per-category radius (0 = use global)
Display Box Fill Opacity 0.15 Fill alpha (0 = invisible, 1 = solid)

Building from Source

Prerequisites

  • .NET SDK (any version supporting netstandard2.1)
  • R.E.P.O. installed via Steam
  • BepInEx 5 installed in the game directory

HintPath setup

The .csproj references game and mod DLLs via <HintPath>. Update the paths in REPO-Scanner.csproj to match your installation:

Variable Default path in file What to point to
Game DLLs D:\Steam\steamapps\common\REPO\REPO_Data\Managed\ Your REPO game Managed folder
Assembly-CSharp ...\ref\Assembly-CSharp-publicized.dll Publicized assembly (use AssemblyPublicizer)
MenuLib ...\BepInEx\plugins\nickklmao-MenuLib\MenuLib.dll MenuLib plugin DLL
REPOConfig ...\BepInEx\plugins\nickklmao-REPOConfig\REPOConfig.dll REPOConfig plugin DLL
CustomDiscoverStateLib ...\CustomDiscoverStateLib\bin\Debug\netstandard2.1\ Built locally or from release

Build

dotnet build -c Release

Output: bin/Release/netstandard2.1/LootLens.dll

Releases

Packages

Contributors

Languages