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-20-2011, 03:09 PM   #196
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: 853
Karma: 314486
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
This shouldn't be possible AFTER you moved a card!
(selecedCard.selected had to be set to false after a valid move, will check on this)
This isue could be solved by including
Code:
selectedCard.selected=false;
into function target.draw_board.

Havn't updated attachment in previous post!
Will wait for kartus and Bens opinions.
Mark Nord is offline   Reply With Quote
Old 03-20-2011, 04:24 PM   #197
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
Quote:
Originally Posted by BenChen
I don't know what to do about the image size problem. With Mahjong, the only thing I could think of was to remove the background image (or at least make it flat white).
There are 2 huge images, mostly filled with text, both referenced from XML.

Quote:
Originally Posted by Mark Nord
The use of a text-control for help enables also the use of translated help-texts!

@kartu: is that your intention?
Yep!

Quote:
@kartu2: is there a way to export the language-setting off PRS+ to select the correct local help-text?
I'll add Core.lang.getLocale() that will return 2 letter language code. Tell me if you have better ideas.

Many users are very concerned about "additional stuff that they'll never use" that is in PRS+, presumably eating resources, games in particular. So from this perspective it would be better to keep game translations independent from the core translation files. I'm a bit concerned about adding icons for each app, hopefully it won't cause issues.
kartu is offline   Reply With Quote
Advert
Old 03-20-2011, 05:42 PM   #198
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 have updated the Draughts game with an initial implementation of AI. It probably needs a little more refining, but it's not bad for a start! The zip file in post #189 has been updated.

Sincerely,
BenChen.
Draughts does not work on PRS-505 (not appers the game in the menu of games & utilities). Any ideas?

Thanks, Ben
surquizu is offline   Reply With Quote
Old 03-21-2011, 03:09 AM   #199
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: 853
Karma: 314486
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Hello Surquizu,

are you using PRS+ 2.0.10alpha or 1.1.3?
Mark Nord is offline   Reply With Quote
Old 03-21-2011, 03:12 AM   #200
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
Game icons

Quote:
Originally Posted by kartu View Post
Many users are very concerned about "additional stuff that they'll never use" that is in PRS+, presumably eating resources, games in particular. So from this perspective it would be better to keep game translations independent from the core translation files. I'm a bit concerned about adding icons for each app, hopefully it won't cause issues.
Hi kartu,

I only wanted to add an icon for Chess (since it is a game that is popular, and I could see that people might want to put it on their home screens) and FreeCell (since there may be other card games added in the future). I have no intention of doing any further icons.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Advert
Old 03-21-2011, 04:45 AM   #201
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
Bug report from TJ27 @ the-ebook.org (PRS-350):
He got Draughts and Freecell from #193. (custom build, based on 2.0.10a)
Draughts hang from time to time (but could be exited with "home")
Freecell stopped working, with "you win" text on the screen. Version from #59 worked. (UPDATE: he was referring to version from Mark, #195)

Last edited by kartu; 03-21-2011 at 05:08 AM.
kartu is offline   Reply With Quote
Old 03-21-2011, 05:15 AM   #202
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
Hello Surquizu,

are you using PRS+ 2.0.10alpha or 1.1.3?
Tested with both versions (1.1.3 and 2.0.10a). Installers made ​​with instructions of Kartu.
surquizu is offline   Reply With Quote
Old 03-21-2011, 06:39 AM   #203
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 kartu View Post
Bug report from TJ27 @ the-ebook.org (PRS-350):
He got Draughts and Freecell from #193. (custom build, based on 2.0.10a)
Draughts hang from time to time (but could be exited with "home")
Freecell stopped working, with "you win" text on the screen. Version from #59 worked. (UPDATE: he was referring to version from Mark, #195)
I am not surprised about Freecell from #195. I can't even get it to work in the Sim. I would certainly not try it on an actual reader yet.

I am surprised about Draughts, though. It sounds like he is experiencing the issue I thought I had fixed with the most recent update. Is he absolutely sure he has the latest version, and that he did a full rebuild of PRS+, and then restarted his reader after copying the new installer across to make sure the newest version was installed?
BenChen is offline   Reply With Quote
Old 03-21-2011, 06:41 AM   #204
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
Problem with Mark's FreeCell in Sim

