Thursday, August 15, 2013

FIXED Alpha Strike Card Generator

There were at least 50 downloads of the Alpha Strike Card Generator, and not a single person said "hey, this doesn't appear to work".  Really folks?

I had a debug setting still enabled, so it crashed on startup looking for something that only existed on my computer.

So I fixed it, and updated the link.  Download it here (3mb, not very fast).  If something doesn't work as you'd expect, LET ME KNOW, and I'll fix it.  Don't let me know and, well, it won't get fixed :(  I don't have a bunch of beta-testers for my stuff.

My Alpha Strike cards should be here tomorrow (USPS is so slow!), a little sneak preview:

13 comments:

  1. yeah, I saw that it didn't work...
    sorry for not telling. but now it is working fine! thanks!

    by the way, it is hard to create an option to make Standard USA Card sized (they are a little smaller than the actual cards, they are 56 x 87 mm)? I have tons of Munchkin sleeves and I would love to use them with AS cards

    ReplyDelete
    Replies
    1. Well right now it can either save an image (clicking save), or saves an image to the clipboard. Either way it is pretty simple to shrink it down to the percentage you want. At 300 DPI, 56mm x 87mm would be about 661 x 1028 pixels.

      So when you create one, go to mspaint resize the image to 661 pixels vertical (maintain the size ratio), then print, and it should be almost exactly 56mm x 87mm.

      However, I can probably pretty easily create a drop down to let you select the "size" of what gets saved or copied to the clipboard, making it much easier. I did have to tinker with the images a bit adding some more border to make them fit on the playing cards. If people like this app I can add features to it without too much fuss.

      Once I get my site back up, it'll be able to grab units from the site. Plus, once I get my site supporting your forces, it can print those directly, even with pre-existing damage.

      Delete
  2. Found a layering Issue.. when I go to save black & white cards.. the Special abilities the text overlays on the Special:. it works fine on the color ones.

    ReplyDelete
    Replies
    1. I'm working on a new version with embedded fonts, as if you are missing some fonts it doesn't display properly. Until then, try to download http://goodsects.gotdns.com/bte/fonts.zip and install those, see if it fixes the issue.

      Delete
  3. I fixed a couple bugs, and attached the fonts just now, redownload at http://goodsects.gotdns.com/bte/AlphaStrikeCardMaker.zip

    ReplyDelete
    Replies
    1. Yep that made it work.. thanks for the quick fix...

      Delete
  4. Still a problem for me..


    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.ArgumentException: The path is not of a legal form.
    at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
    at System.IO.Path.GetFullPath(String path)
    at System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName)
    at System.Drawing.IntSecurity.DemandReadFileIO(String fileName)
    at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
    at AlphaStrikeCardMaker.frmBatch.cmdProcess_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5472 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    ----------------------------------------
    AlphaStrikeCardMaker
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Rick/Documents/Game%20stuff/Battletech/Alpha%20Strike/Bad%20Syntax/AlphaStrikeCardMaker/AlphaStrikeCardMaker.exe
    ----------------------------------------
    Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:





    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.


    ReplyDelete
    Replies
    1. That issue was actually a bad file for the image in the batch file (You can't use the images I specify in there, and have to specify your own). I updated the code to check to make sure it exists first, and if it doesn't it'll use that default mad cat. I also added some error checking on every line of a batch, so if it breaks anywhere it'll just continue with the next row.

      Same download link, new version, v1.1 dated today.

      Delete
    2. er, by "bad file" I mean "missing file", the image file itself is probably fine, but can't be found to load it.

      Delete
  5. Hmm, not working on mac, but assuming it wasn't designed to work on a mac. I pops up a text box with a bunch of text that begin with "won't work in DOS"

    ReplyDelete
    Replies
    1. Nope, sorry, no application I ever write will support a mac.

      I was thinking of a web based version, it'd be pretty simple, not sure how much use it'd get though.

      Delete
    2. That's cool. Keep up the awesome work and I'll support virtually.

      Delete