Tag Archives: Valve Steam Deck

Work-in-Progress: Discord Rich Presence on the Steam Deck

I’ve been updating and working on Python scripts under SteamOS on the SteamDeck.

I got Rich Presence working under Discord using JustTemmie’s awesome https://github.com/JustTemmie/steam-presence-on-discord.

SteamOS is an Arch Linux variant.  You can install Arch packages using pacman and treat it as you would any Linux device.

It attempts to do Game ID lookups using steamGridDB, but I have it defaulting to “a game on Steam Deck” when the lookup fails.


HOW-TO: Install Arch packages on your Steam Deck

You’ll need to switch to Desktop Mode to access the GUI and Terminal:

  • If you haven’t already, use passwd to create a password for the deck user.

  • Disable read-only mode: sudo btrfs property set -ts / ro false

  • Initialize the pacman keyring: sudo pacman-key --init

  • Populate the pacman keyring with the default Arch Linux keys: sudo pacman-key --populate archlinux

  • Try installing a package: sudo pacman -S vi

NOTE:
Any packages you install will be overwritten by the next Steam Deck update.  You can maintain persistence by saving your content under /run/media/mmcblk0p1/ (your microSD card).

For example, I keep my Discord Rich Presence client, RetroArch/EmuStation, and all my content under /run/media/mmcblk0p1/Emulation and /run/media/mmcblk0p1/home/deck so that neither are overwritten or lost during SteamOS updates.


config.json

"Playing a Game" showing RPC data from Steam Deck
PLAYING A GAME showing game data from the Steam Deck
{
    "STEAM_API_KEY": "YOUR_STEAM_API_KEY", # You can register at https://steamcommunity.com/dev/apikey
    "USER_ID": "YOUR_USER_ID", # You can get the ID from the URL ID returned by https://steamdb.info/calculator/</code>

    "DISCORD_APPLICATION_ID": "1014501243164577802",

    "COVER_ART": {
        "ENABLED": true,
        "STEAM_GRID_API_KEY": "8a65c99870dc888583e06c3e0f377560"
    },

    "CUSTOM_GAME_OVERWRITE": {
        "ENABLED": false,
        "NAME": "a game on Steam Deck"
    },

    "CUSTOM_STATUS_STATE": {
        "ENABLED": false,
        "STATUS": "using Discord on Steam Deck"
    },

    "CUSTOM_ICON": {
        "ENABLED": false,
        "URL": "https://tayledras.com/wp-content/uploads/2022/08/steamdeck-logo.png",
        "TEXT": "Discord on Steam Deck"
    }
}

 

Upgrading the Valve Steam Deck from 1TB to 2TB

Upgrading the Valve Steam from 1TB (2x512GB) to 2TB (2x1TB)

I upgraded my Valve Steam Deck from 1TB (2x512GB) to 2TB (2x1TB) using a 1TB Samsung NVMe 4 M.2 SSD and a 1TB Sandisk Extreme Pro microSDXC.

The Steam Deck uses ext4 as its filesystem, which you can mount under Linux natively, or mount under Windows and MacOS using the proper drivers or kernel extension.  While there’s multiple solutions like MacFuse for the Mac, I prefer Paragon Software’s LinuxFS for Windows and extFS for MacOS to provide ext4 filesystem support under Windows and MacOS respectively.

If you’re running Apple Silicon (M1 or M2) rather than Intel on your Mac, you’ll need to boot into Recovery Mode by rebooting your Mac, press and hold the fingerprint scanner / power button until it displays the “Loading Startup Options” screen…

  1. Press and hold the power button until you see “Loading Startup Options”
  2. Click Options.
  3. Click Continue.
  4. In the menu bar at the top, Select Utilities > Startup Security Utility.
  5. Select the startup disk.
  6. Click Security Policy.
  7. Select Reduced Security.
  8. Reboot and continue with Paragon Software’s extFS for MacOS installation.

Once you can mount ext4 filesystems on the Mac, you can use your Mac to either `dd` or copy (using Finder) your steamapps and gamesaves from the old storage devices to the new (SSD or microSDXC).

Since the SteamOS 3.x (Holo) is effectively Arch Linux, you can also switch to Desktop Mode, enabled sshd and either cp or scp files to/from your Steam Deck using your local secure shell or Terminal.  This is very useful for absolutely everything, allowing remote management and copying to/from your Steam Deck.

extFS for Mac by Paragon Software

 

Copying from the old Steam Deck storage to the new

Comparing Handheld Gaming Consoles (Switch, Steam Deck)

Comparing Heldheld Gaming “Consoles”


COMPARING HANDHELD GAMING “CONSOLES”

1) 1TB Anbernic RG552 (2x512GB, Android 11, RetroArch)
2) 512GB Nintendo Switch OLED (1x512GB, Nintendo Switch)
3) 2TB OneXPlayer 1S (2TB NVMe 4 SSD, Windows 11, SteamOS)
4) 1TB Valve Steam Deck (2x512GB, SteamOS)

They’re all excellent handhelds, and have their niches:

The Nintendo Switch OLED is definitely has most color gamut, depth, and brightness with its HDR OLED screen.

The OneXPlayer 1S has the highest resolution and best general performance as a handheld Windows gaming PC.

The Valve Steam Deck has a lower resolution screen (similar to the Switch), but a fast AMD processor and dedicated AMD RDNA 2 GPU, so it tears through graphics, textures, and processing on the 1280×800 screen. It’s really the “best of all worlds” for handheld/portable gaming since it runs most of the Steam game library at 40-60fps with medium→ultra graphics (depending on the game).


Sachiko, the Sheltie Gamer

Three Generations of Gamers (and Handheld Game Consoles!)

❝ I am a gamer, not because I don’t have a life, but because I choose to have many. ❞

Three generations of gaming consoles:
Kiyomi with the Sony PlayStation Vita (PSvita)
Toshirō with the Nintendo Switch OLED
Sachiko with the Valve Steam Deck