GithubHelp home page GithubHelp logo

rockerbacon / modorganizer2-linux-installer Goto Github PK

View Code? Open in Web Editor NEW
887.0 23.0 74.0 479 KB

An easy-to-use Mod Organizer 2 installer for Linux

License: GNU General Public License v3.0

Shell 83.80% Perl 2.63% Makefile 1.14% C 12.43%

modorganizer2-linux-installer's Introduction

Introduction

This project aims to make modding and playing Bethesda games on Linux as easy as possible. It does that by providing installers which automatically setup a working experience for the user.

While these installers may be available on Lutris.net, users are always recommended to use the latest stable release from this repository. The testers and maintainers of this project have little control over the content on Lutris and cannot assure that the installers available there are up to date nor that they haven't been incorrectly modified.

Installing Mod Organizer 2

Requirements

You may need to manually install the following programs:

  • 7z
    • Should be readily available in your distribution's package manager
  • protontricks
    • Steam Deck users: Protontricks must be installed through the Discover app.
    • Other distributions: carefully read through the available install methods to ensure you're using an up-to-date version of the program.

The following requirements should be available out-of-the-box in most systems:

  • bash
  • either curl or wget
  • zenity
  • protontricks-launcher: should be available after installing protontricks already, if not see this

Installation steps

  1. Install the game you want to play on Steam;
  2. Download the the latest stable release here;
  3. Extract the downloaded file;
  4. Open the extracted folder in a terminal and execute ./install.sh;
  5. The installer will start and guide you through the rest of the process;
  6. Run the game on Steam and Mod Organizer 2 should start;
  7. Read the post-install instructions for recommended additional steps;

The installer will automatically configure game-specific workarounds and install the script extender for your game of choice. Java binaries are also made available at C:\java for running Proc Patchers.

Avoid using ENBoost with Skyrim: DXVK and Wine have their own better working memory patches, both properly enabled with this installer.

Features

The following is a small overview of the current state of each supported game:

GAME GAMEPLAY SCRIPT EXTENDER ENB
Fallout 3 working working not tested
Fallout 4 working some plugins might not work ENB v0.393 or older, disabling "EnablePostPassShader" might be necessary
Fallout New Vegas fullscreen only working working
Morrowind not tested not tested not tested
Oblivion working some plugins might require manual setup not tested
Skyrim working working working
Skyrim Special Edition working working not tested
Starfield working working not tested

For known bugs and necessary workarounds, please refer to the issues page

Please, help to keep this table up to date by opening issues on any successes or problems you have experienced.

Updating Mod Organizer 2

It is highly recommended to backup your existing installation before updating.

From 5.0.0 and above

You can update by simply following the install instructions again.

From 4.X.X and below

Version 5 of the installer updates ModOrganizer to version 2.5, which cannot be applied on top of an existing 2.4.4 instance. Users with working 4.X.X (or older) installations are recommended to not update.

Advanced users may reference the ModOrganizer 2.5.0 release page for instructions on updating portable instances. There are no instructions for updating global instances, and this project has no plans on taking responsibility for such documentation.

From 3.1.0 and below

You can update by simply following the install instructions again.

If you have multiple instances installed, you'll need to update all of them for Nexus integration to work.

From 2.8.6 and below (old Lutris installer)

  1. Go to where Mod Organizer was installed and rename the folder "ModOrganizer2" to "modorganizer2" (all lowercase);
  2. Follow the install instructions in this readme;
  3. If you have multiple instances installed, you'll need to update all of them for Nexus integration to work;

Installing Vortex

The Vortex installer was created before Wine had builtin support for Mod Organizer 2. It should only be used for games which Mod Organizer 2 does not support.

The Vortex installer does not apply any configurations to the games themselves. Make sure they are working, using Lutris or another method, before modding. GAMES SHOULD NOT BE LAUNCHED FROM WITHIN VORTEX.

The Vortex installer is not under active development/maintenance at the moment.

To install Vortex, you first need the vortex.yml installer from the latest release which included it.

You can use the installer with the following terminal command, remember to change the path if the file was downloaded to another location:

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

Remember to follow all instructions during installation, some manual steps are required for Vortex to work properly.

After installing Vortex and following all instructions, manually add the game you want to mod.

Notes

  • The old Skyrim Special Edition and SKSE64 installers have been deprecated as the Mod Organizer 2 installer replaces both
  • Advanced instructions for using Vortex can be found on older versions of this README. They were removed since they are only applicable to games supported by the Mod Organizer 2 installer

modorganizer2-linux-installer's People

Contributors

adolfgatonegro avatar aire-one avatar andy-bell101 avatar bafdyce avatar ethanalker avatar gamzeerakoon avatar gmn42 avatar jake770321 avatar jthistle avatar lehjr avatar monyarm avatar morogwen avatar noar-t avatar normikoto avatar rafaelrc7 avatar rockerbacon avatar sapphiria39 avatar sdkrum avatar swjzielinski avatar tdtooke avatar zouizoui78 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

modorganizer2-linux-installer's Issues

Node error - Fails to launch 1.9 stable

The Mod manager exits and fails to launch, oddly it works during the installation but if you close it and it completes the installation it will fail when launching from lutris.

Feature request: Custom Proton support

The current protonlauncher.sh doesn't seem to be able to launch custom proton versions such Proton-GE. Even when installed into steam's compatibilitytools.d directoy and selectable in the steam client, adding the version into the run.sh script causes it to break. It looks for it in the common directory, copying the custom proton there it still cannot find it.

Several bethesda games, notably FO4 work significantly better with GE versions of Proton than stock versions - but currently this version cannot be used with these MO2 installers.

FNIS Error 2012

Heya (me again)!

I've been setting up for a couple of days now and it works like a charm, thank you for this!

The only thing I haven't been able to get working is FNIS.

When I update FNIS Behaviour I get the Error 2012 (as seen in the Screenshot)

Screenshot from 2020-05-16 23-43-24

As I am certain that I have set everything up correctly, I am wondering whether it might be related to being on Linux in general.

However, if this is a known issue or somebody knows of a possible solution, that would be great!

If you, @rockerbacon, don't think this is related to this page, feel free to close this issue without comment.

Cheers!

Instal problem

The installation exits with an error:
I can't move ~/.cache/lutris/installer/mod-organizer-2/successful-prefix-preparation, it does not exist

Failed to load module "appmenu-gtk-module"

clues?

thanks

Failed to Install

Hi,

I'm trying to install Mod Organizer 2 using your script for Skyrim legendary edition and Steam Proton. Can you help with this?

using default filepaths for steam and Skyrim
Glorious Eggroll version Proton-5.4-GE-3

My setup:
OS: Ubuntu 19.10 x86_64
Kernel: 5.6.11-050611-generic
Shell: bash 5.0.3
Resolution: 1920x1080
DE: KDE
WM: KWin
Terminal: konsole
CPU: AMD Ryzen 5 3600 6- (12) @ 4.199GHz
GPU: NVIDIA NVIDIA Corporation Device 1f06
Memory: 3627MiB / 16020MiB

logs from running the provided command: lutris -i modorganizer2.yml
lutris-mo2-installer-2.6.7-stable.log

vcrun2019 sha256sum mismatch

sha256sum mismatch! Rename /home/$user/.cache/winetricks/vcrun2019/vc_redist.x86.exe and try again.

I repeatedly get that failure trying to setup Fallout 4 with Steamplay. Maybe MS updated the executable?

cannot read property of leingth undifined is just one of many errors the latest vortex install.

Just reinstalled vrotex using your lutris runner lurtis -i /file.ymal file method.

Failed to initialize loot:

Error: Invalid parameter. 'C:/users/took/Local Settings/Application Data/Fallout4'
at handleResponse (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar.unpacked\bundledPlugins\gamebryo-plugin-management\index.js:33:70723)
at Socket.e.on.e (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar.unpacked\bundledPlugins\gamebryo-plugin-management\index.js:33:69360)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
at Socket.Readable.push (_stream_readable.js:219:10)
at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)


lutris log output:

Running /home/took/.local/share/lutris/runners/wine/lutris-5.2-x86_64/bin/wine /home/took/vortex/drive_c/Program Files/Black Tree Gaming Ltd/Vortex/Vortex.exe
Initial process has started with pid 22759
Game is considered started.

info: Epic games launcher not found error=File not found. (2) 'SOFTWARE\WOW6432Node\Epic Games\EpicGamesLauncher'

info: steam not found error=File not found. (2) 'Software\Valve\Steam'

info: Game: Vortex.exe
info: DXVK: v1.6.1+
info: Built-in extension providers:
info: Win32 WSI
info: OpenVR
warn: OpenVR: Failed to locate module
info: Enabled instance extensions:
info: VK_KHR_surface
info: VK_KHR_win32_surface
info: GeForce GTX 1070:
info: Driver: 440.82.0
info: Vulkan: 1.1.119
info: Memory Heap[0]:
info: Size: 8192 MiB
info: Flags: 0x1
info: Memory Type[7]: Property Flags = 0x1
info: Memory Type[8]: Property Flags = 0x1
info: Memory Heap[1]:
info: Size: 8970 MiB
info: Flags: 0x0
info: Memory Type[0]: Property Flags = 0x0
info: Memory Type[1]: Property Flags = 0x0
info: Memory Type[2]: Property Flags = 0x0
info: Memory Type[3]: Property Flags = 0x0
info: Memory Type[4]: Property Flags = 0x0
info: Memory Type[5]: Property Flags = 0x0
info: Memory Type[6]: Property Flags = 0x0
info: Memory Type[9]: Property Flags = 0x6
info: Memory Type[10]: Property Flags = 0xe
info: D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_1
info: D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_1
info: Device properties:
info: Device name: : GeForce GTX 1070
info: Driver version : 440.82.0
info: Enabled device extensions:
info: VK_EXT_depth_clip_enable
info: VK_EXT_host_query_reset
info: VK_EXT_shader_demote_to_helper_invocation
info: VK_EXT_shader_viewport_index_layer
info: VK_EXT_transform_feedback
info: VK_EXT_vertex_attribute_divisor
info: VK_KHR_create_renderpass2
info: VK_KHR_depth_stencil_resolve
info: VK_KHR_draw_indirect_count
info: VK_KHR_driver_properties
info: VK_KHR_image_format_list
info: VK_KHR_sampler_mirror_clamp_to_edge
info: VK_KHR_swapchain
info: Device features:
info: robustBufferAccess : 1
info: fullDrawIndexUint32 : 1
info: imageCubeArray : 1
info: independentBlend : 1
info: geometryShader : 1
info: tessellationShader : 1
info: sampleRateShading : 1
info: dualSrcBlend : 1
info: logicOp : 1
info: multiDrawIndirect : 1
info: drawIndirectFirstInstance : 1
info: depthClamp : 1
info: depthBiasClamp : 1
info: fillModeNonSolid : 1
info: depthBounds : 1
info: multiViewport : 1
info: samplerAnisotropy : 1
info: textureCompressionBC : 1
info: occlusionQueryPrecise : 1
info: pipelineStatisticsQuery : 1
info: vertexPipelineStoresAndAtomics : 1
info: fragmentStoresAndAtomics : 1
info: shaderImageGatherExtended : 1
info: shaderStorageImageExtendedFormats : 1
info: shaderStorageImageReadWithoutFormat : 1
info: shaderStorageImageWriteWithoutFormat : 1
info: shaderClipDistance : 1
info: shaderCullDistance : 1
info: shaderFloat64 : 1
info: shaderInt64 : 1
info: variableMultisampleRate : 1
info: VK_EXT_conditional_rendering


Text popup not text copyable:

Selection_018

(support request) SkyrimSE Audio Fix

I've recently switched from Windows to the most recent Fedora, so please forgive my ignorance.

In Skyrim: SE, I was able to get SKSE and all of my mods working, but NPC audio is silent. The fix given on this guide is to reinstall fAudio using these commands.
cd $HOME/.steam/steam/steamapps/common/Skyrim\ Special\ Edition/audiofix
bash ./install-audio-fix.sh

I am having trouble understanding this step of the tutorial.

Installer seems to hang

I've been stuck on a hanging installation for Vortex for about 2 hours now. It appears to be stuck on "installing game data". I seem to be missing some dependencies or cannot parse the correct resources. Do you know how to solve this problem by any chance?

I've tried the installation with wine and wine-staging. Both return with the same problem.

Here is the pastebin of what the terminal will give me. If you need more I can go into the term logs.
https://pastebin.com/w5kEhWsG

Thanks,
Jake

Installation / Usage Instructions

I've never used any lutris custom installer before, and I'm not quite familiar to install and use the files / configs here. The README doesn't detail it AFAIK, some hints on how to use it would be great. Thanks for your work!

Crash right after the Vortex installer finishes

image

This happens at the "Vortex Setup", I can't really tell if the actual Vortex installation finishes, but it crashes and leaves the lutris installer hanging "waiting on children". I guess it does finish installing, because the crash is in the Vortex.exe, and not in the installer executable.

Corrupt prefix on Fallout 3 GOTY installation

System Information

Apologies if I have not included enough information, please let me know if anything else is necessary to debug.

System

OS: Arch Linux rolling n/a
Arch: x86_64
Kernel: 5.6.15-arch1-1
Desktop: KDE
Display Server: x11

CPU

Vendor: GenuineIntel
Model: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
Physical cores: 4
Logical cores: 4

Memory

RAM: 15.6 GB
Swap: 16.0 GB

Graphics

Vendor: NVIDIA Corporation
OpenGL Renderer: GeForce GTX 1070/PCIe/SSE2
OpenGL Version: 4.6.0 NVIDIA 440.82
OpenGL Core: 4.6.0 NVIDIA 440.82
OpenGL ES: OpenGL ES 3.2 NVIDIA 440.82
Vulkan: Supported

Installer

Version: 2.7.0 Stable

Lutris

Version: 0.5.6

Log Output

lutris-mod-organizer.log

Issue Description

I have the Fallout 3 GOTY and Proton 5.0 directory in $HOME/.local/share/Steam/steamapps/common and (symlink) $HOME/.steam/steam/steamapps/common.

It appears that the installer is searching for Steam in $HOME/.steam and looking for games in $HOME/.steam/steam.

Is there a way to get the installer to look in the correct location? I saw that #66 had a similar issue and #55 has been closed by #70, but I am still having this issue. Any suggestions?

Oblivion Testing

First: thank you for this script.

I am working on getting Oblivion working with mods using Mod Organizer 2. It appears to be completely untested as of yet. As per the README, I am opening an issue to track any progress.

System

Arch Linux, kernel 5.6.14-arch1-1
Intel i5-6500 3.2GHz
NVIDIA GeForce GTX 1060 6GP, drivers version 440.82-17
16GB Ram

Game is installed on an SSD.
Steam version 1.0.0.62-1
Proton version 5.0-7

Tested

  • Installing Mod Manager 2 and OBSE via this script ✔️
  • Manually downloading and installing a mod from Nexus ✔️
  • Running Oblivion through Mod Manager 2 with no mods ⚠️
  • Running Oblivion through Mod Manager 2 with mods ⚠️

Results

Installation went smooth, after #61 was resolved. Had to set arguments due to my Steam library not being at the default location (--proton-libdir /path/to/Steam/dir). Once installed, tried running Oblivion without mods and the game started. Exited at main menu, downloaded a few mods, and tried again. Game started successfully, with modifications apparent (DarNified UI, specifically). Once confirmed game works with and without mods, jumped into starting a new game. Immediately noticed performance issues. After about 5 minutes, game freezes. Tested both with and without mods; same results. I believe there's a memory leak, perhaps tied to OBSE. I confirmed no performance problems when running the game from Steam directly (using the same Proton versions).

I will continue to investigate. I have no experience with OBSE, Mod Manager, or Lutris. I have limited experience with performance testing. Any suggestions welcomed.

Installation stuck at extracting

Actually I'm experiencing many problems installing MO2 for Skyrim. Sometimes I can install it but it simply does not run. When I try to install it again, it stucks at extracting something, can be openjdk or f4se, or skse. I'm using Ubuntu 20.04. The log looks normal, saying everything is ok but it simply hangs at extracting. I left it running for a whole night but still. Please tell me if you need any more info/logs. Thank you.

`lutris -i "$HOME/Games/modorganizer2.yml"
2020-06-03 08:46:13,773: Running Lutris 0.5.6
2020-06-03 08:46:13,774: Using NVIDIA drivers 440.64 for x86_64
2020-06-03 08:46:13,774: GPU: GeForce GTX 1050
2020-06-03 08:46:13,774: GPU: 10DE:1C8D 1028:0798 using nvidia drivers
2020-06-03 08:46:13,774: GPU: 8086:591B 1028:0798 using i915 drivers
2020-06-03 08:46:13,840: Vulkan is supported
2020-06-03 08:46:13,841: Updating DXVK versions
2020-06-03 08:46:18,918: Downloading file 1 of 16
2020-06-03 08:46:19,425: Downloading file 2 of 16
2020-06-03 08:46:19,930: Downloading file 3 of 16
2020-06-03 08:46:20,435: Downloading file 4 of 16
2020-06-03 08:46:20,940: Downloading file 5 of 16
2020-06-03 08:46:21,446: Downloading file 6 of 16
2020-06-03 08:46:21,952: Downloading file 7 of 16
2020-06-03 08:46:22,457: Downloading file 8 of 16
2020-06-03 08:46:24,467: Downloading file 9 of 16
2020-06-03 08:46:24,973: Downloading file 10 of 16
2020-06-03 08:46:25,479: Downloading file 11 of 16
2020-06-03 08:46:25,984: Downloading file 12 of 16
2020-06-03 08:46:28,495: Downloading file 13 of 16
2020-06-03 08:46:29,000: Downloading file 14 of 16
2020-06-03 08:46:29,506: Downloading file 15 of 16
2020-06-03 08:46:30,012: Downloading file 16 of 16

(lutris:16205): Gtk-CRITICAL **: 08:46:41.101: gtk_tree_model_get_column_type: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed

(lutris:16205): Gtk-CRITICAL **: 08:46:41.101: gtk_combo_box_get_active_id: assertion 'gtk_tree_model_get_column_type (model, column) == G_TYPE_STRING' failed
Running /usr/bin/bash -c xdg-mime default modorganizer2-nxm-handler.desktop x-scheme-handler/nxm
Initial process has started with pid 16300
Game is considered started.
Game is considered exited.
Initial process has exited.
All children have exited.
Exit with returncode 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 37319384 bytes (36 MiB)

Extracting archive: /home/bathong/Games/MO2/mod-organizer-2/openjdk/OpenJDK8U-jre_x64_windows_8u252b09.zip

Path = /home/bathong/Games/MO2/mod-organizer-2/openjdk/OpenJDK8U-jre_x64_windows_8u252b09.zip
Type = zip
Physical Size = 37319384

Everything is Ok

Folders: 15
Files: 121
Size: 94859720
Compressed: 37319384

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 384875 bytes (376 KiB)

Extracting archive: /home/bathong/Games/MO2/mod-organizer-2/fose/fose_v1_2_beta2.7z

Path = /home/bathong/Games/MO2/mod-organizer-2/fose/fose_v1_2_beta2.7z
Type = 7z
Physical Size = 384875
Headers Size = 3155
Method = LZMA:6m BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 8
Files: 184
Size: 4753751
Compressed: 384875

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 598435 bytes (585 KiB)

Extracting archive: /home/bathong/Games/MO2/mod-organizer-2/f4se/f4se_0_06_21.7z

Path = /home/bathong/Games/MO2/mod-organizer-2/f4se/f4se_0_06_21.7z
Type = 7z
Physical Size = 598435
Headers Size = 5414
Method = LZMA2:22 LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 14
Files: 393
Size: 3284040
Compressed: 598435

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 712979 bytes (697 KiB)

Extracting archive: /home/bathong/Games/MO2/mod-organizer-2/nvse/nvse_5_1_beta4.7z

Path = /home/bathong/Games/MO2/mod-organizer-2/nvse/nvse_5_1_beta4.7z
Type = 7z
Physical Size = 712979
Headers Size = 4131
Method = LZMA2:6m LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 12
Files: 231
Size: 4902927
Compressed: 712979

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 4079213 bytes (3984 KiB)

Extracting archive: /home/bathong/Games/MO2/mod-organizer-2/mwse/mwse.zip

Path = /home/bathong/Games/MO2/mod-organizer-2/mwse/mwse.zip
Type = zip
Physical Size = 4079213

Everything is Ok

Folders: 23
Files: 127
Size: 14114269
Compressed: 4079213

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 1662426 bytes (1624 KiB)

Extracting archive: /home/bathong/Games/MO2/mod-organizer-2/obse/obse_0021.zip

Path = /home/bathong/Games/MO2/mod-organizer-2/obse/obse_0021.zip
Type = zip
Physical Size = 1662426
Comment = ; WinRAR
; Multifunctional Integrated Archive Manager

Everything is Ok

Folders: 12
Files: 342
Size: 6092629
Compressed: 1662426
Running /usr/bin/bash -c printf '\x90\x90\x90' | dd conv=notrunc of='/home/bathong/.cache/lutris/installer/mod-organizer-2/oblivion-script-extender/obse_loader.exe' bs=1 seek=$((0x14cb))
Initial process has started with pid 16375
Game is considered started.
3+0 records in
3+0 records out
3 bytes copied, 3.3261e-05 s, 90.2 kB/s
Game is considered exited.
Initial process has exited.
All children have exited.
Exit with returncode 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 624845 bytes (611 KiB)

Extracting archive: /home/bathong/Games/MO2/mod-organizer-2/skse/skse_1_07_03.7z

Path = /home/bathong/Games/MO2/mod-organizer-2/skse/skse_1_07_03.7z
Type = 7z
Physical Size = 624845
Headers Size = 8072
Method = LZMA2:22 LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 14
Files: 544
Size: 3591799
Compressed: 624845

`

Black screen on java Proc Patchers

Description

Java-based Proc Patchers may show only a black screen. Hovering the mouse over items on the black screen can force them to appear.

Workaround

Disabling hardware acceleration by adding the argument -Dsun.java2d.d3d=false to the executable in Mod Organizer 2 was shown to fix the issue on the following proc patchers:

  • Automatic Variants

The argument showed no effect on the following patchers:

  • Reqtificator

Despite the visual bug, patchers still work. For patchers which can't be fixed with the argument, it's possible to navigate them by using the mouse to show the buttons

Cause

The cause of the bug is unknown.

It seems the JRE will show screen elements whenever they update and then quickly make them blank. That is why hovering over buttons forces them to show up, the buttons need to be updated for the highlight effect.

Fallout 4 cant deploy

So a couple days ago I decided to try it out. I have Skyrim and Fallout 4. Both were installed before Vortex. Both are installed on the same external HD. I decided to mod Skyrim first. Works like a charm. Great job by the way. Then I added Fallout 4 and tried to mod. Im getting the dreaded:

Deployment Failed
1488 files were not correctly deployed (see log for details)
The most likely reason is the files were locked by an external application. please...

Im sure you have seen this before.

I have downloaded the symlinks.sh and run it inside the vortex prefix (It was not there, dont know if it was supposed to be or not) but that did not fix deployment.

I switched back and forth from skyrim and back to fallout4 a few times redeploying skyrim mods each time but that did not work either. I also tried the (Move Deployment: experimental) deployment method but that failed to.

I checked the vortex log and saw that pfx/drive_c/users/steamuser/My Documents/My Games/Fallout4/Fallout4Cuctom.ini was not being built. Wasn't even there so I created it and tried again. No luck. I checked to make sure the fallout4 folder and its contents were all owned by $USER and they are all mine and not root.

One thing I did do to my Vortex prefix was adjusting my internet connection to use a bogus proxy. When I read that you cannot update Vortex and clicked OK and turned off what you asked in settings I thought I'd take it a step further and just disable internet connection completely so I wouldn't have the possibility of hitting the wrong button.

Any way thanks for the hard work.
I dont know what other info you might need me to provide.

FNV Wine: Nexus Downloads Broken

Attempting to download with manager for New Vegas pops up the NXM registration dialog, activating it to point at New Vegas modorganizer doesn't help, it will continue to only pop up the registration dialog forever.
This makes it impossible to use the download with manager for New Vegas.

The problem appears to be specific to New Vegas, and may be related to Nexus changing the game name of New Vegas from "FalloutNV" to "NewVegas" in recent months.

Scripted FOMODs not working correctly

This problem is subtle and easy to miss- but FOMOD based mods with menus do not work with Vortex as set up by this script.
No menu shows up - and the mod ends up merely getting extracted instead of allowing the user to select components. The trouble is that this places the component directories into the game- which are not in a functional install and the mod simply will not work like this as the files are all in the wrong paths.

This type of mod is especially common with the previous generation Bethesda games (Oblivion, New Vegas, Fallout 3) - and those games are essentially unmoddable with vortex unless FOMODs and OMODS work correctly.
There are a number of additional requirements that the tool used for installing these mods needs - including winetricks windowscodecs, though I haven't been able to compile a full and accurate list.

The problem also affects MO2, which prints the command it's trying to run into the logs, by then tryning to run this manually and analysing the errors you should be able to get a complete list of dependencies.
Note: these work correctly under windows, the failure appears to be specific to wine and is resolvable with the correct set of dependencies identified and included.

Scan all Steam libraries when searching for Proton

Currently the script only searches for Proton in the default Steam library. Many users have Proton on secondary libraries (as seen in #54) and not all of them might find the option --proton-libdir.

The code for listing Steam libraries is already written, so the effort to implement this feature is minimal.

New Vegas Testing

Archlinux, 5.7.0-arch1-1-pds
Intel i7-4790k, R9 390, 8GB ram
mesa-git, AMDGPU
steam version

Runs well with mods, and latest ENB in fullscreen, haven't gone far in game but havn't had any crashing or broken areas. setting to windowed in launcher gives renderer error, but ENB can probably take care of windowing. Mouse speed is different in some menus and seems to warp a bit in pip-boy(this may just be a readius mod thing); I hadn't opened the normal pipboy at any time. The first loading screen takes longer than normal with ENB running but afterwords speeds are normal for NV on an SSD.

edit: all menus seem to have the mouse issue

Skyrim Launch from Mod Organizer Hangs

First off, thanks a ton for this. While the installer did not quite work out of the box, all the challenges/errors I ran into (until this one) had already been addressed on the issue tracker, so it was easy to solve these few problems. So much better than configuring this all manually and/or using Vortex.

I was able to install a minimal set of mods (bug fixes, SkyUI, and Requiem; this included getting the Requiem for the Indifferent patch generated from the Reqtificator in spite of the JRE/Swing rendering bug), but now attempting to test this load order, I realize that Skyrim does not launch properly from ModOrganizer from any launch option, even when all mods are unloaded. For example, when picking SKSE, MO2 will launch a SkyrimSE.exe process with a fixed amount of memory (93,164 K) but the process never continues and seems to hang. Nothing in the MO2 logs seems to indicate an issue, though MO2 has been freezing on me frequently when loading large mods or closing the window.

I did install SKSE64 the old manual way prior to completing this installation (i.e. overwriting the SkyrimSE.exe with the SKSE launcher so it always opens when launched with steam), but I'm not sure if this is an issue as I can launch from Steam (w/ Proton v.5.0-9) and the SKSE exe works perfectly fine when launched from Steam in this manner.

Any help with this would be appreciated!

Mod Organizer 2 cannot login to Nexus nor open a browser

Description

Attempting to login to Nexus from Mod Organizer 2 may cause the program to freeze. The program may also freeze when doing anything that should open a browser (visit mod on Nexus, etc).

Workarounds

It's possible to login to Nexus by manually adding your Nexus API key:

  1. Visit this page on Nexus and click the button "REQUEST AN API KEY" next to Mod Organizer 2;
  2. Copy the generated key;
  3. Go to Tools > Settings > Nexus and click on "Enter API key manually";
  4. Paste the key you copied on step 2 into the textbox and click ok;

There is no known workaround for allowing it to open a browser.

Cause

The cause of this bug is still unknown.

Feature suggestion: Support for TTW

A Tale of Two wastelands is a very popular mod that allows users to play Fallout 3 on Fallout New Vegas's engine.
ModOrganizer2 has special support for this mod. Currently however it has some incompatibilities with this lutris setup.

  1. The installer seems to not be able to run with wine - it's possible to work around this however by running the installer on a windows box and replacing the FNV install dir in a wine bottle with the one created on windows. If a work-around is possible, this would be a great advantage however. This however means NOT using the FULL MO2 support in the installer as the user has to install TTW without MO2 awareness (see the official install guide video for the process and why this isn't compatible) - and then ONLY use MO2 for subsequent mods.
    This method has other difficulties as well (key being maintaining identical windows path in the subsequent bottle to both game installations)
  2. It uses a custom-patch set of binary patches - and the MO2 installer's insistance on replacing NVSE can actually cause problems when using this method to set up MO2 after the fact because it replaces NVSE with one lacking the custom TTW patches, forcing the user to RE-copy the patched one over the FNV version.

I am currently attempting some tests using the following manual method to see how this actually works and if there are other issues to address:

  • On my one and only windows system I installed Fallout 3 in steam, FNV from GOG and TTW on top, all on the otherwise empty D-drive (this is a work-around, the windows came with my work laptop and I never use it so it's drive is super small, but to do the TTW install I needed a bunch more space, I had to create a new partition just for this purpose)
  • In a local wine bottle, add a directory drive_d and set it up as "drive d" to maintain drive name parity
  • Install FNV to this bottle, in drive d, using wine with the real executable NOT the lutris installer, in order to get the same path as on Windows, and the proper registry entries.
  • Now remove this FNV install directory.
  • Archive the entire contents of drive D from the windows machine, SCP to my gaming machine and extract into the drive_d drectory, replacing the former content.
    Use this installer to set up modorganizer in a different directory but pointed at the same winebottle prepared above
  • re-extract the archive to undo the changes made to the nvse installer.
  • Run MO2 and choose the TTW mode instead of normal FNV mode.
  • Try the Tale of Two Wastelands labled launcher NOT the NVSE launcher.

I will report on how well this works/fails once I have the whole setup done and can test it further. I completely manual version of this approach WITHOUT MO2 had worked well before, hoping this will allow taking it to another level.
A key reason is that FNV's engine is MUCH more stable than Fallout3's engine - and serious crashes and game breaking bugs are more easily fixed in fallout 3 by playing it in TTW than trying to fix the original game.

Vortex fails to launch after install finishes.

When I was prompted to manually disabling automatic updates in Vortex, vortex was launched just fine. I disabled the automatic update and then closed it again.
The install finished and I clicked the launch button and nothing happened.

If I try to launch vortex from lutris now, the Play button turns to a Stop button, and then after a few seconds back again to Play.

Log shows the following:
`Running /home/lejon/.local/share/lutris/runners/wine/lutris-5.2-x86_64/bin/wine /home/lejon/Games/vortex-mod-manager/drive_c/Program Files/Black Tree Gaming Ltd/Vortex/Vortex.exe
Initial process has started with pid 1830
Game is considered started.

net.js:314
err = this._handle.open(fd);
^

Error: EINVAL: invalid argument, uv_pipe_open
at new Socket (net.js:314:26)
at createWritableStdioStream (internal/process/stdio.js:179:18)
at process.getStdout [as stdout] (internal/process/stdio.js:28:14)
at Object. (electron/js2c/browser_init.js:5669:13)
at Object../lib/browser/init.ts (electron/js2c/browser_init.js:5824:30)
at webpack_require (electron/js2c/browser_init.js:20:30)
at electron/js2c/browser_init.js:84:18
at electron/js2c/browser_init.js:87:10
at NativeModule.compile (internal/bootstrap/loaders.js:287:5)
at NativeModule.compileForPublicLoader (internal/bootstrap/loaders.js:222:8) {
errno: -4071,
code: 'EINVAL',
syscall: 'uv_pipe_open'
}
Game is considered exited.
Initial process has exited.
All monitored processes have exited.
Exit with returncode 256`

Don't understand why it would work during the install but not after.

MO2 - SkyrimSE install failure

Install Log: https://gist.github.com/spannerman79/e57fb05aa6f8826bd508474c46420777

lutris compiled from source - https://aur.archlinux.org/packages/lutris-git/

winetricks compiled from source - https://aur.archlinux.org/packages/winetricks-git/

winetricks --version
20200412-next - sha256sum: f34b450a051c00e13a5473ad9580ee33d1099b4b8307b25ca01ff73c159ef3c1

It fails at the point of installing vcrun2019.

I checked winetricks github against the version sha256 downloadeded which I've given below

sha256sum vc_redist.x86.exe 
a06aac66734a618ab33c1522920654ddfc44fc13cafaa0f0ab85b199c3d51dc0  vc_redist.x86.exe

As you can see from https://github.com/Winetricks/winetricks/blob/master/src/winetricks#L12617 that is the listed sha256.

Proton version assigned to SkyrimSE - https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/5.8-GE-2-MF

I'm not sure if its your script or something else that is going on.

Loot might need wineHQ staging

Opening new issue as requested. Cant find loot version as requested. Dont know where to look. I tried in Vortex -> about, but couldn't find it in there. Tried wineconfig to but it's not under applications. Cant remember the command to open a CMD terminal and I don't know much about getting .exe's version info that way.

Are you talking about Vortex versions? Vortex version is 0.17.11.

Pure wine - broken within lutris

Pure Wine setups cannot launch from within lutris, but work fine if calling run.sh manually.

Error from within Lutris:

LD_LIBRARY_PATH='/home/metalpoetza/.steam/steam/steamapps/common/Proton 5.0/lib64:/home/metalpoetza/.steam/steam/steamapps/common/Proton 5.0/lib:/games/Steam/ubuntu12_32/steam-runtime/pinned_libs_32:/games/Steam/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib/libfakeroot:/usr/lib32:/usr/lib/libupnp-1.8:/usr/lib/openmpi:/usr/lib:/games/Steam/ubuntu12_32/steam-runtime/i386/lib/i368-linux-gnu:/games/Steam/ubuntu12_32/steam-runtime/i386/lib:/games/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu:/games/Steam/ubuntu12_32/steam-runtime/i386/usr/lib:/games/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu:/games/Steam/ubuntu12_32/steam-runtime/amd64/lib:/games/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu:/games/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib' \
 \
WINEPREFIX='/games/FNV'
\
'/home/metalpoetza/.steam/steam/steamapps/common/Proton 5.0/dist/bin/wine' '/games/mo2fnv/ModOrganizer2/ModOrganizer.exe' 

wineserver: using server-side synchronization.
wine client error:0: version mismatch 621/597.
Your wine binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
Game is considered exited.
Initial process has exited.
All children have exited.
Exit with returncode 256
DEBUG 2020-05-14 10:44:55,139 [command.on_stop:182]:The process has terminated with code 0
DEBUG 2020-05-14 10:44:55,140 [command.stop:266]:Management process looks dead already.
DEBUG 2020-05-14 10:44:55,140 [command.stop:278]:logger already detached
DEBUG 2020-05-14 10:44:56,887 [game.beat:596]:Game thread stopped
WARNING 2020-05-14 10:44:56,887 [game.on_game_quit:626]:Game still running (state: running)
INFO 2020-05-14 10:44:56,887 [game.stop:611]:Stopping MO2FNV (linux)
DEBUG 2020-05-14 10:44:56,887 [command.stop:266]:Management process looks dead already.
DEBUG 2020-05-14 10:44:56,887 [command.stop:278]:logger already detached
DEBUG 2020-05-14 10:44:56,892 [game.on_game_quit:645]:MO2FNV stopped at Thu, 14 May 2020 10:44:56
DEBUG 2020-05-14 10:44:56,892 [game.save:249]:Saving MO2FNV (linux)
DEBUG 2020-05-14 10:44:56,935 [lutriswindow.on_game_updated:779]:Updating game MO2FNV (linux)
INFO 2020-05-14 10:45:01,129 [application.do_shutdown:491]:Shutting down Lutris

Unable to apply fix for broken audio

Hey,

Quickly. THANK YOU FOR THIS!

OK, so theres this random bug, (according to ProtonDB, its a bug with Proton itself) that causes strange audio behaviour. For some, no left, for others no NPC sounds. For me, randomly the audio will just cut out. At random intervals

WINEDLLOVERRIDES="xaudio2_7=n,b" PULSE_LATENCY_MSEC=90 %command%

This is the fix, for Steam Launch Options. I know you've implemented the first part. But I still have weird audio issues through your setup.

I know the launch options in Steam have no effect, as this will launch the game with its own options. How can I set PulaseAudio latency?

Fails to detect Skyrim: Special Edition

I believe this is because there is a space in my steam library location. Please see the full output log below:

lutris-wrapper: /usr/bin/bash
Running /usr/bin/bash -c xdg-mime default modorganizer2-nxm-handler.desktop x-scheme-handler/nxm
Initial process has started with pid 3881994
Game is considered started.
Game is considered exited.
Initial process has exited.
All children have exited.
Exit with returncode 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)

Scanning the drive for archives:
1 file, 37319384 bytes (36 MiB)

Extracting archive: /home/user/.cache/lutris/installer/mod-organizer-2/openjdk/OpenJDK8U-jre_x64_windows_8u252b09.zip
--
Path = /home/user/.cache/lutris/installer/mod-organizer-2/openjdk/OpenJDK8U-jre_x64_windows_8u252b09.zip
Type = zip
Physical Size = 37319384

Everything is Ok

Folders: 15
Files: 121
Size:       94859720
Compressed: 37319384

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)

Scanning the drive for archives:
1 file, 384875 bytes (376 KiB)

Extracting archive: /home/user/.cache/lutris/installer/mod-organizer-2/fose/fose_v1_2_beta2.7z
--
Path = /home/user/.cache/lutris/installer/mod-organizer-2/fose/fose_v1_2_beta2.7z
Type = 7z
Physical Size = 384875
Headers Size = 3155
Method = LZMA:6m BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 8
Files: 184
Size:       4753751
Compressed: 384875

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)

Scanning the drive for archives:
1 file, 598435 bytes (585 KiB)

Extracting archive: /home/user/.cache/lutris/installer/mod-organizer-2/f4se/f4se_0_06_21.7z
--
Path = /home/user/.cache/lutris/installer/mod-organizer-2/f4se/f4se_0_06_21.7z
Type = 7z
Physical Size = 598435
Headers Size = 5414
Method = LZMA2:22 LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 14
Files: 393
Size:       3284040
Compressed: 598435

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)

Scanning the drive for archives:
1 file, 712979 bytes (697 KiB)

Extracting archive: /home/user/.cache/lutris/installer/mod-organizer-2/nvse/nvse_5_1_beta4.7z
--
Path = /home/user/.cache/lutris/installer/mod-organizer-2/nvse/nvse_5_1_beta4.7z
Type = 7z
Physical Size = 712979
Headers Size = 4131
Method = LZMA2:6m LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 12
Files: 231
Size:       4902927
Compressed: 712979

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)

Scanning the drive for archives:
1 file, 4128127 bytes (4032 KiB)

Extracting archive: /home/user/.cache/lutris/installer/mod-organizer-2/mwse/mwse.zip
--
Path = /home/user/.cache/lutris/installer/mod-organizer-2/mwse/mwse.zip
Type = zip
Physical Size = 4128127

Everything is Ok

Folders: 23
Files: 127
Size:       14280669
Compressed: 4128127

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)

Scanning the drive for archives:
1 file, 1662426 bytes (1624 KiB)

Extracting archive: /home/user/.cache/lutris/installer/mod-organizer-2/obse/obse_0021.zip
--
Path = /home/user/.cache/lutris/installer/mod-organizer-2/obse/obse_0021.zip
Type = zip
Physical Size = 1662426
Comment = ; WinRAR
; Multifunctional Integrated Archive Manager


Everything is Ok

Folders: 12
Files: 342
Size:       6092629
Compressed: 1662426
lutris-wrapper: /usr/bin/bash
Running /usr/bin/bash -c printf '\x90\x90\x90' | dd conv=notrunc of='/home/user/.cache/lutris/installer/mod-organizer-2/oblivion-script-extender/obse_loader.exe' bs=1 seek=$((0x14cb))
Initial process has started with pid 3883228
Game is considered started.
3+0 records in
3+0 records out
3 bytes copied, 4.97e-05 s, 60.4 kB/s
Game is considered exited.
Initial process has exited.
All children have exited.
Exit with returncode 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)

Scanning the drive for archives:
1 file, 624845 bytes (611 KiB)

Extracting archive: /home/user/.cache/lutris/installer/mod-organizer-2/skse/skse_1_07_03.7z
--
Path = /home/user/.cache/lutris/installer/mod-organizer-2/skse/skse_1_07_03.7z
Type = 7z
Physical Size = 624845
Headers Size = 8072
Method = LZMA2:22 LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 14
Files: 544
Size:       3591799
Compressed: 624845

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)

Scanning the drive for archives:
1 file, 755625 bytes (738 KiB)

Extracting archive: /home/user/.cache/lutris/installer/mod-organizer-2/skse64/skse64_2_00_17.7z
--
Path = /home/user/.cache/lutris/installer/mod-organizer-2/skse64/skse64_2_00_17.7z
Type = 7z
Physical Size = 755625
Headers Size = 7057
Method = LZMA2:6m LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 13
Files: 520
Size:       4426059
Compressed: 755625
lutris-wrapper: /usr/bin/bash
Running /usr/bin/bash -c # clear envs set by Lutris
export LD_LIBRARY_PATH=""

nexus_game_id=skyrimspecialedition
runner=proton

if [ ! -f "/home/user/.cache/lutris/installer/mod-organizer-2/gamesinfo/$nexus_game_id.sh" ]; then
    "/home/user/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" errorbox \
        "Could not find gameinfo for '$nexus_game_id', remove Lutris cache and try again"
    exit 1
fi

source "/home/user/.cache/lutris/installer/mod-organizer-2/gamesinfo/$nexus_game_id.sh"

if [ -z "$game_appid" ]; then
    echo "ERROR: empty game_appid" >&2
    exit 1
elif [ -z "$game_steam_subdirectory" ]; then
    echo "ERROR: empty steam_subdirectory" >&2
    exit 1
fi

shared="/home/user/.local/share/modorganizer2"

case "$runner" in
    proton)
        mo2_tricks="vcrun2019"
        mo2_options=""

        if [ -z "$steam_library" ]; then
            steam_library=$("/home/user/.cache/lutris/installer/mod-organizer-2/utils/find-library-for-appid.sh" $game_appid)
        fi

        if [ ! -d "$steam_library" ]; then
            "/home/user/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" errorbox \
                "Could not find '$game_steam_subdirectory' in your Steam library"
            exit 1
        fi

        game_prefix="$steam_library/steamapps/compatdata/$game_appid/pfx"
        game_installation="$steam_library/steamapps/common/$game_steam_subdirectory"
        game_tricks="$game_protontricks"

        echo -e \
        "#!/bin/bash\n\n'$shared/proton-launcher.sh' $mo2_options $game_proton_options \"\$@\" $game_appid '/home/user/Media/4TB Internal/Games/Lutris/mod-organizer-2/ModOrganizer2/ModOrganizer.exe'" \
        > "/home/user/Media/4TB Internal/Games/Lutris/mod-organizer-2/run.sh"

        echo -e \
        "#!/bin/bash\n\n'$shared/proton-launcher.sh' $mo2_options $game_proton_options $game_appid '/home/user/Media/4TB Internal/Games/Lutris/mod-organizer-2/ModOrganizer2/nxmhandler.exe' \"\$1\"" \
        > "/home/user/Media/4TB Internal/Games/Lutris/mod-organizer-2/download.sh"
        ;;

    wine)
        mo2_tricks="vcrun2019 dotnet40"
        mo2_options="--proton-wine --winever 5.*"

        "/home/user/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" warnbox \
            "As of version 5.7, Wine still does not fully support Mod Organizer 2.2.1 and later.\nFor this reason this installer uses the Wine version bundled with Proton 5.0.\nMake sure you have Steam and Proton 5.0 installed on your system"

        game_prefix=$( \
            "/home/user/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" directorypicker \
                "Inform the path to your wineprefix" \
        )
        if [ -z "$game_prefix" ]; then
            echo "ERROR: Installation canceled by user" >&2
            exit 1
        fi

        game_tricks="$game_winetricks"

        install_path_candidates=( \
            "$game_prefix/drive_c/Program Files (x86)/Steam/steamapps/common/$game_steam_subdirectory" \
            "$game_prefix/drive_c/GOG Games/$game_steam_subdirectory" \
        )
        if [ -n "$game_gog_subdirectory" ]; then
            install_path_candidates+=( \
                "$game_prefix/drive_c/GOG Games/$game_gog_subdirectory" \
            )
        fi
        if [ "$nexus_game_id" == "fallout3" ]; then
            install_path_candidates+=( \
                "$game_prefix/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 3" \
                "$game_prefix/drive_c/GOG Games/Fallout 3" \
            )
        fi

        for path in "${install_path_candidates[@]}"; do
            echo "Searching for game at '$path'"
            if [ -d "$path" ]; then
                echo "Found game"
                game_installation="$path"
                break
            fi
        done

        if [ -z "$game_installation" ]; then
            game_installation=$( \
                "/home/user/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" directorypicker \
                    "Could not automatically find the game.\nPlease inform the path where the game is installed" \
            )
            if [ -z "$game_installation" ]; then
                echo "ERROR: installation canceled by user" >&2
                exit 1
            fi
        fi

        # TODO: uncomment once Wine fixes issues with VC2019
        # winever=$( \
        #     "/home/user/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" textentry \
        #         "Inform which version of Wine you're using\nLeave as * to use the latest version available on Lutris" \
        #         "*" \
        # )
        # if [ -z "$winever" ]; then
        #     echo "ERROR: Installation canceled by user" >&2
        #     exit 1
        # fi

        echo -e \
        "#!/bin/bash\n\nWINEPREFIX='$game_prefix' '$shared/wine-launcher.sh' $mo2_options $game_wine_options \"\$@\" '/home/user/Media/4TB Internal/Games/Lutris/mod-organizer-2/ModOrganizer2/ModOrganizer.exe'" \
        > "/home/user/Media/4TB Internal/Games/Lutris/mod-organizer-2/run.sh"

        echo -e \
        "#!/bin/bash\n\nWINEPREFIX='$game_prefix' '$shared/wine-launcher.sh' $mo2_options $game_wine_options '/home/user/Media/4TB Internal/Games/Lutris/mod-organizer-2/ModOrganizer2/nxmhandler.exe' \"\$1\"" \
        > "/home/user/Media/4TB Internal/Games/Lutris/mod-organizer-2/download.sh"
        ;;
esac

if [ -d "/home/user/.cache/lutris/installer/mod-organizer-2/${nexus_game_id}-script-extender" ]; then
    echo "Installing script extender..."

    output=$( \
        cp -af \
        "/home/user/.cache/lutris/installer/mod-organizer-2/${nexus_game_id}-script-extender/." \
        "$game_installation/" 2>&1 \
    )
    if [ "$?" != "0" ]; then
        "/home/user/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" errorbox \
            "Error while installing script extender: $output"
        exit 1
    fi
fi

mkdir -p "$game_prefix/drive_c/java"
output=$( \
    cp -af \
    "/home/user/.cache/lutris/installer/mod-organizer-2/extracted-openjdk/." \
    "$game_prefix/drive_c/java/" 2>&1 \
)
if [ "$?" != "0" ]; then
    "/home/user/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" errorbox \
        "Error while installing OpenJDK: $output"
    exit 1
fi

WINEPREFIX="$game_prefix" \
"/home/user/.local/share/lutris/runtime/winetricks/winetricks" -q $mo2_tricks $game_tricks
if [ "$?" != "0" ]; then
    "/home/user/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" errorbox \
        "Error while installing winetricks, please run Lutris from a terminal and check the logs"
    exit 1
fi

# workaround to stop installation if command fails
echo "success" > '/home/user/.cache/lutris/installer/mod-organizer-2/successful-prefix-preparation'
Initial process has started with pid 3883870
Game is considered started.
Searching for game in library '/home/user/.steam/steam'
Searching for game in library '/home/user/Media/4TB'
Searching for game in library 'Internal/Games/Steam'
Searching for game in library 'Library'
ERROR: could not find game with APPID '489830'
Game is considered exited.
Initial process has exited.
All children have exited.
Exit with returncode 256
<class 'lutris.installer.errors.ScriptingError'> I can't move /home/user/.cache/lutris/installer/mod-organizer-2/successful-prefix-preparation, it does not exist
None

The correct path is Searching for game in library "/home/user/Media/4TB Internal/Games/Steam Library". However, the script seems to see this as three different locations.

Searching for game in library '/home/user/.steam/steam'
Searching for game in library '/home/user/Media/4TB'
Searching for game in library 'Internal/Games/Steam'

I'm using the 2.6.8 Stable installer script. Any workarounds?

Error when Proton is installed in secondary library

After installing for Skyrim SE I get the following error:
Could not find Proton version matching 'Proton 5.*' in directory '$HOME/.steam/steam/steamapps/common/'
I checked in Steam where Proton is installed. My install is in a secondary library. (go to Library, ensure Tools is selected, right click Proton 5.0 -> Properties..., select the Local Files tab and select Browse Local Files to get the install location.)
What would be the possible solutions to this, besides moving the install folder? Would it be possible to create a symbolic link?

F4SE - some plugins breaking

Installing the auto gamepad switch plugin for F4SE causes it to hang on startuped, Fallout4.exe launches but immediately becomes defunct.

This plugin works fine with Vortex. This appears to be a memory issue introduced with the ModOrganizer support or, potentially, with stock Proton. Let me know if I can send any particular logs - but I looked at them and there are no errors, it just shows the DLL loading and then nothing more.
I can't say how many F4SE plugin mods are affected but I can confirm at least this one is: https://www.nexusmods.com/fallout4/mods/23136?tab=files

zEdit does not work

I'm currently approaching 255 plugins on my skyrim se install and was going to spin up zedit so that I could merge some plugins together so I could fit in a few more key additions when to my horror zEdit would not work in mod organizer. It's made double annoying because it'll work through launching it with wine fine but it won't work with my mod list unless I load it through mod organizer.

anyways here's a log

https://hasteb.in/jiqaguqo.coffeescript

this project is awesome btw, I didn't know about the awesomeness of mod organizer before I saw this project posted on reddit and it's made modding a TON more enjoyable, you really can't beat it.

Vortex can't open external links

When I click a link (e.g. Open on Nexus Mods or Go Premium) I get the following output and then nothing happens

/usr/lib/chromium/chromium: relocation error: /usr/lib/libavformat.so.58: symbol avpriv_tak_parse_streaminfo version LIBAVCODEC_58 not defined in file libavcodec.so.58 with link time reference

Use templates for generating multiple installers

As suggested by @ajventer, it would be better to use a template to generate multiple installers - using a tool like jinja2 - instead of relying too much on scripts to circumvent the shortcomings of Lutris. This way more built-in features from Lutris could be used and only the installer template would have to be maintained.

This approach would solve current limitations such as needing to download script extenders for all games and not being able to name the installation based on the game chosen by the user.

MO2 and target game need to be launched using the same version of Wine

It's not possible to use one version of Wine/Proton for MO2 and one for the game itself because the game needs to be launched from within MO2 due to it's virtual file system. If the game is launched outside of MO2 mods don't show up.

Usecase for this would be that some versions of Proton will fix issues in the game but not work for running MO2. For example, currently a custom TKG Proton build is reported to fix some issues with decals in Fallout 4 but the custom TKG build does not work with MO2 (TKG author says it won't work outside of Steam though I don't know why).

I'm not sure there's anything that can be done about this at the moment since there doesn't seem to be a way to disable VFS for MO2.

Can't run SkyProc patch

I'm trying to run a SkyProc patch using C:\java\bin\java.exe from MO2. Although it does launch, the screen stutters and I can't click anything.
It looks like this.
image

FNIS fails on external HD

There is no way to use FNIS as Administrator. Wines default permissions are Admin privilege so you cant elevate permissions to admin as far as I know. Never run wine apps as root (sudo)! Installing on external HD might be a bust if you want to use FNIS and possibly bodySlide. I know the setting you were referring to, it's in the body slide setup, under "start in" option. No change will work. Tried every fix I can think of. Everything will work great if vortex is installed on the same HD as your os running wine runtime. I had Skyrim bodyslide working and FNIS many times before.

vcrun2019 sha256sum mismatch

I'm new to GitHub, so sorry if I make any basic mistakes.

Description:

After running the command:
"lutris -i "$HOME/Downloads/modorganizer2.yml"
Lutris starts up, and I go through the installation procedure, I set the install directory to /home/user/games/mod-organizer-2, then I selected Skyrim, and then steam with proton. After this the program goes through extracting/downloading some files. A little while later it fails and I get an error message:
"Error while installing winetricks, please run Lutris from a terminal and check the logs"

In the terminal, the last line reads:
"sha256sum mismatch! Rename /home/user/.cache/winetricks/vcrun2019/vc_redist.x86.exe and try again."

I tried renaming it, and trying again. As well as downloading my own vc_redist.x86.exe from here, and putting it in the "/home/user/.cache/winetricks/vcrun2019/" folder (I did rename it to match the same case).

Notes

I have run Skyrim from steam before, and I have set it's proton version to 5.0-7.
This happened before and after I installed winetricks.
I don't have SKSE installed.
My package manager says everything is up to date.
I have another issue with the program freezing partway though extracting the files. To get around this I have to try installing it 2-4 times before it completes successfully.

System:

Manjaro

More of the log:

