rockerbacon / modorganizer2-linux-installer

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

Cannot complete install on fedora #611

Open xylorp opened 5 months ago

xylorp commented 5 months ago

Here is the output from running install.sh after completing a new prefix

z@fedora:~/Desktop/mo2$ ./install.sh INFO: all dependencies met

(zenity:296193): Gtk-WARNING **: 00:16:14.418: Unknown key gtk-modules in /home/z/.config/gtk-4.0/settings.ini

(zenity:296193): Adwaita-WARNING **: 00:16:14.457: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. INFO: selected game 'newvegas' INFO: steam not found in '' INFO: found Steam in '/home/z/.var/app/com.valvesoftware.Steam/.local/share/Steam' INFO: game found in '/home/z/.var/app/com.valvesoftware.Steam/.local/share/Steam'

(zenity:296310): Gtk-WARNING **: 00:16:18.565: Unknown key gtk-modules in /home/z/.config/gtk-4.0/settings.ini

(zenity:296310): Adwaita-WARNING **: 00:16:18.604: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. INFO: user confirmed prefix setup

(zenity:297929): Gtk-WARNING **: 00:18:41.983: Unknown key gtk-modules in /home/z/.config/gtk-4.0/settings.ini

(zenity:297929): Adwaita-WARNING **: 00:18:42.021: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.

(zenity:298002): Gtk-WARNING **: 00:18:54.761: Unknown key gtk-modules in /home/z/.config/gtk-4.0/settings.ini

(zenity:298002): Adwaita-WARNING **: 00:18:54.799: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. INFO: selected install directory '/home/z/Games/mod-organizer-2-newvegas2' INFO: using wget backend INFO: fetching remote resource at 'https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jre_x64_windows_hotspot_8u312b07.zip' INFO: downloading 'https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jre_x64_windows_hotspot_8u312b07.zip' to '/tmp/mo2-linux-installer-downloads-cache/OpenJDK8U-jre_x64_windows_hotspot_8u312b07.zip'

(zenity:298040): Gtk-WARNING **: 00:18:59.098: Unknown key gtk-modules in /home/z/.config/gtk-4.0/settings.ini

(zenity:298040): Adwaita-WARNING **: 00:18:59.135: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. mkdir: cannot create directory ‘/tmp/mo2-linux-installer-downloads-cache/OpenJDK8U-jre_x64_windows_hotspot_8u312b07’: Permission denied

(zenity:298073): Gtk-WARNING **: 00:18:59.334: Unknown key gtk-modules in /home/z/.config/gtk-4.0/settings.ini

(zenity:298073): Adwaita-WARNING **: 00:18:59.377: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.

cprin21 commented 5 months ago

wget has issues on Fedora 40 with this script. Please follow https://github.com/rockerbacon/modorganizer2-linux-installer/issues/601#issuecomment-2067759273 and close this issue if it works.

xylorp commented 5 months ago

here is the output after editing that bash file:

z@fedora:~/Desktop/mo2$ ./install.sh INFO: all dependencies met

(zenity:312638): Gtk-WARNING **: 02:04:19.012: Unknown key gtk-modules in /home/z/.config/gtk-4.0/settings.ini

(zenity:312638): Adwaita-WARNING **: 02:04:19.050: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. INFO: selected game 'newvegas' INFO: steam not found in '' INFO: found Steam in '/home/z/.var/app/com.valvesoftware.Steam/.local/share/Steam' INFO: game found in '/home/z/.var/app/com.valvesoftware.Steam/.local/share/Steam'

(zenity:312783): Gtk-WARNING **: 02:04:23.127: Unknown key gtk-modules in /home/z/.config/gtk-4.0/settings.ini

(zenity:312783): Adwaita-WARNING **: 02:04:23.164: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. INFO: user confirmed prefix setup ERROR: no prefix found

(zenity:312872): Gtk-WARNING **: 02:04:26.109: Unknown key gtk-modules in /home/z/.config/gtk-4.0/settings.ini

(zenity:312872): Adwaita-WARNING **: 02:04:26.146: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.

