Linux/SteamDeck Guide for Classic/ZZ

Are you stuck? Don't know how to do something? Ask here!
Post Reply
User avatar
Dixdros
Greenhorn
Posts: 16
Joined: Thu Jun 29, 2023 5:46 pm

Linux/SteamDeck Guide for Classic/ZZ

Post by Dixdros »

REQUIREMENTS:

- Steam
- Some Linux Shell Knowledge
- Root access (to edit /etc/hosts)

Step 1: Download and extract the MHF client somewhere on your deck. I would suggest something like /home/deck/Games/<client>

Step 2: Ensure that you have the launcher v3 installed, since the original launcher doesn't seem to work properly with Proton. (replace mhfl.dll, see mhfz-info-updates)

Step 2: Ensure that you have the 'ja-JP.UTF8' locale installed. While Frontier seems to run without it, it's probably recommended that you have it installed anyway. This depends on your installed distribution.

Step 3: Add Monster Hunter Frontier (mhf.exe) as a Non-Steam game. (https://help.steampowered.com/en/faqs/v ... -2338-40EC), or in the Desktop Client, Add Game -> Add A Non-Steam Game -> Browse -> Set File Type to All Files -> Select mhf.exe -> Add Selected Program

Step 4: Find MHF in your Steam Library, and enter Properties (Right Click -> Properties), then click on COMPATABILITY. Check "Force the use of a specific Steam Play compatiblity tool". Make sure "Proton Experimental" is installed. The latest Proton GE will also work.

Step 5: Set the launch options under SHORTCUT to
LANG='ja_JP.UTF8' %command%
Additionally, give it a better name then just 'mhf.exe'.

Step 6 (If you are running a private server): Become root and make any necessary edits to
/etc/hosts/
. The file is processed the same way as in Windows, so similar lines will still work. This isn't required if you play on an available public server.

Step 7: Run the game from your Steam library at least once.
Steam Support :: FAQS
Steam Support :: FAQS
Step 8: Download 'protontricks' if you haven't already.

Step 9: Run 'protontricks", select your "Monster Hunter Frontier" steamapp from the list. (you may need to do the additional step if you run MHF off of your SD card)

Step 10: Select the following options and click OK: Select the default wineprefix -> Install a Windows DLL or Component -> check 'd3dx9' -> click OK and wait for it to install.

Step 11: Close winetricks by clicking cancel until it closes.

Step 12: Start the game, with the appropriate settings.

Steam Deck:

The Steam Deck requires no additional fanfare to get working and can be accomplished using a similar procedure. However, this requires a few extra steps.

Step 1: Modifying Hosts

This requires you to add a password to your Deck userid and edit the /etc/hosts file.

a. Open Konsole in desktop mode.
b.
passwd deck
, and set yourself a password.
c.
sudo nano /etc/hosts
and make your hosts changes. This (should) be preserved by system updates as /etc is an overlay. The sudo password will be the password that you set in Step B.

Step 2: Adding 'ja-JP.UTF8' locale

While MHF seems to run without a locale set, and thus this step may be optional, it's likely advised to set it anyway. The instructions from this shell script (thanks to the original author, XargonWan) should be enough to get this working. https://gist.github.com/XargonWan/cc660 ... 5a2bf12c47

Once this is done, the game should work in Game Mode just as well as any other game, with no tweaking necessary.

Step 3: HD Client Support

"protontricks" can be installed by using the 'discover' app. Note that if you run MHF off of the SD card, you will need to follow the instructions the app provides to give it permission.

Also note that the HD client consumes more power then the standard client. I get about 5 hours of gameplay on the standard client at minimum power settings. I would advise using the standard client if you care about power.
Gist
Enable Japanese locale on Steam Deck
Enable Japanese locale on Steam Deck. GitHub Gist: instantly share code, notes, and snippets.
Enable Japanese locale on Steam Deck
Remember that Steam+Right Touchpad/Trigger can be used to force mouse input, and that Steam+X can be used to force open the Keyboard.

EXTRA NOTE 2: A 404 on Linux doesn't generate the cat 404 page, but will instead forward you to the WINE homepage. The results are the same.
EXTRA NOTE 3: Any additional changes made (applying various patches, et al) can be accomplished in a similar way to changes made on Windows.
As a final note, I claim no responsibility or accountability for what happens to your PC, either from the client, system issues, or any mistakes made as the root user.
All thanks to @Ayrie for this guide

second Guide

Step 1:

Download and extract the MHF files somewhere on your machine.

Example: /home/Games/<client>

I personally recommend grabbing the base files

Step 2:

Make sure to use the latest files

Step 3:

Make sure to have the following locale installed

"ja-JP.UTF8"

It apparently runs without, but still recommended to have

Step 4:

Add Game
Add A Non-Steam Game
Browse
Set File Type to All Files
Select mhf.exe
Add Selected Program

Step 5:

Find MHF in your Steam Library, and enter Properties (Right Click -> Properties)
Click on COMPATABILITY
Check "Force the use of a specific Steam Play compatiblity tool"
Make sure "Proton Experimental" is installed
The latest Proton version beneath should also work

Step 6:

Set the launch options under SHORTCUT to

LANG='ja_JP.UTF8' %command%

Step 7:

Run the game from your Steam library at least once

Step 8:

Download 'protontricks'

Step 9:

Run 'protontricks --gui'

Select your "Monster Hunter Frontier" client from the list
Select the following options and click OK:

Select the default wineprefix
Install a Windows DLL or Component
Check 'd3dx9'
Click OK and wait for it to install

Step 10:

Close winetricks by clicking cancel until it closes

Step 11:

Start the game with the appropriate settings and login

If you have the base files only it should get download them now

Steam Deck:

The Steam Deck should work easier just follow Step 3 for locale and Step 9 if you want High Grade working
Apparently protontricks has information on how to access the game from an SD Card if you run it off one
High Grade will obviously take more power than stock

Addendum:

404 won't load the cat image and instead redirects to a WINE homepage
Any changes can be installed in the same way they are applied on Windows by replacing the older files

Original Guide from Ayrie

I will take no responsibility if you have issues, Google is your best friend
Server Developer & Admin

MH1: Dixdros HR20 · MHG: Dixdros HR30 · MH2: Dixdros HR100 · MH Frontier: HR999 GR999 · MH Frontier Classic: HR131

Image
User avatar
AmyRoxwell
Ranger
Posts: 114
Joined: Wed Jun 28, 2023 11:47 pm

Re: Linux/SteamDeck Guide for Classic/ZZ

Post by AmyRoxwell »

Great guide, a bit messy tho, maybe you could use the spoiler title=yourtitlehere so you could organize the guide on sections!!, otherwise, gucci
MH Dos Enjoyer (She/Her), trying to become a Master on all weapons,
Certified Member of the Navirou's Love Club
Post Reply

Return to “Help & Support”