Archive for category General Software
ApocBot v0.0 — Open Source Magic Online Automated Trade Bot Released!
Posted by eric in C# Programming, Gaming, General Programming, General Software, Internet, Magic Online on December 11, 2010
For everyone who’s been waiting and searching, here it is:
ApocBot v0.0 — The First (not completely working) Open Source MTGO Trade Bot written in C#/.NET!
Now that the fanfare is over, let’s get down to the nitty-gritty.
What was with the delay?
The truth of the matter is that life just has a way of happening. My desire to play Magic The Gathering: Online waxes and wanes through the years and I started this project shortly after moving across the country. So you can say it was the product of my being bored in the evenings
Over the course of a few months my interest in this project started to fade as I settled into my new job and had to travel a bit.
I had debated in my mind on how to handle the bot. I know over time it would be a maintenance nightmare as people would require support and updates, which is honestly why I decided to go Open Source with it. For some reason people feel that paying for software implies some form of support!
In the end, I just stopped working on it because (a) MTGO is just a hobby, so I wasn’t looking to make money off the bot and (b) I didn’t want to have to constantly maintain and update the code to work with new versions/UI changes as they come out. That’s just the lazy bastard I am
That being said, I still feel this is an important project because it gives the community at large the ability to finally be more open about automation on MTGO (and possibly other games).
So what shape is the code currently in?
Out of the box, the code isn’t going to work. I’ll go into the details below on why/what needs to be updated to get it in running shape.
Other than updating some of the code to work with any UI/screen changes, it should still work pretty well! I know it worked the last time I tried to use it (six months ago?).. so I’m sure with some TLC, someone can get it up and running again.
And it’s free?!
Yep! Anyone is free to download and use the code for ApocBot in their own Magic Online Trading Bots as long as they adhere to the BSD License terms. If anyone is feeling giving, links back to my blog and some Magic Online gratitude would be appreciated! (My MTGO user name is “WndrBr3d“)
Download:
ApocBot and the source code are released under the BSD License. Please review the included “license.txt” file for terms and conditions. For more information on the BSD Licenses, click here.
ApocBot v0.0 (Source)
Requirements: Visual Studio 2010 and .NET 4.0
And now.. the very rough technical details on how it works…
Continue reading “ApocBot v0.0 — Open Source Magic Online Automated Trade Bot Released!” »
Coming Soon — Magic The Gathering Online Smart Bot!
Posted by eric in C# Programming, Gaming, General Software, Opinion on September 14, 2009
12/21/2010 UPDATE: I have released the source code for my MTGO trading bot “ApocBot”. You can view that blog post and download the code for free here.
I thought I’d take the opportunity to update my blog here to talk about what I’ve been working on lately, as it would appear that my free projects of WWWinamp and the Discogs API are no longer updated
I’ve been working on my first retail product and I’m really excited about it!
Continue reading “Coming Soon — Magic The Gathering Online Smart Bot!” »
Old School Game: Reuinion (and a Saved Game Editor)
Posted by eric in Gaming, General Software, Reverse Engineering, Reviews on June 9, 2009

