QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

[RELEASE] Bookr V8.1 to view PDF, TXT, PalmDoc, DJVU, CHM/HTML files

This is a discussion on [RELEASE] Bookr V8.1 to view PDF, TXT, PalmDoc, DJVU, CHM/HTML files within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hi all, I've built Bookr V8.1 with following changes: - Fixed crash when opening PDF file which has many pages. ...

Reply
 
LinkBack Thread Tools
Old 03-12-2009, 07:11 AM   #1
 
Join Date: Aug 2007
Posts: 9
Trader Feedback: 0
Default [RELEASE] Bookr V8.1 to view PDF, TXT, PalmDoc, DJVU, CHM/HTML files

Hi all,

I've built Bookr V8.1 with following changes:

- Fixed crash when opening PDF file which has many pages.
- Enhance MuPDF, uses less memory.
- Merged with latest source code from CVS with following enhancements:
+ DJVU support by Yang.Hu
+ Control/GUI enhancements by Christian Payeur

Links are in enclosed file.

Cheers,
Attached Files
File Type: txt bookrV81link.txt‎ (178 Bytes, 327 views)
nct2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-12-2009, 09:19 AM   #2
 
Join Date: Mar 2009
Posts: 1
Trader Feedback: 0
Default

it will be possible make that this software can open *.rgo files????

this format is great for mobile devices like cellphones and pda.

thnks fot your job!

(sorry for my english :P)
androxp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-12-2009, 10:15 AM   #3
 
Join Date: Dec 2005
Location: Texas
Posts: 1,087
Trader Feedback: 0
Default

Great release, nct2k!

Thanks for updating this awesome app.
__________________
[SIZE="5"][B]๏̯͡๏[/B][/SIZE]
Psypher is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-12-2009, 10:24 AM   #4
Enter Custom Title
 
dan369's Avatar
 
Join Date: Jan 2008
Real First Name: Dan
Location: Wales, cardiff
Just Played: Overlord 2
Posts: 1,308
Blog Entries: 1
Trader Feedback: 0
Default

Thanks, I like doing a bit of reading on the go. I still got BookR on my PSP
dan369 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-12-2009, 10:46 AM   #5
 
RyanF's Avatar
 
Join Date: Jan 2009
Posts: 44
Trader Feedback: 0
Default

Thanks for the update.
RyanF is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-12-2009, 03:33 PM   #6
 
M33_User's Avatar
 
Join Date: May 2008
Real First Name: M33
Posts: 291
Trader Feedback: 0
Default

Let Me Help You

Bookr V8.1 - a document reader for the Sony PSP

Download:
http://www.mediafire.com/download.php?obmaczmkgom

Source code:
http://www.mediafire.com/download.php?ddngmjnxmmd
__________________
Currently open for Testing. PM me. QJ letter limit is retarded.
M33_User is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-12-2009, 04:44 PM   #7
 
Join Date: Jul 2005
Location: Canada
Posts: 88
Trader Feedback: 0
Default

Thanks nct2k I had completely forgotten mentioning CVS until this came up on PDRoms today, glad to see you managed to include the extras from there.

One question, I suck at cpp so when I tried to compile it with the slim flag I ran into so many errors - is slim's extra accounted for in your build? Make that two I guess, if you run across anything that looks like it would cause pagination issues in txt/pdb when loading bookmarks it occasionally has an issue with being 3-5 lines off the actual page.
cory1492 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-12-2009, 06:27 PM   #8
 
My Mood: Cynical
Join Date: Sep 2006
Posts: 40
Trader Feedback: 0
Default

great, but I found one error - after finished application do not remember last adjusted font
niobe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-12-2009, 06:50 PM   #9
 
Join Date: Aug 2007
Posts: 9
Trader Feedback: 0
Default

Hi cory1492,

What slim flag did you use?

If errors related to FREE TYPE, please replace -Ic:/pspsdk/psp/include/freetype2 with -I/usr/local/pspdev/psp/include/freetype2 in Makefile.

Hope this help.
nct2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-13-2009, 12:02 AM   #10
 
Join Date: Jun 2005
Posts: 22
Trader Feedback: 0
Default

Nice upate. While you're at it, can you fix the bug which always missed the last text line?
TheKing is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-13-2009, 01:55 AM   #11
 
Join Date: Mar 2009
Posts: 1
Trader Feedback: 0
Default

nct2k
Is mod Bookr sd6719.
Reads txt, pdf, djvu, fb2, rtf
src on h__p://sd6719.narod.ru
Can there you will find something interesting
sd6719 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-13-2009, 06:07 AM   #12
Pro Hacker
 
nickxab's Avatar
 
My Mood: Daring
Join Date: Jan 2009
Real First Name: Nick
Location: Greece,Limnos
Just Played: Counter Strike 1.6
Posts: 2,702
Blog Entries: 5
Trader Feedback: 0
Default

nice app
nickxab is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-13-2009, 07:39 AM   #13
 
