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 03-27-2011, 09:29 AM   #256
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
Changes to Chess and Draughts are pushed to the repository.
Sudoku in the repository was already done by me.
For Fiveballs and Mahjong there is no difference, so nothing is pushed.

@ Ben: sent you a PM
Mark Nord is offline   Reply With Quote
Old 03-27-2011, 10:12 AM   #257
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
What have i do to run chess, draught and freecell in ebooksimmain800? beacause on big resolution works correctly.

thanks
VICTORSJG is offline   Reply With Quote
Advert
Old 03-27-2011, 10:37 AM   #258
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,

Sorry, "eBookSimMain800.xml" from x.06 works fine for me.
What problems do you observe?
Mark Nord is offline   Reply With Quote
Old 03-27-2011, 11:22 AM   #259
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
I've used the version x.05, with the new versión x.06 all works fine.

thanks
VICTORSJG is offline   Reply With Quote
Old 03-27-2011, 04:19 PM   #260
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Just checked what's in repository, very impressive, great job guys!
kartu is offline   Reply With Quote
Advert
Old 03-28-2011, 08:29 AM   #261
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
I've taken a look to the repository, and i see the new changes don't incluide the new icon like the last version ebooksim, are we going to incorporate localizatons for the titles of the games, and for the help? the rest of the games apart from freecell, will they incluide the txt help?

thanks
VICTORSJG is offline   Reply With Quote
Old 03-28-2011, 09:27 AM   #262
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 VICTORSJG View Post
I've taken a look to the repository, and i see the new changes don't incluide the new icon like the last version ebooksim, are we going to incorporate localizatons for the titles of the games, and for the help? the rest of the games apart from freecell, will they incluide the txt help?

thanks
Hi there,

Regarding icons, that's up to kartu. It's actually quite a big job to get the icons done for all of the different models of Sony readers.

I think the plan is to do localizations of game titles and help texts. (Only MahJong and FreeCell have help texts, and there are no plans to add help to the other games. Do you think help texts are necessary? For which games?) I would think it would also be possible to localise many of the game labels but I know we will run into layout issues.

Add to that if people have replaced their Reader's system fonts then that makes layout problems even worse. There was one person on the Russian e-book site complaining that the "M" in Mahjong was a problem on his reader. I am pretty sure that this is a result of him changing his system fonts.

Sincerely,
Ben.

@Mark: Perhaps we should pick one game (Chess?) and try and localise it completely to see if it is even possible.
BenChen is offline   Reply With Quote
Old 03-28-2011, 02:25 PM   #263
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
Hi there,

Regarding icons, that's up to kartu. It's actually quite a big job to get the icons done for all of the different models of Sony readers.
Indeed, and to not to interfere with /core/compat/*_config.js i will suggest to use
Code:
kbook.autoRunRoot.sandbox._icon = Core.config.compat.NodeKinds.getIcon("GAME",0)+x;
where x will be the offset of the app-icon to the game-icon, already defined in PRS+ code. If the icon isn't accessilbe the standard icon will be returned.

Quote:
I think the plan is to do localizations of game titles and help texts.
Titles should to be included in /core/lang/LANGUAGE.js
because they are used in PRS+ to show up in the menus.

The game specific help-texts, should be kept in separate files, with a two character language-indicator at the end of the filename.

If kartu provides a Core.lang.getLocale() (see post #197) we can easily check for the existence of a corresponding help-text-file and load it.

Quote:
I would think it would also be possible to localise many of the game labels but I know we will run into layout issues.
Therefor we should go for individual labels for each key instead of using one long line of text, especially for button-hint-texts.
This would give for 600/x50 readers e.g.:
btn_hlp_prev_next_1; btn_hlp_home1; btn_hlp_size1; bnt_help_option1
btn_hlp_prev_next_2; btn_hlp_home2; btn_hlp_size2; bnt_help_option2

set up with the correct left, bottom and width value and "center" aligned.

For 300/505 it could be
hlp_left1; hlp_center_1; hlp_right1
hlp_left2; hlp_center_2; hlp_right2
plus hlp_0 and hlp_9

Quote:
@Mark: Perhaps we should pick one game (Chess?) and try and localise it completely to see if it is even possible.
Ambitious goal!
But if it's possible to "export" Core.lang.getLocalizer("APP") or var L to our sandboxed code, this might be possible.
All labels will have to have their representation in the core/lang/LANGUAGE.js resource-files of course!

Just my 2 cents
Mark

Last edited by Mark Nord; 03-28-2011 at 02:51 PM.
Mark Nord is offline   Reply With Quote
Old 03-29-2011, 03:01 AM   #264
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
Draughts updated

Hi everyone,

I just finished improving the AI in draughts. At least, I can't think of any other way to improve it. The end result is a little more challenging than it was before, but as the screenshot below shows, massacres are still possible...

The code is in the repository: here.

Sincerely,
Ben.
Attached Thumbnails
Click image for larger version

Name:	2011-03-29_101725.png
Views:	203
Size:	35.4 KB
ID:	69163  
BenChen is offline   Reply With Quote
Old 03-29-2011, 07:31 AM   #265
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
Ben i'v modified the scripts freecell and draughts by the new in the repository and the result is the images show when i run the game.
Attached Files
File Type: rar image.rar (287.9 KB, 162 views)
VICTORSJG is offline   Reply With Quote
Old 03-29-2011, 07:45 AM   #266
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 VICTORSJG View Post
Ben i'v modified the scripts freecell and draughts by the new in the repository and the result is the images show when i run the game.
That happens when there is a problem with the .js file. Did you also download the latest AppAssets folder from the repository?
BenChen is offline   Reply With Quote
Old 03-29-2011, 08:02 AM   #267
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 VICTORSJG View Post
Ben i'v modified the scripts freecell and draughts by the new in the repository and the result is the images show when i run the game.
Actually, the problem is more likely to be you need to also download the latest launcher files: FreeCell.js and Draughts.js in the addons folder.

Hope this helps!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 03-29-2011, 08:07 AM   #268
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 VICTORSJG View Post
Ben i'v modified the scripts freecell and draughts by the new in the repository and the result is the images show when i run the game.
Now I realise you are trying to run these in the Sim. Well, I am not sure what the problem is, since they run fine in the Sim on my computer.

Are you using Mercurial to pull the latest updates? If you are, everything should work fine, since everything works fine on my system. If not, you must have not downloaded one of the newer menu xml files, or something. I don't think I could work out what was missing. So I would recommend installing Mercurial!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 03-29-2011, 03:00 PM   #269
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
Ben, I've downloaded the all fileS with mercurial and all games work fine now.

thanks.

Last edited by VICTORSJG; 03-29-2011 at 04:28 PM.
VICTORSJG is offline   Reply With Quote
Old 03-29-2011, 08:26 PM   #270
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 BenChen View Post
Hi everyone,

I just finished improving the AI in draughts. At least, I can't think of any other way to improve it. The end result is a little more challenging than it was before, but as the screenshot below shows, massacres are still possible...

The code is in the repository: here.

Sincerely,
Ben.
the last version of draughts does not work in my 505. It starts with the attached screen and it does not do any more. The previous version works well.
Attached Thumbnails
Click image for larger version

Name:	2007-5-28_0.jpg
Views:	197
Size:	28.1 KB
ID:	69212  
surquizu 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:51 AM.


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