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.
- Export the entire local database (or part of it) into another format.
Somewhat stable 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.
- Tabletop Simulator
./wstools export https://www.encoredecks.com/deck/CW5ThLgZ7 --with sendtcp
- Weiss Schwarz Card Game Simulator by Blake Thoennes
./wstools export https://www.encoredecks.com/deck/CW5ThLgZ7 --exporter bws
- DeckLog
./wstools export https://www.encoredecks.com/deck/CW5ThLgZ7 --exporter decklog
- Local Deck JSON
./wstools export https://www.encoredecks.com/deck/CW5ThLgZ7 --exporter local
- Cockatrice
- Local (via
.ws-set
format)
- Encore Decks
./wstools export https://www.encoredecks.com/deck/CW5ThLgZ7 --with sendtcp
- Deck Log
./wstools export https://decklog-en.bushiroad.com/view/EQ53 --with sendtcp
- Local Deck JSON
./wstools export ./my_cool_deck.json --with sendtcp
- HOTC
- Encore Decks (through their API)
- English Weiss Schwarz Official Website
- Local (via
.ws-set
format)
I know you're probably just here just so that you can quickly netdeck; so how do you do it?
- Install ShareX (Do not use the portable edition).
- Extract the binaries into the folder of your choice.
- Open PowerShell on that folder. This can be done by holding [Shift] then Right-Click while on the folder.
- Open Tabletop Simulator, and create any game. (Single-Player / Multi-Player / Hotseat)
- Execute this command.
./wstools export your_encore_decks_deck_link_here --with sendtcp --out sharex
- You will be warned if any of the following are true.
- Your deck contains cards without an English translation. (Proceed to Known Issues before continuing.)
- Your deck contains cards which have no saved image link. You will be prompted for an image link if you continue.
- A UI should open up in your TTS game, with the Deck Name as indicated.
- If ShareX was installed properly, your Deck PNG should be uploaded.
- (Optional) You will get the following on your Exports folder if 07 fails for any reason and/or you need to re-upload images:
deck_your deck name.jpg
,Deck Generator (your deck name).png
,Deck Generator (your deck name).png
, andDeck Generator (your deck name).json
.- Put the
Deck Generator
files into your Save Objects folder (typically%HOMEDRIVE%%HOMEPATH%\Documents\My Games\Tabletop Simulator\Saves\Saved Objects
) - Upload
deck_your deck name.jpg
to your image hoster of choice. - Load the Saved Object (and make sure no other Deck Generators are loaded!)
- Put the
- In the loaded GUI, place the Deck Image URL Link where provided. (Optional) Place your Character Sleeves URL Link where provided.
- In ShareX, obtain the Deck Image Link by right-click on the uploaded task, and go to Copy > URL.
- You should be able to create decks like this:
- Run the application.
- Create a deck named
[wstools import]
and put any legal deck in it. - Extract the binaries into the folder of your choice.
- Open PowerShell on that folder. This can be done by holding [Shift] then Right-Click while on the folder.
- Execute this command.
./wstools export your_encore_decks_deck_link_here --exporter blake
- The deck which was named
[wstools import]
should now have been replaced with the exported deck; open it to check for any missing sets. - Once you've verified all the cards are complete without any missing sets/cards, save it as a new deck of your choice.
-
The English Weiss Schwarz exporter is currently not working due to the new website design. This will be fixed in a new version.
-
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.
-
HOTC's Weiss Promos and Schwarz Promos do not use YYT (yuyutei) images by default, but instead utilizes DeckLog API image links. If you require the YYT's image links for any reason, they will be included if you parse a set from HOTC of the same Release ID. There are also some PRs that are report to have neither DeckLog images nor YYT images. For these instances, if you try to create a deck with them, you will be warned and be asked to include them manually.
-
Some HOTC pages may not parse successfully due to translation errors, like this from Magia Record. Please report them if seen.
-
There are alot of missing serials for BlakeWS, including cards that may already have an English card serial but not Japanese.
- Install Visual Studio 2022 17.4.1.
- Install .NET 7.0 SDK
- Go to
Tools
>Options
, then go toEnvironment
> `Preview Features". - Check
Use Previews ot the .NET SDK
, then restart VS 2022. - Open the
.sln
file. - Build all projects as necessary. (The startup project is
Monatage.Weiss.Tools
.)