Quote:
Originally Posted by Mark Nord View Post
But I worked today to move the help-text of FreeCell into a simple text-control.
Thus reduced the size of "freecellLabels.png" dramatically.
Further more I was able to reduce the size of "freecellMain.png"
By reducing the colour-depth to 16 colours and by modifing the cutouts, so that a smaller template could be used.

This two approaches could be used with the other apps, too.
The use of a text-control for help enables also the use of translated help-texts!
Hi Mark,

I would love to see how this works, but I am having difficulty getting it to run in the Sim. Here is the relevant section from eBookSimMain.xml:

Code:
				 case "Freecell" : {
				 				kbook.autoRunRoot.getSoValue = _Core.system.getSoValue;
				 				kbook.autoRunRoot.hasNumericButtons = _Core.config.compat.hasNumericButtons;
								kbook.autoRunRoot._icon = 39;
								kbook.autoRunRoot._title = "Free Cell";
								kbook.autoRunRoot.getSoValue = _Core.system.getSoValue;
								kbook.autoRunRoot.getFileContent = _Core.io.getFileContent;								
								this.EINK.VIEW.setURI("../addons/Freecell/freecell.xml");				
								break;
								}
What have I done wrong?

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 03-21-2011, 07:33 AM   #205
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: 853
Karma: 314486
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by BenChen View Post
What have I done wrong?
Hi Ben,

you have done nothing at all. It's my bad. I used half of yesterday to fix the Sim, but havn't posted the corrected code.

Error is in _Prsplus.js

References to Core.string aren't corrected to the new Core.text

Will post the fix in the evening.

Again sorry.
Mark

Last edited by Mark Nord; 03-21-2011 at 05:22 PM. Reason: typo
Mark Nord is offline   Reply With Quote
Old 03-21-2011, 01:40 PM   #206
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
Hi Ben,

you have done nothing at all. It's my bad. I used half of yesterday to fix the Sim, but havn't posted the corrected code.

Error is in _Prsplus.js

Refereces to Core.string aren't corrected to the new Core.text

Will post the fix in the evening.

Again sorry.
Mark
Hi Mark,

Thanks for letting me know. I look forward to the update!

Sincerely,
BenChen.
BenChen is offline   Reply With Quote
Old 03-21-2011, 04:58 PM   #207
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: 853
Karma: 314486
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Hi everyone!

I have updated SIM-Code to the state at my hard-disk per today in post#59 (FSK Test x.05.rar (2.87 MB))
Mark Nord is offline   Reply With Quote
Old 03-22-2011, 02:59 AM   #208
TJ27
Enthusiast
TJ27 doesn't litterTJ27 doesn't litter
 
Posts: 44
Karma: 198
Join Date: Mar 2011
Location: Russia, Saratov
Device: Sony PRS-350
Mark Nord
Thank you, fixed version of the Sim 05 use "eBookSimMain800.xml" work fine.(button in right corner)
If i use "eBookSimMain.xml" and vetical resolution 1024+ form not resizing large, only smaller.
TJ27 is offline   Reply With Quote
Old 03-22-2011, 04:08 AM   #209
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: 853
Karma: 314486
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by TJ27 View Post
If i use "eBookSimMain.xml" and vetical resolution 1024+ form not resizing large, only smaller.
Hello TJ27, and welcome at MR!

There should be a "drag-box" in the bottom right corner to enlarge the program-window.
Also a Double-Click at any empty-space will toggle between full-screen and window-mode.

HTH
Mark
Attached Thumbnails
Click image for larger version

Name:	Bild1.jpg
Views:	243
Size:	69.3 KB
ID:	68774  
Mark Nord is offline   Reply With Quote
Old 03-22-2011, 04:43 AM   #210
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
Sim v0.5 (and FreeCell)

Hi Mark,

Thanks for the update. It works perfectly in the Sim. I like the textbox control! This evening, I will try it out on my 600.

Assuming it works, you have my blessing to go ahead and do the same for Mahjong! I have attached the English help document, so you don't have to type it all in again...

Sincerely,
Ben.
Attached Files
File Type: txt MahJong_Help_EN.txt (1.2 KB, 205 views)
BenChen 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 09:54 AM.


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