MobileRead Forums
Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Welcome to the MobileRead Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community today, you will have fewer ads, access to post topics, communicate privately with other members, respond to polls, upload content and access many other special features.

If you have any problems with the registration process or your account login, please contact us.

Hint: Don't have time to visit us daily? Subscribe to our main RSS feed to receive our frontpage posts at your convenience.

Notices

Sony Reader Dev Corner Linux, hacking and development of software and hardware

Reply
 
Thread Tools Search this Thread Display Modes
Old 12-07-2009, 07:54 AM   #1
kartu
PRS+ author
kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.
 
Posts: 596
Karma: 1367
Join Date: Dec 2007
Device: Sony PRS-505, 600, 300
Wink Enhanced firmware for PRS 505, Books by Folder, Sudoku & more

Changelog
1.1.0beta is out (localization, pages per minute, dictionary by clemenseken & lisak, book history by kravitz, menu customization by kravitz, default zoom levels by kravitz)
http://www.mobileread.com/forums/sho...&postcount=994


1.02 Changes
==== Script ====
* Added "EpubUserStyle" addon that allows to switch between files with .css extension located in /database/system/PRSPlus/epub folder
* Added "TextEncoding" addon, that allows to switch between Latin1 / win1521 encodings in text/rtf files.
* Added mount/umount feature to BrowseFolders (experimental). SD cards with folder structure of any complexity should now be accessible. Mounting and unmounting takes roughtly half a second.
* Removed obsolete prsp.sh samples
==== Firmware ====
* Support for switching between win1251/Latin1 txt/rtf file encodings
* Removed prsp.sh call from SD card, added . call to /database/system/PRSPlus/prsp.sh (located in Internal Memory)
* Added porkupan's (aka boroda) "is usb connected" check, if reader is connected via USB during startup, neither prsp.sh is called, nor LD_PRELOAD is set.


1.01 Changes
==== Script ====
* Added chinese and Russian shell script samples
* Added VICTORSJG's "menu index"
* Fixed missing string problem for next/previous song actions.
* Fixed NaN problem in epubs page index
==== Firmware ====
* Fixed call to prps.sh

1.0 Changes
==== Script====
Added settings to disable usage of "titleSorter" field. (useful in case someone has half-balked LRFs)
Added thawk's titleSorter support (titleSorter is an invisible field in LRF files that is used for sorting)
Added next/previous song actions by KrzyInuYasha?
Added PRS+ version info to ABOUT
Fixed problem with screenshot confirmation message (it wasn't disappearing in some cases)
Fixed problem with "doCenter" like keys, caused by multiple keys being bound to a single function.
Fixed epub page number bug.
==== Firmware =====
Added win1251 to UTF-8 (cyrillic only) so file) (for "export LD_PRELOAD=/opt/sony/ebook/application/Latin1toUTF8.so" hack)
Added call to /Data/database/system/PRSPlus/prsp.sh file to startup shell script.
Added igorsk's libfskLoad.so to /opt/sony/ebook/application folder, with corresponding prspVm.xml file (used by dictionary and similiar apps)


1.0RC2 Changes