# workaround to stop installation if command fails
echo "success" > '/home/user/.cache/lutris/installer/mod-organizer-2/successful-prefix-preparation'
Initial process has started with pid 41971
Game is considered started.
Searching for game in library '/home/user/.steam/steam'
Found game
Installing script extender...
Executing mkdir -p /home/user/.steam/steam/steamapps/compatdata/72850
------------------------------------------------------
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 20200412-next - sha256sum: ff7c503db776c75caea6f3119e77bef37ed0e30b63f00cd04043805dba1e8d14 with wine-5.8 and WINEARCH=win64
Executing w_do_call vcrun2019
Executing mkdir -p /home/user/.steam/steam/steamapps/compatdata/72850
------------------------------------------------------
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_vcrun2019 
Executing cd /home/user/.cache/winetricks/vcrun2019
Downloading https://aka.ms/vs/16/release/vc_redist.x86.exe to /home/user/.cache/winetricks/vcrun2019
--2020-05-22 21:24:29--  https://aka.ms/vs/16/release/vc_redist.x86.exe
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving aka.ms (aka.ms)... 23.38.229.99
Connecting to aka.ms (aka.ms)|23.38.229.99|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://download.visualstudio.microsoft.com/download/pr/d60aa805-26e9-47df-b4e3-cd6fcc392333/A06AAC66734A618AB33C1522920654DDFC44FC13CAFAA0F0AB85B199C3D51DC0/VC_redist.x86.exe [following]
--2020-05-22 21:24:31--  https://download.visualstudio.microsoft.com/download/pr/d60aa805-26e9-47df-b4e3-cd6fcc392333/A06AAC66734A618AB33C1522920654DDFC44FC13CAFAA0F0AB85B199C3D51DC0/VC_redist.x86.exe
Resolving download.visualstudio.microsoft.com (download.visualstudio.microsoft.com)... 192.229.232.200, 2606:2800:147:ff8:129b:22eb:20b:1347
Connecting to download.visualstudio.microsoft.com (download.visualstudio.microsoft.com)|192.229.232.200|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14413048 (14M) [application/octet-stream]
Saving to: ‘vc_redist.x86.exe’

     0K .......... .......... .......... .......... ..........  0%  520K 27s
 [Download progress, cut out to save space]
 14050K .......... .......... .....                           100% 28.4M=5.2s

2020-05-22 21:24:36 (2.64 MB/s) - ‘vc_redist.x86.exe’ saved [14413048/14413048]

Executing cd /home/user/games/mod-organizer-2
------------------------------------------------------
sha256sum mismatch! Rename /home/user/.cache/winetricks/vcrun2019/vc_redist.x86.exe and try again.
------------------------------------------------------

cannot install MO2.

lutris -i ~/Desktop/modorganizer2.yml
2020-05-12 09:04:33,576: Running Lutris 0.5.6
2020-05-12 09:04:33,577: Using NVIDIA drivers 440.82 for x86_64
2020-05-12 09:04:33,577: GPU: GeForce GTX 1070
2020-05-12 09:04:33,577: GPU: 10DE:1BE1 1043:1660 using nvidia drivers
2020-05-12 09:04:33,595: Vulkan is supported
2020-05-12 09:04:33,596: Updating DXVK versions
2020-05-12 09:04:33,730: Connected to lutris.net as tldr
2020-05-12 09:04:39,212: Downloading file 1 of 16
2020-05-12 09:04:39,214: File mod-organizer-2/dialog already cached
2020-05-12 09:04:39,215: Downloading file 2 of 16
2020-05-12 09:04:39,216: File mod-organizer-2/find_library_for_appid already cached
2020-05-12 09:04:39,217: Downloading file 3 of 16
2020-05-12 09:04:39,218: File mod-organizer-2/gamesinfo already cached
2020-05-12 09:04:39,218: Downloading file 4 of 16
2020-05-12 09:04:39,219: File mod-organizer-2/proton_launcher already cached
2020-05-12 09:04:39,220: Downloading file 5 of 16
2020-05-12 09:04:39,221: File mod-organizer-2/wine_launcher already cached
2020-05-12 09:04:39,221: Downloading file 6 of 16
2020-05-12 09:04:39,222: File mod-organizer-2/nxm_broker already cached
2020-05-12 09:04:39,223: Downloading file 7 of 16
2020-05-12 09:04:39,224: File mod-organizer-2/nxm_mime_handler already cached
2020-05-12 09:04:39,224: Downloading file 8 of 16
2020-05-12 09:04:39,225: File mod-organizer-2/openjdk already cached
2020-05-12 09:04:39,226: Downloading file 9 of 16
2020-05-12 09:04:39,227: File mod-organizer-2/fose already cached
2020-05-12 09:04:39,227: Downloading file 10 of 16
2020-05-12 09:04:39,228: File mod-organizer-2/f4se already cached
2020-05-12 09:04:39,229: Downloading file 11 of 16
2020-05-12 09:04:39,230: File mod-organizer-2/nvse already cached
2020-05-12 09:04:39,230: Downloading file 12 of 16
2020-05-12 09:04:39,231: File mod-organizer-2/mwse already cached
2020-05-12 09:04:39,231: Downloading file 13 of 16
2020-05-12 09:04:39,232: File mod-organizer-2/obse already cached
2020-05-12 09:04:39,233: Downloading file 14 of 16
2020-05-12 09:04:39,234: File mod-organizer-2/skse already cached
2020-05-12 09:04:39,234: Downloading file 15 of 16
2020-05-12 09:04:39,235: File mod-organizer-2/skse64 already cached
2020-05-12 09:04:39,235: Downloading file 16 of 16
2020-05-12 09:04:39,236: File mod-organizer-2/mo_archive already cached

(lutris:3741): Gtk-CRITICAL **: 09:04:46.605: gtk_tree_model_get_column_type: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed

(lutris:3741): Gtk-CRITICAL **: 09:04:46.605: gtk_combo_box_get_active_id: assertion 'gtk_tree_model_get_column_type (model, column) == G_TYPE_STRING' failed
Running /bin/bash -c xdg-mime default modorganizer2-nxm-handler.desktop x-scheme-handler/nxm
Initial process has started with pid 3814
Game is considered started.
Game is considered exited.
Initial process has exited.
All children have exited.
Exit with returncode 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Scanning the drive for archives:
1 file, 37319384 bytes (36 MiB)

Extracting archive: /home/took/Downloads/LutrisCache/mod-organizer-2/openjdk/OpenJDK8U-jre_x64_windows_8u252b09.zip

Path = /home/took/Downloads/LutrisCache/mod-organizer-2/openjdk/OpenJDK8U-jre_x64_windows_8u252b09.zip
Type = zip
Physical Size = 37319384

Everything is Ok

Folders: 15
Files: 121
Size: 94859720
Compressed: 37319384

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Scanning the drive for archives:
1 file, 384875 bytes (376 KiB)

Extracting archive: /home/took/Downloads/LutrisCache/mod-organizer-2/fose/fose_v1_2_beta2.7z

Path = /home/took/Downloads/LutrisCache/mod-organizer-2/fose/fose_v1_2_beta2.7z
Type = 7z
Physical Size = 384875
Headers Size = 3155
Method = LZMA:6m BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 8
Files: 184
Size: 4753751
Compressed: 384875

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Scanning the drive for archives:
1 file, 598435 bytes (585 KiB)

Extracting archive: /home/took/Downloads/LutrisCache/mod-organizer-2/f4se/f4se_0_06_21.7z

Path = /home/took/Downloads/LutrisCache/mod-organizer-2/f4se/f4se_0_06_21.7z
Type = 7z
Physical Size = 598435
Headers Size = 5414
Method = LZMA2:22 LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 14
Files: 393
Size: 3284040
Compressed: 598435

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Scanning the drive for archives:
1 file, 712979 bytes (697 KiB)

Extracting archive: /home/took/Downloads/LutrisCache/mod-organizer-2/nvse/nvse_5_1_beta4.7z

Path = /home/took/Downloads/LutrisCache/mod-organizer-2/nvse/nvse_5_1_beta4.7z
Type = 7z
Physical Size = 712979
Headers Size = 4131
Method = LZMA2:6m LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 12
Files: 231
Size: 4902927
Compressed: 712979

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Scanning the drive for archives:
1 file, 4095963 bytes (4000 KiB)

Extracting archive: /home/took/Downloads/LutrisCache/mod-organizer-2/mwse/mwse.zip

Path = /home/took/Downloads/LutrisCache/mod-organizer-2/mwse/mwse.zip
Type = zip
Physical Size = 4095963

Everything is Ok

Folders: 23
Files: 127
Size: 14201986
Compressed: 4095963

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Scanning the drive for archives:
1 file, 1662426 bytes (1624 KiB)

Extracting archive: /home/took/Downloads/LutrisCache/mod-organizer-2/obse/obse_0021.zip

Path = /home/took/Downloads/LutrisCache/mod-organizer-2/obse/obse_0021.zip
Type = zip
Physical Size = 1662426
Comment = ; WinRAR
; Multifunctional Integrated Archive Manager

Everything is Ok

Folders: 12
Files: 342
Size: 6092629
Compressed: 1662426
Running /bin/bash -c printf '\x90\x90\x90' | dd conv=notrunc of='/home/took/.cache/lutris/installer/mod-organizer-2/oblivion-script-extender/obse_loader.exe' bs=1 seek=$((0x14cb))
Initial process has started with pid 3871
Game is considered started.
3+0 records in
3+0 records out
3 bytes copied, 2.9839e-05 s, 101 kB/s
Game is considered exited.
Initial process has exited.
All children have exited.
Exit with returncode 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Scanning the drive for archives:
1 file, 624845 bytes (611 KiB)

Extracting archive: /home/took/Downloads/LutrisCache/mod-organizer-2/skse/skse_1_07_03.7z

Path = /home/took/Downloads/LutrisCache/mod-organizer-2/skse/skse_1_07_03.7z
Type = 7z
Physical Size = 624845
Headers Size = 8072
Method = LZMA2:22 LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 14
Files: 544
Size: 3591799
Compressed: 624845

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Scanning the drive for archives:
1 file, 755625 bytes (738 KiB)

Extracting archive: /home/took/Downloads/LutrisCache/mod-organizer-2/skse64/skse64_2_00_17.7z

Path = /home/took/Downloads/LutrisCache/mod-organizer-2/skse64/skse64_2_00_17.7z
Type = 7z
Physical Size = 755625
Headers Size = 7057
Method = LZMA2:6m LZMA:20 BCJ2
Solid = +
Blocks = 2

Everything is Ok

Folders: 13
Files: 520
Size: 4426059
Compressed: 755625
Running /bin/bash -c nexus_game_id=fallout4
runner=proton

if [ ! -f "/home/took/.cache/lutris/installer/mod-organizer-2/gamesinfo/$nexus_game_id.sh" ]; then
"/home/took/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" errorbox
"Could not find gameinfo for '$nexus_game_id', remove Lutris cache and try again"
exit 1
fi

source "/home/took/.cache/lutris/installer/mod-organizer-2/gamesinfo/$nexus_game_id.sh"

if [ -z "$game_appid" ]; then
echo "ERROR: empty game_appid" >&2
exit 1
elif [ -z "$game_steam_subdirectory" ]; then
echo "ERROR: empty steam_subdirectory" >&2
exit 1
fi

shared="/home/took/.local/share/modorganizer2"

case "$runner" in
proton)
mo2_tricks="vcrun2019"
mo2_options=""

    steam_library=$("/home/took/.cache/lutris/installer/mod-organizer-2/utils/find-library-for-appid.sh" $game_appid)

    if [ ! -d "$steam_library" ]; then
        "/home/took/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" errorbox \
            "Could not find '$game_steam_subdirectory' in your Steam library"
        exit 1
    fi

    game_prefix="$steam_library/steamapps/compatdata/$game_appid/pfx"
    game_installation="$steam_library/steamapps/common/$game_steam_subdirectory"
    game_tricks="$game_protontricks"

    echo -e \
    "#!/bin/bash\n\n'$shared/proton-launcher.sh' $mo2_options $game_proton_options \"\$@\" $game_appid '/home/took/Games/mod-organizer-2/ModOrganizer2/ModOrganizer.exe'" \
    > "/home/took/Games/mod-organizer-2/run.sh"

    echo -e \
    "#!/bin/bash\n\n'$shared/proton-launcher.sh' $mo2_options $game_proton_options \"\$@\" $game_appid '/home/took/Games/mod-organizer-2/ModOrganizer2/nxmhandler.exe' \"\$1\"" \
    > "/home/took/Games/mod-organizer-2/download.sh"
    ;;

wine)
    mo2_tricks="vcrun2019 dotnet40"
    mo2_options="--proton-wine --winever 5.*"

    "/home/took/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" warnbox \
        "As of version 5.7, Wine still does not fully support Mod Organizer 2.2.1 and later.\nFor this reason this installer uses the Wine version bundled with Proton 5.0.\nMake sure you have Steam and Proton 5.0 installed on your system"

    game_prefix=$( \
        "/home/took/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" directorypicker \
            "Inform the path to your wineprefix" \
    )
    if [ -z "$game_prefix" ]; then
        echo "ERROR: Installation canceled by user" >&2
        exit 1
    fi

    game_tricks="$game_winetricks"

    install_path_candidates=( \
        "$game_prefix/drive_c/Program Files (x86)/Steam/steamapps/common/$game_steam_subdirectory" \
        "$game_prefix/drive_c/GOG Games/$game_steam_subdirectory" \
    )
    if [ -n "$game_gog_subdirectory" ]; then
        install_path_candidates+=( \
            "$game_prefix/drive_c/GOG Games/$game_gog_subdirectory" \
        )
    fi
    if [ "$nexus_game_id" == "fallout3" ]; then
        install_path_candidates+=( \
            "$game_prefix/drive_c/Program Files (x86)/Steam/steamapps/common/Fallout 3" \
            "$game_prefix/drive_c/GOG Games/Fallout 3" \
        )
    fi

    for path in "${install_path_candidates[@]}"; do
        echo "Searching for game at '$path'"
        if [ -d "$path" ]; then
            echo "Found game"
            game_installation="$path"
            break
        fi
    done

    if [ -z "$game_installation" ]; then
        game_installation=$( \
            "/home/took/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" directorypicker \
                "Could not automatically find the game.\nPlease inform the path where the game is installed" \
        )
        if [ -z "$game_installation" ]; then
            echo "ERROR: installation canceled by user" >&2
            exit 1
        fi
    fi

    # TODO: uncomment once Wine fixes issues with VC2019
    # winever=$( \
    #     "/home/took/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" textentry \
    #         "Inform which version of Wine you're using\nLeave as * to use the latest version available on Lutris" \
    #         "*" \
    # )
    # if [ -z "$winever" ]; then
    #     echo "ERROR: Installation canceled by user" >&2
    #     exit 1
    # fi

    echo -e \
    "#!/bin/bash\n\nWINEPREFIX='$game_prefix' '$shared/wine-launcher.sh' $mo2_options $game_wine_options \"\$@\" '/home/took/Games/mod-organizer-2/ModOrganizer2/ModOrganizer.exe'" \
    > "/home/took/Games/mod-organizer-2/run.sh"

    echo -e \
    "#!/bin/bash\n\nWINEPREFIX='$game_prefix' '$shared/wine-launcher.sh' $mo2_options $game_wine_options \"\$@\" '/home/took/Games/mod-organizer-2/ModOrganizer2/nxmhandler.exe'" \
    > "/home/took/Games/mod-organizer-2/download.sh"
    ;;

esac

if [ -d "/home/took/.cache/lutris/installer/mod-organizer-2/${nexus_game_id}-script-extender" ]; then
echo "Installing script extender..."

output=$( \
    cp -af \
    "/home/took/.cache/lutris/installer/mod-organizer-2/${nexus_game_id}-script-extender/." \
    "$game_installation/" 2>&1 \
)
if [ "$?" != "0" ]; then
    "/home/took/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" errorbox \
        "Error while installing script extender: $output"
    exit 1
fi

fi

mkdir -p "$game_prefix/drive_c/java"
output=$(
cp -af
"/home/took/.cache/lutris/installer/mod-organizer-2/extracted-openjdk/."
"$game_prefix/drive_c/java/" 2>&1
)
if [ "$?" != "0" ]; then
"/home/took/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" errorbox
"Error while installing OpenJDK: $output"
exit 1
fi

WINEPREFIX="$game_prefix"
"/home/took/.local/share/lutris/runtime/winetricks/winetricks" -q $mo2_tricks $game_tricks
if [ "$?" != "0" ]; then
"/home/took/.cache/lutris/installer/mod-organizer-2/utils/dialog.sh" errorbox
"Error while installing winetricks, please run Lutris from a terminal and check the logs"
exit 1
fi

workaround to stop installation if command fails

echo "success" > '/home/took/.cache/lutris/installer/mod-organizer-2/successful-prefix-preparation'
Initial process has started with pid 3896
Game is considered started.
Searching for game in library '/home/took/.steam/steam'
Found game
Installing script extender...

wineserver not found!

Fontconfig warning: "/etc/fonts/conf.avail/53-monospace-lcd-filter.conf", line 10: Having multiple values in isn't supported and may not work as expected
Gtk-Message: 09:04:56.295: GtkDialog mapped without a transient parent. This is discouraged.
Game is considered exited.
Initial process has exited.
All children have exited.
Exit with returncode 256
2020-05-12 09:05:00,066: I can't move /home/took/.cache/lutris/installer/mod-organizer-2/successful-prefix-preparation, it does not exist
None
2020-05-12 09:05:00,066: Error while completing task <bound method CommandsMixin.move of <lutris.installer.interpreter.ScriptInterpreter object at 0x7fe7a994dfd0>>: I can't move /home/took/.cache/lutris/installer/mod-organizer-2/successful-prefix-preparation, it does not exist
None
<class 'lutris.installer.errors.ScriptingError'> I can't move /home/took/.cache/lutris/installer/mod-organizer-2/successful-prefix-preparation, it does not exist
None
File "/usr/lib/python3/dist-packages/lutris/util/jobs.py", line 30, in target
result = self.function(*args, **kwargs)
File "/usr/lib/python3/dist-packages/lutris/installer/commands.py", line 286, in move
raise ScriptingError("I can't move %s, it does not exist" % src)
Gtk-Message: 09:05:00.735: GtkDialog mapped without a transient parent. This is discouraged.
2020-05-12 09:05:02,892: Cancelling installation of Mod Organizer 2
2020-05-12 09:05:04,664: Shutting down Lutris

Doesn't find games installed via steam flatpak

Trying to use Mod-organizer-2 with a flatpak installed version of any supported game fails with the game not being found, even though it is installed.

Expected: That the flatpak library is searched for the given game.

Actual: Fails to find the installed game

Workaround: Tried symlinking folders to the correct location with no joy.-

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.