Steamworkshop dl function
Thought i share it, since it came in handy lots as a GoG enjoyer.
<span style="color:#323232;">steamworkshop_dl() {
</span><span style="color:#323232;"> steamcmd +login anonymous +workshop_download_item "$1" "$2" validate +quit
</span><span style="color:#323232;"> mv -v "<path to your temp Steam folder>/steamapps/workshop/content/"$1"/"$2" "$PWD"/"$3"
</span><span style="color:#323232;">}
</span>
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:
<span style="color:#323232;">alias stdl='steamworkshop_dl <game-id>'
</span><span style="color:#323232;">stdl <mod-id> 'that mod'
</span>
Needs steamcmd. If download fails, try username and password instead of ‘anonymous’.