Script
Fixed problem with "doCenter" like keys, caused by multiple keys being bound to a single function.
Fixed problem with screenshot confirmation message (it wasn't disappearing in case image was saved to internal memory)
About
Project has started as simple "Books by Folder" feature, but has quickly grown into something bigger.

This is the project site:
http://code.google.com/p/prs-plus/

Feature request page:
http://code.google.com/p/prs-plus/wiki/FeatureRequests

Install guide:
http://code.google.com/p/prs-plus/wiki/InstallGuide

User guide:
http://code.google.com/p/prs-plus/wiki/UserManual

Project status:
Features implemented/integrated at the moment (this list is outdated):

* Browse Folders for books (sort by author, title, filename, author swapping surname/name)
* Menu Captions (aka Unified headers, always small, always big, sony default)
* Page Index (page index style "1 of 100", "1/100", "1/100 (0%)" etc)
* Clock (configurable via "Addon Settings")
* Screenshot (allows to make screenshots)
* Key Bindings
* Starting custom shell scripts on startup

*Last, but not least*, [http://www.mobileread.com/forums/showthread.php?t=66102 customizing epubs] was integrated (path to custom css is: internal memory /database/system/PRSPlus/epub/style.css)

*Note:* Important option of "Browse Folders" is: disabling MS/SD card scanning (configurable). In this mode, external card scanning is instant, additional option to copy book to internal memory appears if you try to open book located on SD/MS card, but it's no longer possible to open books directly on SD/MS card. (advanced users can enable/disable card scanning per card, by creating ".noscan" file in the root of the card)

Screenshots:

Last edited by kartu; 05-24-2010 at 05:55 PM.
kartu is offline   Reply With Quote
 
Enthusiast
Old 12-07-2009, 09:14 AM   #2
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 532
Karma: 404
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505
That looks rather nice, I may give it a go when I get time.
Cheers, H
__________________
Howard
"DRM: Distressed Reading Members."
pthwaite is offline   Reply With Quote
Old 12-07-2009, 10:17 AM   #3
pepak
Fanatic
pepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with others
 
Posts: 573
Karma: 2722
Join Date: Mar 2008
Device: Sony Reader PRS-505
Books by Folder, mmm. Will have to try that.

As far as joypad control is concerned, can it be turned off? I prefer the original use of navigating links (up and down) and history (left and right).
pepak is offline   Reply With Quote
Old 12-07-2009, 10:18 AM   #4
kartu
PRS+ author
kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.
 
Posts: 596
Karma: 1367
Join Date: Dec 2007
Device: Sony PRS-505, 600, 300
Quote:
Originally Posted by pepak View Post
Books by Folder, mmm. Will have to try that.

As far as joypad control is concerned, can it be turned off? I prefer the original use of navigating links (up and down) and history (left and right).
Yes, just delete the corresponding JS file from the addons folder, in this case JoypadPageForward.js.
kartu is offline   Reply With Quote
Old 12-07-2009, 11:38 AM   #5
pepak
Fanatic
pepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with others
 
Posts: 573
Karma: 2722
Join Date: Mar 2008
Device: Sony Reader PRS-505
First I tried getting "books by folder" to work without flashing the image, but apparently that doesn't work. Oh well. Will flash now...
pepak is offline   Reply With Quote
Old 12-07-2009, 12:03 PM   #6
pepak
Fanatic
pepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with others
 
Posts: 573
Karma: 2722
Join Date: Mar 2008
Device: Sony Reader PRS-505
It works! That's great news!

My only problem is that at the moment I can't get both books by folders and PRS Customizer optimalizations. I thought a sequence of

1) Copy new_opt to card
2) "Copy image from the card"
3) "Flash the image"
4) "Make a new image"
5) "Flash the image"
would do the trick, but it didn't. I'll try it again now to make sure I didn't make any mistake.
pepak is offline   Reply With Quote
Old 12-07-2009, 12:22 PM   #7
kartu
PRS+ author
kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.
 
Posts: 596
Karma: 1367
Join Date: Dec 2007
Device: Sony PRS-505, 600, 300
Guys, please note, that it is still work in progress.

Prepak, It won't work with PRSCustomizer until its author updates it. Tell me what features do you miss most and I'll give them higher priority.

Most options provided by PRSCustomizer will be included as configurable options in the near future. (key bindings in particular)

Last edited by kartu; 12-07-2009 at 12:29 PM.
kartu is offline   Reply With Quote
Old 12-07-2009, 12:29 PM   #8
pepak
Fanatic
pepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with others
 
Posts: 573
Karma: 2722
Join Date: Mar 2008
Device: Sony Reader PRS-505
At the moment, user selectable fonts.

I am still trying to combine both PRS Customizer and your Enhancer in one pack. Hopefully it will work.
pepak is offline   Reply With Quote
Old 12-07-2009, 12:31 PM   #9
kartu
PRS+ author
kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.
 
