Mapping & SDK

KF2: Upload a Map to the Workshop with WorkshopUserTool

A short walkthrough of publishing a cooked map to the Steam Workshop using the command line tool WorkshopUserTool.exe. The example map is called IceArena. For general Workshop practice, see the Workshop upload guide and mod/SDK basics.

Preparing your files

  1. Put a preview image somewhere accessible, for example C:\Users\<you>\Pictures\preview.png.
  2. Create a manifest text file in your KF2 documents folder, for example C:\Users\<you>\Documents\my games\KillingFloor2\icearena.txt, with this content (one line):
$Description "A simple circle snowy arena map which will test your skills." $Title "KF-IceArena" $PreviewFile "C:\Users\<you>\Pictures\preview.png" $Tags "Maps" $MicroTxItem "false" $PackageDirectory "C:\Users\<you>\Documents\my games\KillingFloor2\IceArena"
  1. Create the package folder named in $PackageDirectory, here ...\KillingFloor2\IceArena.
  2. Copy your cooked map into that folder, here KF-IceArena.kfm.

Uploading

Run cmd.exe, go to the folder with the manifest and execute:

WorkshopUserTool.exe icearena.txt

The tool uploads the package and creates the Workshop item described in the manifest.

FAQ

What tool uploads a KF2 map to the Workshop from the command line?
WorkshopUserTool.exe, run with the name of a manifest text file as its argument.
What goes into the package folder?
Your cooked map file, for example KF-IceArena.kfm.