Join Date: Aug 2007
Posts: 9
Trader Feedback: 0
Default

Quote:
Originally Posted by sd6719 View Post
nct2k
Is mod Bookr sd6719.
Reads txt, pdf, djvu, fb2, rtf
src on h__p://sd6719.narod.ru
Can there you will find something interesting
Thanks sd6719,

I'll check and apply your enhancements.
nct2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-14-2009, 06:15 AM   #14
 
Join Date: Mar 2009
Posts: 9
Trader Feedback: 0
Default

Could it be possible to switch O and X buttons? X for select and O for cancel. Could you also do something about PSP's screensaver? It's a little annoying while you're reading and after a while screen gets darker so you have to press some button. Screen won't stay bright long enough when reading with analog stick. Thank you for updating!
batanen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-14-2009, 07:52 PM   #15
 
Join Date: Aug 2007
Posts: 9
Trader Feedback: 0
Default

Quote:
Originally Posted by batanen View Post
Could it be possible to switch O and X buttons? X for select and O for cancel.
In the option menu, please change the "Menu control style" to Western.
nct2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-14-2009, 11:52 PM   #16
 
Join Date: Mar 2009
Posts: 9
Trader Feedback: 0
Default Thanks!

Quote:
Originally Posted by nct2k View Post
In the option menu, please change the "Menu control style" to Western.
Ok. Thank you for the info. I was wondering why it worked differently than I had used to.
batanen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-15-2009, 07:54 PM   #17
 
Korlithiel's Avatar
 
Join Date: Aug 2006
Posts: 454
Trader Feedback: 0
Default

Now if only this project ever got merged with LiteMP3, then I don't think my PSP would see any gaming again since I would spend too much time reading.
Korlithiel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-16-2009, 12:00 PM   #18
 
brethren's Avatar
 
Join Date: Apr 2007
Posts: 464
Trader Feedback: 0
Default

don't know why cory didn't get back to you but try adding this to your makefile

PSP_LARGE_MEMORY=1

it allows the slim to use all available memory but is ignored by the psp fat......the magic of custom firmware
brethren is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-17-2009, 01:46 AM   #19
 
Join Date: Jul 2005
Location: Canada
Posts: 88
Trader Feedback: 0
Default

I didn't get back because I don't come to QJ very often :P
nct2k:
yes, that is the make flag that tells custom firmware to allow slim extended memory
PSP_LARGE_MEMORY=1
Today it builds just fine with that flag, maybe the problem was somewhere in the sdk then...? Any rate, I was asking if you accounted for it/used it because I think slim web browser uses extended memory to speed itself up.

Solving the freetype issue was relatively simple, and indeed I did modify the mupdf makefile to use
Code:
CFLAGS=-G0 -Wall -O2 -I/usr/local/pspdev/psp/include/freetype2
CXXFLAGS=$(CFLAGS) -fno-exceptions -fno-rtti -I/usr/local/pspdev/psp/include/freetype2
and in the main makefile
Code:
INCDIR = mupdf/include djvu/libdjvupsp $(PSPDIR)/include/freetype2
along with correcting a cp somewhere that was messed up. I don't have cvs on this OS so I can't visually see the files I've changed, just going by memory on stuff I tinkered with last fall.

As mentioned above, that was a bug I had noticed too - it doesn't remember to use custom selected font on reloads. Also, disabling home button (by removing exit callback) or adding exit stuff to home->exit callback seems to be a missing point/problem for many users.

sd6719:
I definitely like your mod build

Last edited by cory1492; 03-17-2009 at 02:10 AM..
cory1492 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-17-2009, 05:13 PM   #20
 
Join Date: May 2006
Posts: 5
Trader Feedback: 0
Default

hi,your mod is great,chm conversion works very well.
can i suggest to add a very low screen luminosity setting?
and a zoom level continuos for pdf?

zb
ziobleed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-20-2009, 07:40 PM   #21
 
Join Date: Aug 2007
Posts: 9
Trader Feedback: 0
Default

Quote:
Originally Posted by cory1492 View Post
As mentioned above, that was a bug I had noticed too - it doesn't remember to use custom selected font on reloads.
This is a bug from latest CVS source, along with crash on startup if we enable "Autoload last file" but the file does not exist. Will try to fix.

Quote:
Originally Posted by cory1492 View Post
Also, disabling home button (by removing exit callback) or adding exit stuff to home->exit callback seems to be a missing point/problem for many users.
Sorry I don't get you about this. Currently user can exit by either choosing Exit menu or Home button then exit right?

Quote:
Originally Posted by cory1492 View Post
PSP_LARGE_MEMORY=1

Code:
INCDIR = mupdf/include djvu/libdjvupsp $(PSPDIR)/include/freetype2
I'll add those to Makefile in next release, thanks!

