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-10-2011, 02:57 PM   #331
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
Oops, I spoke too soon. I hadn't copied MineSweeper over to the prs-plus folders, and when I did, ant failed with the same errors as before.
I think the errors are in the boot file "MineSweeper.js ". If I delete this file the installer does not give errors.
surquizu is offline   Reply With Quote
Old 05-10-2011, 03:54 PM   #332
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
@surquizu, ben,

you are right, and I'm blind.

"MineSweeper.js"-starter-code is/was corrupt.
Code:
title: "MineSweeper",
The closing quote in the title: definition was missing.

As TJ27 is using his own-build startercode everything is fine for him

@kartu
Calc input if 0.0x should be fixed.
(Code was inherited form the web-source I used. As this site is off-line at this moment, I can not check this behaviour with the original version.)

Both changes are pushed to repository apps. (I don't want to mess with default)
Regards
Mark
Mark Nord is offline   Reply With Quote
Old 05-11-2011, 05:59 AM   #333
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, does minesweeper run on prs 505 or only on prs x50 for the moment?

thanks
VICTORSJG is offline   Reply With Quote
Old 05-11-2011, 08:44 AM   #334
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
VICTORSJG
the current version works only with touch-devices, there isn't even a function to exit it on PRS300/505.

But support for 300/505 is the next step on the schedule, so please standby.
Mark Nord is offline   Reply With Quote
Old 05-11-2011, 09:21 AM   #335
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
Quote:
Originally Posted by Mark Nord View Post
VICTORSJG
the current version works only with touch-devices, there isn't even a function to exit it on PRS300/505.

But support for 300/505 is the next step on the schedule, so please standby.
Ok, i'll wait for the update, take the time you need. I've seen what you say when i tried to use minesweeeper on the simulator with non-touch-devices.

thanks

Last edited by VICTORSJG; 05-11-2011 at 09:28 AM.
VICTORSJG is offline   Reply With Quote
Old 05-12-2011, 08:22 AM   #336
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 just added the saving of the best times to a file. Hope it works for you! (I've tested it on my 600 and it works fine.) I used the same file location as FiveBalls.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 05-12-2011, 01:40 PM   #337
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,

thank you, I will definitely look into your code.
I think I will append it to store some settings like gamemode and custom layout too.
regards
Mark
Mark Nord is offline   Reply With Quote
Old 05-12-2011, 02:25 PM   #338
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
I think I will append it to store some settings like gamemode and custom layout too.
Hi Mark,

That will be fine. And, again, thanks for all your work on MineSweeper. It looks excellent!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 05-15-2011, 02:16 PM   #339
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
Newer code pushed to the repository.
  • Settings and BestTimes are stored and reloaded
  • basic functionality for non-touch readers implemented
  • messed around to get a menu-equivalent for nt-reader, not functional yet. but looks pretty cool
Mark Nord is offline   Reply With Quote
Old 05-17-2011, 07:21 PM   #340
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
Newer code pushed to the repository.
  • Settings and BestTimes are stored and reloaded
  • basic functionality for non-touch readers implemented
  • messed around to get a menu-equivalent for nt-reader, not functional yet. but looks pretty cool
Hi Mark,

Minesweeper does not work on the reader PRS-505. Appears on the menu of "Games and utilities" but not opens. Locks the reader.
"The non-touch version only works in the simulator?

Thanks
surquizu is offline   Reply With Quote
Old 05-18-2011, 01:51 AM   #341
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
Hi Mark,

Minesweeper does not work on the reader PRS-505. Appears on the menu of "Games and utilities" but not opens. Locks the reader.
"The non-touch version only works in the simulator?

Thanks
Hi surquizu!

Thanks for reporting. You are right, I develope/test the code only in the sim and havn't tried on the device right now.
I will try to check it next weekend with a new install of PRS+2.0.11beta
regards
Mark

PS: Another tougth: Are you using the addons folder out of the default-repository, or the one from apps?
If the former, then maybe AppAssets is missing.

Last edited by Mark Nord; 05-18-2011 at 08:49 AM. Reason: typos
Mark Nord is offline   Reply With Quote
Old 05-18-2011, 10:24 AM   #342
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 am having great difficulty in getting the new save/load routines working on my 600. I think I have tracked the issue down to the use of FileSystem.getFileInfo. Basically, it looks like this function just doesn't work. Do you know if there is something extra we need to do elsewhere in the PRS+ files to get it to work?

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 05-18-2011, 10:49 AM   #343
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
.. the use of FileSystem.getFileInfo. Basically, it looks like this function just doesn't work.
No idea. As you may have noticed, the use of FileSystem.getFileInfo is the only part taken form your (Clemensekens) save-routine for Fiveballs and MineSweeper.
Will have a look.
Regards
Mark

EDIT: is it really FileSystem.getFileInfo or is it the conditional assignment of datPath?
Have you tried to set datPath harad to '/Data/minesweeper.dat' ?

Last edited by Mark Nord; 05-18-2011 at 11:26 AM.
Mark Nord is offline   Reply With Quote
Old 05-18-2011, 11:57 AM   #344
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
No idea. As you may have noticed, the use of FileSystem.getFileInfo is the only part taken form your (Clemensekens) save-routine for Fiveballs and MineSweeper.
Will have a look.
Regards
Mark

EDIT: is it really FileSystem.getFileInfo or is it the conditional assignment of datPath?
Have you tried to set datPath harad to '/Data/minesweeper.dat' ?
Hi Mark,
I just checked and saw that the getFileInfo was working back in my first save routine for MineSweeper. I will have to try removing the conditional assignment for datPath. But I did use one of the "work under progress" labels to output the contents of datPath and it looked OK on my 600...
Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 05-18-2011, 03:03 PM   #345
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
Ben,

have you tried to delete "minesweeper.dat" form IM?
I've changed the fileformat to:
Code:
gameFormat:Intermediate
cMaxBombs:10
cMaxY:8
cMaxX:8
openRemaining:false
useFirstClickUseful:true
useMacroOpen:true
useQuestionMarks:true
CustomBestTime:999
ExpertBestTime:999
IntermediateBestTime:999
BeginnerBestTime:100
And while the whole "target.loadSettings = function ()" is encapsulated by a try-catch block, there is no finally statement to close the stream, so the file may be locked by the system.
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 07:17 PM.


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