modorganizer2-linux-installer icon indicating copy to clipboard operation
modorganizer2-linux-installer copied to clipboard

Vortex Installation stuck at "loading extension"

Open hawari21 opened this issue 3 years ago • 19 comments

Hello,

So, yesterday i was installing Vortex Mod Manager on Lutris, everything is running smoothly when in progress. However, after my vortex pops up and then loading extension appear it wont to load main mod manager, i've waiting maybe about 15 minutes to seeing it was finish or not. Then, suddenly the software (Lutris) is stopped responding. I've tried to disable internet connection as the guide told me, and switch to another directory but non of them working.

Any idea how to fix this?

Cheers

hawari21 avatar Nov 28 '21 00:11 hawari21

Same here. Lutris crashes during the install process and Vortex freezes

RobotRoss avatar Dec 01 '21 11:12 RobotRoss

me too - i've tried different variations of wine/tricks/settings etc. Sometimes it will load past the extension screen, but quickly crash. I have also noticed that Lutris will take up nearly 8gb of RAM in the background during this. For now, i'm using steamtinkerlauncher, which has a very reliable and simple vortex installation method.

JamesATeasdale avatar Dec 15 '21 18:12 JamesATeasdale

I think this is the same issue discussed in the Vortex Issue tracker here https://github.com/Nexus-Mods/Vortex/issues/9629

fmagin avatar Jan 01 '22 12:01 fmagin

The Vortex installer is heavily outdated and hasn't been maintained in a while. All recent efforts were towards Mod Organizer 2, you may want to try that instead.

For now, I'll recommend Steam Tinker Launch for anyone wanting to run Vortex.

I have no intentions on working on Vortex right now but neither do I want to abandon it completely. I just don't have time to maintain two different managers, I barely have the time to maintain one. If anyone with some good bash knowledge wants to get on board, I'll gladly provide all the necessary support.

rockerbacon avatar Jan 05 '22 12:01 rockerbacon

The Vortex installer is heavily outdated and hasn't been maintained in a while. All recent efforts were towards Mod Organizer 2, you may want to try that instead.

For now, I'll recommend Steam Tinker Launch for anyone wanting to run Vortex.

I have no intentions on working on Vortex right now but neither do I want to abandon it completely. I just don't have time to maintain two different managers, I barely have the time to maintain one. If anyone with some good bash knowledge wants to get on board, I'll gladly provide all the necessary support.

I have been using Vortex with various changes to the old installer for a few months now. The readme also still incorrectly claims release 1.9.3 has the latest vortex.yml. The download links in the latest installer are also pointed at the slightly newer vortex-symlinks.sh and vortex-downloads-handler.desktop available in the 2.0 release tag. However, I modified the vortex.yml and vortex-symlinks.sh to add Skyrim VR detection.

vortex.yml

name: Vortex Mod Manager
game_slug: vortex-mod-manager
version: 1.1.15
slug: vortex-mod-manager-windows
runner: wine

