Running on Linux and the Steamdeck

Mar 14, 2023
1
0
1
34
Gamertag
darthcircuit
#1
Hi!

I've been researching for some time how to easily get H2 running on my Steamdeck, and there is not much info that makes it easily accessible. (mostly due to the sound issue.)

After some trial and error, I was able to build a pre-configured AppImage using this really slick tool:

https://gitlab.com/formigoni/gameimage

This includes all the libraries and wineprefix settings that *SHOULD* make the game work on any version of linux fairly easily. The actual wine prefix is stored in a hidden folder next to the AppImage file which includes a prebuilt wine binary. This being the case, any mods that work on Windows should be able to be drag and drop into the wine prefix and in theory work, but i haven't tested this I have only got the vanilla game running and played a few matches online on my deck.

I'd really like to have the files hosted elsewhere as I don't want my google drive to be hammered and flagged, but I'll make a link available for now.

Instructions:

1. download the h2pc-appimage.tar.gz from here.
2a. If you are using a steamdeck, all you should need to do is extract it somewhere, right click on the h2pc.AppImage file and add to steam. It should then show up in the game mode.
2b. If you are using a regular linux machine or a steamdeck with a custom version of linux, you should also download and run the included bash file in the same folder as the tar.gz file.

Open the terminal in the folder you have both the script and the tar file. make the script executable and then run it by:

chmod +x h2pc-linux-setup.sh
./h2pc-linux-setup.sh


Some of the modifications to the prefix are stored in the user profile, which for steamdeck users is named 'deck' - my script will extract the tar for you, rename the deck user profile folder to your username and then run the game once to make sure it launches.

3. Profit?

I make no guarantees that this will work for you, but it worked for me on my personal Steamdeck as well as my desktop computer running Nobara (Fedora).

Please let me know if this works for your or if you run into problems. I'm in the middle of a course at the moment, so I may not get back with you in a hurry, but I'll help if I can.
 
Sep 16, 2021
1
0
1
25
#2
A project cartographer appimage is something that is really cool considering it's a bit of a process to get this game running on linux. I've tried following your instructions but anytime I try launching the game via the appimage I get an error regarding compatibility info. I'm running 23.04 and thought I would drop this here to let you know this may not work on all linux desktops or if it gives you any hints on how to fix it.

Screenshot from 2023-04-22 17-01-13.png