View Single Post
Old 12-16-2009, 07:04 PM   #85
Nocturno
Junior Member
Nocturno began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2009
Device: Sony PRS-505
Quote:
Originally Posted by pepak View Post
How to combine PRS Customizer and Books By Folder

1) Install PRS Customizer, prepare all your customizations and copy them to your SD card.

2) Edit file (SD Card)/files.505.1.1.00.18040/opt/sony/ebook/application/resources/applicationStart.xml (replace the first part of the path according to your reader's firmware version).

3) Near the end of the file you will see this code:
Code:
		<function id="initialized">
			USBDispatcher.doRegister(this.getWindow())
			this.getDevice().doProcessed(100);
			this.getDevice().enableBlueLED(true);
		</function>
4) Replace that code with this (stolen/lifted/adapted from kartu's excellent work):
Code:
		<function id="initialized">
			USBDispatcher.doRegister(this.getWindow())
			this.getDevice().doProcessed(100);
			this.getDevice().enableBlueLED(true);
			try {
				var path = "/Data/autorun.js";
				if(FileSystem.getFileInfo(path)) {
					var f = new Stream.File(path);
					try {
						var fn = new Function("target", f.toString(), path, 1);
						fn(this);
					} finally {
						f.close();
					}
				}
			} catch(ignore) {
			}
		</function>
5) Copy autorun.js and the folder addons and its contents from Kartu's Book By Folder ZIP file to the root of your reader's internal memory.

6) Continue flashing as you would with PRS Customizer (boot with SD card inserted, choose "5) Make a new image", then "6) Flash the image")

7) Reboot and you are done!
If I donīt want the sudoku game, can I delete it from the addons folder?

What are the other addons? (1_utils, joypadpageforward and sandbox)
Nocturno is offline   Reply With Quote