1.去官网下载SteamCMD
2.解压安装SteamCMD,启动。
3.登录匿名账号
login anonymous
4.下载对应MOD
APPID可在SteamDB查询,MODID即为对应MOD网址URL的ID
workshop_download_item [APP的ID] [MOD的ID]
如,下载这个群星MOD,https://steamcommunity.com/sharedfiles/filedetails/?id=819148835
workshop_download_item 281990 819148835
5.下载成功,可在SteamCMD返回值上看见文件下载存放的目录,将其放入自己游戏对应MOD文件夹即可畅玩。
注意
部分游戏锁了匿名账号,比如很多小家子气的国产游戏,必须登录steam账号后,才能下载玩家制作的MOD,不然会报错。目前碰到的外国游戏都可以直接用匿名账号下载MOD......
Steam>workshop_download_item 955900 2978291249
Downloading item 2978291249 ...
ERROR! Download item 2978291249 failed (Failure).
在步骤3,登录steam账号,格式如下
Steam>login
Usage:
login <username> [<password>] [<Steam guard code>]
Steam>login woshizhanghao woshimima
Logging off current session...OK
Logging in user 'woshizhanghao' to Steam Public...
This computer has not been authenticated for your account using Steam Guard.
Please check your email for the message from Steam, and enter the Steam Guard
code from that message.
You can also enter this code at any time using 'set_steam_guard_code'
at the console.
Steam Guard code:woshiyanzhengmartm6r
OK
Waiting for client config...OK
Waiting for user info...OK
Steam>workshop_download_item 955900 2978291249
Downloading item 2978291249 ...
Success. Downloaded item 2978291249 to "D:\steamcmd\steamapps\workshop\content\955900\2978291249" (4510183 bytes)
尾声
在官方SteamCMD的wiki中,并未找到有关workshop_download_item的指令,该指令来源于