Giter VIP home page Giter VIP logo

workshopmanager's Introduction

WorkshopManager

WorkshopManager is a CLI tool to install and maintain steam workshop items.

Environment

  • Python 3.6

Getting Started

Pull the project and setup the required parameters. These parameters are stored in params.pkl in your current working directory. Because of this, it is easy to create different environments for different game servers.

pip install -r requirements.txt
python wm.py set login <username> <password>    # sets steam username and password
python wm.py set install_dir <directory>        # sets steam installation directory
python wm.py set appid <appid>                  # sets steam application id

Please note, that the steam password has to be stored in plaintext in params.pkl. You might want to adjust file permissions accordingly.

Usage

WorkshopManager is used just like any linux package manager. Installed mods are stored in mods.pkl in your current working directory.

usage: wm.py [-h] [-y] [-v | -q]
             {search,install,remove,update,info,list,set} ...

Command line interface for installing steam workshop mods and keeping them up-
to-date - https://github.com/astavinu/WorkshopManager

positional arguments:
  {search,install,remove,update,info,list,set}
    search              searches the steam workshop
    install             installs list of steam workshop items
    remove              removes list of steam workshop items
    update              updates either all installed or specified list of
                        workshop items
    info                provides detailed information about one specific mod
    list                lists all installed mods
    set                 sets workshop manager environment variables

optional arguments:
  -h, --help            show this help message and exit
  -y, --yes             agree to all confirmations
  -v, --verbosity       increase output verbosity
  -q, --quiet

Examples

For downloading workshop items for Team Fortress 2, your initial setup might look like this

pip install -r requirements.txt
python wm.py set login anonymous ""    # steam anonymous login
python wm.py set install_dir .         # install mods in current directory
python wm.py set appid 440             # appid 440 = Team Fortress 2

As Team Fortress 2 is a free-to-play title, no ownership of the game is required to download its workshop items. Therefore, we use the anonymous login.

To install a mod we need the mod id. This id may be found by browsing the steam workshop for our desired game, or by searching for a specific mod via WorkshopManager.

python wm.py search Haywire

By either one of this methods we get the mod id.

python wm.py install 1308849071

Multiple mods may be installed simultaneously. WorkshopManager will find required mods and suggest to install them in the confirmation dialog.

python wm.py install 1308849071 1308849072 1308849073

All mods installed in the current working directory are kept up-to-date by using the update command.

python wm.py update

workshopmanager's People

Contributors

neax10 avatar secmeyo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.