Marvel's Spider Man
releases on September 26, 2025!

Preorder now on CardKingdom Preorder now on TcgPlayer

Marvel's Spider Man
releases on September 26, 2025!

Preorder now on CardKingdom Preorder now on TcgPlayer
1 total results       Page 1 of 1
You must login or register to post a new reply
Posts [ 1 to 1 ]
Trade score 0 (100%)
Members
Registered: 09-Oct-2019 13:02
Posts: 3
If you are like me, you might want to randomize your deck before a game to ensure it's adequately pre-shuffled.

Well, I made a PowerShell script that'll generate a randomized deck listing for you!

To use the script, you'll need PowerShell. If you're on Windows, you are all set. If you are on macOS/Linux, you'll need to download and install PowerShell. It's easy - Google it :)

Next, view your deck on Deckbox. Navigate to Export -> Export to CSV, and save the file.

Then open up my script:
https://github.com/franklesniak/PowerShell_Resources/blob/master/Sort-DeckboxDeckInRandomOrder.ps1
Copy and paste the code into Notepad or your favorite text editor.

Modify the first line and replace it with the name of your file, e.g.:
$strFileName = Join-Path '.' 'Teferi, Timeless Voyager (Core Set 2021 Planeswalker Deck)_franklesniak_2020.November.27.csv'
becomes:
$strFileName = Join-Path '.' 'Your deck name here.Month.Day.csv'
Copy the text to the clipboard.

Then open PowerShell. Paste the text into the PowerShell prompt. On Windows, all you need to do is right-click on the prompt and it'll paste.

The deck's cards will spit out in a random order.
Posts [ 1 to 1 ]
1 total results       Page 1 of 1
You must login or register to post a new reply