Difference between revisions of "Documentation/Tools/SCS Workshop Uploader/versions.sii"

From SCS Modding Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.
+
In the Steam Workshop mods you need to have unit file "versions.sii" containing definitions 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.
+
This file contains set of [[Documentation/Engine/Units/package_version_info|package_version_info]] serialized unit informations with proper set of the attributes.
  
 
*Example file:
 
*Example file:
<syntaxhighlight line="1">
+
<syntaxhighlight lang="text" line="1">
  
 
SiiNunit
 
SiiNunit
 
{
 
{
 
package_version_info : .latest {
 
package_version_info : .latest {
folder: "latest"
+
package_name: "latest"
 
}
 
}
  
 
package_version_info : .122.content {
 
package_version_info : .122.content {
folder: "content_122"
+
package_name: "content_122"
 
compatible_versions[]: "1.22.*"
 
compatible_versions[]: "1.22.*"
 
}
 
}
Line 19: Line 19:
 
package_version_info : .120and121.content {
 
package_version_info : .120and121.content {
 
// No special difference between 1.20 and 1.21
 
// No special difference between 1.20 and 1.21
folder: "content_120_121"
+
package_name: "content_120_121"
 
compatible_versions[]: "1.20.*"
 
compatible_versions[]: "1.20.*"
 
compatible_versions[]: "1.21.*"
 
compatible_versions[]: "1.21.*"

Latest revision as of 09:14, 16 February 2016

In the Steam Workshop mods you need to have unit file "versions.sii" containing definitions which content folder should be used for which game version.

This file contains set of package_version_info serialized unit informations with proper set of the attributes.

  • Example file:
 1 SiiNunit
 2 {
 3 package_version_info : .latest {
 4 	package_name: "latest"
 5 }
 6 
 7 package_version_info : .122.content {
 8 	package_name: "content_122"
 9 	compatible_versions[]: "1.22.*"
10 }
11 
12 package_version_info : .120and121.content {
13 	// No special difference between 1.20 and 1.21
14 	package_name: "content_120_121"
15 	compatible_versions[]: "1.20.*"
16 	compatible_versions[]: "1.21.*"
17 }
18 }