Posts: 596
Karma: 1367
Join Date: Dec 2007
Device: Sony PRS-505, 600, 300
You need to include my code from applicationStart.xml for it to work.
You can send me the fonts you want it to have and I'll create new_opt.img with them.
kartu is offline   Reply With Quote
Old 12-07-2009, 12:42 PM   #10
pepak
Fanatic
pepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with others
 
Posts: 573
Karma: 2722
Join Date: Mar 2008
Device: Sony Reader PRS-505
I went the other way around - extracting files from your image, comparing them to a PRS Customized image and modifying PRS Customizer files with your updates. In a minute or so I will know if I finally succeeded (the theory was fine all along, I just kept doing stupid mistakes such as copying your changes to a wrong file...).
pepak is offline   Reply With Quote
Old 12-07-2009, 12:44 PM   #11
jeromedevine
Junior Member
jeromedevine began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2009
Device: Sony PRS-505
Hi, can you change the orientation of the screen (when zooming with long-press of zoom button) to go clockwise instead of anticlockwise, so that the buttons come handily for a right-handed person?

Thanks. luv the hack you're making!
jeromedevine is offline   Reply With Quote
Old 12-07-2009, 12:47 PM   #12
pepak
Fanatic
pepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with others
 
Posts: 573
Karma: 2722
Join Date: Mar 2008
Device: Sony Reader PRS-505
Yep. Got it. I have a PRS-Customized Reader with Books By Folder! Will write a how-to in a few minutes.

Meanwhile, a few suggestions/bugreports:

1) I can't get Books by Folder to work on internal memory, even with your standard image. It just won't display any folders. SD card works fine, though.

2) It might be a good idea to place both autorun.js and addons/* to an extra directory. /Sony Reader or /database (since it has to exist anyway) would be a better starting point, IMHO. That way the internal memory will remain uncluttered by unneeded files and folders where they are in full view.

Last edited by pepak; 12-07-2009 at 12:49 PM.
pepak is offline   Reply With Quote
Old 12-07-2009, 12:51 PM   #13
pepak
Fanatic
pepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with others
 
Posts: 573
Karma: 2722
Join Date: Mar 2008
Device: Sony Reader PRS-505
Re: 1): Is it because rootFolder is set to /Data/database/media/books while I keep my books in /books? Will try now.
pepak is offline   Reply With Quote
Old 12-07-2009, 12:53 PM   #14
kartu
PRS+ author
kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.kartu is no ebook tyro.
 
Posts: 596
Karma: 1367
Join Date: Dec 2007
Device: Sony PRS-505, 600, 300
Prepak

1) Books by Folder doesn't show the root of the IM, but the /database/media/books. If there are no other cards, the IM is chosen automatically.
2) The current structure is meant only for beta testing and quick updates. I am still not sure what's the best way for the release. Whether I'll keep the js files in IM or include them in /opt etc.

jeromedevine
I doubt it's that easy, but will give it a try.
kartu is offline   Reply With Quote
Old 12-07-2009, 12:58 PM   #15
pepak
Fanatic
pepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with otherspepak plays well with others
 
Posts: 573
Karma: 2722
Join Date: Mar 2008
Device: Sony Reader PRS-505
Re 1: Yep. When I fixed the root path, I could read the books in my directory structure.

Will go about writing that guide now.

Also, I will want to publish a guide in Czech language on my blog. Do you mind if I post the updated files there, for those people who are not too familiar with modifying files by hand?
pepak is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which firmware for PRS-505? mszklano Sony Reader 3 05-07-2010 01:09 AM
updating 505 firmware w/ Mac & Calibre maynard Sony Reader 3 04-21-2009 07:13 PM
New PRS-505 has different Firmware. sirhunter2010 Sony Reader 13 04-01-2009 01:54 PM
SUDOKU game for PRS-500 and PRS-505 obelix Sony Reader 61 01-25-2009 02:46 PM
Help - can't update my PRS-505 firmware lobo Sony Reader Dev Corner 6 09-11-2008 09:33 PM


All times are GMT -4. The time now is 06:34 PM.


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