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 11-26-2011, 06:54 AM   #3046
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
Quisvir, what the functions of StandbyImage.js are operational on prs-505 al the moment?

Where should the file customtext.cfg be created? Is it possible to change it without flash the reader again, only to replace it for other? how many characters and lines can the file customtext.cfg have?

Thanks
VICTORSJG is offline   Reply With Quote
Old 11-26-2011, 08:22 AM   #3047
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
Victor: Mark Nord has added a number of bugfixes and a patched writescreen file, so the current repository revision should be fully functional on your 505. The path for the custom text is the 'regular' PRSPlus folder on IM:

/database/system/PRSPlus/
quisvir is offline   Reply With Quote
Advert
Old 11-26-2011, 08:34 AM   #3048
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
quisvir, when I edit customtext.cfg, there are some strange symbols which appear in the screen after the text. Can it be because of the format (DOS/UNIX)?

Thank you.
Terisa de morgan is offline   Reply With Quote
Old 11-26-2011, 08:55 AM   #3049
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
That's probably a line ending in the cfg file. The code to read the file is a bit basic, causing things like that to show up. It's a temporary problem though; I'm planning to change the settings to have separate standby & shutdown texts, change the file reading routine, and provide a sample file. And for now, if you remove the line ending, those strange symbols should disappear.
quisvir is offline   Reply With Quote
Old 11-26-2011, 09:02 AM   #3050
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Well, that happens for being too fast I'll wait for your changes.

BTW, perhaps I'm a bit dumb, but... how do the addon for saving notes work? I haven't being able to find the way to launch it.
Terisa de morgan is offline   Reply With Quote
Advert
Old 11-26-2011, 09:06 AM   #3051
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
Kartu, could you create a new wiki with the different folders and paths used for the scrips of the PRSPlus?



Spoiler:
/data/databook/system/prsplus/gamesave/calc

file calc.dat contents of memory cells

/data/databook/system/prsplus/gamesave/calendar

file calendar.dat events defined by customs

("# General Event-Format is: Type; Month; Day; Year; Icon; Text");
("# Type can be: Y<early, M<onthly, W<eekly, F<loating, BLANK for one-off events");
("# Float-Format: F; Month; Cardinal Occurrence; Day of Week (Sun=0; Monday=1); Icon; Text");
("# Special Float-Format: F;3;0;0;Icon;Easter Sunday");
("# Icons: 3=Default, 4=Birthday, 5=Christmas, 6=Two Hearts, 7=Anniversary, 8=Airplane, 9=Car");
("# Icons: 10=St. Patrick's Day, 11=Thanksgiving, 12=New Year's Day, 13=R.I.P., 14=Easter");

file settings.dat shows the settings make by customs on calendar

/data/databook/system/prsplus/gamesave/Chess

file chess.dat

/data/databook/system/prsplus/gamesave/FiveBalls

file fiveballs.dat

/data/databook/system/prsplus/gamesave/Mahjong

file mahjong.dat

/data/databook/system/prsplus/gamesave/MineSweeper

file minesweeper.dat

/data/databook/system/prsplus/gamesave/Sudoku

file sudoku.dat

/databse/system/PRSPlus/epub

file xxxx.css to use on books in epub format

/database/system/PRSPlus/wallpaper

files images in .jpg, .bmp, .png to use on StandbyImage.js

/data/databook/system/PRSPlus/ScreenShots

file of the screenshots .jpg, .bmp

/database/system/PRSPlus/ (StandbyImage.js)

file customtext.cfg to use on StandbyImage.js

