Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 77ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
s

steam

Recently created Least recently created Recently updated Least recently updated
jackz

jackz / steamcmd update script

Last active 2 months ago script steam

Updates game folder with steamcmd, with locking

0 0 1
1 #!/bin/bash
2 APPID=222860
3 STEAMCMD_PATH=~/steamcmd/steamcmd.sh
4 if test -f "update.lock"; then
5 echo "update.lock found, cancelling"
6 exit 1
7 fi
8 touch update.lock
9 trap '{ rm -f -- "update.lock"; }' EXIT
10 # Due to some new steamcmd bugs, you cannot install the game except for windows. Valve doesn't seem like they will fix this
jackz

jackz / Extract Steam Launch Options

Last active 2 months ago steam

Extracts LaunchOptions from steam, showing appid & options. python3 extract.py ~/.local/.steam/steam/userdata/#####/config/localconfig.vdf

0 0 1
1 # initially generated by chatgpt
2 import vdf
3
4 def extract_launch_options(filepath):
5 with open(filepath, 'r', encoding='utf-8') as f:
6 data = vdf.load(f)
7
8 results = []
9
10 def walk(node):