maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce][N9] StandByMee - Chess (version 0.5.5 on store.ovi.com) (https://talk.maemo.org/showthread.php?t=84536)

BluesLee 2012-05-27 20:00

[Announce][N9] StandByMee - Chess (version 0.5.5 on store.ovi.com)
 
With this app i applied for the Summer '12 Device Program / New Apps for Nokia Store .. it was accepted ... now published ... i will get a developer device ... and then ... i will take over the world! Muwhahaha :D

About StandByMee-Chess
StandByMee-Chess displays a randomly chosen chess position given by a FEN (Forsyth-Edwards-Notation) on the standby screen of our beloved Nokia N9. For this I use an included chess database consisting of more than 120.000 mate in #2 positions.

The active color is highlighted by a rectangle in the field of the corresponding king.

Users which are on PR 1.3
Please uninstall StandbyMee-Chess and install it again as the default css file libsysuid-screenlock-nokia.css - which takes care of the operator logo dimensions etc - will probably be redistristibuted by the update and will take effect after a reboot.

Screenshots
http://dl.dropbox.com/u/73783334/Sta...creenshot2.png
http://dl.dropbox.com/u/73783334/Sta...creenshot4.png
http://dl.dropbox.com/u/73783334/Sta...creenshot1.png

Installation
You can install the app from http://store.ovi.com/content/287445 resp. http://store.ovi.mobi/content/287445 from your N9.

You need to reboot your device after installation, or alternatively do as root
Code:

/sbin/initctl restart xsession/sysuid

Support Webpage / Blog
blueslee's world. Apps for the community.

Future plans:
  • Add GUI with update and solution button :D
  • Code optimization ..

Changelog
  • Changelog version 0.5.5:
    • Added splash screen and update notification.
    • Added postrm / and prerm scripts handling css file for operator logo.
    • The active color is now highlighted by a rectangle in the square of the corresponding king.
    • Several minor changes.
  • StandByMee-Chess 0.5.0: Initial release. Had to be removed from here.

Thanks goes to:
[1] Eduardo Sadier for his permission to use his "The Art of Direct Mate in Two Moves" FEN database: https://sites.google.com/site/edusad...mateintwomoves
[2] Paul Sherman for his collection of public domain images: http://www.wpclipart.com/recreation/...t_1/index.html
[3] Javispedro for his Harmattan icon generator: http://apps.javispedro.com/nit/hicg/
[4] Thomas Guest for his inspiring blog on drawing chess positions: http://wordaligned.org/articles/drawing-chess-positions
[5] Of course not to forget our TMO community.

BluesLee 2012-05-27 21:29

Re: [Announce][N9] StandByMee - Chess
 
For those who wonder why i selected the above 'ugly' colors: This seems not to be easy as we have only 2^3 colors available for this task (#000000, #ff0000 and so on ...) and i get always screen flickering and noise with other combinations (just drawing an empty board).
I would also prefer something like

http://dl.dropbox.com/u/73783334/Sta...creenshot3.png

BluesLee 2012-06-17 15:48

Re: [Announce][N9] StandByMee - Chess
 
@geneven: I guess you restartet your phone, otherwise you may see a 120x120 logo instead of 450x450. Do you use other apps which modify the operator logo in parallel or did you changed the system file libsysuid-screenlock-nokia.css in the past?

omar451451 2012-06-19 20:13

Re: [Announce][N9] StandByMee - Chess (version 0.5.5 on store.ovi.com)
 
Wow ! Really a wonderful app !! Keep it up buddy ! Looks damn cool on a black n9 , unfortunately i own the unicorn "white N9" , for it , your app wud luk killing in white & black combo !!! Wat do u think ?

BluesLee 2012-06-20 18:21

Re: [Announce][N9] StandByMee - Chess (version 0.5.5 on store.ovi.com)
 
Quote:

Originally Posted by omar451451 (Post 1224345)
Wow ! Really a wonderful app !! Keep it up buddy ! Looks damn cool on a black n9 , unfortunately i own the unicorn "white N9" , for it , your app wud luk killing in white & black combo !!! Wat do u think ?

Thank you Omar. Please note that only very few color combinations are possible as you only have 8 colors available (at least this is the common opinion) and many i tried are unstable, i.e. they lead to screen flickering and noise. This seems to depend what kind of objects you draw on the amoled screen, thickness of lines etc I will experiment more when i get my developer phone as i also want the color combinations shown in #2 :D

ibrakalifa 2012-06-20 19:01

Re: [Announce][N9] StandByMee - Chess (version 0.5.5 on store.ovi.com)
 
i want your green horse.like on the video lockscreen one, :)

omar451451 2012-06-20 19:11

Re: [Announce][N9] StandByMee - Chess (version 0.5.5 on store.ovi.com)
 
Oh ! is it so ? But still is a good app. Will wait till you cud optimise it for the white one !! One more thing, will your app interfere with the billboard standby screen app ??

BluesLee 2012-06-20 19:25

Re: [Announce][N9] StandByMee - Chess (version 0.5.5 on store.ovi.com)
 
@ibrakalifa: I uploaded the green knight, please see the corresponding thread [Empty your mind] Playing videos / animations on N9's standby screen

@omar451451: You better ask the author of billboard standby screen.The app seems to be proprietary, i cannot know how it works. Thp will be able to answer your question.

sosat 2012-06-29 19:30

Re: [Announce][N9] StandByMee - Chess (version 0.5.5 on store.ovi.com)
 
hi when i uninstalled the StandByMee, the widget in standbyscreen of meecast shows now on center of the screen.how can i bring it back the right position? The same thing happen with DIY operator logo

danested 2012-06-29 19:54

Re: [Announce][N9] StandByMee - Chess (version 0.5.5 on store.ovi.com)
 
Quote:

Originally Posted by BluesLee (Post 1213497)
For those who wonder why i selected the above 'ugly' colors: This seems not to be easy as we have only 2^3 colors available for this task (#000000, #ff0000 and so on ...) and i get always screen flickering and noise with other combinations (just drawing an empty board).
I would also prefer something like

http://dl.dropbox.com/u/73783334/Sta...creenshot3.png


i think different shades of grey would be acceptable.

I'm at work right now with no photoshop or any of the picture editing tools, but I think the following will be a lot easier on the eye:
Light gray background(for white squares), black for dark.

White pieces with black outline - so they show on both light and dark squares.
Black pieces with white outline - so they show on both light and dark squares.

BluesLee 2012-06-30 09:10

Re: [Announce][N9] StandByMee - Chess (mate in #2 on N9's standby screen)
 
Quote:

Originally Posted by danested (Post 1229172)
i think different shades of grey would be acceptable.

I'm at work right now with no photoshop or any of the picture editing tools, but I think the following will be a lot easier on the eye:
Light gray background(for white squares), black for dark.

White pieces with black outline - so they show on both light and dark squares.
Black pieces with white outline - so they show on both light and dark squares.

Thanks, its always good to get some feedback especially on the chosen colors. But to be more precise: The below 2^3 = 8 colors are available for this task:
Code:

FFFFFF = white
FFFF00 = yellow
FF00FF = magenta
FF0000 = red
00FFFF = cyan
0000FF = blue
00FF00 = green
000000 = black

I think with grey shades you mean white squares with several diagonal black lines or vice versa, right? The white pieces have a black boundary. I can invert the colors so that the black pieces have white boundary and check the outcome. But its clear if we use black or white squares for the board the boundaries of the pieces will be not visible in some cases ...

Edit: With white boundaries for the black pieces i should be able to drop the biting green color for the black pieces. Great idea danested!

What about the below combinations?
http://dl.dropbox.com/u/73783334/Sta...shot_test1.png

http://dl.dropbox.com/u/73783334/Sta...shot_test2.png

BluesLee 2012-07-02 07:02

Re: [Announce][N9] StandByMee - Chess (version 0.5.5 on store.ovi.com)
 
Quote:

Originally Posted by sosat (Post 1229165)
hi when i uninstalled the StandByMee, the widget in standbyscreen of meecast shows now on center of the screen.how can i bring it back the right position? The same thing happen with DIY operator logo

Hello Sosat,

in general i would recommend to avoid mixing the different standby screen applications. Here is what StandByMee-Chess does:
  • Post installation script: SBM makes a backup of your original file libsysuid-screenlock-nokia.css.
  • SBM uses a modified libsysuid-screenlock-nokia.css file for its own purposes.
  • Pre remove script: SBM unsets the standby screen logo and restores your original libsysuid-screenlock-nokia.css file.
The latter applies after a reboot of your device, so that you get the state before you installed SBM-Chess.

sosat 2012-07-02 20:32

Re: [Announce][N9] StandByMee - Chess (version 0.5.5 on store.ovi.com)
 
yes i understand this but the SBM was the last application installed and when i uninstalled it doesnt restore the original libsysuid-screenlock-nokia.css i think.
How can i restore it manually?

BluesLee 2012-07-03 16:21

Re: [Announce][N9] StandByMee - Chess (version 0.5.5 on store.ovi.com)
 
Users which are on PR 1.3
Please uninstall StandbyMee-Chess and install it again as the default css file libsysuid-screenlock-nokia.css - which takes care of the operator logo dimensions etc - will probably be redistristibuted by the update and will take effect after a reboot.


Quote:

Originally Posted by sosat (Post 1230309)
yes i understand this but the SBM was the last application installed and when i uninstalled it doesnt restore the original libsysuid-screenlock-nokia.css i think.
How can i restore it manually?

Sorry, for my late answer but it took me some time to reproduce and solve this issue (hopefully).

Bad news first: The mentioned file is indeed the same before installing and after removing SBM-Chess:)

Good news: I reproduced your issue by using SBM-Chess and LPMCustomizer instead of DIY operator logo. The situation is as follows:
I assume that your css file libsysuid-screenlock-nokia.css located in
Code:

/usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style
has a section like the below
Code:

LockScreen MImageWidgetStyle#LockScreenLowPowerModeOperatorLogo {
    padding-top: 0;                   
    padding-bottom: 0;                   
    padding-left: 0;                     
    padding-right: 0;               
    margin-top: 6mm;                         
    margin-bottom: 0;                       
    margin-left: 0;                           
    margin-right: 0;                         
    maximum-size: 12mm 12mm;
}

while SBM-Chess uses
Code:

LockScreen MImageWidgetStyle#LockScreenLowPowerModeOperatorLogo {     
/* Added by StandByMee-Chess.         
To undo modification, replace this file with libsysuid-screenlock-nokia.css.orig
or remove this section and rename the first occurrence of
LockScreenLowPowerModeOperatorLogoUNUSED with LockScreenLowPowerModeOperatorLogo */
                                             
  padding-top: 0;                         
  padding-bottom: 0;                         
  padding-left: 0;                         
  padding-right: 0;                       
  margin-top: 6mm;                       
  margin-bottom: 0;                               
  margin-left: 0;                                                   
  margin-right: 0;                           
  minimum-size: 45mm 45mm;             
  maximum-size: 45mm 45mm;

} /* End of modification for StandByMee-Chess */

With other words: Though the restored file is the correct one "minimum-size: 45mm 45mm;" has an unwanted effect afterwards.
Changing
Code:

maximum-size: 12mm 12mm; (or whatever)
to
Code:

minimum-size: 12mm 12mm;
in the corresponding section of your original file should solve your problem.

Warning: Modifying system files can get your device in a MALF state if something goes wrong.

sosat 2012-07-03 21:03

Re: [Announce][N9] StandByMee - Chess (version 0.5.5 on store.ovi.com)
 
can you give me help how to edit or how to replace the file with original.
If i update to pr1,3 it will be restore the original?


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

vBulletin® Version 3.8.8