Reunion Title Screen
Does anyone else remember playing Reunion back on their 386′s with a staggering 2MB of RAM? Lord knows I remember!
Reunion came out over fifteen years ago and I still feel the urge to play it now and then even today. It’s a great game and can be downloaded from many abandonawre sites across the internet.
I started playing again recently using DOSBox and I was amazed, because I didn’t even know the game had sound!
When I played “back in the day”, my system didn’t have a Sound Card (because I couldn’t afford a Creative AWE32), so needless to say it was a whole different experience. The game has a fantastic production value and even when modern development languages, I’m not sure that even I’d be able to create a game of such depth a complexity!
Anywho, I began to get frustrated because I knew there were parts of the game I was missing because I couldn’t meet certain goals or didn’t have enough resources. Granted, I should have spent the time perfecting the game and working towards those achievements….. but it’s an old game and I don’t have as much free time as I did when I was thirteen years old
To that end, I sat down and studied the Save Game format for a while and also the (paltry) Save Editor that was included in the Abandonware version. I knew I could come up with something better that gives me even more options in the game. It took me a couple hours but I was able to come up with a pretty functional Saved Game Editor for Reunion that works around a couple glitches the previous version had.
I know, I’m a total cheater but it was a fun little project and I figure perhaps ONE person on the entirety of the Internet must need something like this as well, so I figure I’d throw it out there for anyone who needs it
Reunion Saved Game Editor – Download (92kb)
Importing movies from a Samsung NV24HD into iMovie ’08
Posted by eric in Apple, General Software, iPhone, Multimedia on February 11, 2009
I’ve been using my Samsung NV24HD camera for some time now to capture both standard resolution (640×480) and high definition (720p) video, but recently my wife needed to import one of those movies into iMovie to edit it down in size. To my surprise, even though Quicktime is able to play the MP4 files created by the Samsung camera, iMovie 08 is unable to properly import the videos and just locks up.
Turns out that the MP4 files made by the Samsung NV24HD camera are a of a non-standard H.264/MPEG-4 AVC format. So what’s to do?
Well, if you’re an Apple user (which I assume you are since you’re reading blog entry about iMovie
), then you’re in luck. There’s a tool you can download called ffmpegX which allows you to convert the MP4 files to iMovie compatible MOV MPEG-4 files. In addition, ffmpegx can convert video files to a multitude of formats inlcuding iPod, iPhone and DivX formats. So even if your issue isnt EXACTLY the video files from the Samsung NV24HD camera, ffmpegx is still a great utility to use for video transcoding/covnverting in OSX

