本文主要是介绍SteamCMD下载创意工坊MOD,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1.去官网下载SteamCMD
SteamCMD - Valve Developer Communityhttps://developer.valvesoftware.com/wiki/SteamCMD#Downloading_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 woshimimaLogging 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 Guardcode from that message.
You can also enter this code at any time using 'set_steam_guard_code'at the console.Steam Guard code:woshiyanzhengmartm6rOK
Waiting for client config...OK
Waiting for user info...OKSteam>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的指令,该指令来源于
Command line options - Valve Developer Communityhttps://developer.valvesoftware.com/wiki/Command_line_options
这篇关于SteamCMD下载创意工坊MOD的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!