script:
    files:
    - setup: https://github.com/Nexus-Mods/Vortex/releases/download/v1.1.15/vortex-setup-1.1.15.exe
    - symlinks_setup: https://github.com/rockerbacon/lutris-skyrimse-installers/releases/download/2.0/vortex-symlinks.sh
    - downloads_handler: https://github.com/rockerbacon/lutris-skyrimse-installers/releases/download/2.0/vortex-downloads-handler.desktop
    game:
        exe: drive_c/Program Files/Black Tree Gaming Ltd/Vortex/Vortex.exe
        prefix: $GAMEDIR
    installer:
    - copy:
        src: symlinks_setup
        dst: $GAMEDIR/config_scripts
    - chmodx: $GAMEDIR/config_scripts/vortex-symlinks.sh

    - copy:
        src: downloads_handler
        dst: $HOME/.local/share/applications
    - chmodx: $HOME/.local/share/applications/vortex-downloads-handler.desktop

    - execute:
        file: $GAMEDIR/config_scripts/vortex-symlinks.sh

    - task:
        name: winetricks
        prefix: $GAMEDIR
        app: win10 dotnet48 corefonts
        description: Installing .NET 4.8 and Corefonts

    ###################### REGEDITS #######################
    #### Skyrim SE ####
    # Developer install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Bethesda Softworks\Skyrim Special Edition
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\skyrim special edition
    # Steam install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Valve\Steam\Apps\489830
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\skyrim special edition
    ###################

    #### Skyrim VR ####
    # Developer install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Bethesda Softworks\Skyrim VR
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\skyrimvr
    # Steam install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Valve\Steam\Apps\611670
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\skyrimvr
    ###################

    #### Skyrim ####
    # Developer install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Bethesda Softworks\Skyrim
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\skyrim
    # Steam install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Valve\Steam\Apps\72850
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\skyrim
    ################
    ######################################################

    #### Oblivion ####
    # Developer install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Bethesda Softworks\Oblivion
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\oblivion
    # Steam install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Valve\Steam\Apps\22330
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\oblivion
    ################
    ######################################################

    #### Fallout 4 ####
    # Developer install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Bethesda Softworks\Fallout 4
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\fallout 4
    # Steam install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Valve\Steam\Apps\377160
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\fallout 4
    ################
    ######################################################

    #### Fallout 3 - GOTY ####
    # Developer install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Bethesda Softworks\Fallout 3 goty
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\Fallout 3 goty
    # Steam install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Valve\Steam\Apps\22370
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\Fallout 3 goty
    ################
    ######################################################

    #### Fallout 3 ####
    # Developer install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Bethesda Softworks\Fallout 3
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\Fallout 3
    # Steam install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Valve\Steam\Apps\22300
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\Fallout 3
    ################
    ######################################################

    #### Fallout New Vegas ####
    # Developer install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Bethesda Softworks\FalloutNV
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\Fallout New Vegas
    # Steam install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Valve\Steam\Apps\22380
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\Fallout New Vegas
    ################
    ######################################################

    #### Morrowind ####
    # Developer install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Bethesda Softworks\Morrowind
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\Morrowind
    # Steam install path
    - task:
        name: set_regedit
        prefix: $GAMEDIR
        path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Valve\Steam\Apps\22320
        type: REG_SZ
        key: "Installed Path"
        value: c:\\program files (x86)\\steam\\steamapps\\common\\Morrowind
    ################
    ######################################################

    - input_menu:
        description: "MANUAL STEPS REQUIRED:\n\n
            Vortex is tested and guaranteed to have basic functionality working with the version supplied in this installer. Updates have been shown to break things very often.\n\n
            In order to keep Vortex from updating automatically, please follow these steps:\n
            1. Disconnect from the internet NOW to keep Vortex from updating on its first launch;\n
            2. After the first launch, go to 'Settings > Vortex > Update' and select the option 'No automatic updates';\n
            3. Close Vortex and reconnect to the internet;
        "
        options:
            - waiting: "Click here after reading the instructions"
            - proceed: "I have disconnected, continue to the first launch"
        preselect: waiting

    - task:
        name: wineexec
        prefix: $GAMEDIR
        executable: setup

    wine:
        dxvk: true
        version: lutris-5.2-x86_64

vortex-symlinks.sh

#!/bin/bash

############### GAMES INFO ############################

VSL_SKYRIMVR_GAMEDIR="SkyrimVR"
VSL_SKYRIMVR_APPID="611670"
VSL_SKYRIMVR_OVERRIDE_MYGAMES="Skyrim VR"
VSL_SKYRIMVR_OVERRIDE_APPDATA="Skyrim VR"

VSL_SKYRIMSE_GAMEDIR="Skyrim Special Edition"
VSL_SKYRIMSE_APPID="489830"

VSL_SKYRIM_GAMEDIR="Skyrim"
VSL_SKYRIM_APPID="72850"

VSL_OBLIVION_GAMEDIR="Oblivion"
VSL_OBLIVION_APPID="22330"

VSL_FALLOUT4_GAMEDIR="Fallout 4"
VSL_FALLOUT4_APPID="377160"
VSL_FALLOUT4_OVERRIDE_MYGAMES="Fallout4"
VSL_FALLOUT4_OVERRIDE_APPDATA="Fallout4"

VSL_FALLOUT4VR_GAMEDIR="Fallout 4 VR"
VSL_FALLOUT4VR_APPID="611660"
VSL_FALLOUT4VR_OVERRIDE_MYGAMES="Fallout4VR"
VSL_FALLOUT4VR_OVERRIDE_APPDATA="Fallout4VR"

