1
ewpratten.com/content/blog/2022-12-07-gamels.md

1.3 KiB

layout title description date tags draft extra
page I re-implemented ls to query the Steam API gamels: never be confused about Steam appid direcroties again 2022-12-07 project false
auto_center_images excerpt
true gamels will list all files in a directory in the style of 'ls -la', but will also show the name of any Steam game found in the listing. This utility was made to help me explore the filesystem of the Steam Deck.

Today, I released a new command-line tool called gamels.

Linux gamers may be familiar with digging around the copmpatdata and shadercache directories in ~/.local/share/Steam/steamapps. This is a tedious task that involves lots of googling, since Steam names game-specific directories after the game's application id.

A screenshot showing app ids in the shadercache

gamels solves this problem by querying the Steam API to see if any directory names match known app ids. If so, the name of the corresponding game is shown in the listing.

A screenshot of gamels in action

Installation instructions and source code are available on GitHub.