r2modmanPlus icon indicating copy to clipboard operation
r2modmanPlus copied to clipboard

[BUG] - cant install unreal_shimloader

Open unazikx opened this issue 9 months ago • 7 comments

Describe the bug cant install '/home/nixzoid/.config/r2modmanPlus-local/VotV/cache/Thunderstore-unreal_shimloader/1.1.3/UE4SS/ue4ss.dll' -> '/home/nixzoid/.config/r2modmanPlus-local/VotV/profiles/Default/ue4ss.dll'

To Reproduce Steps to reproduce the behavior:

  1. Open r2modman
  2. Select VOTV
  3. Default profile
  4. Select and install unreal_shimloader
  5. Install last version
  6. It gives
Error
Failed to install mod [unreal_shimloader] to profile
All mods/dependencies might not be installed properly. Please try again.

Suggestion
The original error might provide hints about what went wrong: An unhandled error occurred: Error invoking remote method 'node:fs:copyFile': Error: ENOENT: no such file or directory, copyfile '/home/nixzoid/.config/r2modmanPlus-local/VotV/cache/Thunderstore-unreal_shimloader/1.1.3/UE4SS/ue4ss.dll' -> '/home/nixzoid/.config/r2modmanPlus-local/VotV/profiles/Default/ue4ss.dll'

Expected behavior Mod should be installed with dependencies

Screenshots i cant load screenshots (idk)

Additional context i tried to manually install mod

> 
❯ pwd
/home/nixzoid/Downloads/YeetPatch-latest-linux/game/WindowsNoEditor/VotV/Binaries/Win64
❯ eza -1
 Mods
 dwmapi.dll
LICENSE
󱁻 UE4SS-settings.ini
 UE4SS.dll
 VotV-Win64-Shipping.exe

same with /home/nixzoid/.config/r2modmanPlus-local/VotV/profiles/Default but r2modman overwrites directory and removes manual installed files

unazikx avatar Feb 22 '26 06:02 unazikx

This is usually a sign that it is being stopped by your antivirus. It's a common false positive with shimloader because of how it works.

ebkr avatar Feb 23 '26 05:02 ebkr

I haven't antivirus, I use linux and not installed any antivirus

unazikx avatar Feb 23 '26 06:02 unazikx

This occurs because the Linux file system is case-sensitive. r2modman expects a file called "ue4ss.dll", but the file that is actually present in the current copy of the shimloader is called "UE4SS.dll".

atenfyr avatar Feb 28 '26 23:02 atenfyr

Are there any plans to address this bug any time soon? r2modman is currently completely non-functional for all Unreal/shimloader games on Linux because of this bug, and the fix should hopefully not be too complex (the easiest fix would be to simply change "UE4SS/ue4ss.dll" in ShimloaderInstaller.ts to "UE4SS/UE4SS.dll"; a more robust fix might be to iterate over a list of files and check for case-insensitive equality)

atenfyr avatar Mar 31 '26 04:03 atenfyr

Are there any plans to address this bug any time soon? r2modman is currently completely non-functional for all Unreal/shimloader games on Linux because of this bug, and the fix should hopefully not be too complex (the easiest fix would be to simply change "UE4SS/ue4ss.dll" in ShimloaderInstaller.ts to "UE4SS/UE4SS.dll"; a more robust fix might be to iterate over a list of files and check for case-insensitive equality)

i want fork and replace this, idk

unazikx avatar Apr 15 '26 12:04 unazikx

new information

Error
Failed to install required files
Error invoking remote method 'node:fs:copyFile': Error: EROFS: read-only file system, copyfile '/home/nixzoid/.config/r2modmanPlus-local/VotV/profiles/Default/dwmapi.dll' -> '/nix/store/lfjsbc2iwziwylnaawf0f1i7z70mmh9r-voices-of-the-void-a09j_0001/bin/VotV/Binaries/Win64/dwmapi.dll'

Suggestion
The game must not be running. You may need to run r2modman as an administrator.

unazikx avatar Apr 15 '26 12:04 unazikx

new information

Error
Failed to install required files
Error invoking remote method 'node:fs:copyFile': Error: EROFS: read-only file system, copyfile '/home/nixzoid/.config/r2modmanPlus-local/VotV/profiles/Default/dwmapi.dll' -> '/nix/store/lfjsbc2iwziwylnaawf0f1i7z70mmh9r-voices-of-the-void-a09j_0001/bin/VotV/Binaries/Win64/dwmapi.dll'

Suggestion
The game must not be running. You may need to run r2modman as an administrator.

This is because you've installed Votv via the Nix package manager. /nix/store is read-only, so you'll need to uninstall that and install it manually, or hop through some nix-specific hoop.

ethangreen-dev avatar May 18 '26 00:05 ethangreen-dev