VSL_FALLOUT3_GOTY_GAMEDIR="Fallout 3 goty"
VSL_FALLOUT3_GOTY_APPID="22370"
VSL_FALLOUT3_GOTY_OVERRIDE_MYGAMES="Fallout3"
VSL_FALLOUT3_GOTY_OVERRIDE_APPDATA="Fallout3"

VSL_FALLOUT3_GAMEDIR="Fallout 3"
VSL_FALLOUT3_APPID="22300"

VSL_FALLOUT_NEWVEGAS_GAMEDIR="Fallout New Vegas"
VSL_FALLOUT_NEWVEGAS_APPID="22380"
VSL_FALLOUT_NEWVEGAS_OVERRIDE_MYGAMES="FalloutNV"
VSL_FALLOUT_NEWVEGAS_OVERRIDE_APPDATA="FalloutNV"

VSL_MORROWIND_GAMEDIR="Morrowind"
VSL_MORROWIND_APPID="22320"

#######################################################

############### PATH CANDIDATES #######################

STEAM_PROTON1_PATH="$HOME/.steam/steam"
STEAM_PROTON2_PATH="$HOME/.local/share/Steam"
WINESTEAM_PATH="$HOME/.local/share/lutris/runners/winesteam"

#######################################################

############### VORTEX PREFIX #########################
if [ "$VORTEX_PREFIX" == "" ]; then
    SOURCE_FILE_PATH=$(dirname "$0")
	VORTEX_PREFIX=$(realpath "$SOURCE_FILE_PATH/..")
fi
if [ ! -d "$VORTEX_PREFIX" ]; then
    echo "ERROR: Invalid Vortex prefix \"$VORTEX_PREFIX\""
    exit -1
else
    echo "INFO: Using Vortex prefix at \"$VORTEX_PREFIX\""
fi
#######################################################

############## FUNCTIONS DECLARATIONS #################
game_attribute () {
     echo $(set | grep "${CURRENT_GAME}_${1}=" | sed "s/${CURRENT_GAME}_${1}=//; s/^'//; s/'$//")
}

find_current_game_paths () {

    CURRENT_INSTALL=""
    CURRENT_PREFIX=""

    if [ -d "$STEAM_PROTON1_PATH/steamapps/compatdata/$CURRENT_APPID/pfx" ]; then
        CURRENT_INSTALL="$STEAM_PROTON1_PATH/steamapps/common/$CURRENT_GAMEDIR"
        CURRENT_PREFIX="$STEAM_PROTON1_PATH/steamapps/compatdata/$CURRENT_APPID/pfx"
        CURRENT_GAME_USER="steamuser"

    elif [ -d "$STEAM_PROTON2_PATH/steamapps/compatdata/$CURRENT_APPID/pfx" ]; then
        CURRENT_INSTALL="$STEAM_PROTON2_PATH/steamapps/common/$CURRENT_GAMEDIR"
        CURRENT_PREFIX="$STEAM_PROTON2_PATH/steamapps/compatdata/$CURRENT_APPID/pfx"
        CURRENT_GAME_USER="steamuser"

    elif [ -d "$WINESTEAM_PATH/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/$CURRENT_GAMEDIR" ]; then
        CURRENT_INSTALL="$WINESTEAM_PATH/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/$CURRENT_GAMEDIR"
        CURRENT_PREFIX="$WINESTEAM_PATH/prefix64"
        CURRENT_GAME_USER=$USER

    fi

    if [ ! -d "$CURRENT_INSTALL" ]; then
        echo "WARN: Could not find $CURRENT_GAME installation"
    else
        echo "INFO: Found installation for $CURRENT_GAME in \"$CURRENT_INSTALL\""
    fi
    if [ ! -d "$CURRENT_PREFIX" ]; then
        echo "WARN: Could not find $CURRENT_GAME prefix"
    else
        echo "INFO: Found prefix for $CURRENT_GAME in \"$CURRENT_PREFIX\""
    fi

}

create_current_game_symlinks () {
    if [ -d "$CURRENT_INSTALL" ] && [ -d "$CURRENT_PREFIX" ]; then

        OVERRIDE_MYGAMES=$(game_attribute "OVERRIDE_MYGAMES")
        OVERRIDE_APPDATA=$(game_attribute "OVERRIDE_APPDATA")

        if [ "$OVERRIDE_MYGAMES" == "" ]; then
            MYGAMES=$CURRENT_GAMEDIR
        else
            MYGAMES=$OVERRIDE_MYGAMES
        fi

        if [ "$OVERRIDE_APPDATA" == "" ]; then
            APPDATA=$CURRENT_GAMEDIR
        else
            APPDATA=$OVERRIDE_APPDATA
        fi

        mkdir -p "$CURRENT_PREFIX/drive_c/users/$CURRENT_GAME_USER/My Documents/My Games/$MYGAMES"
        mkdir -p "$CURRENT_PREFIX/drive_c/users/$CURRENT_GAME_USER/Local Settings/Application Data/$APPDATA"

        rm -rf "$VORTEX_PREFIX/drive_c/users/$USER/My Documents/My Games/$MYGAMES"
        rm -rf "$VORTEX_PREFIX/drive_c/users/$USER/Local Settings/Application Data/$APPDATA"
        rm -rf "$VORTEX_PREFIX/drive_c/Program Files (x86)/Steam/steamapps/common/$CURRENT_GAMEDIR"

        ln -s "$CURRENT_PREFIX/drive_c/users/$CURRENT_GAME_USER/My Documents/My Games/$MYGAMES" "$VORTEX_PREFIX/drive_c/users/$USER/My Documents/My Games/$MYGAMES"
        ln -s "$CURRENT_PREFIX/drive_c/users/$CURRENT_GAME_USER/Local Settings/Application Data/$APPDATA" "$VORTEX_PREFIX/drive_c/users/$USER/Local Settings/Application Data/$APPDATA"
        ln -s "$CURRENT_INSTALL" "$VORTEX_PREFIX/drive_c/Program Files (x86)/Steam/steamapps/common/$CURRENT_GAMEDIR"

    fi
}

#######################################################

########## CREATE NECESSARY VORTEX FOLDERS ############
mkdir -p "$VORTEX_PREFIX/drive_c/users/$USER/My Documents/My Games"
mkdir -p "$VORTEX_PREFIX/drive_c/users/$USER/Local Settings/Application Data"
mkdir -p "$VORTEX_PREFIX/drive_c/Program Files (x86)/Steam/steamapps/common"
#######################################################

################ CREATE SYMLINKS ######################
set -o posix
GAMES=$(set | grep -o -e 'VSL_\w*_GAMEDIR' | sed 's/_GAMEDIR//')
echo "INFO: Found games:"
echo $GAMES
for CURRENT_GAME in $GAMES
do

    echo "INFO: Building symlinks for $CURRENT_GAME"

    CURRENT_GAMEDIR=$(game_attribute "GAMEDIR")
    CURRENT_APPID=$(game_attribute "APPID")

    echo "INFO: gamedir=\"$CURRENT_GAMEDIR\" APPID=\"$CURRENT_APPID\""

    find_current_game_paths
    create_current_game_symlinks

done
#######################################################

######### LINK DOWNLOADS HANDLER SHORTCUT #############
echo "INFO: Linking Nexus Mods downloads to Vortex"
ESCAPED_VORTEX_PREFIX=$(echo $VORTEX_PREFIX | sed 's/\//\\\//g')
ESCAPED_HOME=$(echo $HOME | sed 's/\//\\\//g')
sed -i "s/<VORTEX_PREFIX>/$ESCAPED_VORTEX_PREFIX/g; s/<HOME>/$ESCAPED_HOME/g" "$HOME/.local/share/applications/vortex-downloads-handler.desktop"
xdg-mime default vortex-downloads-handler.desktop x-scheme-handler/nxm
xdg-mime default vortex-downloads-handler.desktop x-scheme-handler/nxm-protocol
#######################################################

I actively use the installation of Vortex provided by this installer and symlink builder for modding SKSEVR in proton and am going to work on a Vortex 1.4.17 installer. The latest version available on the Lutris Vortex page is supposedly 1.4.15, so updating to the last version before 1.5 should be trivial. At that point I may also try updating to 1.5.13, however, there were apparently some 'vc runtime library' changes in 1.5.12, so updating beyond 1.4 may take some trial and error to get running if some winetricks or a newer WINE/WineLutris/Proton version are needed. Should I fork the repo from the last commit with the installer prior to the removal commit and update the installer there, or would you take the PRs for an updated Vortex installer directly to this repo? I only ask since I see the name changed since support for vortex was dropped.

