[BUG] - cant install unreal_shimloader
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:
- Open r2modman
- Select VOTV
- Default profile
- Select and install unreal_shimloader
- Install last version
- 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
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.
I haven't antivirus, I use linux and not installed any antivirus
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".
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)
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
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.
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.