DEADBOLT

DEADBOLT

Not enough ratings
Uploading Workshop maps using SteamCMD
By JAG
Did your DEADBOLT map fail to upload? The promo picture got uploaded without the .nc file, or the level editor is giving you a Steam API error? Fret not, there is a workaround using SteamCMD!
   
Award
Favorite
Favorited
Unfavorite
Step 1: Downloading SteamCMD
SteamCMD can be downloaded at these URLs:

Windows: https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
For Linux and macOS, visit this page and follow the provided instructions.

Extracts the contents in a desired folder like C:/SteamCMD and launch the SteamCMD executable/script.
Step 2: Setting up a VDF
A VDF file is essentially a text file that contains instructions to follow or fields to fill for SteamCMD.

Here's one for DEADBOLT:
"workshopitem" { "appid" "394970" "previewfile" "<location of preview file>\promo.jpg" "contentfolder" "D:\deadbolt map upload" "visibility" "0" "title" "Untitled" "changenote" "Initial Upload" "publishedfileid" "0" }

Save this in a text editor of your choice as a file with a .vdf extension and you're good to go.
Alternatively, download a readily-made .vdf here.[file.garden]



  • appid - DEADBOLT's Steam appid, don't change it.
  • previewfile - The thumbnail of your map on the Workshop. Ideally has to be 512x512 and under 1mb, follow those guidelines just to be safe.
  • contentfolder - the folder that includes everything you need to upload. For example, a single file upload with the contentfolder that's listed above looks like this:

  • visibility - 0 = Visible, 1 = Friends only, 2 = Hidden
  • publishedfileid is, naturally, the file's id. Leave it at 0 if you're uploading it for the first time to create a new Workshop page. If you want to update an existing map, replace the 0 with your map's Steam Workshop ID.
Step 3: Logging in and Uploading
As mentioned previously, launch SteamCMD and you should see this terminal window pop up.



Log into your Steam account by typing in:
login [username] [password]
Keep in mind that this will unlog you out of your account in the Steam client, and you'll have to relog back in once you're done.

Once logged in, input this command (mind the quotation marks ""):
workshop_build_item "<location of vdf>\deadbolt.vdf"

If done correctly, you'll see a successful upload reported in the terminal and your map should be displayed on the Workshop.
Step 3.1: Uploading Multi-Stage levels/zip files
Same principle applies as when uploading multi-stage levels in the level editor: the first level has to be the first in alphabetical order, and there have to be transitions between said levels.

Other than that, just drop your .nc files into the contentfolder that's listed in the VDF, and you're good to go.

Step 4: Updating your level
To update your level, simply replace the 0 in publishedfileid with your map's Workshop ID, which you can always find in its url.

Any changes that you made to the thumbnail, the .nc file, or the contents of the upload folder as a whole, will be reflected in this upload, so be careful.




1 Comments
NUGGET 21 May, 2022 @ 8:39am 
it works:steamthumbsup::winter2019happyyul: