rockerbacon / modorganizer2-linux-installer

An easy-to-use Mod Organizer 2 installer for Linux
GNU General Public License v3.0
972 stars 79 forks source link

'Wine: cannot find L"C:\\windows\regedit.exe"' error during install outside of home directory #448

Closed binkyphish closed 8 months ago

binkyphish commented 1 year ago
INFO: all dependencies met
INFO: selected game 'newvegas'
INFO: found Steam in '/home/jack/.local/share/Steam'
INFO: steam not found in '/home/jack/.var/app/com.valvesoftware.Steam/.local/share/Steam'
INFO: game not found in '/home/jack/.local/share/Steam'
INFO: game not found in '/run/media/jack/8-TB/SteamLibrary'
INFO: game found in '/run/media/jack/8-TB/Programs/SteamLibrary'
INFO: selected install directory '/run/media/jack/8-TB/Programs/MO2/FNV'
INFO: using wget backend
INFO: fetching remote resource at 'https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jre_x64_windows_hotspot_8u312b07.zip'
INFO: downloading 'https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jre_x64_windows_hotspot_8u312b07.zip' to '/tmp/mo2-linux-installer-downloads-cache/OpenJDK8U-jre_x64_windows_hotspot_8u312b07.zip'
INFO: extracting '/tmp/mo2-linux-installer-downloads-cache/OpenJDK8U-jre_x64_windows_hotspot_8u312b07.zip' to '/tmp/mo2-linux-installer-downloads-cache/OpenJDK8U-jre_x64_windows_hotspot_8u312b07'
INFO: using wget backend
INFO: fetching remote resource at 'https://github.com/ModOrganizer2/modorganizer/releases/download/v2.4.4/Mod.Organizer-2.4.4.7z'
INFO: downloading 'https://github.com/ModOrganizer2/modorganizer/releases/download/v2.4.4/Mod.Organizer-2.4.4.7z' to '/tmp/mo2-linux-installer-downloads-cache/Mod.Organizer-2.4.4.7z'
INFO: extracting '/tmp/mo2-linux-installer-downloads-cache/Mod.Organizer-2.4.4.7z' to '/tmp/mo2-linux-installer-downloads-cache/Mod.Organizer-2.4.4'
INFO: using wget backend
INFO: fetching remote resource at 'https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks'
INFO: downloading 'https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks' to '/tmp/mo2-linux-installer-downloads-cache/winetricks'
INFO: using wget backend
INFO: fetching remote resource at 'https://github.com/xNVSE/NVSE/releases/download/6.2.4/nvse_6_2_4.7z'
INFO: downloading 'https://github.com/xNVSE/NVSE/releases/download/6.2.4/nvse_6_2_4.7z' to '/tmp/mo2-linux-installer-downloads-cache/newvegas_nvse_6_2_4.7z'
INFO: extracting '/tmp/mo2-linux-installer-downloads-cache/newvegas_nvse_6_2_4.7z' to '/tmp/mo2-linux-installer-downloads-cache/newvegas_nvse_6_2_4'
INFO: removing existing JDK installation in '/run/media/jack/8-TB/Programs/SteamLibrary/steamapps/compatdata/22380/pfx/drive_c/java'
INFO: installing JDK in '/run/media/jack/8-TB/Programs/SteamLibrary/steamapps/compatdata/22380/pfx/drive_c/java'
INFO: installing Mod Organizer 2 in '/run/media/jack/8-TB/Programs/MO2/FNV/modorganizer2'
INFO: installing script extender in '/run/media/jack/8-TB/Programs/SteamLibrary/steamapps/common/Fallout New Vegas'
INFO: copying all files from '/tmp/mo2-linux-installer-downloads-cache/newvegas_nvse_6_2_4' into '/run/media/jack/8-TB/Programs/SteamLibrary/steamapps/common/Fallout New Vegas'
INFO: installing nxm link broker in '/home/jack/.local/share/modorganizer2'
INFO: installing nxm link handler in '/home/jack/.local/share/applications/'
INFO: applying protontricks d3dcompiler_43 d3dx9
protontricks (WARNING): Steam library folder /run/media/jack/8-TB/SteamLibrary not found. Protontricks might not have access to the directory.
------------------------------------------------------
                                                      warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
     ------------------------------------------------------
                                                           Using winetricks 20220411-next - sha256sum: 7743497e78bc5cc9f72e917704cc0c6f1c34272085a7c421b9289534551fe0d1 with wine-6.3 and WINEARCH=win64
                                  Executing w_do_call d3dcompiler_43
                                                                    ------------------------------------------------------
                                       warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
                                                                         ------------------------------------------------------
                                            Executing load_d3dcompiler_43 
                                                                          grep: warning: stray \ before /
                      Executing cabextract -q -d /run/media/jack/8-TB/Programs/SteamLibrary/steamapps/compatdata/22380/pfx/dosdevices/c:/windows/temp -L -F *d3dcompiler_43*x86* /home/jack/.cache/winetricks/directx9/directx_Jun2010_redist.exe
                                                                           Executing cabextract -q -d /run/media/jack/8-TB/Programs/SteamLibrary/steamapps/compatdata/22380/pfx/dosdevices/c:/windows/syswow64 -L -F d3dcompiler_43.dll /run/media/jack/8-TB/Programs/SteamLibrary/steamapps/compatdata/22380/pfx/dosdevices/c:/windows/temp/jun2010_d3dcompiler_43_x86.cab
                               /run/media/jack/8-TB/Programs/SteamLibrary/steamapps/compatdata/22380/pfx/dosdevices/c:/windows/temp/jun2010_d3dcompiler_43_x86.cab: WARNING; possible 5960 extra bytes at end of file.
                                                Executing cabextract -q -d /run/media/jack/8-TB/Programs/SteamLibrary/steamapps/compatdata/22380/pfx/dosdevices/c:/windows/temp -L -F *d3dcompiler_43*x64* /home/jack/.cache/winetricks/directx9/directx_Jun2010_redist.exe
                  Executing cabextract -q -d /run/media/jack/8-TB/Programs/SteamLibrary/steamapps/compatdata/22380/pfx/dosdevices/c:/windows/system32 -L -F d3dcompiler_43.dll /run/media/jack/8-TB/Programs/SteamLibrary/steamapps/compatdata/22380/pfx/dosdevices/c:/windows/temp/jun2010_d3dcompiler_43_x64.cab
                                                         /run/media/jack/8-TB/Programs/SteamLibrary/steamapps/compatdata/22380/pfx/dosdevices/c:/windows/temp/jun2010_d3dcompiler_43_x64.cab: WARNING; possible 5960 extra bytes at end of file.
                                                                          Using native override for following DLLs: d3dcompiler_43
                                               Executing /home/jack/.cache/protontricks/proton/Proton 6.3/bin/wine C:\windows\syswow64\regedit.exe /S C:\windows\Temp\override-dll.reg
                Executing /home/jack/.cache/protontricks/proton/Proton 6.3/bin/wine64 C:\windows\regedit.exe /S C:\windows\Temp\override-dll.reg
                                                             wine: cannot find L"C:\\windows\\regedit.exe"
------------------------------------------------------
                                                      warning: Note: command /home/egedit.exe /S C:\windows\Temp\override-dll.reg returned status 53. Aborting.
                                                                            ------------------------------------------------------
                                               INFO: removing '/tmp/mo2-linux-installer-downloads-cache/newvegas_nvse_6_2_4.7z'
INFO: removing '/tmp/mo2-linux-installer-downloads-cache/newvegas_nvse_6_2_4'
INFO: removing '/tmp/mo2-linux-installer-downloads-cache/Mod.Organizer-2.4.4.7z'
INFO: removing '/tmp/mo2-linux-installer-downloads-cache/Mod.Organizer-2.4.4'
INFO: removing '/tmp/mo2-linux-installer-downloads-cache/OpenJDK8U-jre_x64_windows_hotspot_8u312b07.zip'
INFO: removing '/tmp/mo2-linux-installer-downloads-cache/OpenJDK8U-jre_x64_windows_hotspot_8u312b07'
INFO: removing '/tmp/mo2-linux-installer-downloads-cache/winetricks'

I am trying to install MO2 for Fallout New Vegas outside of my home directory. Fallout New Vegas is installed at "/run/media/jack/8-TB/Programs/SteamLibrary/steamapps/common/Fallout New Vegas" and I am attempting to install MO2 at "/run/media/jack/8-TB/Programs/MO2/FNV". I made a symlink to the default Steam directory as suggested on #417 and didn't have any luck.

Lejoni commented 1 year ago

I have the same issue, trying to install MO2 for Skyrim SE

rockerbacon commented 8 months ago

Likely caused by an old version of Protontricks and/or a "dirty" prefix. Closing as stale.