Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Creating an upload info file

The mod package GUID

After you cook, you'll notice that your map has cooked to a directory like UDKGame\CookedSDK\AOCSDKLevels_E1ED54B24E9F8DE8C917B1ABC51E4040. The bolded component there is the mod package's UID. You'll want to save this UID. In the future, when you want to recook this same map/mod package, you should add the guid to your cook command.

So, go ahead and copy SDK - COOK.bat and paste it into a new file. Call the new batch file something you'll remember that's related to your map's name. In this batch file, on the end of the last line, add:

Code Block
-Guid=xxx

(So the line will look like .\Binaries\Win64\UDKEditor.exe CookPackages -log -nohomedir -platform=PC -SDKPackage=AOCSDKLevels MyAwesomeMap MyOtherMap -multilanguagecook=int -Guid=xxx )

Replace the "xxx" with the GUID of your new package directory. Now, when you cook again it'll replace the files in that directory instead of just creating a new one. This is very important if you want to use the Workshop since it lets you just update your existing item.

Creating the upload info file

Open up ChivlaryDirectory\UDKGame\CookedSDK\__CMWSDKFiles

...

  • $PackageDirectory – should correspond to your mod package subdirectory in CookedSDK. For instance, for a subdirectory at ChivlaryDirectory\UDKGame\CookedSDK\SDKTestAOCSDKLevels_E1ED54B24E9F8DE8C917B1ABC51E4040, use "SDKTestAOCSDKLevels_E1ED54B24E9F8DE8C917B1ABC51E4040"
    • Map-only packages: set make sure this to is "AOCSDKLevels_xxx" (where xxx is your package's UID, which should be part of the subdirectory's name)
  • $PackageIdentifier – starts at "01". If you upload multiple files for the same mod (for instance, you want to split a mod up, maybe uploading some maps separately from main mod), or are uploading map-only package using "AOCSDKLevels" as the PackageDirectory, increase the number by 1 for each upload or else you'll end up overwriting your previous upload in the Workshop!
    • .cmwsdk files' names are generated from the PackageDirectory and the PackageIdentifier. If you upload a second file with the same settings, it'll overwrite your old one on the Workshop.
  • $Description – the description that shows up in the Workshop. This can be edited after you've uploaded.
  • $Title – the title that shows up in the Workshop. This can be edited after you've uploaded.
  • $PreviewFile – a 512x512 image file which should be in the same directory (i.e. ChivlaryDirectory\UDKGame\CookedSDK\__CMWSDKFiles). You can use PNG or JPEG, though PNG is usually preferable (no compression artifacts)

...