Feb 202011

If you want to setup a RAID array without having to reinstall Windows, all you need to do is install Intel Storage Matrix and update a few registry keys.

  1. Download and install Intel Storage Matrix.
  2. Modify the key named “Start” in each of these locations to 0
    More info is available in the Microsoft KB article
  3. Restart your computer and enable AHCI in the BIOS.
    Your computer should restart without any problems. Once you’ve logged in you should see Windows installing drivers for AHCI.
  4. Open regedit again and change Start to 3
  5. Restart your computer and change your BIOS from AHCI to RAID. Windows should load without any problems and install the RAID drivers without having to reinstall.
Sep 052010

Runescape offers an interface for fansites to grab hiscores info without having to load the entire hiscores page and use complicated scripts to pull out each piece. You can get the info by visiting this page: http://hiscore.runescape.com/index_lite.ws?player=yourusername

The page will feed back info in line break and comma separated form. Each skill is separated by a line break and rank/level/xp are seperated by commas. In its default form it’s not very usable, you’d need to write some sort of script to format it. I was bored and decided to make a PHP script that converts the page into JSON format, making it very easy to use with a Javascript front-end.

						"Attack", "Defence", "Strength",
						"Hitpoints", "Ranged", "Prayer",
						"Magic", "Cooking", "Woodcutting",
						"Fletching", "Fishing", "Firemaking",
						"Crafting", "Smithing", "Mining",
						"Herblore", "Agility", "Thieving",
						"Slayer", "Farming", "Runecrafting",
						"Hunter", "Construction", "Summoning",
				"minigames" => array(
						"Duel Tournaments", "Bounty Hunters",
						"Bounty Hunter Rogues", "Fist of Guthix",
						"Mobilising Armies", "B.A Attackers",
						"B.A Defenders", "B.A Healers",
						"Castle Wars Games", "Conquest"
		$name = strtolower($name);
		$connection = fopen('http://hiscore.runescape.com/index_lite.ws?player='.$name, 'rb');
		if($http_response_header[0] === 'HTTP/1.1 200 OK') {
			$data = stream_get_contents($connection);
			$data = explode("\n", $data);
			$overall = explode(',', $data[0]);
			$stats['overall'] = array("Rank" => $overall[0], "Level" => $overall[1], "XP" => $overall[2]);
			for($i = 0; $i < 25; $i++) {
				$cItem = $hiscores['stats'][$i];
				$num = explode(',', $data[$i+1]);
				$stats['skills'][$cItem] = array("Rank" => $num[0], "Level" => $num[1], "XP" => $num[2]);
			for($i = 0; $i < 9; $i++){
				$cItem = $hiscores['minigames'][$i];
				$num = explode(',', $data[$i+27]);
				$stats['minigames'][$cItem] = array("Rank" => $num[0], "Score" => $num[1]);
			$stats = json_encode($stats);
			$stats = str_replace('-1', '', $stats);
			if($_GET['lowercase'] === 'yes'){
				$stats = strtolower($stats);
			return $stats;
		else {
			return '{"error":"User not found"}';

if(isset($_GET['user'])) {
	$cStats = getStats($user);
	if(isset($callback)) {
		echo $callback.'('.$cStats.')';
		echo $cStats;
	echo 'Usage:
    '; echo '
  • user=username
  • '; echo '
  • Optional: callback=funcName
  • '; echo '
  • Optional: lowercase=yes (all json will be lower case)

'; echo 'Callback function is used for cross-domain AJAX requests'; } ?>

You can access the script here or download it here. For usage information visit the script page.
Old School Runescape version available here

JSON Formatter for Runescape Hiscores by pceasies is licensed under a Creative Commons Attribution-Share-Alike 3.0 Unported License

Jul 262009

After installing a fresh version of Windows 7, I went to update the drivers and check device manager. None of my drivers downloaded from the manufacturer’s site would install, just the included utilities. ATI CCC would launch, but the main window wouldn’t display. After a bit of Googling, I found out Windows 7 was installing it’s own drivers. I went to device manager and expanded Display Adapters and sure enough, both (2 video cards installed) had Microsoft in parenthesis after them. I hit uninstall and removed them, scanned for new hardware changes, and as soon as I did, Windows reinstalled them. I tryed uninstalling them and using the ATI installer, right before it completed, Windows put its own back in. I checked in Process Explorer to see id I could end Windows driver installer, and sure enough, it kept launching as soon as a driver was uninstalled. I made a simple batch file that continually ended drvinst.exe and that fixed held back Windows long enough to get the right drivers installed.

The Process:

Computer Management > Device Manager
Launch no_driver.bat
Uninstall Windows Drivers
Scan for changes
Right click the device that shows up without drivers (with /!\ on it)
Browse my computer
Point to the location of your driver (You’ll need to extract the Windows 7 drivers to a folder. ATI will extract all the files to C:\ATI and then start the installer [exit the installer if CCC and utilities are already installed)
Exit out of no_driver.bat
Windows will install the “real” drivers
Restart and everything should be working well.

How to Tell if it’s a Windows Driver:

Windows drivers normally have something in parenthesis after the name of the device. To double check, open properties and go to the Driver tab. Now can tell if it’s Windows when the “Driver Provider” is “Microsoft”

Why you don’t want Windows Drivers:

The drivers, being Windows own, don’t work with manufacturer’s utilities. This prevents modifications, and most importantly, features like Crossfire. Even ATI Tray Tools needs ATI’s real drivers.

Why Windows Installs its own Drivers:

Windows installs these for novices users that don’t understand how to install them manually. In addition they are most likely trying to prevent users from complaining about their old hardware not being supported.

What if Windows can’t find drivers, and there are Vista drivers I want to use?

Make sure you have the driver extracted in a folder (the INF, sys and cat file and others would indicate the folder with the driver). Download a tool called DSEO. This tool puts Windows into test mode (which was designed to test driver signing) allowing you to use unsigned drivers (ATITool or ATI Tray Tools) and drivers for Vista. Launch the tool and select the first option “Enable Test Mode.” Hit next until you reach the menu again. When you reboot, the watermark in the bottom right will be back, you can disable this now. If you have a driver you need to sign, you can use that option (such as ATITool and ATI Tray Tools). Exit when finished and restart. You can now use Vista drivers (although you can’t right click and select install). You’ll have to install them through device manager, meaning you may have to use the above procedure to remove Windows own drivers.

no_driver.bat contains:

echo off
taskkill /im drvinst.exe /f
goto loop