Install Mac OS X Leopard on a G4 800mhz Quicksilver

If you have an old G4 sitting around that’s at the 800mhz mark, you probably should try installing Leopard, because most people agree it actually runs FASTER than Mac OS X 10.4 Tiger. Weird, huh? I guess they’ve optimized the code pretty well.
However, when you try to install the operating system, you are warned that Leopard cannot be installed on your G4. There are a few reasons for this:
1) Leopard requires 512MB of RAM – you have RAM, right?
2) Leopard requires over 867mhz processor

We can fix number 1 by simply getting more RAM. I find Craigslist to be of great use here. Number two is a bit more difficult as G4 processor upgrades are ridiculously expensive once you consider the cost of a Mac Mini, and also requires a bit of tech savvy under the hood as you’d be swapping CPUs.
Not to worry, though. Here’s a way to convince OpenFirmware that your CPU is 867mhz, and allow the installer to boot, install, and get you off and running:
Boot into Open Firmware, I have covered this extensively here:
Once in OpenFirmware, issue the following commands (for single CPU):
dev /cpus/PowerPC,G4@0
d# 867000000 encode-int " clock-frequency" property
boot cd:,\\:tbxi

For dual CPU:
dev /cpus/PowerPC,G4@0
d# 867000000 encode-int " clock-frequency" property
dev /cpus/PowerPC,G4@1
d# 867000000 encode-int " clock-frequency" property
boot cd:,\\:tbxi

Note that all we are doing is over-writing the CPU clock-frequency (speed) property for each CPU installed, at boot time.
Also, if you need to boot another device, try:
printenv boot-device
This will return a list of boot devices to use when booting the installer. I used this in order to boot a Firewire device that had had a disc image (DMG) restored to it, making things a bit easy and faster.

Good luck!

How do I install .kext files?

I hear this a lot, and I myself have also gone looking for it…

So without  further ado, here is the script that will install kext files for you – be warned – you’ll need to know how to get the kext file in the first place, as well as the filename.

Easy right?

Let’s get started.

Open the Terminal application by going to Applications / Utilities / – you will see it in the Utilities folder – it looks like a command prompt.

Once terminal has launched, type in the following command:

sudo -s

Enter the root or first user password that you inputted during the setup process.

This tells it to run any other commands after this one as the root or superuser account, allowing you to edit files you normally would not have permission to edit.

Here’s an example using IOATAFamily.kext, a popular ATA driver. You’ll want to replace this by your own driver name. Also, you’ll want to make sure the file is unzipped, and sitting on your desktop. Oh one more thing, you’ll want to edit YOURUSERNAME with… your username 🙂

mv /Users/(YOUR USERNAME)/Desktop/IOATAFamily.kext /System/Library/Extensions
chmod -R 755 /System/Library/Extensions/IOATAFamily.kext
sudo chown -R root:wheel /System/Library/Extensions/IOATAFamily.kext
cd /System/Library/Extensions
rm -rf Extensions.mkext
rm -rf Extensions.kextcache

Hope that helps!

Call of Duty 4 Stats Editor Download

OK guys – I know I got a lot of contacts, emails, and a few comments that got stuck in the spam filter regarding the location of the CoD4statseditor14.rar file I had mentioned earlier – it looks like the site serving the stats editor it got itself delisted from Google – my guess is for being overly spammy and having pop-unders…

At any rate, you can now download the Call of Duty 4 Stats Editor v1.4 from GameCopyWorld – still somewhat spammy, but definitely working.

Good luck guys! Hope none of your lost your CoD stats over the holidays.

Call of Duty 4 v1.4 Stats Editor for PC

Looks like some one has finally done it… I got wind today that there is a full-featured stats/ranks/perks editor in the wild for Call of Duty 4 v1.4

More info on this as it comes up, but I haven’t heard anything about a new CoD4 update, and apparently punkbuster doesn’t catch it…

FYI – the filename is cod4statseditor14.rar

Good luck trying to find it!


I was able to find a copy of the file floating around. It contains a text file which reads as follows:

