shagu / macaco

🐒 A tool that helps you to digitalize and organize your Magic: The Gathering card collection.
https://shagu.github.io/macaco/
MIT License
20 stars 0 forks source link

feature request: add support for manabox import/export format #3

Open steilerDev opened 2 weeks ago

steilerDev commented 2 weeks ago

I've been playing around with the tool (and unfortunately I'm on iOS, so I can't use DelverLense) but I'm strugling to import my collection from Manabox.

The following is a sample export in text file format:

1 Chain Assassination (ACR) 23
1 Restart Sequence (ACR) 30
1 Rooftop Bypass (ACR) 298
1 Eagle Vision (ACR) 17
1 Achilles Davenport (ACR) 294
1 Assassin Initiate (ACR) 22
3 Merciless Harlequin (ACR) 287
1 Ezio, Blade of Vengeance (ACR) 275 F
3 Tranquilize (ACR) 284
2 Auditore Ambush (ACR) 295
2 Hookblade Veteran (ACR) 283
11 Swamp (ACR) 304
2 Assassin Den (ACR) 281
11 Island (ACR) 303
3 Brotherhood Spy (ACR) 282
3 Submerged Boneyard (ACR) 301
2 Brotherhood Patriarch (ACR) 286
2 Poison-Blade Mentor (ACR) 288
2 Murder (ACR) 92
3 Brotherhood Ambushers (ACR) 285
3 Hired Blade (ACR) 299
1 Eivor, Battle-Ready (ACR) 274 F
1 Surtr, Fiery Jötun (ACR) 293
1 Arbaaz Mir (ACR) 46
1 Escarpment Fortress (ACR) 278
1 Ezio, Brash Novice (ACR) 55
2 Hookblade (ACR) 6
11 Mountain (ACR) 305
11 Plains (ACR) 302
3 Misthios's Fury (ACR) 291
3 Labyrinth Adversary (ACR) 290
3 Stone Quarry (ACR) 300
3 Keen-Eyed Raven (ACR) 279
2 Headsplitter (ACR) 289
2 Spartan Veteran (ACR) 292
3 Bureau Headmaster (ACR) 296
3 Settlement Blacksmith (ACR) 280
2 Battlefield Improvisation (ACR) 276
2 Raven Clan War-Axe (ACR) 297
3 Detained by Legionnaires (ACR) 277
3 Towering Viewpoint (ACR) 77
1 Colossification (BLB) 392
1 Fecund Greenshell (BLB) 171
6 Forest (BLB) 377
6 Plains (BLB) 370
4 Blossoming Sands (BLB) 396
6 Plains (BLB) 369
2 Giant Growth (BLB) 393
5 Forest (BLB) 378
2 Clifftop Lookout (BLB) 168
3 Pileated Provisioner (BLB) 25
2 Repel Calamity (BLB) 27
3 Treeguard Duo (BLB) 200
2 Rabid Bite (BLB) 394
2 Rabbit Response (BLB) 26
3 Warren Elder (BLB) 37
2 Carrot Cake (BLB) 7
3 Druid of the Spade (BLB) 170
1 Mockingbird (BLB) 61
1 Sword of Vengeance (BLB) 395
1 Bria, Riptide Rogue (BLB) 379 F
1 Alania, Divergent Storm (BLB) 204
1 Mind Spring (BLB) 389
2 Rabid Gnaw (BLB) 147
3 Pearl of Wisdom (BLB) 64
4 Swiftwater Cliffs (BLB) 397
2 Coruscation Mage (BLB) 131
2 Stormcatch Mentor (BLB) 234
6 Mountain (BLB) 375
3 Waterspout Warden (BLB) 80
5 Island (BLB) 372
3 Bellowing Crier (BLB) 42
6 Island (BLB) 371
2 Quaketusk Boar (BLB) 146
6 Mountain (BLB) 376
3 Flame Lash (BLB) 391
3 Alania's Pathmaker (BLB) 123
2 Charmed Sleep (BLB) 388
1 Fell the Mighty (40K) 186
3 Intangible Virtue (CMM) 31
1 Elvish Mystic (LTC) 238
3 Fell the Mighty (MKC) 65
2 Archdruid's Charm (MKM) 151
3 Austere Command (PIP) 156
3 Hazardroot Herbalist (BLB) 174
1 Head of the Homestead (BLB) 216
1 Pawpatch Recruit (BLB) 187
1 Temporal Cleansing (MOM) 80
4 Rootborn Defenses (CLU) 71
1 Avacyn's Pilgrim (MIC) 132
2 Tower Defense (GTC) 137
2 Tower Defense (RNA) 147
1 Mogg War Marshal (TSR) 176
1 Wojek Bodyguard (CLU) 154
1 Agent of Masks (GPT) 100
1 Dripping-Tongue Zubera (CHK) 206
2 Valley Mightcaller (BLB) 202
2 Valley Mightcaller (BLB) 326
4 Jacked Rabbit (BLC) 9
4 Burrowguard Mentor (BLB) 206
4 Finneas, Ace Archer (BLB) 212
2 Byrke, Long Ear of the Law (BLB) 380
4 Hop to It (BLB) 16
2 Serra Redeemer (BLB) 387
4 Thieving Otter (BLB) 390
2 Season of Growth (WOT) 61
1 Season of the Burrow (BLB) 29
3 Baylen, the Haymaker (BLB) 205
3 Oakhollow Village (BLB) 258
3 Tempt with Bunnies (BLC) 13
4 Razorverge Thicket (BLC) 325
4 Strength of the Harvest // Haven of the Harvest (MH3) 258
1 Archdruid's Charm (MKM) 151
1 Pollen-Shield Hare // Hare Raising (WOE) 233
4 Birds of Paradise (LTC) 235
4 Cadira, Caller of the Small (CLB) 417

Not sure what is exactly failing, because unfortunately there is no error output.

Thanks!

steilerDev commented 2 weeks ago

Manabox's documentation on their export/import format

shagu commented 2 weeks ago

Hello, it does not support the manabox format. There were no answers of a common format, so I just decided to pick deckstats as the baseline, because they allow conversion to other formats.

I don't plan (as of now) to rewrite the macaco format or add additional formats. As they are all plain text, it should be fairly easy to convert lists from one to the other.

The macaco export format (which is compatible to deckstats.net) looks like this:

2x Relic Robber [znr.153.en]
4x Roil Eruption [znr.155.en]
2x Roiling Vortex [znr.156.en]

I might look into ManaBox some day, but right now your best approach would be to manually change the format of your list or find a website that allows to convert to it.