this post was submitted on 18 Jun 2023
107 points (100.0% liked)

Steam Deck

14899 readers
68 users here now

A place to discuss and support all things Steam Deck.

Replacement for r/steamdeck_linux.

As Lemmy doesn't have flairs yet, you can use these prefixes to indicate what type of post you have made, eg:
[Flair] My post title

The following is a list of suggested flairs:
[Discussion] - General discussion.
[Help] - A request for help or support.
[News] - News about the deck.
[PSA] - Sharing important information.
[Game] - News / info about a game on the deck.
[Update] - An update to a previous post.
[Meta] - Discussion about this community.

Some more Steam Deck specific flairs:
[Boot Screen] - Custom boot screens/videos.
[Selling] - If you are selling your deck.

These are not enforced, but they are encouraged.

Rules:

Link to our Matrix Space

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] derin@lemmy.beru.co 11 points 1 year ago* (last edited 1 year ago) (1 children)

Simple!

So, first you need to locate where you've installed your copy of Diablo. If you didn't manually tell Battle.Net to install games into the SD Card, this will be in your Proton Files directory - a.k.a. ~/.steam/steam/steamapps/compatdata/<battlenets_steam_id>/pfx/drive_c/Program Files (x86)/Battle.Net

  1. Your first step will be locating the <battlenets_steam_id> number, as all the folders in compatdata are incomprehensible ids. Just Launch and close Battle.net (via Steam - just open and kill the program), then open the previously described compatdata folder in Desktop Mode and sort the file list by last modified - hopefully your Battle.Net's installation directory will be at the top. (if not, keep opening those folders until one of them has a Battle.Net folder in Program Files (x86))

  2. After finding the correct compatdata directory, continue into it by navigating to where Diablo 4 is installed (either in your Battle.net folder or somewhere else in Program Files (x86)), and right-click its binary - Diablo 4 Launcher.exe - to add it to Steam as a non-steam game. Note that you aren't done yet - if you use this link it will not have access to any of your previous user data from the <battlenets_steam_id> compatdata folder - we'll have to add that.

  3. Go into your Steam library (in Desktop mode with a keyboard is easiest) and right-click the new Diablo 4 entry. Under "Shortcut", there'll be a field called launch options. There you want to add the following line:

STEAM_COMPAT_DATA_PATH="/home/deck/.local/share/Steam/steamapps/compatdata/<battlenets_steam_id>/" %command%

...making sure to replace the <battlenets_steam_id> part with the id you found earlier, during step 1. This will tell Steam to use the data from your Battle.Net install when launching Diablo (for things like automatically logging in and, well, accessing Battle.Net's install :D)

  1. At this point you can also do things like give Diablo its own controller settings (I like to use KB+M for the Battle.Net app, but controller specifically for Diablo) and its own Artwork. For artwork, I used the SteamGridDB plugin for DeckyLoader. Also don't forget to tell the Diablo 4 shortcut to use Proton-GE.

Finally: these steps work for all third party launchers, so if you also have Ubisoft Connect or EA App games, you can add them in a similar fashion.

Note: You will need to click through the Battle.Net launcher every time you launch Diablo, that's just how it works. I tend to tap my screen to get through the prompts quickly, and just kill Battle.Net via Steam when looking to exit.

[โ€“] lusterko@sh.itjust.works 9 points 1 year ago

Haha, I love what you're considering simple(I'm not saying that it's too complicated, but it's funny to see a wall of text after "Simple!")