1 Private First Class 0
2 Private First Class I 30
3 Private First Class II 120
4 Lance Corporal 270
5 Lance Corporal I 480
6 Lance Corporal II 750
7 Corporal 1080
8 Corporal I 1470
9 Corporal II 1920
10 Sergeant 2430
11 Sergeant I 3000
12 Sergeant II 3650
13 Staff Sergeant 4380
14 Staff Sergeant I 5190
15 Staff Sergeant II 6080
16 Gunnery Sergeant 7050
17 Gunnery Sergeant I 8100
18 Gunnery Sergeant II 9230
19 Master Sergeant 10440
20 Master Sergeant I 11730
21 Master Sergeant II 13100
22 Master Gunnery Sergeant 14550
23 Master Gunnery Sergeant I 16080
24 Master Gunnery Sergeant II 17690
25 2nd Lieutenant 19380
26 2nd Lieutenant I 21150
27 2nd Lieutenant II 23000
28 1st Lieutenant 24930
29 1st Lieutenant I 26940
30 1st Lieutenant II 29030
31 Captain 31240
32 Captain I 33570
33 Captain II 36020
34 Major 38590
35 Major I 41280
36 Major II 44090
37 Lt. Colonel 47020
38 Lt. Colonel 50070
39 Lt. Colonel II 53240
40 Colonel 56530
41 Colonel I 59940
42 Colonel II 63470
43 Brigadier General 67120
44 Brigadier General I 70890
45 Brigadier General II 74780
46 Major General 78790
47 Major General I 82920
48 Major General II 87170
49 Lieutenant General 91540
50 Lieutenant General I 96030
51 Lieutenant General II 100640
52 General 105370
53 General I 110220
54 General II 115190
55 Commander 120280

And the program allows you to set the numbers for:

  • Score
  • Kills
  • Headshots
  • Assists
  • Streak
  • Death
  • Experience Points (CoD4 XP)

Seems like this lil nugget is brought to us by a team called “BONER” – thanks you wankers!

So basically this is the same as the Tsearch level-up stuff we had talked about when the game was released, but includes many other parameters to change. The tool will read current values for the items mentioned above, and allows you to change them while playing. Once you perform one of the tasks – headshot, assist, kill, etc., the value will go up a point, and when you have it set just below the mark needed for XP perks, or challenges, it will give it to you. You just need to exit the game, re-join another online game and go from there.

As has been reported in our comments, the easiest for XP is a free-for-all server, say one with 50 players max.

As for headshots, try a few sniper servers.

Happy Call of Duty 4 cheating!

Call of Duty 4 Cheats – Unlock All Ranks and Perks

Unlock everything easily!

Well someone was bound to do it…

The memory address that contains the CoD4 XP has been located, and you can now modify it, making leveling up a much faster and easier process. This means that you can easily get the Commander Rank within a few hours of buying the game, and you can unlock all perks and weapons.

The memory address needed is: CBF0E68

You can use a tool such as Tsearch to edit the value of that address (your XP), so that you’ll only need one XP to get to the new CoD 4 rank.

Here’s how: open Tsearch, start a new script, enter the memory address, then enter in the XP you would like. Keep in mind – you’ll want to back up your Call of Duty 4 profile just in case something goes wrong – YOU HAVE BEEN WARNED!

More details: if you just want to quickly go up a level, take your current XP from the Rank screen in the multiplayer mode, then add the amount of XP you will need to go up a level. You’ll want to subtract one or two XP in order to make it easy to gain a level. Then, go online and kill someone, or get an assist – BAM! – instant level up, and possibly a new rank.

Overkill perk, here you come!

Seriously, though, I tested this method, and found it much more enjoyable to play through multiplayer the real way – it’s more of a challenge, and fun!

Disable the Dock in Apple OS X Tiger

Many people find that they simply don’t have enough screen real estate on their MacBooks, and prefer to use application launchers such as Apple’s own Spotlight, or the third party applications QuickSilver and launchbar.

There are two ways to remove the Dock from OS X tiger – one easy, the other a more manual approach.

We’ll start with the hard one, since it’s better to understand what’s going on behind the scenes. If this simply doesn’t interest you and you’d rather move on – rest assured that scripting the hard part is just as safe, and works in a similar manner.

