Difference between revisions of "Tutorials/SCS Workshop Uploader/How to update workshop mod?"

From SCS Modding Wiki
Jump to navigation Jump to search
(Uploading: Corrected one grammar mistake)
(Tags: Mobile edit, Mobile web edit)
(44 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== How to send your newly created mod to Steam Workshop: ==
+
In this tutorial you will learn how to upload updated version of your mod to the Steam Workshop. Let's start!
  
# Create folder where you will put your mod content.
+
=Uploading=
# Create file called [[#versionssii|versions.sii]] where you will put definition of each version content.
 
# Put version specific content into appropriate folders - you can zip those folders.
 
# When you prepare everything launch SCS Workshop Uploader tool from your Steam Client.
 
# Select the game which will be the target application for your workshop creation. (At the moment Euro Truck Simulator 2 is implemented only)
 
# In “Mod data” section
 
## Select folder with your mod content. You need to select the root folder of your mod this where you have placed your versions.sii file and appropriate version folders/archives.
 
## Browse for preview image - it must be image file with size smaller than 1 MB. '''(TODO: i think i have some specific dimmensions - fill them here!)'''
 
# In the next section
 
## fill the Mod name (maximum 128 characters)
 
## select visibility state (if the mod is private, friends only or public).
 
# In “Description” section fill your mod description - the minimum amount of characters is 50 characters - maximum is 8000 - we count one byte as characters so in case you are using characters from different alphabet than english one one character may count as 2 or more. (Also new lines, spaces count as character) # In “Tags” section
 
## You must select Type of your mod
 
## Truck parts and Brand are optional
 
# In “Change note” you specify changelog of new mod version - in this case you can leave it empty or simply write there something like “Initial release” or “First version release”.
 
# When you are done you can press Upload button. In case validation failed or some different problem happened you will be informed by proper dialog.
 
  
If it’s your first mod and you were not doing any mods for other game you will likely get error about not accepted Steam Workshop Terms Of Service - if so happends tool will show you appropriate message and the steam workshop terms of service will be opened in your default web browser - you have to login to your steam account read and accept the terms of service and if you do so simply go back to the tool and try again with uploading your mod.
+
{| class="wikitable" width="100%"
 +
|- style="vertical-align: top"
 +
| width="10px" | 1
 +
| width="556px"| [[File:Updating_mod_select_game.jpg]]
 +
| First of all launch SCS Workshop Uploader tool and select the game.
 +
|- style="vertical-align: top"
 +
| 2
 +
| [[File:Updating_mod_select_item.jpg]]
 +
| Select the item that you want to update.
 +
|- style="vertical-align: top"
 +
| 3
 +
| [[File:Updating_mod_adjust.jpg|556px]]
 +
| Make sure that folder and preview image are set to the correct paths and adjust the mod informations if needed.
 +
|- style="vertical-align: top"
 +
| 4
 +
| [[File:updating_mod_fill_changelog.jpg|556px]]
 +
| Fill the changes. You can skip this point however it's always better to let mod users informed what did you change.
 +
|- style="vertical-align: top"
 +
| 5
 +
| [[File:updating_mod_click_upload.jpg|556px]]
 +
| When you have done these steps simply click upload.
  
== How to upload new version of your mod: ==
+
In case validator will detect some problems you have to fix them and then start uploading again.
 
 
If you have prepared new version of the mod, created new version entry in versions.sii and put the content in appropriate directory you must follow those steps to upload it to the workshop.
 
 
 
# Select the game on which workshop your mod is. (At the moment only Euro Truck Simulator 2 is implemented)
 
# Select your item from the combobox in “Item” section.
 
# In case icon and preview file hasn’t changed simply skip “Mod data” section - in case something new appeared adjust the settings.
 
# In the next section
 
## In case you want to specify the version adjust the Mod name setting.
 
#. In "Description" section adjust the description.
 
#. In "Tags" section adjust them to fit new mod version.
 
#. In "Change note" we recommend to write full changelog to keep your mod users up-to-date what did you changed in the new version of the mod.
 
#. When you finished everything press "Upload" button. In case validation failed or some different problem happened you will be informed by proper dialog.
 
 
 
== versions.sii ==
 
 
 
In the Steam Workshop mods you need to specify have versions.sii file containing definition which content folder should be used for which game version.
 
 
 
This file contains set of [[Units/package_version_info|package_version_info]] serialized unit informations with proper set of the attributes.
 
 
 
*Example file:
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SiiNunit<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;package_version_info : .latest {<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;folder: "latest"<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
 
<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;package_version_info : .122.content {<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;folder: "content_122"<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;compatible_versions[]: "1.22.*"<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
 
<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;package_version_info : .120and121.content {<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// No special difference between 1.20 and 1.21<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;folder: "content_120_121"<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;compatible_versions[]: "1.20.*"<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;compatible_versions[]: "1.21.*"<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
 
 
 
=Package version info=
 
 
 
Package version info is unit containing version informations such like name
 
of the folder or archive with content and the array of compatible game versions.
 
 
 
The package version info without defined compatible_versions is called universal
 
version. This version will be used for all game versions that are not explictly
 
defined inside versions.sii file.
 
 
 
'''package_version_info unit attributes:'''
 
 
 
{| class="wikitable"
 
!|Type
 
!|Name
 
!|Description
 
|-
 
|string
 
|folder
 
|The name of the folder or archive with the version-specific mod content. This is required attribute.
 
|-
 
|string array
 
|compatible_versions
 
|The array containg set of versions that are compatible with this version definition. This attribute is optional, if not specified this version will be used for all of the game versions - you can only have one `package_version_info` with this parameter not specified in versions.sii
 
 
|}
 
|}
 
=Example mod directory layout=
 
 
Here you have example how your mod directory/files structure should look.
 
 
*/
 
**versions.sii
 
**latest/
 
***manifest.sii
 
***icon.jpg
 
***description.txt
 
***other data files for this version
 
**content_122.zip
 
***manifest.sii
 
***icon.jpg
 
***description.txt
 
***other data files
 
 
=Differences between standard mods and workshop mods=
 
 
#Workshop mods have more complex layout - versions.sii etc.
 
#In normal mods you specify `compatible_versions` in manifest.sii file however for steam workshop mods you specify `compatible_versions` array in versions.sii file.
 
#When you are creating standard mod you need to take care about it's distribution and your mod users needs to take care of downloading up-to-date version Steam Workshop mods are automatically downloaded when you send new version to workshop for each mod subscriber.
 
 
=Validation=
 
 
Each mod before entering workshop must pass validation process - it is because we
 
do not want to have mods that may cause problem for players due to some trival
 
problems which we can easily prevent.
 
 
In case validation finished with any warning or error at the end of the validation
 
process you will see the log window so you can easily inspect what is broken and
 
what to fix - also the log is written to the `validation.log.txt` file placed by
 
default in:
 
 
'''On Windows:'''
 
 
<code>C:/Users/%user_name%/My Documents/SCS Workshop Uploader/validation.log.txt</code>
 
 
'''On Linux:'''
 
 
<code>/home/.local/share/SCS Workshop Uploader/validation.log.txt</code>
 
 
'''On Mac OS X:'''
 
 
<code>/Users/%user_name%/Library/Application Support/SCS Workshop Uploader/validation.log.txt</code>
 
 
Where `%user_name%` is your user name.
 
 
In the [[Validation error and warning codes|Validation error and warning codes]] section you can find error and warning codes that may be helpful in finding why the validation failed.
 
 
=Validation error and warning codes=
 
 
In result of validation you can get errors and warnings. With most of them you also have descriptive information about what is the real reason of it. We present you list of the error and warning codes with the explanation what they mean.
 

Revision as of 16:58, 20 July 2017

In this tutorial you will learn how to upload updated version of your mod to the Steam Workshop. Let's start!

Uploading

1 Updating mod select game.jpg First of all launch SCS Workshop Uploader tool and select the game.
2 Updating mod select item.jpg Select the item that you want to update.
3 Updating mod adjust.jpg Make sure that folder and preview image are set to the correct paths and adjust the mod informations if needed.
4 Updating mod fill changelog.jpg Fill the changes. You can skip this point however it's always better to let mod users informed what did you change.
5 Updating mod click upload.jpg When you have done these steps simply click upload.

In case validator will detect some problems you have to fix them and then start uploading again.