Skip to content

Instantly share code, notes, and snippets.

@attusan
Last active November 8, 2024 08:03
Show Gist options
  • Save attusan/a095d1d84a3b1aef98a3343e536b3045 to your computer and use it in GitHub Desktop.
Save attusan/a095d1d84a3b1aef98a3343e536b3045 to your computer and use it in GitHub Desktop.
Manage Skyrim SE/AE mods via Vortex Mod Manager in Linux

Manage Skyrim SE mods via Vortex Mod Manager in Linux

The below walkthrough is for those who are running Skyrim SE via Steam Proton, and want to be able to manage mods via Vortex Mod Manager in Linux. You should be able to apply the same walkthrough to Oldrim or Fallout 4 as well. Note that with this guide you'll get an older version of Vortex (1.1.15), but IMHO it is still a better choice than Mod Manager 2. Also, you'll start Skyrim through Steam as usual, not through Vortex.

  1. If you have previously added mods through the Skyrim game menu, I recommend removing them all since all mods will be managed through Vortex. Mods => Load Order => Delete All. Also, consider taking a backup up your (vanilla) Skyrim game directory.
# archive vanilla game (update path to suit your needs)
cd /mnt/gameData/archive
cp -a /mnt/gameData/SteamLibrary/steamapps/common/Skyrim\ Special\ Edition/. skyrim-se
  1. Install Lutris (in my case via the Pop!_Shop, since I'm running Pop_OS)

  2. Install Vortex Mod Manager. The Lutris Mod Manager page targets version 1.4.15 of the app, and the one-click install seems to be broken. Instead, you will need to do an install through the CLI using rockerbacon's vortex.yml config file. This file, which targets an earlier version of Vortex (1.1.15), can be dowloaded from here.

    lutris -i "$HOME/Downloads/vortex.yml"

    Screenshot from 2022-09-03 10-53-16

    Most likely, you will need to install Vortex in the same partition as your Steam library folder(s). In my case, I chose "/mnt/gameData/Vortex". When prompted by the Lutris installer, disable your internet connection. Start Vortex Mod Manager and go to Settings => Vortex and set Update to "No automatic update". Shut down Vortex, and enable your internet connection again.

    Screenshot from 2022-09-03 10-41-11

  3. Add your Steam game folder(s). Start up Vortex, and go to Settings => Games => Add Search Directory. Select the Steam folder that contains your games, in my case "Z:\mnt\gameData\SteamLibrary". Click Dashboard => Scan for Missing Games. Alternatively, click Games => Scan => Scan:Full. Select the game(s) you would like to manage (Skyrim SE).

    Screenshot from 2022-09-03 12-24-34

  4. Add mods. When adding mods from nexusmods.com, do not use the "Vortex" button... Instead, do a manual download of the zipped archive. Then, drag and drop the file from your File Manager to the games' mods area in Vortex, and install/enable the mod from there.

    Another way is to right click the "Vortex" button and copy the link, click on the "Drop File(s)" area and paste in the copied nxm link into the dialog box. Thanks @Skulldugg3ry for this tip.

    Screenshot from 2022-09-03 12-34-48

  5. Set the load order, and apply output fix. The mod load order is calculated in the Vortex plugins area... Select Plugins => Sort Now. Note that Vortex outputs the load order in a file location that is not expected by Skyrim. To fix this, first rename the Vortex output file "plugins.txt" to "Plugins.txt" and move it to the folder Skyrim expects it to be. Then, create a symbolic link from the Vortex file location to the Skyrim file location. Note that Vortex plays nice with symbolic links, but Skyrim does not, so you do need to place the symlink in the Vortex directory and not the other way around. Thanks @Ateya9 for pointing that out.

// Update paths and <username> to suit your system
cd "/mnt/gameData/Vortex/drive_c/users/<username>/Local Settings/Application Data/Skyrim Special Edition"
mv plugins.txt "/mnt/gameData/SteamLibrary/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/Local Settings/Application Data/Skyrim Special Edition/Plugins.txt"
ln -s "/mnt/gameData/SteamLibrary/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/Local Settings/Application Data/Skyrim Special Edition/Plugins.txt" plugins.txt
  1. Skyrim Script Extender. Many mods require SKSE64 to work. Download the latest version of SKSE for your version of Skyrim (SE/AE) from http://skse.silverlock.org/. Extract and copy all SKSE files and folders to the Skyrim SE game folder; in my case "/mnt/gameData/SteamLibrary/steamapps/common/Skyrim Special Edition".

    Rename SkyrimSELauncher.exe => SkyrimSELauncher.orig.exe
    Rename skse64_loader.exe => SkyrimSELauncher.exe.

    Make sure Skyrim starts when clicking on it in your Steam library. Note that a window displaying the SKSE runtime log will show. This is normal. You should see the SKSE version under the in-game System tab.

    Screenshot from 2022-09-03 13-22-53

  2. Sky_UI mod. If you're wanting to use the popular SkyUI mod, chances are you'll need to use a recent version of Glorious Eggroll, not the standard proton release. I'm currently using version GE-Proton7-30.

  3. Happy modding!

@jameshibbard
Copy link

jameshibbard commented Sep 17, 2022

Thanks for the instructions. They worked pretty much perfectly on my Linux Mint 20.2
The only thing that tripped me up slightly is that Vortex wouldn't initially install and exited with:

Initial process has exited (return code: 32512)
All processes have quit
Exit with return code 32512

Looking at the logs, this was being caused by the following lines (164/165) in vortex-symlinks.sh:

xdg-mime default vortex-downloads-handler.desktop x-scheme-handler/nxm
xdg-mime default vortex-downloads-handler.desktop x-scheme-handler/nxm-protocol

I commented those out and ran the command manually:

xdg-mime default vortex-downloads-handler.desktop x-scheme-handler/nxm
xdg-mime default vortex-downloads-handler.desktop x-scheme-handler/nxm-protocol

Then I re-ran the installer, making sure that it didn't download the vortex-symlinks.sh file again, rather during the install I selected "cache" and located the file manually.

I got all of this from here: https://www.reddit.com/r/SteamDeck/comments/ufl5tk/comment/idqfacv/?context=3

@Skulldugg3ry
Copy link

The version linked from the Lutris site under Vortex Mod Manager seems to work fine now. An easy workaround to the Add to Vortex button not working is to right click the button in the browser and copy the link, then click on Downloads in Vortex and click the area at the bottom where you drop files - it will pop up a box that you can paste the copied nxm link into, and it will start the download.

@attusan
Copy link
Author

attusan commented Jul 19, 2023

Thanks @Skulldugg3ry for the tip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment