News:

A forum for users of LackeyCCG

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - CrazyChucky

#61
2/1/21

Commander Legends is now (mostly) high-res. (The double-foiled alternate prints, as well as the tokens that only appear in the commander decks, are still low-res.)

I've also added an ActualSet field to the card data. This always matches the card's set code as listed on Scryfall, rather than some older, custom set codes I maintain for Lackey backwards compatibility with saved decks, or the "1" I now prepend for promo prints.
#62
Sydnelson hasn't posted here in the forum in a decade, but seems to still be maintaining and updating the plugin, so I'd say it's likely they'll be adding the new cards. You could try joining the VTES Facebook group, if you haven't already. (I'm not a member, so I have no idea how active it is or isn't these days.)
#63
1/22/21

Kaldheim is uploaded, as well as what's revealed so far of Kaldheim Commander.

Additionally:

  • Commander Collection: Green is now high-res.
  • Topdeck the Halls, the new holiday card, is added.
  • Secret Lair: Ultimate Edition has the new Pathways.
  • Various Secret Lair cards added and/or updated to high-res, as appropriate
#64
Plugins & Plugin Creation Forum / Re: Checksums unveiled?
November 27, 2020, 09:49:44 PM
I got curious again and revisited this. Even with your trick of subtracting 256, amcsi, I wasn't able to get the correct checksum on all image files. It was bugging me, so eventually I just learned how to call C++ from inside Python. No need to replicate C++'s implementation details if I can use it for real!


# in Python
import ctypes
c_checksum = ctypes.CDLL('checksum.so') # would just be 'checksum' on Windows, I think

def get_checksum(filename):
    """Calls the (mostly) original C++ function."""
    # str(filename) is so this function can be called with a Path object too
    string_argument = ctypes.create_string_buffer(str(filename).encode())
    return c_checksum.get_checksum(string_argument)


// checksum.cc, which is compiled to make the shared library
#include <iostream>

extern "C" int get_checksum(char filename[])
{
    FILE* fp = fopen(filename, "rb");
    if(fp == NULL) {
        return 0; // If there is no file, return with a sum of 0.
    }
    long current, next = 0;
    char temp_char = 0;
    int sum = 0;
    do
        {
        current = next;
        temp_char = fgetc(fp);
        next = ftell(fp);
        if (temp_char != 10 && temp_char != 13)
            sum += (unsigned int)temp_char;
        sum %= 100000000; // modulo to prevent memory type overflow
        } while (current != next);
    fclose(fp);
    return sum;
}
#65
Plugins & Plugin Creation Forum / Re: Commander Legends
November 06, 2020, 03:45:39 PM
Full set is up. No draftable pack just yet, though?still trying to find more specific information about how the packs are laid out.
#66
11/6/20

The full Commander Legends set is up. (The normal set is "cmr", and the borderless planeswalkers and foiled alt-frame cards are under "1cmr".)
I have not yet added the draftable pack, because I haven't yet been able to find detailed enough information about how the various slots are allocated.

Also:

  • Zendikar Rising and Zendikar Rising Commander are now high-res.
  • Added Germ-spawning script for Living Weapons.

11/8/20

Skyclave Relic wasn't making token copies of itself. Fixed.
#67
Plugins & Plugin Creation Forum / Re: Commander Legends
November 03, 2020, 10:27:28 PM
Some of the cards have been spoiled, and most of those are in the plugin already (with set code "cmr"). I imagine the full set will probably be revealed by the end of this week.
#68
10/29/20

Added full Zendikar Rising Commander set, new Secret Lair cards, and ongoing spoilers for Commander Legends.
Also added scripts for Monarch, Amass, and Encore.

10/30/20

Aaaaand also removed the Ravnica sets and M20 from Standard. Only a month late. Can you tell I don't really follow Standard?
#69
Walking Dead cards? What are you talking about? I'm pretty sure nothing like that exists. ?_?
#70
9/26/20

Jumpstart is now high-res.
#71
9/21/20

Whoops, I had Double Masters using standard drafting packs! Now corrected, so you should get:

  • 1 rare or mythic rare
  • 3 uncommons
  • 8 commons
  • 2 "foil" slots, which can be of any rarity
(The probabilities aren't 100% accurate, but are as good as I can simulate in Lackey.)

Also added the Zendikar Secret Lair Drop.
#72
9/20/20

Double Masters is now high-res.
#73
Thanks! I think I fixed it, let me know if you still find some missing.
#74
Incidentally, I realized just the other day that for a while, I've been making a formatting error in the version file. It stopped Lackey from correctly doing automatic updates. But now it's fixed!
#75
9/17/20

Added the cards previewed so far for Zendikar Rising Commander.