this post was submitted on 11 May 2024
34 points (100.0% liked)

Linux Gaming

15842 readers
18 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

Thought i share it, since it came in handy lots as a GoG enjoyer.

steamworkshop_dl() {
    steamcmd +login anonymous +workshop_download_item "$1" "$2" validate +quit
    mv -v "<path to your temp Steam folder>/steamapps/workshop/content/"$1"/"$2" "$PWD"/"$3"
}

Purpose: downloading Steam Workshop mod to $PWD with minimal work.

Usage: steamworkshop_dl [game-id] [mod-id] [name]

game-id is in the URL of the main workshop page, mod-id is in the URL of the mod

To make usage simpler, create an alias with the game-id:

alias stdl='steamworkshop_dl <game-id>'
stdl <mod-id> 'that mod'

Needs steamcmd. If download fails, try username and password instead of 'anonymous'.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here