Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

unid

macrumors regular
Original poster
Feb 24, 2009
195
0
Traffic_island_bay
I am not a programmer my brain rapidly powers down when faced with code (and other things).
I think chess 2.4.1 is open source.
I would like to change the skins of the pieces.
Any ideas how to accomplish this?
All appreciation.
 
I am not a programmer my brain rapidly powers down when faced with code (and other things).
I think chess 2.4.1 is open source.
I would like to change the skins of the pieces.
Any ideas how to accomplish this?
All appreciation.

Not quite sure how to do it specifically, but not quite sure if you already know how to find the pre used skins already.
right click the chess application go Show Package Contents then its under Contents/Resources/Styles.
Its a Silicon Graphics Image, maybe try to making try messing around in photoshop see what you can come up with not quite sure myself but its a starting point.

Also the .plist for each theme will need either a Piece.plist or a Board.plist
 
Adding a new folder with a .plist with your custom graphics is recognised by the game, but i'm unable to save the graphics in the original .rgb format which maybe why whenever i try to choose the custom theme Chess crashes:(
 
the graphics image i used was a jpeg, but once saved in the package contents i then added the extension .rgb, didn't think anything would work properly.
Chess didn't crash this time but it did hang for a 10 seconds but then the graphics weren't what they should of been. They were originally Red and Blue but as you can see....
 

Attachments

  • Picture 6.png
    Picture 6.png
    587.4 KB · Views: 372
almost done

I've managed to save the file as a Silicon Graphics Image but with an extension .rgb using preview.
Oddly only the white pieces have seemed to work, the black ones remain the same, my black piece file should of made them red.
 

Attachments

  • Picture 7.png
    Picture 7.png
    530.2 KB · Views: 572
Completed

Not quite sure why but the black pieces are now working.

1) Create your graphic in photoshop or use any pre-existing graphic (i suggest not using an actually photo as it doesn't really work that well)

2) Open it in preview then save as SGI but give it the file extension .rgb (make sure the file is not above 70KB as it may not work otherwise).

- Make sure the file name is correct to that of what it will be used for, a white chess piece should have the file name WhitePiece.rgb, for the white board graphic WhiteBoard.rgb. If you are making a board theme make sure you include a Border.rgb.

3) Open the Contents Package of the Chess app and locate the styles folder (Chess.app/Contents/Resources/Styles)

4) Create a new folder with the title of the theme you wish to call it.

5) Copy a Board.plist or/and Piece.plist, from one of the pre-existing folders, into your new folder.

6) Make sure that each theme has the following:
for a piece
- WhitePiece.rgb
- BlackPiece.rgb
- Piece.plist
For a board
- WhiteBoard.rgb
- BlackBoard.rgb
- Border.rgb
- Board.plist

The capitals are important!

Hope it Helps!:D

I've attached a zip of the custom Apple Chess Piece Folder I made so you can test it out.:apple:
 

Attachments

  • Apple.zip
    60 KB · Views: 187
  • Picture 11.png
    Picture 11.png
    364.3 KB · Views: 279
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.