Skip to content

Weiss Schwarz Montage Tools (including parsing and exporting)

License

Notifications You must be signed in to change notification settings

ianzzz94/wsmtools

 
 

Repository files navigation

WSMTools (Weiss Schwarz Montage Tools)

.NET Core CodeFactor Gitter

Weiss Schwarz ©bushiroad All Rights Reserved.

This a CLI (Command Line Interface) tool intended to parse through, process, and export data regarding to Weiss Schwarz cards; specifically, this tool's intention is to make querying, parsing, and exporting cards from various sources easier, as well as provide APIs to expand on that functionality.

For now this tool is barebones (in its alpha stage, so expect some bugs), but I'm hoping it will be able to perform the following:

  • Parse cards into a local database for querying.
  • Parse decks using the local database.
  • Export decks for use into another format.

Somewhat stable pre-releases are on the appropriate link, but if you're having some issues with them, you can also try the latest build by registering on GitHub.

Supported Exporters

Supported Deck Parsers

Supported Card Set Parsers


I know you're probably just here just so that you can quickly netdeck into TTS; so how do you do it?

  1. Install ShareX (Do not use the portable edition).
  2. Extract the binaries into the folder of your choice.
  3. Open PowerShell on that folder. This can be done by holding [Shift] then Right-Click while on the folder. I like dark mode Windows Explorer
  4. Execute this lovely command.
./wstools export your_encore_decks_deck_link_here --out sharex
  1. You will be warned if any of the following are true.
    • Your deck contains cards without English translations.
    • Your deck contains cards which have no saved image link. You will be prompted for an image link if you continue.
  2. You will get the following on your Exports folder: deck_your deck name.jpg, Deck Generator (your deck name).png, Deck Generator (your deck name).png, and Deck Generator (your deck name).json.
  3. Put the Deck Generator files into your Save Objects folder (typically %HOMEDRIVE%%HOMEPATH%\Documents\My Games\Tabletop Simulator\Saves\Saved Objects)
  4. The deck_your deck name.jpg will be automatically uploaded with ShareX. (If using imgur, some Imgur API Rate Limits may apply.)
    • Once finished, your deck's image URL can be copied from ShareX.
    • To copy the image URL, right-click on the uploaded task, and go to Copy > URL. I like ShareX this way; it's so convinient
  5. Open Tabletop Simulator (Single-Player will do)
  6. Load the Saved Object (and make sure no other Deck Generators are loaded!)
  7. In the chat command, type:
    +generate url_of_your_deck url_of_your_sleeves
  8. You should be able to create decks like this: Tho why do you need effects for decks with English art?

Known Issues

  • Some decks from Encore Decks will be untranslated. This is true for all sets without a community translation. In order to resolve this, you must (begrudgingly) use HOTC translations by running the following command first. Personally, I discourage anyone with a 10-foot pole to use it because they don't like people using their translations at all, but the tools are there if you really want to.

    ./wstools parse url_of_translations_summary_html_page

    The HTML page is usually in this link.

    Yes, that one link which is printed

  • HOTC's Weiss Promos and Schwarz Promos may be parsed successfully, but image post-processing will be disabled. Please add the images manually in the ./Images/ subfolder. The format for the image file must be serial_with_only_underscores.jpg (png, jfif, and jpeg is also valid).

    Example filename: F35_W65_034.jpg

  • Some HOTC pages may not parse successfully due to translation errors, like this from Magia Record. Please report them if seen.

    Why!?!

About

Weiss Schwarz Montage Tools (including parsing and exporting)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%