How To Play on Linux: Difference between revisions

no edit summary
(Added section Creating an Application Menu Entry)
No edit summary
 
(17 intermediate revisions by 3 users not shown)
Line 2: Line 2:


===Requirements===
===Requirements===
[https://www.winehq.org/ Wine]<br>
You can use [https://www.winehq.org/ Wine] or Proton<br>
webkit2gtk4.0<br>
webkit2gtk4.0<br>
Linux Patcher: [https://patcher.muhro.eu/patches/patcher/linux/Muh_Patcher Muh Patcher Linux]<br>
Linux Patcher: [https://patcher.muhro.eu/patches/patcher/linux/Muh_Patcher Muh Patcher Linux]<br>
[https://lutris.net/ Lutris] (optional)
winetricks(optional)


== Pre-Requisite Installations ==
== Pre-Requisite Installations ==


==== Wine ====
==== Wine ====
Download Wine by going to [https://wiki.winehq.org/Download this link] and choosing your Linux distribution from the list of binary packages. Follow the instructions for your specific Linux distribution to install.
Fedora/RHEL: <code>sudo dnf install wine</code><br>
Arch Linux: <code>sudo pacman -S wine</code><br>
Debian/Ubuntu/Pop_OS/Mint: <code>sudo apt install wine</code><br>
 
If your distribution has a outdated Wine version Download Wine by going to [https://wiki.winehq.org/Download this link] and follow the instructions for your specific Linux distribution to install.
 
==== Proton ====
Install Proton 10 on steam<br>
Follow the instructions on [[How To Play on Linux#Using Proton]]


==== Webkit2gtk4.0 ====
==== Webkit2gtk4.0 ====
Some distributions do not include this dependancy and must install it manually. The patcher will not launch if this dependancy is not installed.
Some distributions do not include this dependency and must install it manually. The patcher will not launch if this dependancy is not installed.
  Fedora: <code>dnf install webkit2gtk4.0</code>
  Fedora/RHEL: <code>sudo dnf install webkit2gtk3-devel</code>
 
Arch Linux : <code>sudo pacman -S webkit2gtk webkit2gtk-4.1</code>
==== Lutris (optional) ====
Lutris is not needed to run MuhRO but can be used if preferred. Download Lutris by selecting your distribution or the flatpak at [https://lutris.net/downloads this link].


== Installing MuhRO ==
== Installing MuhRO ==
If you haven't already, [https://muhro.eu/?module=account&action=create create a master account] and confirm your email address.  
If you haven't already, [https://muhro.eu/?module=account&action=create create a master account] and confirm your email address.  


Once you have a master account, you have confirmed your email address and logged in, you can [https://muhro.eu/?module=other&action=downloads download] MuhRO by clicking Main Menu > Downloads.
Once you have a master account, and verified through discord, you can download MuhRO by entering <code>/download</code> (typed, not pasted) in any discord channel.


[[File:Downloads_Navigation.png|204x204px]]
[[File:Download-command.png|394x394px]]




Line 46: Line 52:
Enter your Master Account Login and select your character account to begin playing.
Enter your Master Account Login and select your character account to begin playing.


== Creating an Application Menu Entry (Optional) ==
== Using Proton ==
Create a new text file named MuhRo.desktop in /Home/''USERNAME''/.local/share/applications (replace ''USERNAME'' with your local username).
You can use Proton setting the patcher with an environment variable<br>
Create a file named proton-wrapper.sh inside muhro folder with this content:
 
<pre>#!/bin/bash
PROTON_DIR="$HOME/.steam/steam/steamapps/common/Proton 10.0"
APPID="muhro"
STEAM_COMPAT_DATA_PATH="$HOME/.steam/steam/steamapps/compatdata/$APPID"
STEAM_COMPAT_CLIENT_INSTALL_PATH="$HOME/.steam/steam"
mkdir -p $HOME/.steam/steam/steamapps/compatdata/$APPID
 
export PROTON_DIR
export APPID
export STEAM_COMPAT_DATA_PATH
export STEAM_COMPAT_CLIENT_INSTALL_PATH
export SteamAppId="$APPID"
 
"$PROTON_DIR/proton" run "$@"</pre>
 
Open a terminal in muhro folder:


Enter the following into the text file and save it. Make sure to replace ''PATH TO FOLDER CONTAINING GAME FILES'' with the path to the folder containing your game files.<blockquote>[Desktop Entry]
Make the file executable with <code>chmod +x proton-wrapper.sh</code>  


Comment[en_US]=MuhRo
Execute the patcher with <code>env RPATCHUR_WINE=/path/to/gamefolder/proton-wrapper.sh ./Muh_Patcher</code>


Comment=MuhRo
To create a Desktop Shortcut follow instructions: [[How To Play on Linux#Creating an Application Desktop/Menu Entry]]


Exec=''PATH TO FOLDER CONTAINING GAME FILES''/Muh_Patcher


GenericName[en_US]=
== Creating an Application Desktop/Menu Entry ==
Create a new text file named MuhRo.desktop in /home/''USERNAME''/.local/share/applications (replace ''USERNAME'' with your local username).


GenericName=
Enter the following into the text file and save it. Make sure to replace ''PATH TO FOLDER CONTAINING GAME FILES'' with the path to the folder containing your game files.<blockquote>[Desktop Entry]


Icon=''PATH TO FOLDER CONTAINING GAME FILES''/muhro.ico
Comment=MuhRo


MimeType=
Exec=''PATH TO FOLDER CONTAINING GAME FILES''/Muh_Patcher


Name[en_US]=MuhRo
Icon=''PATH TO FOLDER CONTAINING GAME FILES''/muhro.ico


Name=MuhRo
Name=MuhRo
Line 74: Line 98:


Terminal=false
Terminal=false
TerminalOptions=


Type=Application
Type=Application
</blockquote><big>'''If using proton replace'''</big> <code>exec=</code> with <code>Exec=env RPATCHUR_WINE=/path/to/gamefolder/proton-wrapper.sh path/to/gamefolder/Muh_Patcher</code>


X-KDE-SubstituteUID=false


X-KDE-Username=</blockquote>Make the file executable by either opening the files properties and marking it as executable in the permissions tab or run the following in terminal.
Make the file executable by either opening the files properties and marking it as executable in the permissions tab or run the following in terminal.


<code>chmod +x PATH_TO_MUHRO.DESKTOP</code>
<code>chmod +x PATH_TO_MUHRO.DESKTOP</code>
Line 89: Line 111:
You may have to log out and back in to see the start menu entry.
You may have to log out and back in to see the start menu entry.


==Running under Lutris==
== Winetricks ==
Alternatively, instead of running it through Wine, you may also run the Muh.exe file, through Lutris. This is to run more specific versions of Wine such as Wine-GE.<br/>
'''Disclaimer: not needed if running with proton.'''
To do so you must install Lutris, then choose the option ''add a locally installed game'', pass the '''Muh.exe''' file as the executable; use Wine as the runner then pass the following arguments:<br/> '''-1rag1 -t:password username server''' under the game options. This username/password is the same as your game account username/password.


If you run the executable in this way, you must run the native Muh_Patcher, before you start it, otherwise you may run into issues, due to an outdated client.
Winetricks is useful if you want [https://github.com/doitsujin/dxvk DXVK] (run the game with vulkan)
===Known Problems===
 
===Install winetricks===
 
Fedora/RHEL: <code>sudo dnf install winetricks</code>
 
Arch Linux: <code>sudo pacman -S winetricks</code>
 
Debian/Ubuntu/Pop_OS/Mint: <code>sudo apt install winetricks</code>
 
=== Install DXVK : ===
Open terminal and
<code>WINEPREFIX=/<path to wineprefix>/ winetricks dxvk</code>
 
== Known Problems ==
====Unacceptable TLS certificate====
====Unacceptable TLS certificate====
This issue seems to affect Ubuntu 22.04 and all other distro based on it (KDE Neon) <br>
This issue seems to affect Ubuntu 22.04 and all other distro based on it (KDE Neon) <br>
Solution: so far changing distro
Solution: so far changing distro
====Version `GLIBC_X.XX' not found====
The distribution used may not come with the dependencies needed for the shipped linux patcher. <br />
Solution: Try the alternative patcher linked [https://discord.com/channels/822793286786875403/1129804674594254909/1347879182927134731 here]
10

edits