On to the hard part:

  • The first step is to move the dock from /System/Library/CoreServices so that it won’t be launched on startup as it is normally. This is a bit hackish, but I’ve yet to get anything else working properly.
  • Since the dock will no longer be called at startup as it is missing from the usual cave it hides out in, we’ll need to make the Dock start up from it’s new location when we log in. This can easily be accomplished by dragging from its new hiding place to your startup items (found in the “accounts” system preference pane).
  • Since the idea here is to get rid of the Dock, we’ll need to close it after it is run on login. The easiest way to do this is to make an Applescript that terminates the dock for you, and have it run just after the Dock is launched on startup. This allows the Dock to start, get it’s act in gear, then disappear.
  • Now you can proceed with your normal modus operandi and utilize QuickSilver or whatever other application launcher that you prefer to use instead of the Dock.

The easier way to do all of this is to leverage a piece of software written by No Name Scriptware called Dock Death. Dock Death is an AppleScript that performs the same task we outlined above, and also gives you a back out strategy in case you really need to get the Dock back.

Both of these solutions will effectively disable Expose since it a Dock process. If you can’t live without Expose, you may want to try using the freeware Onyx, which allows you to move the Dock to the top of the screen and hide it, effectively eliminating it from view. Though this is a bit low-tech in that it doesn’t really disable the Dock, for some people it gets the job done.

Turn off Apple Startup Sound on your Intel Mac

If the chime your Mac makes on bootup drives you batty, have no fear – it’s controllable. You can mute, turn down, or even turn UP your Macintosh startup volume using freeware utilities!

There are a few applications out there that will allow you to adjust the Apple startup noise, but only one (as far as I can tell) that will allow you to adjust the startup chime on Intel based Macs – Psst from mistatree will let you do it on your x86 Apple computer, and it’s easy to use too!

Psst is a universal binary that runs in OS X, meaning that it will run on PPC Macs, as well as the newer Intel Macs like iMacs, MacBooks, MacBook Pros and Mac Pros.

To install the program, simply download the DMG image file using Safari, Firefox or your favorite browser, and mount the image by double clicking it. After that you can copy the file anywhere on your hard drive and run the application by double clicking it. Adjust the startup sound to your liking and reboot to see the changes. You will notice the difference on bootup/startup – the startup chime should be less noisy or muted depending on how you adjusted it.

Make Prototype.js TINY – Keep Compatibility

Prototype.js is a very popular AJAX framework used when building dynamic websites. You will find Prototype in most Ruby on Rails projects as it is included by default, and for good reason; Prototype.js is a great library that includes a lot of functionality.

Unfortunately it is rather large in size, weighing in at roughly 50KB.

Although many have managed to reduce the file size of Prototype by paring down the code and gzipping the file, we’re going to use an additional tool to approach the problem, one from the Mozilla foundation that appears to work very well – Rhino.

(Oh, in the interest of full disclosure, I am a Java fanboy, having studied at a university that got a lot of Sun funding back in the day. I hope you can see past that and check out this Javascipt hack, I really do.)

An informative quote from the Mozilla page for the Rhino project goes like this:

“Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users.”

Alright then, so what you have is a Java bytecode version of Javascript that will work in most browsers.

Sounds interesting, let’s see what we can do with Protoype.js!

I decided early on to use a Rhino tool that I found on the Dojo site that allows me to compile Javascript and make it Rhino compatible. The page give you a brief walkthrough and some examples on how to use the tool, so I won’t need to cover that here in detail.

So we compile our Prototype Javascript file, let’s see what our results are then, shall we?

Before: 47445

After Rhino: 32716

After Rhino and gzip: 9454

So it’s at about 9KB now!

In order to utilize the new file, upload it to the directory that houses your original Prototype javascript file, then any instances of prototype.js in your code to prototype.jgz (zipped javascript).

You’ll also want to change your .htaccess file so that you handle the new script properly by typing pico (or nano or vi or what-have you) .htaccess:

RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ".*Safari.*" [OR]
RewriteCond %{HTTP:Accept-Encoding} !gzip
RewriteRule (.*)\.jgz$ $1\.js [L]

AddType "text/javascript;charset=UTF-8" .jgz
AddEncoding gzip .jgz

You'll notice here that we're doing user agent detection for Safari. When I did my testing it seemed to be spotty, so what we're doing is falling back to javascript if we see that the user is using Safari. We're still compatible, and the code works everywhere else.