maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   Hacking the default Chess program (https://talk.maemo.org/showthread.php?t=82639)

Wikiwide 2012-12-14 11:17

Re: Hacking the default Chess program
 
Quick reply...
That's the most humorous-and-productive thread I have ever had pleasure reading, I suspect. Thank you. I might give it a try soon, very soon. Personally, I prefer to bring everything with myself, so AI chess opponent in my pocket sounds better than having to catch Internet connection on the go.
Best wishes. Thanks to everybody!
_________________
Per aspera ad astra...

vi_ 2012-12-14 11:24

Re: Hacking the default Chess program
 
Quote:

Originally Posted by Wikiwide (Post 1304425)
Quick reply...
That's the most humorous-and-productive thread I have ever had pleasure reading, I suspect. Thank you. I might give it a try soon, very soon. Personally, I prefer to bring everything with myself, so AI chess opponent in my pocket sounds better than having to catch Internet connection on the go.
Best wishes. Thanks to everybody!
_________________
Per aspera ad astra...

These graphics are so much better. I wish the board still had the letter/numbers though.

Wikiwide 2012-12-18 21:39

Re: Hacking the default Chess program
 
What about modifying "osso-chess/Undo_Redo.png", "osso-chess/Undo_Redo_dimmed.png", "osso-chess/Undo_Redo_pressed.png" and "osso-games-startup-chess.png"?

Addison 2012-12-18 21:44

Re: Hacking the default Chess program
 
I'm not all too sure, maybe just some extra fluff that was never used in the game I believe.

I never saw those show up anywhere while playing.

Sorry.

udaychaitanya16 2012-12-19 18:44

Re: Hacking the default Chess program
 
At last I am playing chess on N900.Thank you Addison.

Wikiwide 2012-12-19 22:08

Re: Hacking the default Chess program
 
Quote:

Originally Posted by Addison (Post 1305877)
I'm not all too sure, maybe just some extra fluff that was never used in the game I believe.

I never saw those show up anywhere while playing.

Sorry.

"osso-games-startup-chess.png" is the banner within the program before you start playing a game (on the screen with play, restart, continue, expert, easy, et cetera).
Undo-Redo buttons are in the right lower corner of the screen when you are playing a game, to allow you to undo-redo the moves.
Just mentioning.

Addison 2012-12-20 09:29

Re: Hacking the default Chess program
 
2 Attachment(s)
Quote:

osso-games-startup-chess.png
For some reason, the Maemo 4 build doesn't have this.

I tried looking around for it back in the day but eventually gave up.

I guess that I could change the Undo and Redo buttons, what did you have in mind?

Maybe you could give me an example using this site:
http://cooltext.com/Logo-Design-Ghost-Button

Also, I can probably put the coordinates back on the screen.

Does anyone know of a special trick on how to reverse the H to A letters to make them A to H without flipping all of the graphics backwards?

http://img62.imageshack.us/img62/891...2122004173.png

This one needs to be reversed as well.

http://img4.imageshack.us/img4/4790/...2122004254.png

Those two graphics should be available to download at the end of this post.

Cheers. :)

Wikiwide 2012-12-20 15:23

Re: Hacking the default Chess program
 
1 Attachment(s)
Quote:

Originally Posted by Addison (Post 1306301)
For some reason, the Maemo 4 build doesn't have this.

I tried looking around for it back in the day but eventually gave up.

I guess that I could change the Undo and Redo buttons, what did you have in mind?

Maybe you could give me an example using this site:
http://cooltext.com/Logo-Design-Ghost-Button

Cheers. :)

Well... On Maemo 5, all these images (including "/usr/share/pixmaps/osso-games-startup-chess.png") are neatly packed inside package osso-graphics-game-chess, which is necessary for osso-chess-ui. However, while this link implies that Maemo 4, similarly, has osso-chess-ui, I could not find this package within Diablo repositories.

Undo-Redo buttons... First, there are some neutral buttons. Second, there is a glass button. Third, there is my own random drawing attached.
Best wishes.
_________________
Per aspera ad astra...

Wikiwide 2013-01-27 04:13

Re: Hacking the default Chess program
 
Can you create a deb. package for files:
/usr/share/pixmaps/osso-games-startup-chess.png
/usr/share/pixmaps/osso-chess/Undo_Redo_pressed.jpg
/usr/share/pixmaps/osso-chess/Background_board_flipletters.png
/usr/share/pixmaps/osso-chess/legal_move.png
/usr/share/pixmaps/osso-chess/Undo_Redo_dimmed.jpg
/usr/share/pixmaps/osso-chess/Black_White_passive.jpg
/usr/share/pixmaps/osso-chess/pieces.png
/usr/share/pixmaps/osso-chess/selection.png
/usr/share/pixmaps/osso-chess/Black_White_active.jpg
/usr/share/pixmaps/osso-chess/Background_control.jpg
/usr/share/pixmaps/osso-chess/Background_board_flipnumbers.jpg
/usr/share/pixmaps/osso-chess/Background_board.jpg
/usr/share/pixmaps/osso-chess/Undo_Redo.jpg
/usr/share/pixmaps/osso-chess/pieces_with_shadow.png
? Please?
It would be a nice replacement of closed-source package "osso-graphics-game-chess". It could become part of CSSU. Like osso-calculator...
Best wishes.
_________________
Per aspera ad astra...

Addison 2013-01-29 01:11

Re: Hacking the default Chess program
 
I can barely use the command line.... there is no way I would ever understand what to do in making a .deb file for this.

Sorry. :(

By the way, I have also hacked or added features to Eboard and Scid (the best chess program available) if you're interested. :)


All times are GMT. The time now is 02:45.

vBulletin® Version 3.8.8