sonic2kk / steamtinkerlaunch

Linux wrapper tool for use with the Steam client for custom launch options and 3rd party programs
GNU General Public License v3.0
2.12k stars 71 forks source link

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

Closed GenghisSwan10 closed 1 year ago

GenghisSwan10 commented 1 year ago

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 commented 1 year ago

Actually, yes. Through Nexus

This has likely the reason we're having so much trouble. SteamTinkerLaunch might be checking for Mod Organizer 2 in some places that Nexus has tried to install it, yet it's trying to launch MO2 from the location (prefix) that STL installs it to, which doesn't exist.

If you know how to remove your MO2 that you installed through Nexus, please remove it.

Should I still delete it?

That depends. Did you follow the steps I outlined earlier fully for which folders to delete? If so, I think so, but I'm not sure if it'll work. The steps I outlined for the folders to remove is my best guess at what needs to be removed.

GenghisSwan10 commented 1 year ago

How would I go about deleting it from Nexus?

GenghisSwan10 commented 1 year ago

Also yes. To a “T”

GenghisSwan10 commented 1 year ago

image Aha. Just tell me what to do

sonic2kk commented 1 year ago

You can probably delete everything shown in the picture you sent. At the very least, it'll clear up some disk space :smile:

You could check wherever you downloaded that modorganizer2-linux-installer file from to see if they have any uninstalling guides or any information on how to uninstall. I haven't used it so I won't really be able to offer any support there, though I wouldn't sweat too much about this part either way.

How would I go about deleting it from Nexus?

I'm very sorry but I'm not sure, I don't know where or how it installed MO2. Hopefully it won't matter too much :sweat_smile:

Since you followed the steps earlier, I'd recommend deleting ~/.config/steamtinkerlaunch (just the steamtinkerlaunch folder). Then from a terminal go to ~/stl/prefix/steamtinkerlaunch and run ./steamtinkerlaunch. This will re-create all of SteamTinkerLaunch's configuration from scratch.

After this, you can try to install MO2 again with ./steamtinkerlaunch mo2 install. That should attempt to install MO2 from a "clean" SteamTinkerLaunch installation.

From here, you can try to use the MO2 button. All being well, the files we deleted earlier + this clean STL install should allow MO2 to work.

Good luck!

sonic2kk commented 1 year ago

As an aside, if/when you get MO2 working, remember that the MO2 button is for launching MO2 to configure your mods. When you want to actually play your game, you'll want to follow the steps we went through earlier to choose that "gui" option and then launch your game by clicking "Play", then clicking "MO2 GUI" and running your game via MO2.

Just wanted to mention that as others have ran into problems trying to run games with MO2 by using the button on the Main Menu :slightly_smiling_face:

GenghisSwan10 commented 1 year ago

I am so sorry, but after deleting the folder it says no such file or directory ![Uploading image.jpg…]()

GenghisSwan10 commented 1 year ago

image

GenghisSwan10 commented 1 year ago

I think I screwed up ><

GenghisSwan10 commented 1 year ago

Do you have like a Discord at all???

sonic2kk commented 1 year ago

You need to run cd ~/stl/prefix and then run ./steamtinkerlaunch.

If you deleted the ~/stl folder, or anything in that folder, you can fix this by fully removing ~/stl if you haven't already, then reinstalling SteamTinkerLaunch from GitHub and installing it the same way you did the first time you installed it :slightly_smiling_face: That explanation was a little convoluted but hopefully it makes sense.

To be clear, I meant to delete the folder at ~/.config/steamtinkerlaunch, and only the steamtinkerlaunch folder within that ~/.config folder.

Do you have like a Discord at all???

We can get this resolved on GitHub :)

GenghisSwan10 commented 1 year ago

image

GenghisSwan10 commented 1 year ago

image

GenghisSwan10 commented 1 year ago

I think I’m on the right track. Now what? Still doing the CD thing brings up nothing

sonic2kk commented 1 year ago

First, ensure you have deleted ~/.config/steamtinkerlaunch.

