Open dpottavio opened 4 years ago
VDF file format
"workshopitem"
{
"appid" "480"
"publishedfileid" "5674"
"contentfolder" "D:\\Content\\workshopitem"
"previewfile" "D:\\Content\\preview.jpg"
"visibility" "0"
"title" "Team Fortress Green Hat"
"description" "A green hat for Team Fortress"
"changenote" "Version 1.2"
}
Visibility 0 is PUBLIC, 1 is Friends Only, 2 is HIDDEN
steamCMD reference guide
It might be possible to store in the repo a list of VDF files that map to each terrain and have a steamCMD script file that updates each VDF file in sequence.
// update terrains
//
@ShutdownOnFailedCommand 1 //set to 0 if updating multiple servers at once
@NoPromptForPassword 1
login <username> <password>
workshop_build_item altis.vdf
workshop_build_item tanoa.vdf
quit
It would be nice to automate the upload/update of each mission on to steam. It looks like there are some ideas on BI forums for doing this. This should be a command switch in
build.py
.