Open rallias opened 2 years ago
I get the same error for the GOG version.
I have Skyrim SE installed in drive_c/GOG Games/Skyrim Anniversary Edition/
and MO2 in drive_c/Modding/MO2/
. The FNIS exe is in drive_c/Modding/MO2/mods/FNIS Behavior SE 7_6/tools/GenerateFNIS_for_Users/GenerateFNISforUsers
. All of this is in the same Wine prefix.
The wine error is wine: could not open working directory L"C:\\GOG Games\\Skyrim Anniversary Edition\\data\\tools\\GenerateFNIS_for_Users\\", starting in the Windows directory.
We don't officially support Linux, and unless an outside developer familiar with wine knows how to fix it there's little we can do. We can only fix issues that are reproducible on Windows as that's what we use and what USVFS hooks into.
Putting this here to clarify for other Linux users. The workaround is to create an empty folder in the location where your Skyrim Executable is installed. In my case, I installed with steam and this folder is found at:
~/.steam/steam/steamapps/common/Skyrim Special Edition
There was already a Data
directory beneath that for me, so I created an empty tools/GenerateFNIS_for_Users
directory beneath that so that I had an empty ~/.steam/steam/steamapps/common/Skyrim Special Edition/Data/tools/GenerateFNIS_for_Users
directory.
FNIS is installed with Mod Installer 2 for me, and my profile lives in a completely separate location (~/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/AppData/Local/ModOrganizer/Skyrim Special Edition/
- with mods
beneath this).
Now, when I run Mod Installer and choose the "Run FNIS" option from the main menu (icon with jigsaw puzzle), FNIS appears to generate all the files, though no FNIS UI shows up - I just see this happening in the console.
I'll try to get round to getting a post up for LInux installation in 2023, but for now hopefully this helps someone ^^. @rallias - do you have a link where you found this workaround mentioned?
@DominicWatson To be honest, I think it was trial and error, not research, although I can't say for sure given how long it's been.
Putting this here to clarify for other Linux users. The workaround is to create an empty folder in the location where your Skyrim Executable is installed. In my case, I installed with steam and this folder is found at:
~/.steam/steam/steamapps/common/Skyrim Special Edition
There was already a
Data
directory beneath that for me, so I created an emptytools/GenerateFNIS_for_Users
directory beneath that so that I had an empty~/.steam/steam/steamapps/common/Skyrim Special Edition/Data/tools/GenerateFNIS_for_Users
directory.FNIS is installed with Mod Installer 2 for me, and my profile lives in a completely separate location (
~/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/AppData/Local/ModOrganizer/Skyrim Special Edition/
- withmods
beneath this).Now, when I run Mod Installer and choose the "Run FNIS" option from the main menu (icon with jigsaw puzzle), FNIS appears to generate all the files, though no FNIS UI shows up - I just see this happening in the console.
I'll try to get round to getting a post up for LInux installation in 2023, but for now hopefully this helps someone ^^. @rallias - do you have a link where you found this workaround mentioned?
I can confirm that this fix also works for macOS under all implementations of Wine (like Crossover and Wineskin)
Didn't work. FNIS works when it is not redirected to dedicated plugin (i.e. overwrite folder), but then it is replaced by other mods. If you setup redirection, then it will do some files into output folder you've set, and some files into "override" and maybe in skyrim's too. So it is mess with output & redirection there, need to catch up and symlink all of them into single place.
Didn't work. FNIS works when it is not redirected to dedicated plugin (i.e. overwrite folder), but then it is replaced by other mods. If you setup redirection, then it will do some files into output folder you've set, and some files into "override" and maybe in skyrim's too. So it is mess with output & redirection there, need to catch up and symlink all of them into single place.
Works for me on Ubuntu using wine 9.0 staging and latest version of MO2 and FNIS. Outputs correctly to redirect folder as long as the empty (dummy) folder is created.
The problem:
Unless I create a directory in the Skyrim SE install directory Data/tools/GenerateFNIS_for_Users, or I install FNIS unmanaged, running GenerateFNISForUsers will error out with the following error (or something similar):
ERROR(2012): Could not generate: defaultfemale.hkx defaultmale.hkx weapequip.hkx staggerbehavior.hkx sprintbehavior.hkx shout_behavior.hkx mt_behavior.hkx magicmountedbehavior.hkx magicbehavior.hkx magic_readied_direction_behavior.hkx 1hm_locomotion.hkx 1hm_behavior.hkx 0_master.hkx
Because the workaround of creating a directory Data/tools/GenerateFNIS_for_Users works, I believe this to be an issue specific to ModOrganizer2 or it's bundled components.
To Reproduce:
Steps to reproduce the behavior:
env WINEDLLOVERRIDES="xaudio2_7=n,b" STEAM_COMPAT_CLIENT_INSTALL_PATH="/home/rallias/.steam/steam" STEAM_COMPAT_DATA_PATH="/home/rallias/.steam/steam/steamapps/compatdata/489830" /home/rallias/.steam/root/steamapps/common/Proton\ -\ Experimental/proton run modorganizer2_installer.exe
env WINEDLLOVERRIDES="xaudio2_7=n,b" STEAM_COMPAT_CLIENT_INSTALL_PATH="/home/rallias/.steam/steam" STEAM_COMPAT_DATA_PATH="/home/rallias/.steam/steam/steamapps/compatdata/489830" /home/rallias/.steam/root/steamapps/common/Proton\ -\ Experimental/proton run /home/rallias/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/Modding/MO2/ModOrganizer.exe
wine: could not open working directory L"Z:\\home\\rallias\\.local\\share\\Steam\\steamapps\\common\\Skyrim Special Edition\\data\\tools\\GenerateFNIS_for_Users\\", starting in the Windows directory.
error in terminal you launched ModOrganizer2 from several times, I believe that relevant.Environment:
Link to Mod Organizer logs:
USVFS:
log
MO Interface:
log