Cube Sealed
Discuss Upcoming Releases, Coding New Cards, Etc.
PLEASE DO NOT REPORT BUGS HERE!
PLEASE DO NOT REPORT BUGS HERE!
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
Cube Sealed
by billyhewlett » 15 Mar 2016, 05:38
I have a way of building your own cubed sealed deck and playing sealed cube on Manalink.
I have attached a python script (editRarity.txt) and a shell script (updateCards.txt) which take a list of cards from Common, Uncommon, and Rare and replace your 4th edition packs with cube packs of the appropriate rarity.
These scripts (and files) go into your magic_updater folder. Then you rename the file "Manalink.csv" in magic_updater to something like "ManalinkBackup.csv". Finally you run the python script (which you rename to .py) and the shell script (which you rename to .sh)
When you next startup manalink, you should be able to build a sealed deck and see your ancestral recalls and jaces. Of course, you don't have to use my cube, use whatever cards you like (including your favorite sets). Just edit Commons.txt, etc.
Here's an example of me running:
Billy@Belgareth /cygdrive/.../Manalink 3.0/Program/magic_updater
$ python editRarity.py ManalinkBackup.csv Commons.txt Uncommons.txt Rares.txt
Manalink.csv
00h 50h
Missing:
Aetherling
Blast from the Past
This means that it couldn't find Aetherling (probably because of weird Ae character) and Blast from the Past (Unglued). It still runs though, after I call the script:
Billy@Belgareth /cygdrive/.../Manalink 3.0/Program/magic_updater
$ sh updateCards.sh
I will note that I successfully updated to the latest set, and it still works (I had to recreate ManalinkBackup.csv and run the two commands again post update). I have been playing sealed with my own cube for months and it's great for testing (although the AI almost always plays green)
I will also note that you should never trust code you find on the internet, including this code, so I recommend that you read through it and see what's going on (or have someone you trust do it).
Let me know if this works for you.
I have attached a python script (editRarity.txt) and a shell script (updateCards.txt) which take a list of cards from Common, Uncommon, and Rare and replace your 4th edition packs with cube packs of the appropriate rarity.
These scripts (and files) go into your magic_updater folder. Then you rename the file "Manalink.csv" in magic_updater to something like "ManalinkBackup.csv". Finally you run the python script (which you rename to .py) and the shell script (which you rename to .sh)
When you next startup manalink, you should be able to build a sealed deck and see your ancestral recalls and jaces. Of course, you don't have to use my cube, use whatever cards you like (including your favorite sets). Just edit Commons.txt, etc.
Here's an example of me running:
Billy@Belgareth /cygdrive/.../Manalink 3.0/Program/magic_updater
$ python editRarity.py ManalinkBackup.csv Commons.txt Uncommons.txt Rares.txt
Manalink.csv
00h 50h
Missing:
Aetherling
Blast from the Past
This means that it couldn't find Aetherling (probably because of weird Ae character) and Blast from the Past (Unglued). It still runs though, after I call the script:
Billy@Belgareth /cygdrive/.../Manalink 3.0/Program/magic_updater
$ sh updateCards.sh
I will note that I successfully updated to the latest set, and it still works (I had to recreate ManalinkBackup.csv and run the two commands again post update). I have been playing sealed with my own cube for months and it's great for testing (although the AI almost always plays green)
I will also note that you should never trust code you find on the internet, including this code, so I recommend that you read through it and see what's going on (or have someone you trust do it).
Let me know if this works for you.
- Attachments
-
Rares.txt
- (1.45 KiB) Downloaded 474 times
-
Uncommons.txt
- (1.33 KiB) Downloaded 463 times
-
Commons.txt
- (1.36 KiB) Downloaded 432 times
-
updateCards.txt
- (95 Bytes) Downloaded 466 times
-
editRarity.txt
- (1.99 KiB) Downloaded 480 times
- billyhewlett
- Posts: 4
- Joined: 26 Aug 2014, 03:46
- Has thanked: 0 time
- Been thanked: 1 time
Re: Cube Sealed
by foolosopher » 30 Mar 2016, 20:57
As it is, one can still create a custom deck like cube from existing cards like when creating a new draft set, by following instructions below
viewtopic.php?f=56&t=6378&p=161089#p161089
although it's probably more of a hussle than running your scripts
viewtopic.php?f=56&t=6378&p=161089#p161089
although it's probably more of a hussle than running your scripts
I long for the time where one man could make a difference...
- foolosopher
- Posts: 189
- Joined: 19 May 2010, 20:53
- Location: Greece
- Has thanked: 13 times
- Been thanked: 17 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests