Archive for category General Software

Coming Soon — Magic The Gathering Online Smart Bot!

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!

Read the rest of this entry »

, , , , , ,

21 Comments

Old School Game: Reuinion (and a Saved Game Editor)

Reunion Title Screen

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 :P

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 EditorDownload (92kb)

, , , , ,

No Comments

Importing movies from a Samsung NV24HD into iMovie ‘08

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

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! :)

, , , , , , , , ,

2 Comments

Backing up a DVD to DivX — My way or the highway!

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! :D

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!) :P

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.

Read the rest of this entry »

, , , , , , , , , , ,

1 Comment

What I’ve been up to…

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 :P 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 :P ) 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!

, , , , , , , , ,

No Comments

Let’s take a dive into XCode and Objective-C!

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! :)

, , , , , , , ,

No Comments

Does your Juniper VPN client keep disconnecting after you connect?

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 ;)

, , , , ,

36 Comments

How to recover your Hyper-V Virtual Machines after installing the RC0 Update

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! :)

, , , , ,

No Comments

WWWinamp v4.2 Build 2990

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 2990Download (56k)

, , ,

2 Comments

Can a Microsoft Virtual PC VHD work in Windows 2008 Hyper-V?

Yes…. kinda ;)

It’s a bit tricky getting a Microsoft Virtual PC virtual machine working in the new Windows 2008 Virtualization Environment, Hyper-V. You’re going to run into several issues:

  1. Because of a significant hardware change visible to the VM, you might need to reactivate your Microsoft OS.
  2. You will need to uninstall the Microsoft Virtual Machine accessibility drivers/software.
  3. You will need to install the Hyper-V accessibility drivers/software.

The biggest issue I ran into was step #2. One of my virtual machines that was running Windows 2003 Server R2 and when I went to uninstall the ‘old’ Virtual PC accessibility drivers/software, I was told by the uninstaller that I was only able to uninstall the software while running in a Virtual Environment, which it was under Hyper-V. I did not have this problem with another Windows 2003 Server VM, so it might have been an isolated incident. Be that as it may, I had to boot up the VHD in Virtual PC and uninstall the software.

Also, the Hyper-V drivers/software will not install OVER the Virtual PC software, which is why you must uninstall it first. Once you install the Hyper-V software, it will install a new HAL, reboot, then install the new drivers for the network, video and sound devices.

The performance gains from Hyper-V are noticable and worth the upgrade! I believe Hyper-V being built into Windows 2008 Server will be a huge success over third party solutions such as VMWare. One thing to keep in mind is that Hyper-V is only available in the 64-bit version of Windows 2008 Server! Also, running Windows 2008 Server on a machine that has a CPU that supports Intel’s IVT or AMD’s AMD-V allow the Hypervisor to run the Virtual Machines at nearly full speed.

I’ve found that the setting for Intel VT-i on Dell machine’s is turned off by default and has to be enabled in the BIOS. Unfortunately, Dell has the Virtualization option in different locations in the BIOS menu depending on the system. On my Dimension 9200 it’s under ‘Security’, on my Precision 4300 Laptop it’s under ‘POST Options’ and on my Precision 390 it’s under ‘Performance’.

One thing I am noticing is that Hyper-V is still obviously BETA and there are some issues, with VM’s ‘locking up’ or the network adapter in a Hyper-V VM showing ‘Network Cable is Unplugged’, when the other VM’s are not having any issues. So user beware! :)

I hope this was able to help some people out!

Cheers!

, , , ,

2 Comments