View Single Post
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