You can install SteamTinkerLaunch by opening the folder you just extracted, right clicking inside of it and choosing "Open Terminal here" or the option to that effect. Then you can run ./steamtinkerlaunch. This will create a folder at ~/stl, which will contain a full reinstall of SteamTinkerLaunch.

After this, from terminal run ~/stl/prefix and press enter. Then run ./steamtinkerlaunch compat add to set it up as a compatibility tool within Steam again (in case the symlink was lost earlier). After this, restart Steam.

Now, once Steam has restarted, from terminal run ./steamtinkerlaunch mo2 install. This should reinstall MO2 to a "clean" SteamTinkerLaunch installation, and hopefully the folders we deleted earlier will have gotten rid of the earlier MO2 installation.

GenghisSwan10 commented 1 year ago

image Entering that into discover (the config Steam) this is what it brings me to

sonic2kk commented 1 year ago

Once you have ensured ~/.config/steamtinkerlaunch has been deleted, you'll want to right click in that folder from your picture and select "Open Terminal here". From here, ./steamtinkerlaunch. After that, you can follow the rest of the steps.

GenghisSwan10 commented 1 year ago

I can’t seem to find it. Also, it seems like I have two STL launcher files with the same files in it. Which one should I delete? image

GenghisSwan10 commented 1 year ago

image The one that ends with master’s file

GenghisSwan10 commented 1 year ago

image The one that ends in 11.0

sonic2kk commented 1 year ago

