ebkr / r2modmanPlus

A simple and easy to use mod manager for several games using Thunderstore
MIT License
1.23k stars 187 forks source link

Support for mapped drives #82

Closed apazzy closed 4 years ago

apazzy commented 4 years ago

I've got a somewhat weird setup and have my games drive mapped on a NAS, but this means I can't use r2modman

If possible, please add a configuration option to copy mods instead of using a symlink.

ebkr commented 4 years ago

What format is the NAS? ExFAT is known to have issues.

apazzy commented 4 years ago

The NAS is running Unraid, with an XFS array and BTRFS cache. My games share usually sits on the array, but if I play a game I usually move it to the cache.

ebkr commented 4 years ago

From what I can tell, XFS should support symlinks, are you getting an EISDIR error?

apazzy commented 4 years ago

Dunno where to find any particular logs, but the error I get is

ERROR
Failed to produce a symlink between profile and RoR2
UNKNOWN: unknown error, symlink 'C:\Users\<user>\AppData\Roaming\r2modmanPlus-local\mods\profiles\Default\BepInEx' -> 'G:\Steam\steamapps\common\Risk of Rain 2\r2modman\BepInEx'
ebkr commented 4 years ago

I'll work on a fallback mode that'll copy the directories across instead, but I'm not sure how long it'll take.

apazzy commented 4 years ago

Thanks, no rush from me of course. For now I'm just copying stuff manually.

If you put in like an advanced features/beta options sub-menu I'll gladly test, even if it's a one-way copy type mechanism.

ebkr commented 4 years ago

I've released an update (3.0.6) to solve this issue. It's currently only a one-way copy, which performs the same as the original one.

I may improve this in the future, but this should resolve this problem for now. https://github.com/ebkr/r2modmanPlus/releases/tag/v3.0.6

Let me know if something doesn't work. The fastest way to contact me is on Discord (see README).