![]() |
#31 |
Minister of Linux
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 196
Karma: 73235
Join Date: Jul 2007
Location: Winter Haven, Florida, USA
Device: nook, T-Mobile MyTouch 3G Slide
|
It's gonna take me a lot of "diff" time to figure out just which changes make up the "direct entry with enter" function so I can add it to my already hacked-up reader's files ;-) I'm working on it. Just don't want to lose what I already have (clock, mainly).
|
![]() |
![]() |
![]() |
#32 |
Literate!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
I'm currently working on a windows app that will allow you to easily build a custom group of hacks from all of the ones available. If you have a windows box somewhere, it should make the process significantly easier.
It probably won't be ready for a little while yet, so if you need it immediately, hack away! ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#33 | |
Minister of Linux
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 196
Karma: 73235
Join Date: Jul 2007
Location: Winter Haven, Florida, USA
Device: nook, T-Mobile MyTouch 3G Slide
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#34 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Mybe this Windows app can be written in Python for cross-platform compatibility.
|
![]() |
![]() |
![]() |
#35 | |
Literate!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
Quote:
![]() I had thought about doing it in Python, actually, but as much as I hate to admit it, .NET just makes things too easy to ignore it. Once it's done and proven, I may take a look at porting it. |
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Minister of Linux
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 196
Karma: 73235
Join Date: Jul 2007
Location: Winter Haven, Florida, USA
Device: nook, T-Mobile MyTouch 3G Slide
|
Do VB apps need an interpreter like BASIC or are they compiled as standalone? If the latter, it might work. As for .NET, I think mono can handle them, but I confess I haven't tried many mono apps.
|
![]() |
![]() |
![]() |
#37 |
Literate!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
I'm actually using C#, but it's the same end result as VB, which is a compiled app. I'm using relative directories, so it should work pretty easily... I hope.
|
![]() |
![]() |
![]() |
#38 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Nogg, think you can fix the bug in #16?
It was supposed to be setup so if I plugged the reader into the power supply or USB that it did not reset the page flip counter. But if I plug into the USB port (have not yet tried the power supply) it does reset the page flip counter. Any idea why and how to maybe fix it? |
![]() |
![]() |
![]() |
#39 |
Literate!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
Yeah, that's super easy.
I'm very close to having the app ready. The main program is done (first pass, at least). All I'm finishing up now is getting each of the hacks transferred over. Just a couple more to go. If you can't wait, it's really simple to fix on your own: in main.xml, look for this block: Code:
else if (id == "POWER") { if (value) { var lowBattery = this.getVariable("LOW_BATTERY"); if (lowBattery) this.setVariable("LOW_BATTERY", 0); this.batteryWarning = false; t = 0; } } |
![]() |
![]() |
![]() |
#40 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#41 |
Literate!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
On second thought, perhaps I spoke too soon. In the latest version of 16, I don't see the t = 0; line.
Let me know if you find the same thing, Jon. If you don't have it, something strange is going on. Also, does the counter reset when you do a soft reset? |
![]() |
![]() |
![]() |
#42 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I don't see the t = 0; line as well. Yet it still resets when I plug into the USB port. When I power off holding in enter, and then turn it back on, the counter is now at 2 instead of what it was.
|
![]() |
![]() |
![]() |
#43 |
Literate!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
Yeah, forgive me for that. I have about 50 different main.xml files all over my drive and sometimes I get them a little confused.
The only thing I can guess is that USB is somehow clearing the local variables, of which the counter is one. I'm not surprised that powering off resets the counter. I think the page counter will have to be upgraded to write itself to file like the clock setting does, which should solve both problems. I'll work on that once the hack app is done. |
![]() |
![]() |
![]() |
#44 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I do have one question about the shutdown. Has anyone actually verified that it actually shuts the power off and that it's using less power then before? If I take a fully charged Reader and shut it off, how long will it sit till it gets to 3 bars from 4? |
|
![]() |
![]() |
![]() |
#45 |
Literate!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
From what I can see, it should be pretty straightforward, but this platform is a little wonky, so I can't be sure.
![]() I don't know if anyone else has tried it besides you and me. For me, since I've been doing so much reflashing lately, I'm draining the battery much more than usual, so I have no idea. Once I'm done working on this stuff, I'll go back to my normal routine, which should give me a pretty good idea of how useful it is. If anyone has a reader they're not currently using (I know, I know), I'd ask them to try it out to see how the drain is. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
remember the last page for Newspaper Direct? | HansTWN | iRex | 4 | 08-10-2010 04:13 AM |
PRS505 Direct Page Control? | volwrath | Sony Reader Dev Corner | 6 | 01-02-2009 10:17 AM |
Use Enter key to turn page | lovebeta | Sony Reader Dev Corner | 5 | 11-27-2008 05:26 PM |
PRS-500 Direct Page Control Hack | diabloNL | Sony Reader Dev Corner | 73 | 06-01-2008 04:32 PM |
PRS-500 Help modifying the Direct Page Control hack | DoctorBri | Sony Reader Dev Corner | 4 | 12-30-2007 04:52 PM |