forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

eBooks on PSP

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
AlexGreen



Joined: 27 Mar 2005
Posts: 35
Location: Seattle

PostPosted: Sun Mar 27, 2005 5:25 pm    Post subject: eBooks on PSP Reply with quote

One of the things I'd like to see on PSP when homebrew comes to life is a reader for eBooks. Unless I'm missing something, it doesn't display text files...
So, for those who also want to enjoy reading on the go, I slapped together a converter for text files.
It takes .txts and converts them into a bunch of .jpgs crafted for PSP resolution. It will create a folder with the same filename in the same folder as the source txt file. Just drop that folder into your PHOTO directory and you are set.
You can tinker with fonts to see which one works best for you (there is a preview thing).
It is written in C#.Net, so you must have .Net framework 1.1 installed.
One thing that bugs me, though, is that a txt file that was ~450kbytes turns into ~25Megs of image files... What a waste.

Here is the file - Click Me
Hopefuly it will work on more than one computer (mine:D )
_________________
What does this button do?
Back to top
View user's profile Send private message
Juudas



Joined: 26 Mar 2005
Posts: 3

PostPosted: Sun Mar 27, 2005 5:39 pm    Post subject: Reply with quote

I've been using www.paperlessprinter.com for this purpose.
Back to top
View user's profile Send private message
AlexGreen



Joined: 27 Mar 2005
Posts: 35
Location: Seattle

PostPosted: Sun Mar 27, 2005 5:43 pm    Post subject: Reply with quote

D'oh!
Wasted two hours for nothing :(
_________________
What does this button do?
Back to top
View user's profile Send private message
Yoorah



Joined: 07 Mar 2005
Posts: 20

PostPosted: Mon Mar 28, 2005 5:15 am    Post subject: Reply with quote

Can the PSP image viewer handle PNGs as well? If so, I think it would be much more efficient to use that format instead. Smaller file size and better quality. :D JPEG is better for photos, but PNG is better in this case (lots of same colour).
JPEG: 18.2 KB

PNG: 4.32 KB

Both were saved in MS Paint.

PS. Sorry for the stupid text... I couldn't think of anything better at the time.
_________________
If at first you don't succeed, skydiving is not for you.
Back to top
View user's profile Send private message MSN Messenger
romhacker



Joined: 07 Feb 2005
Posts: 6

PostPosted: Mon Mar 28, 2005 5:28 am    Post subject: Reply with quote

Works great, I was having problems with the crappy Japanese one. Keep up the good work.
Back to top
View user's profile Send private message
AlexGreen



Joined: 27 Mar 2005
Posts: 35
Location: Seattle

PostPosted: Mon Mar 28, 2005 10:06 am    Post subject: Reply with quote

Oh, I did not realize that it reads PNGs!! I tried GIF and gave up :D
Should be pretty easy to change. Update version will come out soon.

Edit: Looks like PSP doesn't handle PNG through the image viewer... I guess we are stuck with JPGs... I'm gona try to see if it's possible to squeeze out some more compression without loosing too much quality.
_________________
What does this button do?
Back to top
View user's profile Send private message
AlexGreen



Joined: 27 Mar 2005
Posts: 35
Location: Seattle

PostPosted: Mon Mar 28, 2005 12:29 pm    Post subject: Updated version. Reply with quote

Now you can change image quality to get the best compromise between size and readability.

Download it here.
_________________
What does this button do?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group