View Single Post
Old 12-25-2006, 10:00 PM   #15
masa
Member
masa began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Nov 2006
Device: PRS-500
OK. Let you know. Before I explain this, I appologize for poor english grammar when you read

1. Download files
1-1. python 2.5 ( http://www.python.org/ftp/python/2.5/python-2.5.msi )
1-2. korean localization package ( http://clien.career.co.kr/zboard/zbo...c=asc&no=13624 )

2. Install python
2-1. install python 2.5 ( Install folder may be c:\python25\
2-2. extract prs500hanglepack.zip
2-3. extract cksum & cramfs & ebookpy.zip file, and copy all of files to the c:\python25\

3. Backup your prs-500. (You must plug both usb and power cable to the bookreader.)
3-1. run command window. ( cmd )
3-2. go to the python folder. ( cd \python25)
3-3. type [ python ebook.py get /dev/mtd14 0x40A000 ]. (case sensitive)
3-4. After 10 minutes, press ctrl + pause break.
3-5. rename 0x40A000 to mtd14. ( this is an origianl backup file. I recommend you keep copy of this file.)

4. Extract backup mtd14 file.
4-1. Type cramfsck.exe -v -x opt -d opt.dt mtd14
4-2. You may see new /opt folder in the c:\python25

5. Change extracted rom file.
5-1. Open [ E:\Python25\opt\sony\ebook\application\resources\s cripts\main.xml ] files.
5-2. Change three strings at 8, 42, 45 lines to your new TrueTypeFont.
5-3. Copy new TTF files to [ c:\Python25\opt\sony\ebook\FONT ]
You can use any kinds of .ttf files. Of course unicode TTF files.
You must find exact font name. I recommend to use Font Creator Utility.

6. zip extracted rom files.
Type [ mkcramfs -D opt.dt opt opt.fs ]
Total size of opt.fs file must be less than 7 MB.

7. Go to the dibugger mode.
Type [ python ebook.py um recovery ]
Then, bookreader will reboot automatically, and show this screen.
http://www.clien.net/zboard/data/ima...erhangle10.jpg

8. Update
After few seconds, type it
[ python ebook.py pwrite "Fsk" opt.fs ]
And type y, and press enter

9. Finish dibugger mode
Type [ python ebook.py um normal ].
That's all. All works finish, and bookreader will automatically reboot, and come back
to the normal mode.

Enjoy new windows font
masa is offline   Reply With Quote