Reloaded-Project / Reloaded-II

Universal .NET Core Powered Modding Framework for any Native Game X86, X64.
GNU General Public License v3.0
608 stars 82 forks source link

Error in installing Reloaded using Proton tricks Linux Mint #449

Closed Landon-Rivers closed 1 month ago

Landon-Rivers commented 2 months ago

Did you install the Prerequisites? Yes

Describe the Issue Every time I right-click Setup-Linux.exe and run it with the Protontricks launcher this happens.

Screenshots Screenshot from 2024-09-23 21-44-12

Sewer56 commented 2 months ago

The setup program makes a bunch of assumptions about the host OS since I don't have time/resources to implement proper IPC.

I'm curious, does a .local/share/applications folder exist in your home directory? I wonder if it's that, or some other assumption failing.

Landon-Rivers commented 2 months ago

I believe this is the pathway: Screenshot from 2024-09-23 21-59-06

Sewer56 commented 2 months ago

Hmm, this checks out.

Could your distro maybe have a partition setup where /home doesn't store user profiles? I wonder if that could be the catch.

Technically it's also possible for Wine to not mount Linux filesystem on Z: but that's unlikely.

Landon-Rivers commented 2 months ago

I wouldn't know this is the main SSD I am using: image This is what my /home looks like: image

Sewer56 commented 2 months ago

Chances are I'll probably wind up installing some distros with QEMU-KVM (virtual machines) and debug myself.

What I meant to ask is the full path to your home folder, I was wondering if it was matching up. Perhaps your install stores user profiles in another place.

Landon-Rivers commented 2 months ago

I believe the file system is the root: image image image

Sewer56 commented 2 months ago

Hmm, pretty standard setup then; strange. I'll have a look, somewhere around next weekend in a VM. Till then; there's still the legacy setup guide

Landon-Rivers commented 2 months ago

So I followed the steps for the legacy setup and when I try to install the .NET frame up it says: Setup may not work properly because the Windows Modules Installer service is not available on this computer.

I click okay anyways and reloaded gui launches with no problems which is weird but I did notice when another pop up window opens in Reloaded it keeps blinking when I try to confirm configurations or changes on P3 Reload mods. Also, do I need to setup Windows version of Steam with Wine or is the Linux version of Steam compatible with reloaded?

Landon-Rivers commented 2 months ago

To get mods to work on the Linux version of steam do I have to add Reloaded as a non-steam game?

Sewer56 commented 2 months ago

To get mods to work on the Linux version of steam do I have to add Reloaded as a non-steam game?

Read the Proton section of the Legacy Setup Guide.

You can run the Reloaded launcher with whatever you like, Wine, Proton or otherwise; but you'll need to Deploy ASI Loader and possibly set up a symlink when making things work for Proton.

Landon-Rivers commented 2 months ago

Nice I will try what you suggested when I get the chance and report back if I have problems

Landon-Rivers commented 1 month ago

So I did what you suggested but nothing seems to work on my end so when I get off of work I will basically uninstall everything from Wine, Steam, and Protontricks to do a reinstallation and follow your guide to a t since I am having a hard time getting the reloaded process to work on P3 reload. Just wish there was a much more simpler process of how to go about this or a video tutorial for Linux mint users doing things step by step. I could also record what I am doing and send that recording to you to understand what steps I am missing as well.

Landon-Rivers commented 1 month ago

So I am trying to use the Using ASI Loader to launch reloaded from steam: image But this happens: image

Sewer56 commented 1 month ago

You need to setup the symlink described in the Proton Section of the Legacy Setup Guide

Landon-Rivers commented 1 month ago

So I see the reloaded ii folder in the wine path: image But not the Steam Path: image When I type this string into the terminal this shows up: image

Sewer56 commented 1 month ago

You added a space between - and s by accident I believe.

Landon-Rivers commented 1 month ago

Yep, you were right and it finally loads from Steam.

Landon-Rivers commented 1 month ago

So every time I download a mod in reloaded this happens: image

Sewer56 commented 1 month ago

Nothing I can do about this. GameBanana has been unreliable lately. Reloaded already tries to download mods multiple times; if it fails on all attempts, the error is returned and program dies.

I can try more proper error handling, but if the download fails, then the user would boot the game, get a missing dependency error and raise an issue either way. All I can wait is for the site owner to fix their current deployment issues.

Landon-Rivers commented 1 month ago

Got it thanks for the heads up

Utricular commented 1 month ago

I fixed this by giving protontricks permission to ~/.local/share

Sewer56 commented 1 month ago

Oh, Flatpak permission issues?

Utricular commented 1 month ago

Oh, Flatpak permission issues?

Seems so. It would be better to give it permission to "~/local/share/applications" for security.

How ever after that I got an error "Reloaded Mod Loader DLL has not been found". I believe this is another Flatpak permission error if your using the flatpak version of steam. So I gave the steam flatpak permission to "~/Desktop/Reloaded-II - P5R". This error doesn't occur in the legacy version because of the symlink.

Landon-Rivers commented 1 month ago

Oh, Flatpak permission issues?

Seems so. It would be better to give it permission to "~/local/share/applications" for security.

How ever after that I got an error "Reloaded Mod Loader DLL has not been found". I believe this is another Flatpak permission error if your using the flatpak version of steam. So I gave the steam flatpak permission to "~/Desktop/Reloaded-II - P5R". This error doesn't occur in the legacy version because of the symlink.

I am using the deb version of Steam (installed by terminal instead of software manager) , not the Flatplak version but if it works similar than I can give it a try.

Utricular commented 1 month ago

Oh, Flatpak permission issues?

Seems so. It would be better to give it permission to "~/local/share/applications" for security. How ever after that I got an error "Reloaded Mod Loader DLL has not been found". I believe this is another Flatpak permission error if your using the flatpak version of steam. So I gave the steam flatpak permission to "~/Desktop/Reloaded-II - P5R". This error doesn't occur in the legacy version because of the symlink.

I am using the deb version of Steam (installed by terminal instead of software manager) , not the Flatplak version but if it works similar than I can give it a try.

You shouldn't need to change the permissions with steam if you're using the binary version. Same with protontricks if you're not using the flatpak version you shouldn't run into the original error. I can spin up a vm tonight and check.

Utricular commented 1 month ago

Just tested only the flatpak version requires you to give steam permission to "~/Desktop", as the binary has permission by default.

Landon-Rivers commented 1 month ago

Just tested only the flatpak version requires you to give steam permission to "~/Desktop", as the binary has permission by default.

Gotcha thanks for the heads up

Landon-Rivers commented 1 month ago

Reloaded is now working for me so I will go ahead and close the ticket.