![]() |
#76 |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Great job, BenChen, I'll include it into PRS+ (don't expect it soonish, I'm busy with RL for a
while) Mark, regarding IM corruption, there is an "evil" caching mechanism that affects anything loaded from a sandbox. (stuff loaded from "normal" code also gets cached, but there is an easy workaround (works at least on 300): rename old file, put new file, delete old file. This doesn't work with sandboxed cache, unfortunately). Other than that, connect to USB during startup, format IM, shutdown from menu should fix existing IM problems. |
![]() |
![]() |
![]() |
#77 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
New game to try: Five In A Row (updated)
Hi all,
I found a minor bug: the "Player 2 won!" message did not appear. The attached version fixes this. I've also included Mark's loader script in the zip file. Thanks, Kartu, for saying you will put it into PRS+. No hurry! Sincerely, Ben. UPDATE: Latest version now found in post #145. Last edited by BenChen; 02-10-2011 at 08:02 AM. Reason: Zip file moved to post #145 |
![]() |
![]() |
Advert | |
|
![]() |
#78 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
|
I do not get it to work in the PRS+ for the 505
![]() |
![]() |
![]() |
![]() |
#79 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 853
Karma: 314486
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Me, too.
I was hoping that this was caused by still using an early 1.0.2+ version of PRS+ on my 505. But if surquizu states it isn't working with v1.1.3, there must be an general problem with code in the Sim vs the real device. With both, Sudoku and Fiverow, the UI shows up but didn't accept any input. The "do not enter oneway" sign shows up with each keypress. With Fiverow all skins (Touch and nonTouch) are shown, so there must be a proplem in the JS-code probably within target.init, or even earlier in code. I can think of two sources of the problem:
PS: @Ben: There are no problems with the PRS-600? The touch-interface is still accessible after closing the app? |
![]() |
![]() |
![]() |
#80 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
@Mark: Absolutely no problems with the PRS-600. Game works perfectly, and after exiting, the PRS-600 is working normally.
Furthermore, I just converted FiveBalls to Touch using the Test Environment, and then incorporated it into my custom-build of PRS+ and loaded it onto my PRS-600. Everything works fine (with the exception that the high score is not saved). I was going to upload the code, but if there is an issue with Five In A Row, then perhaps we should try and get that fixed, so that the same can be done for FiveBalls. |
![]() |
![]() |
Advert | |
|
![]() |
#81 | |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 853
Karma: 314486
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
It seams, that I have tracked down the problem with v1.1.3 to the handover via kbook.autoRunRoot.xyz in the starter script.
By avoiding any references to Core I am able to have Fiverow on my PRS-505 Spoiler:
There are still problems:
After sorting out the Num-button problem, I will post a complete package. Quote:
![]() If you will try Mahjong too, there is a non obfuscated version in clemenseken's thread here. |
|
![]() |
![]() |
![]() |
#82 | |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 853
Karma: 314486
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Five In A Row fixed for PRS-505 PRS+v1.1.3
Here you go..
As there are major changes between PRS+v1.1.x and PRS+v2.0.x this is only a temporary fix to get this working with Sony PRS-505. As it is working for the PRS-600 with PRS+v2.0.x it will, probably, work unchanged in v2 for PRS-300 and the forthcoming v2 for PRS-505 Regarding the not working numeric buttons: part.key is character! So you have to typecast to numeric. @surquizu will you please try too? Quote:
Last edited by Mark Nord; 12-12-2010 at 05:21 AM. Reason: new fix and autorun-code |
|
![]() |
![]() |
![]() |
#83 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
|
I can not
![]() |
![]() |
![]() |
![]() |
#84 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Touch version of Fiveballs
Here's my touch version of Fiveballs. I made a couple of cosmetic changes, too, getting rid of the diagnostic output showing which button was pressed, and showing the most recent score in brackets.
Note: on my PRS-600 the high score is not saved! Does anyone know how to fix that? Note that to get this working in the Test Environment, you need to edit eBookSimMain.xml and change Code:
case "Fiveballs" : { this.EINK.VIEW.setURI("../addons/Fiveballs/fiveballs.xml"); break; } Code:
case "Fiveballs" : { kbook.autoRunRoot.getSoValue = _Core.system.getSoValue; kbook.autoRunRoot.hasNumericButtons = _Core.config.compat.hasNumericButtons; this.EINK.VIEW.setURI("../addons/Fiveballs/fiveballs.xml"); break; } UPDATE: Latest version now found in post #145. Last edited by BenChen; 02-10-2011 at 08:03 AM. Reason: Zip file moved to post #145 |
![]() |
![]() |
![]() |
#85 | |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 853
Karma: 314486
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Quote:
it's not your fault. prsp.xsb isn't scriptable in PRS+v1.1.3 and so target.init() fails. (It's more my fault to have not the release version on my reader, but a modified one, taking advantage of some v.2 features.) Now I have put try catch blocks around prsp.compile and newEvent, and tested successful even as autorun-app on a completely untouched eReader. Corrected fix and autorun are posted in Post #82 |
|
![]() |
![]() |
![]() |
#87 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
|
It works well at 505 with PRS +.
![]() There was a small error in the code. Is already fixed. Upload files to copy to the PRS + installer. Coming soon will be integrated into the PRS + for Spanish users of 505. Thanks Mark Nord and thanks BenChen! |
![]() |
![]() |
![]() |
#88 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
You're very welcome!
|
![]() |
![]() |
![]() |
#89 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Update: Mahjong for Touch
Hi everyone,
I just finished a first-pass attempt at a Touch-compatible version of Clemenseken's Mahjong game. To activate Touch in the Test Environment, edit eBookSimMain.xml and change Code:
case "Mahjong" : { this.EINK.VIEW.setURI("../addons/Mahjong/mahjong.xml"); break; } Code:
case "Mahjong" : { kbook.autoRunRoot.getSoValue = _Core.system.getSoValue; kbook.autoRunRoot.hasNumericButtons = _Core.config.compat.hasNumericButtons; this.EINK.VIEW.setURI("../addons/Mahjong/mahjong.xml"); break; } Sincerely, Ben. EDIT 1: Removed some unnecessary graphics at the top of the screen. EDIT 2: Fixed menu bug in non-Touch (thanks Mark!) and added two buttons to the Touch version: "New layout" and "Easy/Normal" (again, thanks to Mark for the redeployed Calculator buttons!). I think that's it... UPDATE: Latest version now found in post #145. Last edited by BenChen; 02-10-2011 at 08:04 AM. Reason: Zip file moved to post #145 |
![]() |
![]() |
![]() |
#90 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Just to say it worked well on my PRS-600, using my custom build of PRS+.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |