Author Topic: How do you publish and upload your map to the steam workshop  (Read 4266 times)

Precious Roy

  • Posts: 2
  • Maggot Crusher.
    • View Profile
How do you publish and upload your map to the steam workshop
« on: September 14, 2014, 06:37:10 PM »
Hey,

i want to publish my map on the steam workshop but i cant seem to find any info on how it works.
i am guessing i need to convert the xml to a hwm file with the LevelPacker.exe but i cant seem to get it working, i am getting this error:

C:\Users\P-Roy>D:\Games\Steam\SteamApps\common\Hammerwatch\editor\LevelPacker.ex
e "C:\Users\...\Level\MapScripsComplete.xml
"

Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part
 of the path 'C:\Users\...\Level\info.xml\info.xml'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, I
nt32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions o
ptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolea
n useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean
bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at ARPGLevelPacker.Program.LoadLevelInfo(String path)
   at ARPGLevelPacker.Program.Main(String[] args)

ok so one thing that i noticed: Could not find a part of the path 'C:\Users\...\Level\MapScripsComplete.xml\info.xml'.
why did it add \info.xml'. to the end?

any tips would be nice

Myran

  • Developer
  • Posts: 183
    • View Profile
Re: How do you publish and upload your map to the steam workshop
« Reply #1 on: September 15, 2014, 12:23:01 AM »
The LevelPacker expects a path to a folder containing at least two files, a info.xml and a levels.xml. If you only have a single xml for your level you still need those two for additional metadata about your campaign (stuff like name and description of it). You can just copy them from the editor/example folder and edit those.

Precious Roy

  • Posts: 2
  • Maggot Crusher.
    • View Profile
Re: How do you publish and upload your map to the steam workshop
« Reply #2 on: September 16, 2014, 03:37:50 PM »
A ok, now i understand thanks for the info. i will try this later