dpottavio / CombatDen

Randomized missions for Arma 3
GNU Lesser General Public License v3.0
8 stars 3 forks source link

Integrate CLI steam upload to build process. #65

Open dpottavio opened 4 years ago

dpottavio commented 4 years ago

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.

dpottavio commented 4 years ago

Also an example of how to do this here.

dpottavio commented 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
dpottavio commented 4 years ago

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