Skip to content

Releases: f0rkz/pysteamcmd

Bugfix release

04 Sep 19:47
e206b67
Compare
Choose a tag to compare

Bugfix release

Feature: Upload workshop project

22 Aug 15:20
Compare
Choose a tag to compare

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')