Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Change the Tile Game widget's image System 10.4
You know the Tile Game widget, with the picture of the tiger? I got tired of the tiger picture, so I attempted to change it to another picture. Turns out it was pretty easy.

[robg aside: Temporarily changing the Tile Game's image is quite simple -- make sure the Tile Game widget is open, then start dragging an image in the Finder, activate Dashboard, and drop it on the Tile Game widget. Your image will replace the tiger, at least until the next time you close the widget. This hint explains how to permanently change the image on the widget.]

First, create (if you don't have one already) a folder named Widgets in your user's Library folder. Now navigate to the top-level /Library » Widgets folder, and copy the Tile Game file to your user's Library » Widgets folder. OS X will first look for widgets in your user's folder, so we'll modify the copy of the widget, not the original.

Control-click on the Tile Game file in your user's Library » Widgets folder. (Make sure you're in your user's Widgets folder, not the top-level Library » Widgets folder.) Select Show Package Contents from the pop-up menu, and navigate into the Images folder. You'll find the familiar tiger image in the file game.png. Rename this file to game_old.png.

Now, to choose a replacement image. I looked through my iPhoto pictures and found an image I liked -- a turtle I saw on the beach in Hawaii. In iPhoto, I cropped the image with a square constraint. Then I exported the image as a PNG to my desktop using the "small" setting. I think small is sufficient -- if the image is 200x200 pix that's probably fine (the actual size of the game.png image is 144x144). Of course, I named the file game.png.

Lastly, I copied the new game.png to the Images folder. All done! When relaunching the widget, my new turtle image is the puzzle's image.

You can take it a step further if you want. You'll notice that when you load the Tile Game, it displays a placeholder image while the widget loads. This placeholder image is the file default.png in the top level of the Tile Game bundle. It's a combination of the game image (game.png) and the white border (default_white.png). Using Photoshop, it's pretty easy to overlay the turtle image on the white border to get a new default.png file. Just be sure to save the file as a 24-bit png, so the shading around the edges looks correct. Again, the exact resolution doesn't seem to matter, but 200x200 seems to work well.

When I replaced the old default.png file with the new one, I had a seamless turtle-based tile game experience. It's not an earth-shattering change, but I thought it was kind of neat.

[robg adds: With a bit of scripting work, I could foresee a clickable-app that would change the tile game widget to some random image chosen from a specified folder. Such fun is left as an exercise to those with more scripting skills than I, however.]
    •    
  • Currently 4.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (5 votes cast)
 
[22,666 views]  

10.4: Change the Tile Game widget's image | 2 comments | Create New Account
Click here to return to the '10.4: Change the Tile Game widget's image' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Change the Tile Game widget's image
Authored by: morespace54 on Sep 18, '07 02:11:59PM

Wow, I didn't even knew you could replace that image... :)
And Rob's trick is really easy (thanks Rob)!

..And I just though this widget was useless... ;)


BTW, what's up with Security Updates and Dashboard? Each time, it just put back all my discarded widgets... (No I don't want ski report!) :(
...Kind of make the Widget Manager useless for me...



[ Reply to This | # ]
10.4: Change the Tile Game widget's image
Authored by: mattswain123 on Sep 25, '07 07:26:13AM
There's an AppleScript to do the same thing here:
http://macosxtips.co.uk/index_files/change-the-image-in-the-tile-game-widget.html

It also does the "random image from a folder" thing.

[ Reply to This | # ]