Screen Shot of ffmpegX
The only down side I had to doing this was the time it took to convert. It took over two hours to encode a 25 minute movie at 640×480 on my 2.4ghz Macbook Pro. So if you’re planning to use this method, plan to leave your Mac plugged in for a while.
Also, I’ve yet to try newer iMovie ’09 which also just may fix this issue. When I’m able to get my hot little hands on a copy of iLife ’09, I’ll be sure to let everyone know if it works out!
Hope this post is able to help out my fellow Samsung and Apple users out there!
Cheers!
Backing up a DVD to DivX — My way or the highway!
Posted by eric in Audiophile, General Software, Hardware, Multimedia on January 22, 2009
I’ve been backing up my DVD collection for years in order to watch the movies I own on my portable devices as they evolve. Currently I love watching my movies on the iPhone! I’m currently using a FANTASTIC new application from Elemental Technologies called Badabom! It uses nVidia’s CUDA technology to harness the power of my GPU to convert movies from DivX to MP4! Currently it’s able to convert a movie to iPhone size/format at over 200fps using my Intel Q6600 and nVidia 8800GTX!
SCIENCE!
Backing up to DivX is another story though. I’ve always been a stickler for quality and control over the process. A perfect example of this is my use of “old” programs such as VirtualDub and refusal to use the “1-Click” applications because I feel like I lose control over the quality. I think this stems from my age and time of use because back during DivX 3.11 there were no “1-Click” applications that could copy a DVD and any attempt at making one usually failed terribly.
So I’ve always manually converted them, again, out of my own stubbornness. I thought I’d post my steps here to see if anyone agrees that there’s some method to my madness (or to tell me that I’m getting old and should get with the times!)
My process allows me to encode any DVD content into DivX using 2-pass XviD encoding while still maintaining the original Dolby Digital AC3 audio track.
Continue reading “Backing up a DVD to DivX — My way or the highway!” »
What I’ve been up to…
Posted by eric in Apple, General Software, Hardware, Opinion on October 26, 2008
Not that anyone who finds my blog will actually CARE what I’m up to, but it’s my blog and I run this dog & pony show!
My projects as of late have mostly been electronic in nature. I’ve actually had three projects on the burner:
Replacement of the capacitors on my Mortal Kombat 2 arcade machine’s CRT controller
This was far more time consuming that I thought it would be. Not because it took me an actually long time to desolder and replace the capacitors on the board, but ordering the CORRECT caps and waiting for them to be delivered took the most time. I decided to use Mouser for my components and they delivered as promised.
I posted pictures of my extracting the CRT controller here. From what I was able to gather with some Google-Fu and the few English markings on the board, I determined it was a Wei-Ya C829HR CRT board. Of course there aren’t any cap kits for this board (for whatever reason), so I had to order all the caps (about 30) one by one getting their voltage and capacitance from the one’s that are currently on the board. The one cap that I wasn’t able to find (easily) a replacement for was this monster bipolar 75v 4.7uf cap.
FINALLY finishing my Replica 1 computer (which I posted about starting here… over a year ago)
I know, totally lame right? I’d like to say it got put down during the move and I forgot but I literally think it was just the time of year and I was tired of freezing my ass off in the garage with only the glow of a soldering iron to keep me warm
So I picked back up the kit and finished soldering the rest of the 50-or so IC pins and fired it up. I got a response on the video port but when I reset I get random giberish. I checked and the oscillator is clocked in at 1mhz and voltage at the test points looks OK. I’m thinking it’s probably a bad rom. I’m currently e-mailing the project creator and he’s been very helpful!
Building a Blue Box
This year I decided to be Woz for Halloween (I figured Fat Nerd is an outfit I’d be able to pull off
) and I wanted to have a sweet accessory to go with my outfit of a vintage apple shirt, name tag and rockin facial har. I decided what cooler than actually building a function blue box!
I found this schematic which seems to be the defacto one that everyone since the 80′s has been using. The down side? Exar no longer makes the XR2207 voltage controlled oscillators. I tried to get samples straight from the company, but no luck. I was able to find them through some IC resellers, but they wanted $30 per chip, so F’ that noise!
Again, I activated some hardcore Google-Fu and found this slick project by a website called ProjectMF.org. He used a PIC microcontroller to generate the frequencies which is waaaaay easier and makes sense in a more modern world
I used his schematics and again ordered the parts from Mouser. I was able to solder together the power supply portion and will fire up the PIC programmer later this week!
Super cool!
So anyways, I haven’t been hacking away on the code or software projects lately but I find my creativitiy comes and goes through phases. I’m just in a hardware one right now, but I’m sure sooner or later I’ll fire up Visual Studio again
Cheers!
Let’s take a dive into XCode and Objective-C!
Posted by eric in Apple, General Programming, General Software, iPhone on August 6, 2008
So, I’m diving into the pool!
I recently purchased a MacBook Pro for the sole purpose of developing software for the Mac/iPhone platform. It’s completely unknown to me and currently the XCode IDE looks nothing if not completely confusing compared to the friently intuitive interface of Microsoft Visual Studio that I’m used to
What brought me to this point? Well, two things.
First, I’ve been wanting to dive into Objective-C for a little over a year now and started dabbling with it a while back on my old G4 Powerbook. I was impressed with the coolness of it, but being that I was developing on a G4 Powerbook, I was limited as by this time Apple had begun the mass migration to Intel based systems.
Second is that I want to develop applications for the iPhone. Not to make a mint or anything, more or less because I think I have some good ideas on programs people would use. Like how Apple provided the iTunes controller, well, hows about a WWWinamp controller for the iPhone? Perhaps one that lets you search your library locally on the iPhone without even connecting to WWWinamp?
I started down this path because there’s currently a program for sale on the iTunes App Store that lets you control your instance of WinAmp remotely… for $4.99!!! What the crap?! I was floored that the author would expect that kinda money for a program when there are PLENTY of other FREE alternatives out on the web (like WinAmp Remote, AjaxAmp or WWWinamp). I made it my mission to release a comparable program
It’s just going to take a month or so to ramp up on the new IDE and learn how to do SOAP calls and whatnot. Should be a fun adventure though! My wife begins the final semester of her Teaching Credential program in a couple weeks, so I’ll have four nights a week alone to myself to nerd out and gorge on Hot Pockets!
I have another version of WWWinamp in the works as well. This is basically some code modernization for sections that I wrote over a year ago. Updating things to use Generic Methods and whatnot. You know, fun .NET stuff
Cheers!
Does your Juniper VPN client keep disconnecting after you connect?
Posted by eric in General Software, Hardware, Internet, Networking on April 18, 2008
I had this issue a while back while working from home using my company laptop. Our company utilizes the Juniper VPN client software and up until recently it had been working just fine! One day while working remote my VPN connection kept closing with the error:
“The Network Connect session terminated. Do you want to reconnect? (nc.windows.app.23711).”
I did some Googling and I came across this support manual from Juniper which discusses the error codes/messages returned by the VPN client software and what could be causing the issue. Error code 23711 Juniper describes the problem as:
“The Network Connect client disconnected from the secure gateway because the
client?s routing table was altered.”
I thought to myself, “What the hell could be changing my routing table?” At first I suspected it might have been a VPN tunneling issue with my Apple Airport Extreme but that known issue has been fixed since early 2007. The issue obviously was being caused by something on my company laptop.
I tried different media (wired vs. wireless) and also updated and rolled back different network drivers to no avail. Another long Google search put me upon this blog entry at kevinluck.com where he states:
After a bit of googling I found out that there were complaints about the early betas of CS3 and the Bonjour service that they installed affecting networking. And this is what was causing my problem. If you press Ctrl-Alt-Del and look at your processes then you will find a ?mDNSResponder.exe? service running after installing Flash CS3. Ending this process allows you to connect through Network Connect.
Presto! Stopping that Process and eventually uninstalling the Bonjour application from my computer fixed my VPN disconnection problem! A big THANK YOU to kevinluck.com for being a great resource and I hope that this blog entry helps others trouble shoot the same issue I had with our Juniper VPN client!
Lord knows I was ready to pull my hair out
How to recover your Hyper-V Virtual Machines after installing the RC0 Update
Posted by eric in General Software, Virtualization on April 1, 2008
Have you installed the RC0 update for Windows 2008 Hyper-V and have just found out that all your Virtual Machines will not start? Not to worry!
What happens in this update is that the Virtual Machine configurations are incompatible between Beta and RC0, but only the configurations
That’s the catch. The actual virtual disk (.VHD) is still fine, as it’s only a mountable partition. So what you’ll need to do is the following steps:
- After installing Hyper-V RC0, create a NEW virtual machine in the configuration manager
- Use the existing VHD file for the ‘old’ virtual machine on the ‘new’ one.
- Boot the VM!
What you’ll notice after the first boot is that Windows 2008 can no longer control the mouse. This is due to the beta version of the Hyper-V Integration Services being installed on the Virtual Machine. You’re still able to use the keyboard, so if you’re savvy enough to know how to tab around and make your way through Windows, you’ll be able to “Insert Integration Services Setup Disk” in Hyper-V and update the software package
After all this, you should be good to go!
One note is that after I updated to RC0 I had to set back up the network adapter in Hyper-V as it seems my previous network configurations were lost after the upgrade.
Cheers!
WWWinamp v4.2 Build 2990
Posted by eric in Apple, General Programming, General Software, Internet, iPhone, WWWinamp on March 9, 2008
Well, after about a week of off and on work the latest version of WWWinamp is ready!
I’ve taken the “beta” tag off of it as it seems the recode of the HTTP request processing seemed to work without issue and no bugs were reported (other than the ‘paging’ issue, which really was a defect in the script parser).
Changes for this version are:
- [HTTP] Daemon will now start if a WinAmp instance is not found
- [HTTP] Able to specify max number of HTTP threads to process (Default 25)
- [Script Parser] Fixed “Paging” issue when searching through the Libary
- [Script Parser] Script Files (*.wwa) will be run from the same folder as the file requesting them
- WinAmp Handles will be updated if a new instance is detected
Be sure to use the latest config file included with this release as it has a new key value, WWWinamp.HTTP.ListeningThreads, which tells the HTTP daemon how many threads to use max. This is set to 25 by default if no key is found, but it will throw an error. So if you don’t want to use the packaged configuration file because you’ve hacked together your own, you can manually add this key with any value you’d like.
This value isn’t a huge addition but it can help maintain system stability under heavy load. This way WWWinamp won’t spin up an infinite amount of threads if there’s heavy resource contention or there’s a problem that is causing threads to hang.
Also, the other ‘fixes’ were requests made by? ‘dawolf’ here in my blog so I suggest more people get involved and we can make WWWinamp better!
In addition, if you’ve made your own skin and want to share it, please feel free to contact me and I can post it here to my blog for others to use.
As for future releases, they may be a little slow in the coming month. I’m going to be diving into the iPhone SDK and Objective-C programming using XCode on my Apple. I think a remote media interface would be totally awsome if I can have a native WWWinamp application on the iPhone talk to the WWWinamp server using WCF/SOAP. It’d be way easier than using the webkit crap and I could make it have a lot more functionality (perhaps tuning in to a shoutcast stream VIA the iPhone?). Anyways, just thought I’d give you guys a little bit of information on that.
Cheers!
WWWinamp v4.2 Build 2990 – Download (56k)



