Alienfx winamp plugin update

As no one picked up the developement on the winamp plugin after I released the sourcecode and new alienware laptops keep coming out every year, so I decided to put a litte bit more work into the winamp alienfx plugin. With this update users are able to add support for new laptops themselfs by editing a xml file. I will explain here how to create the xml file.
To download the plugin go to the original post: AlienFX Winamp plugin

To follow this guide you need a Alienware laptop or PC with a AlienFX device and some xml editing skills.
First you need to find out the product id of your alienfx device. To do that open the windows hardware manager. Go to start -> control panel -> system -> (top left) device manager.
In the device manager open the “input devices (Humand Interface Devices)” group and right click onto the first “USB-input device” in the list. Go to properties.

windows hardware manager

In the properties window go to details and select “Hardware-IDs” from the dropdown list.

usb device properties
The shown lines should start with “USB\VID_187C”.

If they do thats the AlienFX device. If not you have to try the other usb input devices. After the VID_187C you can see the product id “PID_0511”. You can ignore the PID_ and the zero, that gives us the product id 511 in this case. Because this is hex notation you need to add 0x to the start of the product id, that gives you in this case the final product id 0x511.
Write down the product id you will need again.
Now download the AlienFX leds tester from here: AlienFX leds tester
Start the program and follow the instructions until it asks you if you want to test a custom device.
Press Y and enter to answer with yes. Now type in the product id you just wrote down.
Next it is going to ask you if it is a new alienfx device. If the winamp plugin does not support your device by default, it is most likely a new device, so press y and enter. Now follow the instructions until the program ends. If none of the alienfx leds on your laptop changed while the program ran, it did not work. If everything worked fine you should end up with a results.log file in the same directory that contains the leds tester. It should look something like this:

Keep this file open you are going to need it.
No go to your “appData/Winamp/plugins” directory (“C:\Users\Your Username\appdata\Roaming\Winamp\Plugins” for Vista and 7)
Create an empty textfile and name it “alienfx_vis_devices.xml” (make shure you have “hide known file endings” disabled in the windows folder options). Edit this xml file and paste the following template into it:

Enter the name of your laptop into the name attribute. If you have a new alienfx device (anything newer then the Area-51 series) enter 2 for the protocol version, otherwise enter 1. Usually you want to enter 2 for the protocol version as all laptops with the old protocol version are supported by default.
for the productId enter the product id you just found out.
Now you need to add the following line inside the devices node for each led you have on your laptop:

For name enter the name of your led, and for code enter the code for that led. You can find the code in the results.log file you should still have open. The format in the results.log is: “Led (led code): (led name)”.
When you are done editing the xml file it should look like this:

Fire up winamp, start the plugin. If you made any mistakes there should be error messages telling you what you did wrong. Fix the erros and try again. If everything started without errors you can go to the config dialog and configure the leds to respond to certain beats, and test the plugin. If you have a working xml for your laptop be nice and upload it to notebookrecords.com and/or send me a e-mail with the xml attachted to it. It is also possible to enter multiple devices into this xml file. Just add additional “device” nodes to the xml file. The plugin will try all devices in the xml file upon start, and use the first one it is able to find.