NicBOMB avatar Jun 08 '22 04:06 NicBOMB

I actively use the installation of Vortex provided by this installer and symlink builder for modding SKSEVR in proton and am going to work on a Vortex 1.4.17 installer. The latest version available on the Lutris Vortex page is supposedly 1.4.15, so updating to the last version before 1.5 should be trivial.

EDIT: removed the files provided here in favor of those in my later comments below.

Vortex 1.1.15 can be installed from the outdated 2.0 release tag's vortex.yml. I added some registry keys to support Skyrim VR in the prior post's vortex.yml spoiler too. Vortex 1.4.17 can be installed from my major revision of the prior installer in the first spoiler of this comment. It contains my changes to the 2.0 installer and also uses the latest Lutris wine prefix (lutris-7.2-x86_64). Vortex 1.5.13 can be installed from the second spoiler of this comment. It only contains a version bump for Vortex. No other significant changes over the prior installer.

It seems Lutris cannot launch the Vortex runner. Everytime I click Play or use the desktop entry provided by Lutris, I get the common electron in linux error. However, we have better methods of starting Vortex which don't require starting Lutris at all and provide more analogous methods to those seen in a native Windows install anyways. Application launching parity with Vortex in a native Windows installation is already complete so Lutris play button support is optional/moot unless someone more inclined to fix it comes along. Overall, the performance in-app is nearly identical to using Vortex on Windows natively from my perspective, even as a premium user.

NicBOMB avatar Jun 08 '22 20:06 NicBOMB

If anyone with some good bash knowledge wants to get on board, I'll gladly provide all the necessary support.

@rockerbacon I completely overhauled the Lutris installer, added automatic Steam Library folder detection, and turned the vortex-symlinks.sh into a Lutris extension for the installer as well.

EDIT: removed the files provided here in favor of those in my later comments below.

NicBOMB avatar Jun 13 '22 00:06 NicBOMB

First of, i am so sorry for being stupid here but can i just download Vortex mod Manager via lutris website now? or i just download available yml on this page? since you already fix it.

hawari21 avatar Jun 14 '22 05:06 hawari21

First of, i am so sorry for being stupid here but can i just download Vortex mod Manager via lutris website now? or i just download available yml on this page? since you already fix it.

I have not submitted my files to the Lutis website yet. Once I've gotten feedback, I'll submit it. Copy paste the yml installer file and select it in Lutris. This should resolve the broken installer issue.

NicBOMB avatar Jun 14 '22 13:06 NicBOMB

First of, i am so sorry for being stupid here but can i just download Vortex mod Manager via lutris website now? or i just download available yml on this page? since you already fix it.

I have not submitted my files to the Lutis website yet. Once I've gotten feedback, I'll submit it. Copy paste the yml installer file and select it in Lutris. This should resolve the broken installer issue.

Ah, yes! i'll gonna give a try thanks for your hardwork :)

Edit : So i give a test to your script by copying everything you posted on vortex-AIO.yml, installation progress is running just fine and now vortex is working, but after i closed my Vortex and select the first option of your warn, then error message pops up : https://i.postimg.cc/WpDywqC9/11.png

Did i just messed up with something?

hawari21 avatar Jun 14 '22 13:06 hawari21

However, after i finish the installation progress the installation stuck is no longer appears and vortex seems just running as intended althought it is very slow.

I noticed the old version was slower than the new Lutris Wine 7 prefix too. I may also try a proton prefix, as it appears to speed up the modding tools I normally run in my default Wine prefix. If it is faster, I'll edit my comment above as well.

