View Single Post
Old 09-09-2010, 01:44 PM   #37
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Henrik
Well, it's a bit tricky. To test assets.xml do the following:

in /database/system/PRSPlus folder (create it if it doesn't exist, path is case sensitive) create file prsp.sh with the following content (EOLs should be unix style):

Code:
cp /Data/assets.xml /tmp
mount --bind /tmp/assets.xml /opt/sony/ebook/application/resources/scripts/languages/en/assets.xml
This would effectively replace English translation, with assets.xml that you'd put into root of internal memory. You'll need to reboot the reader every time you change the file.

You could test js file the same way. The path to English.js is:
/opt/sony/ebook/application/resources/prsp/lang/English.js

PS
Oh, if reader hangs during reboot, it means that you've done something wrong in prsp.sh. Reset it and quickly connect to USB, PRS+ won't start and you'll be able to fix/delete prsp.sh

Last edited by kartu; 09-13-2010 at 09:26 AM.
kartu is offline