(zenity:312872): Gtk-CRITICAL **: 02:04:26.257: GtkBox 0x564fe834c860 reports a minimum height of 179, but minimum height for width of 1048576 is 189. Expect overlapping widgets.

(zenity:312872): Gtk-CRITICAL **: 02:04:26.257: GtkBox 0x564fe8328380 reports a minimum height of 79, but minimum height for width of 1048576 is 89. Expect overlapping widgets. z@fedora:~/Desktop/mo2$

ghost commented 5 months ago

It's amusing that all the developer is doing is closing threads.

rockerbacon commented 5 months ago

@xylorp don't edit the scripts, I've commented on the proper way to workaround the wget issue: https://github.com/rockerbacon/modorganizer2-linux-installer/issues/596#issuecomment-2071853242

I see you're using Flatpaks. Make sure you've setup Flatpak permissions for Protontricks to access your Steam libraries and for Steam to access the MO2 directory. You can use Flatseal to edit Flatpak permissions. Since you want to install for New Vegas, also make sure to follow the post-install instructions on running the game's original launcher.

xylorp commented 5 months ago

Hey so I set Steam and Protontricks in Flatseal so they have access to all system files, all system libraries, all system configs, all user files -- so presumably that covers the bases there.

I then deleted the copy of MO2 install with the modified script file, re-extracted, and ran the line you suggested, but still says I don't have a clean prefix (I have tried starting FNV with several different proton versions also, so not sure why):


z@fedora:~/Desktop/mo2$ DOWNLOAD_BACKEND=curl ./install.sh INFO: all dependencies met

(zenity:339764): Gtk-WARNING **: 22:14:37.770: Unknown key gtk-modules in /home/z/.config/gtk-4.0/settings.ini

(zenity:339764): Adwaita-WARNING **: 22:14:37.808: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. INFO: selected game 'newvegas' INFO: steam not found in '' INFO: found Steam in '/home/z/.var/app/com.valvesoftware.Steam/.local/share/Steam' INFO: game found in '/home/z/.var/app/com.valvesoftware.Steam/.local/share/Steam'

(zenity:339874): Gtk-WARNING **: 22:14:43.732: Unknown key gtk-modules in /home/z/.config/gtk-4.0/settings.ini

(zenity:339874): Adwaita-WARNING **: 22:14:43.771: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. INFO: user confirmed prefix setup ERROR: no prefix found

(zenity:339955): Gtk-WARNING **: 22:14:46.315: Unknown key gtk-modules in /home/z/.config/gtk-4.0/settings.ini

(zenity:339955): Adwaita-WARNING **: 22:14:46.356: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.

(zenity:339955): Gtk-CRITICAL **: 22:14:46.473: GtkBox 0x55a0d6e997c0 reports a minimum height of 179, but minimum height for width of 1048576 is 189. Expect overlapping widgets.

(zenity:339955): Gtk-CRITICAL **: 22:14:46.473: GtkBox 0x55a0d6f001d0 reports a minimum height of 79, but minimum height for width of 1048576 is 89. Expect overlapping widgets.


For reference this is on Fedora 39

Proficiency-git commented 5 months ago

Hey so I set Steam and Protontricks in Flatseal so they have access to all system files, all system libraries, all system configs, all user files -- so presumably that covers the bases there.

In my case you have to allow similar permission to your Steam app, but not Protontricks. It works, but it gives 5:0000065434 error message when I try launching the NVSE or the normal new Vegas exe.

rockerbacon commented 5 months ago

Hey so I set Steam and Protontricks in Flatseal so they have access to all system files, all system libraries, all system configs, all user files -- so presumably that covers the bases there.

You don't want to do that because that will switch the Flatpak container into host filesystem mode, and if a Flatpak wasn't designed for host filesystem mode it'll generally break. You have to specify the directories one by one. Flatpaks are generally more work and you need to understand how they operate in order to use them, specially in the Steam case where the Flatpak is an unofficial community endeavor.

cprin21 commented 5 months ago

It's amusing that all the developer is doing is closing threads.

These aren't threads, these are github issue reports and a lot of them are duplicates.