Sorry if I wasn't clear, those are not the folders you are meant to delete. You're meant to delete the steamtinkerlaunch folder at ~/.config/steamtinkerlaunch (don't delete the entire config folder, only the steamtinkerlaunch folder).

After that (and only after that, delete that folder in ~/.config first before you do this), you can open either of those folders, right click inside them, and select the "Open Terminal Here" option. Then you can run ./steamtinkerlaunch to install SteamTinkerLaunch again.

Once you've done that, you need to do the following:

  1. From Terminal, run cd ~/stl/prefix and press enter. This is your SteamTinkerLaunch installation folder.
  2. Run ./steamtinkerlaunch compat add to set up SteamTinkerLaunch as your compatibility tool again
  3. Restart Steam
  4. Run ./steamtinkerlaunch mo2 install
  5. Run your game with SteamTinkerLaunch and select the "MO2" button.

All of this should hopefully create a "clean" SteamTinkerLaunch installation where you can install MO2. And all being well, this will resolve the issue.

GenghisSwan10 commented 1 year ago

image Like this?

sonic2kk commented 1 year ago

You can open it like that but I meant from your file explorer. You should be able to select "Open" there though, then delete everything inside that folder.

GenghisSwan10 commented 1 year ago

image Damn I am so dense. Like this? It shows nothing

sonic2kk commented 1 year ago

No no, that is the search function of the file explorer, Dolphin.

If you click on your "Home" folder along the lefthand side, then at the end of where it says /home/deck (just after the deck part) it will turn into a textbox. From there you can go to the ~/.config/steamtinkerlaunch folder. Then you can delete everything in that folder.

GenghisSwan10 commented 1 year ago

I’m not seeing it anywhere >< image

sonic2kk commented 1 year ago

Ah it just says Home on the Deck for some reason. If you click to the right of where says "Home" it should turn into a textbox, like this:

image

GenghisSwan10 commented 1 year ago

Wait nvm lol

GenghisSwan10 commented 1 year ago

image So EVERYTHING?

sonic2kk commented 1 year ago

Yes, I recommend going one folder up and deleting the steamtinkerlaunch folder. This is where SteamTinkerLaunch stores all of its configuration files and we want to get rid of all of it to do a clean SteamTinkerLaunch install.

GenghisSwan10 commented 1 year ago

Which folders? Both? Or something else? image

sonic2kk commented 1 year ago

Those are not the folders you are meant to delete. You're meant to delete the steamtinkerlaunch folder at ~/.config/steamtinkerlaunch. That's the folder you were just in, you want to delete that entire folder.

GenghisSwan10 commented 1 year ago

How would I do that without putting them each into the trash individually?

GenghisSwan10 commented 1 year ago

Again you have the patience of a God

GenghisSwan10 commented 1 year ago

I am so so sorry once again

sonic2kk commented 1 year ago

How would I do that without putting them each into the trash individually?

If you click at the righthand side of where it says "Downloads" in your screenshot (pictured below), it'll turn into a textbox. From here you can delete everything and type ~/.config and press enter.

image

Then, you'll be in a folder probably with a lot of other folders. Look for the one called steamtinkerlaunch, right click and move it to trash.


After this, go to your Downloads folder again, open either of the steamtinkerlaunch folders in there. Right click and select "Open Terminal here", then run ./steamtinkerlaunch. This will install SteamTinkerLaunch.

From here inside terminal you can run cd ~/stl/prefix/. Then run ./steamtinkerlaunch compat add to add SteamTinkerLaunch as a compatibility tool again.

After this, restart Steam.

Once Steam has restarted, you can run ./steamtinkerlaunch mo2 install. Hopefully this will install MO2 correctly on a "clean" SteamTinkerLaunch prefix.


No worries friend, I hope we can get this resolved. I'll be a little disappointed if this doesn't fix the problem but hopefully at some point someone else can chime in with some ideas if this doesn't resolve it.

Also, you mentioned you're new to PCs, so don't sweat it. STL is an advanced tool and modding (especially on Steam Deck) is a pretty complicated process, so don't worry :smile:

GenghisSwan10 commented 1 year ago

So once again: move everything in the screenshot I sent to trash? Also ONLY send SteamTinker launch to trash and don’t delete it?

sonic2kk commented 1 year ago

Instead of moving everything to trash, just go to the ~/.config folder, look for the folder called steamtinkerlaunch inside that folder and delete it. That way you can be sure you don't miss anything.

Also ONLY send SteamTinker launch to trash and don’t delete it?

As long as it's the steamtinkerlaunch folder located at ~/.config, you can send it to trash and delete it.

GenghisSwan10 commented 1 year ago

Installing…

GenghisSwan10 commented 1 year ago

image This ok?

sonic2kk commented 1 year ago

That looks like it all worked fine to me! :partying_face:

Now you'll want to restart Steam.

The next step is installing MO2. From that same Terminal, run ./steamtinkerlaunch mo2 install.

Then hopefully, MO2 will have installed correctly. You can try running your game with SteamTinkerLaunch and pressing the MO2 button from the Main Menu to, hopefully, launch MO2.

GenghisSwan10 commented 1 year ago

Completely reboot the steam deck? Hold down the power button?

sonic2kk commented 1 year ago

Just restart the Steam client. Press the blue Steam icon in the bottom panel to open it, then go up to the Steam menu button at the top of the Steam client window and press "Exit" or something to that effect. Give it a few seconds to close, the white Steam icon will disappear from the bottom right side of the tray once its closed. Then press the blue Steam button to launch Steam again. Give it a while to launch. Then you can press the "X" button to close the client window (this won't quit Steam, it'll just close the window and Steam will keep running in the background)

GenghisSwan10 commented 1 year ago

image Looked good at first, brought up a window and then I got this. What now? 🤔🫣

GenghisSwan10 commented 1 year ago

image Is this a problem btw?

sonic2kk commented 1 year ago

It should be fine I think.

Try running your game with SteamTinkerLaunch now and pressing the MO2 button from the Game Menu. Hopefully it has installed correctly now... I hope :sweat_smile:

If it doesn't launch correctly, attach a log file, though I suspect it won't have anything more than the other logs had. Just for completeness I suppose :smile:

GenghisSwan10 commented 1 year ago

image Game Menu does not appear but I now have this fancy start up. Press MO2 button?

sonic2kk commented 1 year ago

Try pressing the MO2 button yup, fingers crossed!

GenghisSwan10 commented 1 year ago

It said downloading custom proton then it stopped ;-;

sonic2kk commented 1 year ago

Interesting that its downloading a custom Proton, I didn't realise STL did that. It might take some time though, give it a few minutes :smile: