Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mod Organizer 2 not launching/installing on Steam Tinker (v11.1.20220916) Menu on Deck. #589

Closed
GenghisSwan10 opened this issue Sep 19, 2022 · 170 comments · Fixed by #592
Closed
Labels
bug Something isn't working ModOrganizer 2 Issues related to installing or using ModOrganizer 2 with SteamTinkerLaunch Steam Deck Issues related to using SteamTinkerLaunch on Steam Deck

Comments

@GenghisSwan10
Copy link

Hello all. I recently downloaded SteamTinker Launcher on Steam Deck to mod Cyberpunk 2077 via Vortex. When Vortex didn’t work, I resorted to Mod Organizer 2 (which someone recommended). I am able to launch the menu successfully, but when I try to install MO2, it pops up a window then immediately closes it.

I should add I’m very green to modding/PCs in general. Is there a way to fix this. Launching vortex works fine, it’s just that I can’t use it.

@sonic2kk
Copy link
Owner

sonic2kk commented Sep 19, 2022

Vortex has a few issues with SteamTinkerLaunch and Linux in general at the moment, as far as I'm aware. MO2 should work fine though.

I'm not sure why MO2 is failing, could you provide some logs? You can find them in /dev/shm/steamtinkerlaunch/steamtinkerlaunch.log. Also, what window is it that pops up, could you describe it any further?

Also, it's much easier to work with any kind of graphical tool on Steam Deck via Desktop Mode. If you're trying to do this from Game Mode, it could be causing issues. Just mentioning this as you said you're new to modding 😃

EDIT: Another thing you could try is opening your file explorer (called "Dolphin"), navigating to the folder with the steamtinkerlaunch file, right clicking and selecting "Open Terminal here". A window will open and from here you can type ./steamtinkerlaunch mo2 install. This will attempt to install MO2 (SteamTinkerLaunch might also try to update). This should do the same thing as trying to install it from the SteamTinkerLaunch Main Menu, but here we can also see some more output of where and why it might fail to install.

It might be easier to mod games in general on Steam Deck if you can attach a keyboard and mouse, but no worries if you can't. Just a friendly tip 😃

@GenghisSwan10
Copy link
Author

GenghisSwan10 commented Sep 19, 2022 via email

@GenghisSwan10
Copy link
Author

EDIT: Tried running Konsole with the files but it simply says “No such file or directory”.
image

@GenghisSwan10
Copy link
Author

UPDATE: Went to Downloads and found this. Maybe I did it right???
8FABAE34-8EE4-4220-9169-9D984AEF7FDC

@sonic2kk
Copy link
Owner

sonic2kk commented Sep 19, 2022

I'm not sure what that mo2 folder in your downloads is but it's likely unrelated.

Also, it looks like you're in the wrong folder. If you go to the ~/stl/prefix folder you should be able to run ./steamtinkerlaunch mo2 install from a terminal. That should be the correct folder.

Just an aside: I noticed you have LOOT in your Downloads folder. MO2 comes with LOOT installed, so you shouldn't need to install it separately 😃

@sonic2kk sonic2kk added the ModOrganizer 2 Issues related to installing or using ModOrganizer 2 with SteamTinkerLaunch label Sep 19, 2022
@GenghisSwan10
Copy link
Author

image
Ended up getting this…

@sonic2kk
Copy link
Owner

Hmm, those look like some strange Yad warnings (that's what STL uses to display its UI), but I'm not sure they're entirely relevant. Maybe MO2 installed successfully? Though I would've expected more output. I thought when I installed it on PC that it gave me a message.

Can you attempt the following:

  1. Attempt to launch your game with SteamTinkerLaunch as the selected compatibility tool (I think it was Cyberpunk 2077)

  2. Go to the Main Menu and then to the Game Menu (it's a button along the bottom)

  3. You'll see a heading with "Mod Organizer 2 options". Can you ensure that "GUI" is selected like the following:

    image

  4. Click "Play" and a window should pop up asking if you want to start MO2. You can just let this time out. It might take a while (sometimes up to a few minutes at worst on first boot), but eventually MO2 should start up, if it is installed, which I'm not totally sure about yet 😅

If this was not selected before, try installing MO2 again, either from the SteamTinkerLaunch UI or from Terminal like you just did. Though I doubt this option would make a difference, I'm just trying to cover all bases 😃


If this still does nothing, go to ~/.config/steamtinkerlaunch/mo2, and if you have a folder there called compatdata, go into it and go to pfx/drive_c/Modding/MO2 and send a picture of what you see. It should look something like this if MO2 really is installed (which I'm not sure about):

image


If you see nothing in these folders or you can't find any of these folders, likely MO2 is not installed. If this is the case, can you attempt this:

  1. Try to install MO2 from the SteamTinkerLaunch UI again
  2. Close SteamTinkerLaunch
  3. Attach the steamtinkerlaunch.log file found at /dev/shm/steamtinkerlaunch to a reply so we can see the logs.

Good luck!

@sonic2kk sonic2kk added the Steam Deck Issues related to using SteamTinkerLaunch on Steam Deck label Sep 19, 2022
@GenghisSwan10
Copy link
Author

image
This was all that I could find in these folders.

@sonic2kk
Copy link
Owner

What is inside the "Modding" folder? This indicates to me that MO2 is installed?

@GenghisSwan10
Copy link
Author

Nothing is in the modding folder

@sonic2kk
Copy link
Owner

sonic2kk commented Sep 19, 2022

Hmm, so it seems like MO2 is failing to install for some reason, but the prefix seems to be getting created.

Could you try the other steps I outlined as well? In particular I'm interested to see the logs. There hasn't been a new release for MO2 so nothing should have broken on their side at least.

@GenghisSwan10
Copy link
Author

I will update you once it’s done installing ^^

@GenghisSwan10
Copy link
Author

Cyberpunk that is

@GenghisSwan10
Copy link
Author

image
This is all I’m getting

@GenghisSwan10
Copy link
Author

I even scrolled down and did not see any Mod Organizer 2 options

@sonic2kk
Copy link
Owner

Hmm. Well, try installing MO2 using the button on the menu and attaching your SteamTinkerLaunch log. Maybe the MO2 options only show up if MO2 is installed but I'm not sure on that.

You can find the log in /dev/shm/steamtinkerlaunch and it's called steamtinkerlaunch.log. You can drag it onto your GitHub reply to attach the file. It's much better if you can attach as a file rather than pasting it in as a big block of text, as it makes it easier to debug :)

Thanks for all your patience so far. I'm sure this is annoying but we'll get there I'm sure. Someone else who has used MO2 more extensively on Deck might be able to chime in too 😃

@GenghisSwan10
Copy link
Author

file:///dev/shm/steamtinkerlaunch/steamtinkerlaunch.log

@GenghisSwan10
Copy link
Author

Now what?

@GenghisSwan10
Copy link
Author

I should also add that installing it on the main menu of STL didn’t work. Unless there’s a way to boot up STL without starting a game

@sonic2kk
Copy link
Owner

Hmm apparently that didn't work, that's just the path to the log. Try to attach the file, you should be able to drag the file onto the file browser window that opens up and then attach it

And yes, I didn't expect it to work. I want to see the log for where it fails :)

@GenghisSwan10
Copy link
Author

file:///dev/shm/steamtinkerlaunch/steamtinkerlaunch.log
steamtinkerlaunch.log

@GenghisSwan10
Copy link
Author

Silly me lol

@sonic2kk
Copy link
Owner

Thanks! Did you try to install MO2 when you attached this log? I had a quick glance but I'm not seeing anything related to MO2 there. Just to reiterate:

  1. Launch your game with STL
  2. Use the main menu button to try and install MO2
  3. Based on this issue it'll fail, don't worry. Just close the game and then attach the log

@GenghisSwan10
Copy link
Author

steamtinkerlaunch.log
Did what you said. Let me know

@sonic2kk
Copy link
Owner

Thanks, this has much more information. It looks like for some reason it can't find the MO2 executable. I'm gonna dig into the logs and see if I can find out more.

@GenghisSwan10
Copy link
Author

Thank you so much btw

@sonic2kk
Copy link
Owner

sonic2kk commented Sep 20, 2022

Okay so for anyone else looking at the issue, the lines of interest from the logs are:

Mon Sep 19 06:47:33 PM CDT 2022 INFO - StatusWindow - for 'Installing 'ModOrganizer''
Mon Sep 19 06:47:33 PM CDT 2022 INFO - getLatestMO2Ver - Search for latest 'Mod.Organizer' Release
Mon Sep 19 06:47:34 PM CDT 2022 SKIP - dlLatestMO2 - No MO2SETUP defined - nothing to download - skipping
Mon Sep 19 06:47:34 PM CDT 2022 SKIP - installMO2 - '' not found - nothing to install - skipping

MO2SETUP seems to refer to the downloaded MO2 executable from this block:

function getLatestMO2Ver {
	MO2SET="Mod.Organizer"

	writelog "INFO" "${FUNCNAME[0]} - Search for latest '$MO2SET' Release"
	MO2SETUP="$("$WGET" -q "${MO2DLURL}" -O - 2> >(grep -v "SSL_INIT") | grep "exe" | grep -m1 "$MO2SET" | grep -oE "${MO2SET}[^\"]+")"
}

Then it goes on to setup game symlinks. Then it says this:

Mon Sep 19 06:47:40 PM CDT 2022 ERROR - prepareMO2 - No '/home/deck/.config/steamtinkerlaunch/mo2/compatdata/pfx/drive_c/Modding/MO2/ModOrganizer.exe' found - can't continue
Mon Sep 19 06:47:40 PM CDT 2022 SKIP - startMO2 - Could not find '/home/deck/.config/steamtinkerlaunch/mo2/compatdata/pfx/drive_c/Modding/MO2/ModOrganizer.exe' - can't start ModOrganizer - this should not happen

Indeed, this should not happen.


@GenghisSwan10 basically this means for some reason, STL expects that MO2 is installed, but of course it isn't. I'm not sure how this happened, but I recommend doing the following to try and fix whatever has gone wrong. Make sure SteamTinkerLaunch is closed when you're doing this 🙂

  1. Go to ~/.config/steamtinkerlaunch and delete the mo2 folder (this should remove all MO2 data)
  2. Go to ~/.config/steamtinkerlaunch/downloads and if it exists, delete the mo2 folder (removes any potentially corrupted/invalid downloads of MO2, probably this folder either won't exist or won't have anything but just to be safe) - Keep this folder open, we'll come back to it in a bit!
  3. Go to ~/.config/steamtinkerlaunch/gamecfgs/id and delete 1091500.conf (removes any potentially invalid config file for Cyberpunk 2077, this is its internal Steam AppID, the number that Steam uses to identify the game)
  4. Go to ~/.local/share/Steam/steamapps/compatdata and delete the 1091500 (this is the Wine prefix, basically deleting this allows you to run the game again like it was never installed)
  5. Go to ~/.config and if you see a folder called modorganizer2, delete it. If not, don't worry
  6. Run the game once without SteamTinkerLaunch and then close it. You can use GE-Proton7-35 or standard Proton, just as long as you launch the game once (this re-creates the folder we deleted above)
  7. Keep an eye on that ~/.config/steamtinkerlaunch/downloads folder I mentioned earlier. Open a Konsole window and type cd ~/stl/prefix, then run ./steamtinkerlaunch mo2 install. You'll want to keep an eye on the downloads folder to see if SteamTinkerLaunch downloads anything to that folder! It's meant to download a file into the mo2 folder called Mod.Organizer-2.4.4.exe or something to this effect.
  8. Hopefully this works but either way, attach the steamtinkerlaunch.log file just like you did earlier from /dev/shm/steamtinkerlaunch. This log will have information about how SteamTinkerLaunch tried to install MO2, so we can get an idea of what's actually going on. Don't try to run your game or any other SteamTinkerLaunch commands as this will overwrite the log.

I'm not super positive on why MO2 didn't install correctly, but this will at the very least give us more insight into why it failed.

I think maybe for some reason STL thinks MO2 is already installed, but it's not. Out of curiosity, did you attempt to install MO2 in some other way before trying SteamTinkerLaunch? If so perhaps that caused some issues (maybe it messed with the Wine prefix or something and made STL think MO2 was already installed)

@GenghisSwan10
Copy link
Author

steamtinkerlaunch.log
There. Hope this helps.

@sonic2kk
Copy link
Owner

sonic2kk commented Sep 21, 2022

Hey @GenghisSwan10, the issue has been fixed in the latest STL git! If you run SteamTinkerLaunch again on your Steam Deck and verify that the version ends with 20220922, you can try to install MO2 again!

A few caveats to note:

  • It might be easier to mod games with a keyboard and mouse
  • It might be easier to use MO2 with an external display, as the Steam Deck's screen might be a little small
  • When configuring your mods, do it from Desktop Mode. Fiddling around with MO2 in Game Mode and the windows it creates might be a bit challenging
  • You'll want to mod your games with the MO2 button on the main menu, but when you want to launch your games you'll want to do it by pressing the "Play" button from the SteamTinkerLaunch main menu (the one that brings up the prompt asking for GUI mode or silent mode)
  • It's unconfirmed but custom GE releases that use a custom Wine theme might cause some minor visual glitching with MO2 and other GUI apps, the simplest confirmed way to fix this is to change MO2's theme (I don't remember the exact steps, you can probably find it online 😄)

Good luck and happy tinkering!

@frostworx
Copy link
Collaborator

Well spoken, @sonic2kk! 👍
git master is already on v11.1.20220922 though 😀

@sonic2kk
Copy link
Owner

Oops! Updated my comment, thanks for the correction 😄

@GenghisSwan10
Copy link
Author

Will update once I am home! Big ups to all of you!

@GenghisSwan10
Copy link
Author

So every time I try to play it, it keeps saying Cyberpunk has flatlined and crashes. Maybe I have too many mods?
image

@GenghisSwan10
Copy link
Author

image

@GenghisSwan10
Copy link
Author

It doesn’t look like any of my mods are having a conflict tbh. Downloaded LOOT but I don’t see it.

@sonic2kk
Copy link
Owner

sonic2kk commented Sep 22, 2022

This probably isn't a SteamTinkerLaunch issue, so we can't give you much help, sorry. However I can give some general pointers.

Make sure you're launching MO2 correctly via STL, that is only trying to configure games when running MO2 by pressing the button on the Main Menu, and only trying to launch the game when you're running MO2 after pressing the STL "Play" button (when you get promoted for "MO2 GUI").

Also, it looks like you're in desktop mode. When you're done configuring your games, you can and should launch your games via Game Mode.

Outside of that, make sure you installed your mods correctly, and MO2 should come with LOOT so you don't need to install that. Also see if anyone has had any issues using the mods you're trying to run on Linux, and if they were able to resolve them.

LOOT should be listed if you click on the executables dropdown on the right hand side. See if you can find and read up on any MO2 tutorials to learn how to get started. SteamTinkerLaunch is not really affiliated with MO2, we just try to bridge the gap to get it installed. After that, users are expected to know how to mod their games.

I'm glad you got MO2 working at least! But we can't really help you any further, you might want to ask around online for some advice.

Happy tinkering!

@GenghisSwan10
Copy link
Author

Well it crashes in Game Mode as well

@GenghisSwan10
Copy link
Author

I moved all my mods to Cyberpunk’s mod folder, verified all the files, etc

@sonic2kk
Copy link
Owner

sonic2kk commented Sep 22, 2022

Actually if I remember correctly there should be a button in MO2 to sort the load order automatically, which runs LOOT. If not you can technically add LOOT as an executable and run it separately (LOOT actually has specific Wine support iirc). You'll have to read up how to do this on your own though 😅

So I would recommend:

  1. Setting load order with LOOT, in one way or another
  2. Once you do this and are ready to play, run from Game Mode. Just let STL time out and start MO2 on its own, then press the "Play" button from Game Mode
  3. If that still doesn't work, try running without any mods
  4. If it still doesn't work, try running without STL and just with regular Proton

I doubt this is an STL or even Linux problem though, I think this is just modding being a real pain in the butt (it can take several days to get a game modded and configured correctly even if you're only using 5 or 6 mods, took me a full weekend to get Skyrim SE modded and launching without crashing).

I'd also check the mod pages for each mod to make sure they don't conflict. Ask around about the mods too, there may be undocumented conflicts. Usually the best way to mod is to go one mod at a time. MO2 lets you do this by disabling mods by simply unchecking them (almost always works, it's very rare this won't work and MO2 will tell you if it won't - your mods look fine as far as I can tell, just a heads up for the future).

So start by unchecking all your mods when running STL from Game Mode and trying to launch, then see how you go. If it launches start enabling mods one at a time. If it doesn't, you might have to reinstall your game. I'm not sure what to do if it doesn't boot without any mods, that's kind of where you're on your own I'm afraid, too many things likely unrelated to STL could be going wrong and we can't offer support for those.

@sonic2kk
Copy link
Owner

I moved all my mods to Cyberpunk’s mod folder, verified all the files, etc

I'm sorry but the actual modding process is not relevant to SteamTinkerLaunch. We can't give specific support for helping you mod your game, only for getting MO2 installed and running.

You can try the things I've outlined in my two comments but you'll have much more success asking around online, ideally in Linux-gaming communities (Nobara/Proton-GE discord server and probably other places too). I have never personally modded Cyberpunk 2077, so I can't even give you further support even if I wanted to because I just simply don't know the ins and outs or how to help.

Best of luck getting it working friend 😃

@GenghisSwan10
Copy link
Author

It runs when I don’t go through MO2 in Game Mode. I’ll try disabling my mods then enabling one by one. Also, when I try to connect to nexus it doesn’t open up a window where I can do it

@sonic2kk
Copy link
Owner

sonic2kk commented Sep 22, 2022

It runs when I don’t go through MO2 in Game Mode

Can you be more specific, how can you get the game to run? If you simply run without mods do you mean?

As for the Nexus links, that likely doesn't work because of Firefox Flatpak. There was a previous issue where this was discussed, there's nothing we can do about this on Steam Deck afaik. See #551, probably this is just an unfortunate limitation of Firefox Flatpak and probably something Mozilla might be able to fix in future.

@GenghisSwan10
Copy link
Author

Yes, without mods. And I only enabled one mod and it STILL doesn’t work. Honestly I appreciate everything you guys have done but this is stupid -_-

@GenghisSwan10
Copy link
Author

Where even is the LOOT button?

@GenghisSwan10
Copy link
Author

Also I’m using chrome so idk if that’s what’s causing it

@sonic2kk
Copy link
Owner

Honestly I appreciate everything you guys have done but this is stupid -_-

You are modding on an unsupported platform, I told you earlier not to expect all of your mods to work right away. There is no need to be rude, I have even gone out of my way to try and help you with your modding issues, something which is entirely unrelated to SteamTinkerLaunch. This is NOT something we are expected to help with, I am going out of my way to try and offer suggestions but you should probably be asking elsewhere for help with modding your games on Linux.

Also, this is just how modding goes even on Windows. Modding can take tens of hours, it is not always as simple as dragging some files and running.

Where even is the LOOT button?

I don't remember off the top of my head (it might say "Sort"), please look into how to use MO2. To be blunt, SteamTinkerLaunch is not your support resource for how to mod your games.

As for using Chrome, it could be causing issues. I don't know how Steam installs Chrome on Deck, if it sets it as a Flatpak, or anything.


Your initial issue is solved, that MO2 did not install. We fixed it and you have MO2 running. We do not guarantee that mods will work, I understand the frustration that your mods aren't working and while there could be Linux-specific issues that might have workarounds, I doubt the issues you are experiencing are specific to using SteamTinkerLaunch.

@GenghisSwan10
Copy link
Author

I wasn’t being rude? Just saying the situation I was in was stupid :p

@GenghisSwan10
Copy link
Author

Anyway, it was never my intention. I’ll simply just look around and see if anybody can help me. Thank you.

By the way, is Nexus fixed yet on STL?

@sonic2kk
Copy link
Owner

There's been no progress with fixing Nexus, it might be fixed in future as supposedly Wine 7.17 works with it, but afaik no Proton version has the patches in place for it. There's also a pending issue of how to deploy mods. Keep an eye on the pinned issue relating to Vortex for updates.

@frostworx
Copy link
Collaborator

oh, nexus is broken?

@sonic2kk
Copy link
Owner

sonic2kk commented Sep 22, 2022

That was my understanding of #555, that DotNet6 is causing problems with Vortex because of some upstream changes.

Maybe I understood incorrectly 😅

@frostworx
Copy link
Collaborator

Thanks for elaborating. Apparently I wasn't able to express correctly what I wanted to say with my last two comments in #555 (explains the silence following 😀)
I do not think that it is broken very much.
Likely only three fixes are required to get it completely working again as it worked before:

  • simply set DOTNET_ROOT within steamtinkerlaunch (just playing around with it and it seems to work as expected)
  • proton GE should be used automatically, but I need to add a fix that the latest version is automatically downloaded when none is found (just working on it)
  • Vortex might have changed some quoting, which needs to be adjusted again in vortset.cmd creation. this is definitely the biggest problem (although likely just needs a minor fix when found out where 🤨) - likely won't happen very soon

@sonic2kk
Copy link
Owner

Ah, that's a relief! I thought there were some issues with the way Vortex deploys mods but reading the other replies in that issue I think I simply just misunderstood.

@GenghisSwan10 It seems like Vortex might work with some extra effort to tweak. This won't be an instant fix for your mods and there is no reason switching from MO2 to Vortex (or vice versa) will fix your mods. There could be lots going wrong, so this isn't an endorsement to switch from one to the other, just clarifying that it seems Vortex might work with a bit of extra effort.

@GenghisSwan10
Copy link
Author

So stick with MO2 for now since it doesn’t make much of a difference? Got it 👍

@GenghisSwan10
Copy link
Author

GenghisSwan10 commented Oct 11, 2022 via email

@GenghisSwan10
Copy link
Author

GenghisSwan10 commented Oct 11, 2022 via email

@frostworx
Copy link
Collaborator

no, thanks. no need for any updates!

#626 (comment) ff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ModOrganizer 2 Issues related to installing or using ModOrganizer 2 with SteamTinkerLaunch Steam Deck Issues related to using SteamTinkerLaunch on Steam Deck
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants