unreal shimloader

版本 v1.1.7·更新於 2026-05-07

Mod Manager and r2modmanPlus support for RE-UE4SS.

模組介紹 作者原文

unreal-shimloader

What is this?

unreal-shimloader is a shim for RE-UE4SS that enables profile-oriented management of mods Mod Manager and r2modmanPlus. It does so by virtualizing the UE4SS binary and its filesystem (and Unreal Engine's too) such that paks, mods, configs, etc. can be installed outside of the game directory.

A note about Windows Defender

Windows Defender tends to flag shimloader binaries as malware. This is a known issue and a neverending battle. It is, obviously, a false positive.

Not Mod Manager or r2modmanPlus?

unreal-shimloader exists to give a mod manager a hook for profile-based mod management. Outside of that use case it doesn't add anything for you - it relies on --mod-dir/--pak-dir/--cfg-dir command-line arguments that the mod manager passes on launch, and wiring those up by hand is more work than installing UE4SS the normal way.

If you're installing manually, follow the upstream RE-UE4SS guide:

Command-line arguments

unreal-shimloader is controlled via the following arguments:

--mod-dir: The path of a directory which contains one or more directories, of which contain ue4ss lua and dll mods.

  • Maps to GAME/Binaries/Win64/Mods

--pak-dir: The path of a directory which contains one or more blueprint mods (.pak files).

  • Maps to GAME/Content/Paks/LogicMods

--cfg-dir: The path of a directory which contains config files, usually with the.cfg extension.

  • Maps to GAME/Config

--overlay-dir: The path of a directory containing one or more wrapper-package subdirectories. Each wrapper's file tree is overlaid onto GAME/Binaries/Win64.

  • Maps to GAME/Binaries/Win64

Environment variables

After parsing its command line, shimloader publishes the resolved paths into the process environment so overlay-loaded wrapper DLLs can read them without re-parsing the (sanitized) command line:

  • SHIMLOADER_MOD_DIR: value of --mod-dir
  • SHIMLOADER_PAK_DIR: value of --pak-dir
  • SHIMLOADER_CFG_DIR: value of --cfg-dir
  • SHIMLOADER_OVERLAY_DIR: value of --overlay-dir, only set when the switch is provided

These are set before ue4ss.dll is loaded, so anything pulled in via the overlay can read them from DllMain with GetEnvironmentVariableW.

Thanks

A special thanks goes out to modestimpala who has contributed greatly to improving this project.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

檔案與校驗

檔案名稱
unreal_shimloader-1.1.7.zip
檔案大小
7.0 MiB