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

10.3: Play Chess in a floating desktop window Apps
I saw that in the early betas of Panther that you could have Chess play in a "floating board mode", i.e. with the chessboard floating on your desktop. Well in the final version of Panther, I can find no such option. But you can easily add it back with this simple hack.

Make a copy of Chess first, and then control-click on the copy and select Show Package Contents. Navigate to Contents -> Resources -> English.lproj in the new window, and open the MainMenu.nib file (you must have the Developer Tools installed).

Click on the "BoardWindow" icon in the MainMenu.nib file. Press command-1 and uncheck all checkbox options on that page. Press command-5 and change the window class to MBCFloatingBoardWindow (the first one in the list). Then save the nib file and run Chess.

The only real problem with this is that you cannot resize/minimize the window.

[robg adds: I tested this, and it worked ... but the other problem is that I couldn't find a way to move the chessboard window; it was stuck where it was the last time I played Chess. It does look sort of interesting, and you can still spin and twist the board in 3D.]
    •    
  • Currently 3.14 / 5
  You rated: 5 / 5 (7 votes cast)
 
[9,522 views]  

10.3: Play Chess in a floating desktop window | 3 comments | Create New Account
Click here to return to the '10.3: Play Chess in a floating desktop window' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Play Chess in a floating desktop window
Authored by: Dale Mox on Nov 25, '03 01:31:33PM

Don't make a copy of ALL the application... talk about wasting space...
Just copy the .nib to something. I like to call my backups with a .bk.nib ending.

Dale



[ Reply to This | # ]
10.3: Play Chess in a floating desktop window
Authored by: Brontojoris on Nov 25, '03 07:03:43PM

If you make a copy of the Chess application and edit the copy with Interface Builder, you can still use the original to set the window position, as both application bundles will use the same preferences file.



[ Reply to This | # ]
10.3: Play Chess in a floating desktop window
Authored by: aranor on Nov 26, '03 04:16:52PM

For some reason in the Defaults.plist inside Chess.app there's a preference <tt>MBCFloatingBoard</tt> set to False. However, if I set it to True it doesn't change anything. It looks like they removed the preference as well.



[ Reply to This | # ]