Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-31-2011, 09:22 AM   #361
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Hi Mark,

Do you want me to push my changes for MineSweeper to the repository? These are the changes to make the game work on my 600. (If you recall, I was having trouble with the parseBoolean function.)

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 05-31-2011, 09:23 AM   #362
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by surquizu View Post
My "games & utilities" display and 3Dicons with the MineSweeper icon (BOMB):
Nice! Thanks, Surquizu!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Advert
Old 05-31-2011, 09:41 AM   #363
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by BenChen View Post
Do you want me to push my changes for MineSweeper to the repository? These are the changes to make the game work on my 600. (If you recall, I was having trouble with the parseBoolean function.)
Ben

I've modified code in minesweeper.js to this:
Spoiler:
Code:
        // reads values of target.settings.xx form file
        target.loadSettings = function (){
        var stream, inpLine;
        var values = [];
        try {
                if (FileSystem.getFileInfo(datPath)) {
                        stream = new Stream.File(datPath);                      
                        while (stream.bytesAvailable) {
                                inpLine = stream.readLine();
                                values = inpLine.split(':');
                                if ((values[1] == 'true') || (values[1] == 'false')) {                                          
                                        target.settings[values[0]] = values[1] == 'true';
                                } else {
                                        target.settings[values[0]]=values[1];  
                                }
                        }
                }       
                stream.close();
                } catch (e) {}  
        }


This should work with your 600ed, too.
Again thanks for your notification.

If there was more, please push.

Regards
Mark
Mark Nord is offline   Reply With Quote
Old 05-31-2011, 12:04 PM   #364
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Hi Mark,

You were right. I just hadn't done the last pull. Everything looks great now! Again, I am extremely impressed that you were able to put MineSweeper onto the Sony Reader.

Sincerely,
Ben,
BenChen is offline   Reply With Quote
Old 06-02-2011, 03:45 PM   #365
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Just pushed a big set of updates to the APPS repository
  1. included Surquizus new 3D-iconset (with BOMB for MineSweeper)
  2. fixed hold-prv = doFirst and hold-next=doLast
  3. major attempt to unify the apps UI
    • Added appIcons to all Apps (including Mahjong)
    • Added the ability to exit apps by tapping the AppIcon (touch-readers)
    • therefor removed some of the "QUIT/EXIT" buttons (hope this is OK Ben.)
Please check it out and post your comments

Regards
Mark
Mark Nord is offline   Reply With Quote
Advert
Old 06-03-2011, 12:38 AM   #366
VICTORSJG
Addict
VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.
 
Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
Mark, with the new modifications of the repository made about icons, is it necesary to do anything change on the scripts (games and applications) to copy and build an installer to use on prs 505?

thanks
VICTORSJG is offline   Reply With Quote
Old 06-03-2011, 02:20 AM   #367
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Victor

to get all the new icons you should put "kBookIcon.png" into "\firmware\505\Fsk\sony\ebook\application\resource s\scripts\" and "505_config.js" to "\script\core\compat\". Both files posted by Surquizu, in #360

Without this modifications, all games should show the "game" dice.

And you should replace the addon\starter-JS-files with those from Apps\...\addons

HTH
Mark

Last edited by Mark Nord; 06-03-2011 at 02:24 AM.
Mark Nord is offline   Reply With Quote
Old 06-03-2011, 02:36 AM   #368
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by Mark Nord View Post
Just pushed a big set of updates to the APPS repository
  1. included Surquizus new 3D-iconset (with BOMB for MineSweeper)
  2. fixed hold-prv = doFirst and hold-next=doLast
  3. major attempt to unify the apps UI
    • Added appIcons to all Apps (including Mahjong)
    • Added the ability to exit apps by tapping the AppIcon (touch-readers)
    • therefor removed some of the "QUIT/EXIT" buttons (hope this is OK Ben.)
Hi Mark,

Everything looks fine. Just a couple of comments:

1. I think we can get rid of the Quit buttons in Chess and Draughts and move the remaining button into the top bar. This will unify the apps even more.
2. The name of the layout in MahJong might need to be moved. If the name includes a letter with a descender (like "g"), it gets obscured. The alternative is that the name is displayed in ALL CAPS.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 06-03-2011, 02:51 AM   #369
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Hello Ben.,

Good points, will go for it.

Thanks
Mark
Mark Nord is offline   Reply With Quote
Old 06-03-2011, 11:07 AM   #370
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by Mark Nord View Post
Just pushed a big set of updates to the APPS repository
[LIST=1][*]included Surquizus new 3D-iconset (with BOMB for MineSweeper)
Mark, you can change the file of icons in the repository? I changed the icon fiveraw to another more nice.
Thanks
Attached Files
File Type: rar kBookIcon-3D.rar (178.9 KB, 153 views)
surquizu is offline   Reply With Quote
Old 06-03-2011, 12:17 PM   #371
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Hi Mark,

I've discovered that you have hard-coded the icon numbers for Five Balls, Five in a Row, MahJonG and XO-Cubed in their xml files. The end result is, on my 600, the wrong icons appear in the top-left icon inside the game, even though they display correctly in the PRS+ menu.

Chess, Draughts, FreeCell and MineSweeper all work as expected, because of
Code:
this.appIcon.u = kbook.autoRunRoot._icon;
I also found a spelling error in Draughts.js (line 7) and a number of doubled semicolons in some of the other start-JS-files.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 06-03-2011, 12:46 PM   #372
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Hi Mark,

I could push my changes, to save you some time! Just let me know.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 06-03-2011, 01:05 PM   #373
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Hi Ben.,

Silly me. Please push.
Mark Nord is offline   Reply With Quote
Old 06-03-2011, 01:24 PM   #374
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Hi Mark,

Done!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 06-03-2011, 01:27 PM   #375
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by surquizu View Post
Mark, you can change the file of icons in the repository? I changed the icon fiveraw to another more nice.
Thanks
I definitely will!

And I'm thinking of pushing it to the "default" repository, too.
togehter with a patched version of ebook.so, which allows to
  • bind hold-actions to the joy-stick-buttons (still working on my PRS-505),
  • my workaround to get "pictures" and "audio" working on PRS-505, and if I'm brave
  • include rudimentary standby-picture-support for PRS-505.
Regards
Mark
Mark Nord is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fsk error, code = -13 Brian Charles Sony Reader 4 04-23-2010 04:21 PM
Fsk error code= -43 shrktank Sony Reader 1 12-24-2009 09:32 AM
Just a silly tweak: AUTORUN.INF for Windows Rootman Kindle Developer's Corner 3 12-04-2009 10:17 AM
Request for test in Windows XP kovidgoyal Calibre 5 08-26-2009 01:14 PM
Windows Develpment Environment issue itimpi Calibre 20 01-17-2009 07:15 PM


All times are GMT -4. The time now is 02:40 PM.


MobileRead.com is a privately owned, operated and funded community.