Thread: iLiad FBReader
View Single Post
Old 03-14-2007, 01:27 PM   #1
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,695
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
FBReader

Update 3/16/07

My port of FBReader is working well and is ready for users. Right now, the most difficult part is installation. I'll have to rely on someone else to put together an installation script.

With this method, I'm able to open up files supported by FBReader (chm,rtf,fb2,pdb,tcr,prc) directly from the content lister. The pagebar works, and the screen refreshes as it should.

Known Problems:
1) The first time you use the page bar, it may not respond. Simply press it again and it will work.
2) You will need to use the close soft-button in the upper right to exit. If you press one of the News, Books, Docs, Notes, hardware buttons, FBReader will be hidden in the background and continue running. You will need to close it through a shell, or restart for it to be closed.

Typical Disclaimers Apply. Do not install this unless you know what you are doing. Working in the root filesystem is very dangerous!! Is is possible (though unlikely) to brick your iLiad. I take no responsibility if you do so. Install at your own risk.

http://projects.mobileread.com/iliad...r/fbreader.zip

To install:
1) Put the fbreader folder on the root of your CompactFlash Card.
2) Copy the .fbreader folder to your /home/root/ directory. This contains the settings to make files readable on the iLiad. You can change all of these in the options dialog.
3) You will need to edit the /mnt/settings/er_registry.txt file in order to launch programs from the content lister. The is the most dangerous part of the installation. If this file is formatted incorrectly, you iLiad will be rendered useless.

Change
Code:
[USER_APPLICATIONS]
uaIDList=BROWSER;IPDF;APABIMOBI;IMAGEVIEWER;SETUP;PROFILES;EBA;SHELL
to
Code:
[USER_APPLICATIONS]
uaIDList=BROWSER;IPDF;APABIMOBI;IMAGEVIEWER;SETUP;PROFILES;EBA;SHELL;FBREADER
Below

Code:
[EBA]
category=viewer
arguments=<FILENAME>
exec=/usr/bin/eba
xResourceName=eba
channel=14
extensions=eba;EBA
Add

Code:
[FBREADER]
category=viewer
arguments=<FILENAME>
exec=/mnt/cf/fbreader/FBReader
xResourceName=fbreader
channel=14
extensions=chm;CHM;rtf;RTF;fb2;FB2;pdb;PDB;tcr;TCR;prc;PRC
Below

Code:
XEB=/usr/share/contentlister/Icon_books.png
Add

Code:
chm=/usr/share/contentlister/Icon_books.png
CHM=/usr/share/contentlister/Icon_books.png
rtf=/usr/share/contentlister/Icon_books.png
RTF=/usr/share/contentlister/Icon_books.png
fb2=/usr/share/contentlister/Icon_books.png
FB2=/usr/share/contentlister/Icon_books.png
pdb=/usr/share/contentlister/Icon_books.png
PDB=/usr/share/contentlister/Icon_books.png
tcr=/usr/share/contentlister/Icon_books.png
TCR=/usr/share/contentlister/Icon_books.png
prc=/usr/share/contentlister/Icon_newspapers.png
PRC=/usr/share/contentlister/Icon_newspapers.png
I've included a copy of my er_registry.txt in the zip file for comparison.

Hope you all like it. Below is a screenshot of it reading an RTF downloaded from ManyBooks.net
Attached Thumbnails
Click image for larger version

Name:	fbreader4.png
Views:	607
Size:	221.5 KB
ID:	2945  
Adam B. is offline   Reply With Quote