一、下载SDK
1.同样在steamworks官网下载最新的SteamSDK。Steamworks
二、配置vdf文件
1、app_build_1000.vdf
"appbuild"
{
"appid" "1000" //修改你的ID
"desc" "Updata"
"buildoutput" "..\output\"
"contentroot" "..\content\"
"setlive" ""
"preview" "0"
"local" ""
"depots"
{
"1003" "depot_build_1003.vdf" //修改你的Depot ID
}
}
2、depot_build_1003.vdf(修改ContentRoot路径)
"DepotBuildConfig"
{
"DepotID" "1003" //修改你的Depot ID
"ContentRoot" "/Users/用户名/Downloads/sdk/tools/ContentBuilder/content/GongfuCreator/mac/GongfuCreator"
"FileMapping"
{
"LocalPath" "*"
"DepotPath" "."
"recursive" "1"
}
"FileExclusion" "*.pdb"
}
3、根据路径找到文件:sdk/tools/ContentBuilder/builder_osx/steamcmd.sh
双击或在终端运行steamcmd.sh,等待更新结束
login 账号 密码 验证码
run_app_build ../scripts/app_build_1000.vdf
最后输出Success,完成。