![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
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. ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
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, |
|
|
|
|
|
|
#6 |
![]() |
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. |
|
|
|
|
|
#7 |
![]() |
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. |
|
|
|
|
|
#14 |
|
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!
|
|
|
|
|
|
|
#19 |
![]() |
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 Code:
INCDIR = mupdf/include djvu/libdjvupsp $(PSPDIR)/include/freetype2 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.. |
|
|
|
|
|
#21 | |||
|
Quote:
Quote:
Quote:
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) |
||||
|
|
|
|
|
#22 |
|
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
|
|
|
|
|
|
|
#23 | |||
![]() |
I almost forgot to come back to the thread, sorry it's been so long.
Quote:
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:
|
|||
|
|
|
|
|
#24 |
|
Join Date: Oct 2009
Real First Name: Chris
Location: Germany
Just Played: Tetravex
Posts: 1
Trader Feedback: 0
|
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. |
|
|
|
|
|
#25 |
![]() |
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 )
|
|
|
|
![]() |
| Tags |
| bookr , chm or html , djvu , files , palmdoc , pdf , release , txt , v81 , view |
| Thread Tools | |
|
|