Skip to content

Latest commit

 

History

History

WorkshopPublish

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Description

This batch is designed for a global solution regarding Garry's mod addons synchronizing with the steam workshop and GitHub. It resides here so I will change in only one place if I need to update the publish algorithm.

Install

This does not need to get installed. Works, therefore it exists.

How to use

Drag and drop a cloned GitHub addon folder onto the workshop_publish.bat batch icon

How it works

  • Configuration: The file .workshop resides inside the addon folder and defines what should be extracted, combined, matched to which steam ID
  1. WSID: Steam workshop ID. When missing the addon is automatically created and the ID is assigned on creation by steamworks. Write it down to this file in the repository clone itself
  2. REPO: This key contains the actual name in the GitHub repository. Mandatory!
  3. ADDN: This key is used for the internal indexing of data/.../tools. Mandatory!
  4. DATA: This contains a list of directories that must be included in the new *.gma
  • Copy-exclusion: The file exclude_copy.txt is used to tell xcopy what to skip when generating the *.gma file. When one is found in data/.../tools/workshop the batch uses it instead as it is local for the repository

Why use it

I am an automation engineer and I prefer to automate everything to have more personal time for myself. I am a person who values his time very much, so that I attempt to apply this to my daily life.