jump to navigation

Another Development Update – April 2007 30 April 2007

Posted by David Wilson in USB Missile.
1 comment so far

With global help, thanks Kevin, I have ben able to track down the issues that have been occuring with the DreamCheeky Launcher. It seems that recently purchased launchers do not accept the Launcher Control Codes that I have been sending. This has been fixed, to a point, where my launcher responds to the commands and the new launcher responds to commands. For those interested the USB control details are below, note that a buffer overflow is returned from this command, it is being ignored.

devRequest.bmRequestType = USBmakebmRequestType(kUSBOut, kUSBClass, kUSBInterface);
devRequest.bRequest = 0x09;
devRequest.wValue = 0x0000200;
devRequest.wIndex = 0;
devRequest.wLength = 8;
devRequest.pData = reqBuffer;

The special key here is wValue of 0x200 (though I have no idea what it does).

The next development update is for AppleScript support! This works:

tell application "USB Missile Launcher NZ"
unlock
move right seconds 2
move left seconds 2
move up seconds 1
move down seconds 1
fire
delay 7
lock
end tell

And… I _may_ have fixed the issue with the laser not working correctly on the Striker II.
I have also added a check on application startup to verify that the require kext files are installed in /System/Library/Extensions. The application lets you continue to run, though does provide a warning that things may not function as expected.

USB Missile Launcher NZ – Development Update – April 2007 11 April 2007

Posted by David Wilson in USB Missile.
2 comments

Changes to the Missile Launcher software are continuing, so far this month the new version has:

  • German Language Support
  • AppleScript Support
  • AppleScript support has been a bit of a mission. It’s working! Not sure I’ve implemented it in an ideal way though.
    Here’s an example script:
    tell application "USB Missile Launcher NZ"
    unlock
    moveleft
    delay 1
    abort
    moveright
    delay 1
    abort
    movedown
    delay 1
    abort
    moveup
    delay 1
    abort
    fire
    delay 3
    abort
    lock
    end tell

    You get the idea.

    Known Problems
    Two issues have been reported to me this month

      1. On the Striker II the laser only “blinks once” when you try to activate it. I have not been able to resolve this.
      2. Two other users, both with MacBook Pro’s have reported that their DreamCheeky launchers do not work with the USB Missile Launcher NZ software, though it does on the same machine under parallels. So far through may e-mails and exchange of files, I have been able to identify (c/- System Profiler) that under Software/Extensions the IOUSBFamily file does not have a “Integrity:Correct” setting (like mine). And on at least one of the machines the IOUSBCompositeDriver, IOUSBHIDDriver, and IOUSBUserClient client is now shown. I’m still seeking more information on this, initial thoughts are that the OS install is corrupted and that a re-install of the OS may be required (Archive and Re-Install).