To change EPUB fonts
• Put this file into /database/system/PRSPlus/epub folder on the reader. (create missing directories, if needed, path is CASE SENSITIVE (i.e. "prsplus" is not the same as "PRSPlus")
• Switch to "FontsAsInLRF" via settings => PRS+ Settings => Book Viewer Settings => EPUB Style (configuration path might be a bit different on different models)

/database/system/PRSPlus/fonts

files xxxxx.ttf

LRF and system file fonts

files xxxxx.ttf in 505.1.1.00.18040\opt\sony\ebook\FONT\

To change fonts for LRF/TXT you need
• Fonts with glyphs of your interest, named (font names are not the same as file names!!!) as here
• simple shell script file that will replace standard fonts using linux's "mount --bind" command, say if your fonts are in /fonts in the root memory, the command will look like (what's "READER E:" for you, is /Data for the system, don't be confused):
mount --bind /Data/fonts /opt/sony/ebook/FONT
put it into "/database/system/PRSPlus/prsp.sh" file (create missing directories) or grab existing file here.

/databse/system/PRSPlus/Dictionary
file xxxx.dic


folders.cfg.sample

/database/system/PRSPlus/

#File format is:
# <name> <tab character> <path>
# lines starting with # symbol are ignored
Internal Memory /Data/database/media/books
Internal Memory2 /Data/database/media/books
SD Card a:


user.config.505

// This file allows you to move addon's directory anywhere you want.
// ************************************************** **************************
// It MUST be located in the root of your SD card (rename it to user.config)
// ************************************************** **************************
// Note:
// /Data - is a root of internal memory
//
// Note:
// Folder path MUST end with slash!

// where to search for addon resources
config.addonsPath = "b:/Beta/addons/";
// where to search for addon JS files
//could also be a file, if folder, all .js files will be combined into one
config.addonsFile = "b:/Beta/addons/";
// where to search for core resources (namely lang/<language>.js)
config.corePath = "b:/Beta/core/";
// where to search for core js files
// could also be a file, if folder, all .js files will be combined into one
config.coreFile = "b:/Beta/core/";
// what to log and what not, possible values are: all, trace, info, warn, error
config.defaultLogLevel = "trace";
// where to log
config.logFile = "b:/prsp_script.log";
// where to save settings
config.settingsPath = "b:/Beta/settings/";


user.config.600

// This file allows you to move addon's directory anywhere you want.
// ************************************************** **************************
// It MUST be located in the root of your SD card (rename it to user.config)
// ************************************************** **************************
// Note:
// /Data - is a root of internal memory
//
// Note:
// Folder path MUST end with slash!

// where to search for addon resources
config.addonsPath = "b:/Beta/addons/";
// where to search for addon JS files
//could also be a file, if folder, all .js files will be combined into one
config.addonsFile = "b:/Beta/addons/";
// where to search for core resources (namely lang/<language>.js)
config.corePath = "b:/Beta/core/";
// where to search for core js files
// could also be a file, if folder, all .js files will be combined into one
config.coreFile = "b:/Beta/core/";
// what to log and what not, possible values are: all, trace, info, warn, error
config.defaultLogLevel = "trace";
// where to log
config.logFile = "b:/prsp_script.log";
// where to save settings
config.settingsPath = "b:/Beta/settings/";

user.config.650

// This file allows you to move addon's directory anywhere you want.
// ************************************************** **************************
// It MUST be located in the root of your SD card (rename it to user.config)
// ************************************************** **************************
// Note:
// /Data - is a root of internal memory
//
// Note:
// Folder path MUST end with slash!

// where to search for addon resources
config.addonsPath = "/Data/Beta/addons/";
// where to search for addon JS files
//could also be a file, if folder, all .js files will be combined into one
config.addonsFile = "/Data/Beta/addons/";
// where to search for core resources (namely lang/<language>.js)
config.corePath = "/Data/Beta/core/";
// where to search for core js files
// could also be a file, if folder, all .js files will be combined into one
config.coreFile = "/Data/Beta/core/";
// what to log and what not, possible values are: all, trace, info, warn, error
config.defaultLogLevel = "trace";
// where to log
config.logFile = "/Data/prsp_script.log";
// where to save settings
config.settingsPath = "/Data/Beta/settings/";


user.config.950

// This file allows you to move addon's directory anywhere you want.
// ************************************************** **************************
// It MUST be located in the root of your SD card (rename it to user.config)
// ************************************************** **************************
// Note:
// /Data - is a root of internal memory
//
// Note:
// Folder path MUST end with slash!

// where to search for addon resources
config.addonsPath = "/Data/Beta/addons/";
// where to search for addon JS files
//could also be a file, if folder, all .js files will be combined into one
config.addonsFile = "/Data/Beta/addons/";
// where to search for core resources (namely lang/<language>.js)
config.corePath = "/Data/Beta/core/";
// where to search for core js files
// could also be a file, if folder, all .js files will be combined into one
config.coreFile = "/Data/Beta/core/";
// what to log and what not, possible values are: all, trace, info, warn, error
config.defaultLogLevel = "trace";
// where to log
config.logFile = "/Data/prsp_script.log";
// where to save settings
config.settingsPath = "/Data/Beta/settings/";

Last edited by VICTORSJG; 11-26-2011 at 11:50 AM.
VICTORSJG is offline   Reply With Quote
Old 11-26-2011, 09:08 AM   #3052
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
Terisa de morgan:
No launching is necessary. If you enable the relevant options, any text memo or handwriting you make will be saved in a new folder called 'Notepads', by default in IM.
quisvir is offline   Reply With Quote
Old 11-26-2011, 09:44 AM   #3053
TJ27
Enthusiast
TJ27 doesn't litterTJ27 doesn't litter
 
Posts: 44
Karma: 198
Join Date: Mar 2011
Location: Russia, Saratov
Device: Sony PRS-350
Quote:
Originally Posted by Terisa de morgan View Post
quisvir, when I edit customtext.cfg, there are some strange symbols which appear in the screen after the text. Can it be because of the format (DOS/UNIX)?

Thank you.
Need UTF-8 encoding

Cyrillic text work fine in UTF8
TJ27 is offline   Reply With Quote
Old 11-26-2011, 10:49 AM   #3054
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
VICTORSJG:

user.config:

Where do you have to store this file for readers WITHOUT SD-CARD?
You mention the PRS300. It doesn't have a card slot.

Would this file provide the possibility to quick-test applications and altered PRS+ without completely installing PRS+ every time?

A.
Analogus is offline   Reply With Quote
Old 11-26-2011, 11:45 AM   #3055
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 Analogus View Post
VICTORSJG:

user.config:

Where do you have to store this file for readers WITHOUT SD-CARD?
You mention the PRS300. It doesn't have a card slot.

Would this file provide the possibility to quick-test applications and altered PRS+ without completely installing PRS+ every time?

A.
This is an error on project web becuase i had the files as they are shown in the repository.

In your case use this method (http://code.google.com/p/prs-plus/wi...ldingPRSPlus):

The "Beta" Build

In build/ there is a build target called build.beta. After you set your prsp.properties, run ant build.beta - this will create build/dist/<your_model_here>/Beta

Place the Beta folder in your internal memory. Notice that PRS+ contains the following:

<variable name="prspBetaStartupFile" value="/Data/Beta/prsp.js"/>

This means you can work on PRS+ development without having to run the installer each time, as PRS+ will simply load from Beta/prsp.js instead. You still have to restart the device though. Unfortunately, I don't know of a way to get around that yet.
VICTORSJG is offline   Reply With Quote
Old 11-26-2011, 11:50 AM   #3056
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
Thank you very much! That helps.

A.
Analogus is offline   Reply With Quote
Old 11-26-2011, 03:40 PM   #3057
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
For those interested: a new revision with separate standby/shutdown text options (including new customtext.cfg file) is now in the repository.
quisvir is offline   Reply With Quote
Old 11-26-2011, 04:22 PM   #3058
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
Thanks quisvir!

Maybe you can help me:

Most helpfull would be to could bind the PRS+CSS-dialogue to a button. Any idea how to manage it?


A.
Analogus is offline   Reply With Quote
Old 11-26-2011, 04:23 PM   #3059
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
Such an action is in the works, I believe (I'm not working on it myself).
quisvir is offline   Reply With Quote
Old 11-26-2011, 05:02 PM   #3060
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
Ok, then better waiting then trying myself ;-)

A.
Analogus is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using HD Folders as Collections on Sony PRS-505 fglaysher Calibre 8 07-26-2010 09:55 PM
Enhanced Firmware for V3 keng2000 HanLin eBook 12 04-12-2010 09:30 AM
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 70 02-18-2009 06:34 PM
Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 23 12-08-2008 06:56 AM
Sub folders in firmware v1.08 Prince Hal Amazon Kindle 28 10-23-2008 03:20 PM


All times are GMT -4. The time now is 06:56 AM.


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