Releases: f0rkz/pysteamcmd
Releases · f0rkz/pysteamcmd
Bugfix release
Feature: Upload workshop project
This release adds a new feature to upload a VDF file to the workshop.
Example Usage:
Create a VDF file for your project:
"workshopitem"
{
"appid" "740"
"publishedfileid" "0"
"contentfolder" "/home/f0rkz/workshop/project/content"
"previewfile" "/home/f0rkz/workshop/project/preview.jpg"
"visibility" "0"
"title" "My Amazing Map"
"description" "This is my project..."
"changenote" "Initial Release"
}
Note the path to this VDF file.
import pysteamcmd
import os
steamcmd_path = os.path.join('/','home','f0rkz','steamcmd')
steamcmd = pysteamcmd.Steamcmd(steamcmd_path)
steamcmd.install()
steamcmd.upload_workshopfiles(user='foo', password='bar', workshop_vdf_path='/home/f0rkz/workshop/project/myvdf.vdf')