I heard that V8.1 cannot launch PSP Internet Browser, is it true? Last time I reserved 7MB for non-heap, and allocated 6MB in heap for the Browser when launching. I guess that the Browser will use both of 7MB non-heap and 6MB heap. This worked on my PSP Fat, but maybe Slim's Browser needs more than that. Could anyone help me to do tuning for those settings?

(V8.0 only had 8MB heap 'cause I cannot increase this value to make the Browser work. Seems like sceKernelAllocateVpl allocates memory in non-heap, am I right? That's why I changed to malloc in V8.1)
nct2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-23-2009, 05:52 AM   #22
 
Join Date: Mar 2009
Posts: 1
Trader Feedback: 0
Default

Definitely some massive improvements since the last version! Great work

I noticed that its also not saving the Font Justification settings, and defaults to enabled. Its also not jumping to the most recent bookmark on loading, which I think one of the old versions used to do.

I've noticed with alot of the plain text files I use, keep all the text on the left hand side of the screen, wasting 3/5ths of the available space on pure white. Would it be possible to have a setting that Ignores line end characters, and just replaces them with a space, or some other character? That way all the page is being used at once.

The screen saver issue might become a problem if there's more text on the screen and it takes longer to read... Some sort of random idle process that wiggles something automatically every 15-30 seconds to keep it active?

Ignoring those things, this is one of the most functional and awesome apps for the PSP ever released, and i use it more than I play games. keep up the good work
Cevius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2009, 11:16 PM   #23
 
Join Date: Jul 2005
Location: Canada
Posts: 88
Trader Feedback: 0
Default

I almost forgot to come back to the thread, sorry it's been so long.
Quote:
Originally Posted by nct2k View Post
This is a bug from latest CVS source, along with crash on startup if we enable "Autoload last file" but the file does not exist. Will try to fix.
In bookr.cpp I added a 'dirty' fix (there is probably a better way, I am not good with cpp) to main to just check if the file exists to avoid the crash (I never did look into saving the font though):
Code:
static int fileExists(string& file)
{
	FILE* f = fopen(file.c_str(), "r");
	if (f == NULL) {
		return NULL;
	}
	fclose(f);
	return 1;
}

int main(int argc, char* argv[]) {
	BKDocument* documentLayer = 0;
	FZScreen::setupCallbacks();
	FZScreen::open(argc, argv);
	FZScreen::setupCtrl();
	BKUser::init();
	FZScreen::setSpeed(BKUser::options.pspMenuSpeed);
	FZ_DEBUG_SCREEN_INIT

	BKLayer::load();
	bkLayers layers;
	BKFileChooser* fs = 0;
	BKColorChooser* cs = 0;
	BKColorSchemeManager* csm = 0;
	BKPageChooser* ps = 0;
	BKMainMenu* mm = BKMainMenu::create();
	layers.push_back(BKLogo::create());
	layers.push_back(mm);

	FZScreen::dcacheWritebackAll();

	if( BKUser::options.loadLastFile ) // loads the last file used
	{
		string s = BKBookmarksManager::getLastFile();

		if( s.substr(0,5) == "ms0:/" && fileExists(s) ) // small check to see the file exists, probably much better ways to do this
		{
				// clear layers
				bkLayersIt it(layers.begin());
				bkLayersIt end(layers.end());

				while (it != end) {
					(*it)->release();
					++it;
				}

				layers.clear();
Quote:
Quote:
Also, disabling home button (by removing exit callback) or adding exit stuff to home->exit callback seems to be a missing point/problem for many users.
Sorry I don't get you about this. Currently user can exit by either choosing Exit menu or Home button then exit right?
When exit by home, last position in current file is not stored. I just disabled home button in my build (by commenting out exit_callback in fzscreenpsp.cpp and probably calls to it elsewhere) so I wouldn't make the mistake of exiting this way, but it should be possible to use the exit callback to do the save too.
cory1492 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-05-2009, 06:59 AM   #24
 
Join Date: Oct 2009
Real First Name: Chris
Location: Germany
Just Played: Tetravex
Posts: 1
Trader Feedback: 0
Default

When Bookr displays PDFs that have been created from tex/dvi files, there's a problem with italics: Italics will be where they shouldn't be, or non-italics where there should be italics. This generally only happens after a while, i.e. after I have turned several pages. It seems that it's particularly frequent after I went backwards through the pages, but when it has happened once, I won't get rid of it any more (or only temporarily, when I reload the document).
It would be great if this issue would be addressed in a future version of Bookr.
mafioso73 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-06-2009, 06:16 AM   #25
 
Join Date: Jul 2008
Location: Italy
Posts: 137
Trader Feedback: 0
Default

Hi.
I don't know if this homebrew already support this format, but would be nice if you could add the support for .lit files. More or less, they are like PDFs (being that bookr doesn't support them, everytime I have to convert my lit files in pdf... it's very boring )
Gefa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
bookr , chm or html , djvu , files , palmdoc , pdf , release , txt , v81 , view

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 12:56 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us