But again, another problem come again after i closing Vortex via terminal by typing "Xkill" (like i usually do), and then Vortex wont open anymore...it just stopped working. :(

Do not use xkill to close Vortex, or wine/proton. The styled close button in the app works. I have not tested any other close methods. The man page for xkill indicates why you are getting this behavior:

CAVEATS This command does not provide any warranty that the application whose connection to the X server is closed will abort nicely, or even abort at all. All this command does is to close the connection to the X server. Many existing applications do indeed abort when their connection to the X server is closed, but some can choose to continue.

from: https://www.x.org/archive/X11R7.0/doc/html/xkill.1.html#toc4

You may have a lingering process for the wine prefix running Vortex if you use xkill. Vortex is basically headless at that point. You also cannot open multiple instances of Vortex with the provided desktop entry since it doubles as the nxm protocol handler. Since Vortex is open but headless, each time you use the provided desktop entry, Vortex will instead be sent a blank url argument. This function is intentional and prevents opening multiple instances of Vortex while providing seamless nxm protocol download integration through a single application entry. With older versions of Vortex, launching the provided url handler without a link actually presented the 'download started' message in Vortex followed by an unknown/empty url message. That was either resolved by a wine update or newer Vortex release.

tldr: Instead, try the user interface button to close Vortex. Is using xkill a preference or requirement?

NicBOMB avatar Jun 14 '22 14:06 NicBOMB

Ah, i get it. Sorry about that...i used to close my vortex with xkill because when i was using an old Vortex installer 1.9.3 version everytime when i close it with close button an error show up that "the vortex.exe is missing", i dont know why is this could be happen....so xkill is the only method that just work for me at least (but that just in my case).

Anyway, i gonna give another try, thanks for your fast respond.

hawari21 avatar Jun 14 '22 14:06 hawari21

when i was using an old Vortex installer 1.9.3 version everytime when i close it with close button an error show up that "the vortex.exe is missing"

I got that error in a previous installer version as well, though I have not encountered it with this wine prefix or vortex version. The goal of my Lutris installer is to reach parity with Vortex on windows. No need for workarounds is the objective.

NicBOMB avatar Jun 14 '22 15:06 NicBOMB

Man, i am so sorry for kept bothering you, but i got an error whenever i tried to open Vortex. First of, i choose the first option that "create link Desktop entry", and click the shortcut then this message show up "failed to change directory (my external HDD) no such file directory". I checked "vortex-downloads-handler.desktop", and the directory is already right.

Do i need to choose different option to makes my entry shortcut? or can i just open them via terminal?

hawari21 avatar Jun 14 '22 15:06 hawari21

Man, i am so sorry for kept bothering you, but i got an error whenever i tried to open Vortex. First of, i choose the first option that "create link Desktop entry", and click the shortcut then this message show up "failed to change directory (my external HDD) no such file directory". I checked "vortex-downloads-handler.desktop", and the directory is already right.

Do i need to choose different option to makes my entry shortcut? or can i just open them via terminal?

I haven't encountered that issue. I can troubleshoot with the $HOME/Games/vortex-mod-manager/install.log file. Try this symlinker I just improved. It has some minor bug fixes. EDIT: removed the files provided here in favor of those in my later comments below.

NicBOMB avatar Jun 14 '22 16:06 NicBOMB

Welp, sadly it still does not work for me...i got same error everytime i select any different an entry option. Even this error message was pops up again now : https://i.postimg.cc/WpDywqC9/11.png

Sigh, maybe i was not lucky enough and gotta stick with old version for the time being (at least its work for me). Btw, i install my Vortex on another hardrive so it might be related with my issue, and oh! this is my install.log (i couldnt find it on .cache folder, but i found them in vortex folder. Thank you!

The game i was tried to play was FO4.

INFO: Using Vortex prefix at "/mnt/476e760f-49aa-49d4-a380-847b79f1797c/Vortex" INFO: Known games: VSL_FALLOUT3 VSL_FALLOUT3_GOTY VSL_FALLOUT4 VSL_FALLOUT4VR VSL_FALLOUT_NEWVEGAS VSL_MORROWIND VSL_OBLIVION VSL_SKYRIM VSL_SKYRIMSE VSL_SKYRIMVR VSL_FALLOUT3 VSL_FALLOUT3_GOTY VSL_FALLOUT4VR VSL_FALLOUT4 VSL_FALLOUT_NEWVEGAS VSL_MORROWIND VSL_OBLIVION VSL_SKYRIMSE VSL_SKYRIMVR VSL_SKYRIM INFO: Building symlinks for CURRENT_GAME="VSL_FALLOUT3" GAMEDIR="Fallout 3" APPID="22300" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 3 INFO: No installation of VSL_FALLOUT3 found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 3 INFO: No installation or Proton Prefix of VSL_FALLOUT3 found! INFO: Building symlinks for CURRENT_GAME="VSL_FALLOUT3_GOTY" GAMEDIR="Fallout 3 goty" APPID="22370" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 3 goty INFO: No installation of VSL_FALLOUT3_GOTY found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 3 goty INFO: No installation or Proton Prefix of VSL_FALLOUT3_GOTY found! INFO: Building symlinks for CURRENT_GAME="VSL_FALLOUT4" GAMEDIR="Fallout 4" APPID="377160" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 4 INFO: No installation of VSL_FALLOUT4 found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 4 INFO: No installation or Proton Prefix of VSL_FALLOUT4 found! INFO: Building symlinks for CURRENT_GAME="VSL_FALLOUT4VR" GAMEDIR="Fallout 4 VR" APPID="611660" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 4 VR INFO: No installation of VSL_FALLOUT4VR found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 4 VR INFO: No installation or Proton Prefix of VSL_FALLOUT4VR found! INFO: Building symlinks for CURRENT_GAME="VSL_FALLOUT_NEWVEGAS" GAMEDIR="Fallout New Vegas" APPID="22380" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout New Vegas INFO: No installation of VSL_FALLOUT_NEWVEGAS found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout New Vegas INFO: No installation or Proton Prefix of VSL_FALLOUT_NEWVEGAS found! INFO: Building symlinks for CURRENT_GAME="VSL_MORROWIND" GAMEDIR="Morrowind" APPID="22320" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Morrowind INFO: No installation of VSL_MORROWIND found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Morrowind INFO: No installation or Proton Prefix of VSL_MORROWIND found! INFO: Building symlinks for CURRENT_GAME="VSL_OBLIVION" GAMEDIR="Oblivion" APPID="22330" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Oblivion INFO: No installation of VSL_OBLIVION found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Oblivion INFO: No installation or Proton Prefix of VSL_OBLIVION found! INFO: Building symlinks for CURRENT_GAME="VSL_SKYRIM" GAMEDIR="Skyrim" APPID="72850" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Skyrim INFO: No installation of VSL_SKYRIM found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Skyrim INFO: No installation or Proton Prefix of VSL_SKYRIM found! INFO: Building symlinks for CURRENT_GAME="VSL_SKYRIMSE" GAMEDIR="Skyrim Special Edition" APPID="489830" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Skyrim Special Edition INFO: No installation of VSL_SKYRIMSE found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Skyrim Special Edition INFO: No installation or Proton Prefix of VSL_SKYRIMSE found! INFO: Building symlinks for CURRENT_GAME="VSL_SKYRIMVR" GAMEDIR="SkyrimVR" APPID="611670" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/SkyrimVR INFO: No installation of VSL_SKYRIMVR found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/SkyrimVR INFO: No installation or Proton Prefix of VSL_SKYRIMVR found! INFO: Building symlinks for CURRENT_GAME="VSL_FALLOUT3" GAMEDIR="Fallout 3" APPID="22300" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 3 INFO: No installation of VSL_FALLOUT3 found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 3 INFO: No installation or Proton Prefix of VSL_FALLOUT3 found! INFO: Building symlinks for CURRENT_GAME="VSL_FALLOUT3_GOTY" GAMEDIR="Fallout 3 goty" APPID="22370" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 3 goty INFO: No installation of VSL_FALLOUT3_GOTY found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 3 goty INFO: No installation or Proton Prefix of VSL_FALLOUT3_GOTY found! INFO: Building symlinks for CURRENT_GAME="VSL_FALLOUT4VR" GAMEDIR="Fallout 4 VR" APPID="611660" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 4 VR INFO: No installation of VSL_FALLOUT4VR found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 4 VR INFO: No installation or Proton Prefix of VSL_FALLOUT4VR found! INFO: Building symlinks for CURRENT_GAME="VSL_FALLOUT4" GAMEDIR="Fallout 4" APPID="377160" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 4 INFO: No installation of VSL_FALLOUT4 found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 4 INFO: No installation or Proton Prefix of VSL_FALLOUT4 found! INFO: Building symlinks for CURRENT_GAME="VSL_FALLOUT_NEWVEGAS" GAMEDIR="Fallout New Vegas" APPID="22380" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout New Vegas INFO: No installation of VSL_FALLOUT_NEWVEGAS found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout New Vegas INFO: No installation or Proton Prefix of VSL_FALLOUT_NEWVEGAS found! INFO: Building symlinks for CURRENT_GAME="VSL_MORROWIND" GAMEDIR="Morrowind" APPID="22320" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Morrowind INFO: No installation of VSL_MORROWIND found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Morrowind INFO: No installation or Proton Prefix of VSL_MORROWIND found! INFO: Building symlinks for CURRENT_GAME="VSL_OBLIVION" GAMEDIR="Oblivion" APPID="22330" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Oblivion INFO: No installation of VSL_OBLIVION found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Oblivion INFO: No installation or Proton Prefix of VSL_OBLIVION found! INFO: Building symlinks for CURRENT_GAME="VSL_SKYRIMSE" GAMEDIR="Skyrim Special Edition" APPID="489830" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Skyrim Special Edition INFO: No installation of VSL_SKYRIMSE found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Skyrim Special Edition INFO: No installation or Proton Prefix of VSL_SKYRIMSE found! INFO: Building symlinks for CURRENT_GAME="VSL_SKYRIMVR" GAMEDIR="SkyrimVR" APPID="611670" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/SkyrimVR INFO: No installation of VSL_SKYRIMVR found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/SkyrimVR INFO: No installation or Proton Prefix of VSL_SKYRIMVR found! INFO: Building symlinks for CURRENT_GAME="VSL_SKYRIM" GAMEDIR="Skyrim" APPID="72850" INFO: Searching /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Skyrim INFO: No installation of VSL_SKYRIM found at /home/haw/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Skyrim INFO: No installation or Proton Prefix of VSL_SKYRIM found! INFO: Using Vortex prefix at "/mnt/476e760f-49aa-49d4-a380-847b79f1797c/Vortex" INFO: Making an entry for Vortex at "/home/haw/.local/share/applications/vortex-downloads-handler.desktop" WARN: Clearing the previous desktop entry from the applications folder.

hawari21 avatar Jun 15 '22 06:06 hawari21

Welp, sadly it still does not work for me...i got same error everytime i select any different an entry option. Even this error message was pops up again now : https://i.postimg.cc/WpDywqC9/11.png

That is the error I encounter when using the wrong desktop entry. You should use the desktop entry created by the installer. The installer.log also specifies the exact location it was created at. Try launching that entry directly.

INFO: Making an entry for Vortex at "/home/haw/.local/share/applications/vortex-downloads-handler.desktop"

It should be found by your desktop environment's list of applications or other application runner. Make sure the desktop entry says Vortex Launcher and NXM Protocol Download Handler in the comment section.

i install my Vortex on another hardrive so it might be related with my issue

Install location for Vortex shouldn't be an issue. If the log states the directory being used by the installer is correct, then any mount point is probably fine.

INFO: Using Vortex prefix at "/mnt/476e760f-49aa-49d4-a380-847b79f1797c/Vortex"

Make sure that is the correct directory. It should be the same as the one specified when picking the installation folder in Lutris.

The game i was tried to play was FO4.

You have another obstacle to using my installer then: I did not see any "Found a Steam Library at " lines in the log. That indicates to me your Steam is installed somewhere different than my configuration. The previous installer will not find your games unless $HOME/.local/share/Steam/steamapps/libraryfolders.vdf exists. I'll try changing it to $HOME/.steam/steam/steamapps/libraryfolders.vdf and see if that is a more portable solution. Otherwise, share the path to your libraryfolders.vdf and I will add it to the list to check for in the script section.

NicBOMB avatar Jun 16 '22 00:06 NicBOMB

I split the installers off from the installer on the Lutris website for now. These new installers have completely different slugs to allow the linkers to find their respective Vortex prefix. I tested all four of these installers/extensions. ~I now have 3 Vortex installations. Send Help.~ There are now 40+ games automatically detected by these installers. Contributed Extensions for games also work and are included in the list below. EDIT: removed the files provided here in favor of those provided here: Official Lutris Installer (for Linux)

NicBOMB avatar Jun 16 '22 01:06 NicBOMB

@NicBOMB please get in touch with me if you're still interested in maintaining a Vortex installer.

rockerbacon avatar Jul 27 '23 14:07 rockerbacon

NicBOMB and I have spoken in private and have agreed Vortex support will not continue for now. People wishing to use Vortex are recommended to use Steam Tinker Launch.

Sorry for the late update, I'm only now getting to cleaning up old issues.

rockerbacon avatar May 16 '24 22:05 rockerbacon