#139287 - rhaleblian - Tue Sep 04, 2007 7:51 am
dslibris is an ebook reader for DS that focuses on the most comfortable reading experience possible.
Releases are available on Sourceforge
https://sourceforge.net/projects/ndslibris
And also at Moon Books:
http://moonbooks.net
The blog for dslibris is at http://rhaleblian.wordpress.com
Releases:
FUTURE RELEASE NOTES WILL BE ON SOURCEFORGE
0.2.5 "font size"
* insert a <font size="number" /> tag into the prefs file, dslibris.xml, to control font size.
0.2.3 "inverted"
* 'X' key toggles black text on a white field.
0.2.1 "lid sensor"
* screens turned off when lid closed
0.2.0 "books are restored"
* last book and page viewed are restored on restart.
* all files in the program's folder ending in .xht or .xhtml are added into the book library.
* support for Latin-1 in XHTML encoded in UTF-8 or iso-8859-1 numeric attribute format. This means some international support (see the included Czech book example).
* page number displayed on right page, positioned according to overall position in book
[Images not permitted - Click here to view it]
czech - note that margins has some issues in this case
[Images not permitted - Click here to view it]
show the browser with SELECT button. stylus doesn't work , d-pad does.
0.1.0
* reads XHTML (via expat) and reflows text
* saves each book location in .bkm file
* antialiased, proportional text[/img]
Patching and Media:
you will need to DLDI patch the .nds file for your system. dslibris
feature plan:
* support books in a subfolder, or anywhere on the media.
* support more than the first 8 books it finds.
* justified text. I had a crappy implementation of this previously, but without a good hyphenation algorithm it can make text even more unreadable.
* better browser UI - looking at COW/TINA.
* support other formats like Plucker. I would like to hear what people are using out there. I would like to support .lit but this looks like a closed format.
* wait cursor while loading.
some discussion of using tidy for cleanup conversion into XHTML is at dev-scene
http://forum.dev-scene.com/viewtopic.php?p=1300#1300
An example of using tidy to convert latin text... if your source file is UTF-8 you can do
Code: |
tidy -asxhtml -utf8 -o output.xhtml input.html |
this should work as well
Code: |
tidy -asxhtml -numeric -o output.xhtml input.html |
If you've got a modern HTML4 document in UTF-8 encoding already, just try it out directly and skip using tidy.
if you have books that don't work post them.
Last edited by rhaleblian on Sat Oct 06, 2007 7:17 pm; edited 7 times in total
#139302 - jetboy - Tue Sep 04, 2007 12:00 pm
Does it work with polish characters? Preferably coded in utf-8.
_________________
Colors! gallery -> http://colors.collectingsmiles.com
Any questions? Try http://colors.collectingsmiles.com/faq.php first, or official forums http://forum.brombra.net
#139418 - bobslack - Thu Sep 06, 2007 12:24 am
has anyone been able to download this? the host seems down.
brandon
the moon books project - free books and films on the ds
http://moonbooks.net
#139440 - joedodgy - Thu Sep 06, 2007 7:10 am
Quote: |
has anyone been able to download this? the host seems down. |
You can get it from the link to dev-scene (the last link in rhaleblian's post).
I like it. I can't get it to run unless it's in the root of my media card (which seems to be a bit of a failing with a lot of homebrew) but has some nice potentional. Maybe add a footer to the pages so the numbers don't overlap some of the text. And maybe the ability to read normal .txt files.
#139463 - Mrshlee - Thu Sep 06, 2007 4:39 pm
#139765 - Mumbly Juergens - Mon Sep 10, 2007 12:16 am
Great work on this tool man, I have already read a couple of books on the previous version.
Three things about the new version though:
- Sometimes the text overlaps the page number now.
- The paragraph breaks are too big I think. It might just be the book I am reading but each paragraph has a gap between them and it is kind of annoying.
- There is something up with dashes. The text "The old man, Adda, called something to her?perhaps an order to leave him?but she ignored him." will get displayed as "The old man, Adda, called something to herperhaps an order to leave himbut she ignored him.
And two requests:
- Sleep mode when the DS is shut so I don't have to turn it on and off every time I pick it up to read for a while.
- This might already be happening but just want to make sure that the CPU is being halted until a button press event occurs. Other book readers I used on the GBA didn't do this originally and they saw roughly 75% less power usage thanks to halting instead of loops, so I could read a whole book often without charging.
#139772 - tuLL - Mon Sep 10, 2007 1:54 am
I have a little request/suggestion:
- White text on black background, so we don't have to be looking into a bulb:)
Great app, keep up!
#139780 - OSW - Mon Sep 10, 2007 3:26 am
tuLL wrote: |
I have a little request/suggestion:
- White text on black background, so we don't have to be looking into a bulb:)
Great app, keep up! |
Should be optional though, on all readers. People have different preferences even though i agree with you.
#139788 - jusdaman - Mon Sep 10, 2007 5:44 am
it don't work for me in slot 1 and slot 2 cards.
Patched wif dldi.
Guru mediation error!
I have SCDS1 and SCDSL Chinese version.
#139795 - melw - Mon Sep 10, 2007 8:12 am
tuLL wrote: |
I have a little request/suggestion:
- White text on black background, so we don't have to be looking into a bulb:)
|
Alternatively, brightness control settings? Most of the people have a DS Lite these days anyways...
#140359 - rhaleblian - Sat Sep 15, 2007 4:51 pm
sorry, my host was down while i was out of town. it's up now.
tull / osw / melw - yes, brightness control is important. i've also gotten other requests for inverted text. i'll probably do brightness control first. i'm a bit of a purist and believe in dark text on bright backgrounds.
joedodgy, agreed about the footer room. i probably won't support .txt because it lacks enough information to reflow text to fit onto a DS screen.
mumbly, i guess that's 'em', the long dash, that isn't drawing. if the file you have is encoded in iso-8859 and has entities using text and not numbers, eg
"e;
instead of eg
&451;
that could cause it. you can use HTML Tidy with --numeric
to convert your file to have numeric entities. or use / make a UTF-8 encoded file (preferred). if you can post the file i'd like to fix any problem.
jetboy i had one example XHTML in UTF-8 Czech that works, so I hope Polish does (i don't mean to suggest any similarity between the two languages, it's just that i'm told that UTF-8 will handle them both :) ). Please try and tell me; I can work with you to make it work. I want as many languages as possible to work. Send me a book.
jusdaman, if you tell me what the first line of the Guru screen says i might be able to figure out where it died.
mumbly - um, i put in sleep mode when the lid is closed but can't recall i i released it in 0.2.0. if it's in, then closing the lid should turn off the screens and get the led blinking green intermittently. i am not sure if i am sleeping the cpu itself. also, i am busy looping and NOT halting, you make a good point. do you have example code of implementing halting?
thanks for the comments. you may find more notes in the future here
http://rhaleblian.wordpress.com
_________________
[ http://rhaleblian.wordpress.com ]
#140361 - jetboy - Sat Sep 15, 2007 5:27 pm
rhaleblian wrote: |
jetboy i had one example XHTML in UTF-8 Czech that works, so I hope Polish does (i don't mean to suggest any similarity between the two languages, it's just that i'm told that UTF-8 will handle them both :) ). Please try and tell me; I can work with you to make it work. I want as many languages as possible to work. Send me a book.
|
Thanks for reply.
I will get to the topic in the week. This weekend i'm 200% devoted to the Colors gallery update. Once i'm done with it, i ll do some testing, and provide you with test material for all european languages that use modified roman alphabet. I also have some materials on cyrilica twists, but those are by far incomplete. I would send it right away, but i have the file at work.
And with UTF-8 you should be able to encode properly most of the actually used languages.
_________________
Colors! gallery -> http://colors.collectingsmiles.com
Any questions? Try http://colors.collectingsmiles.com/faq.php first, or official forums http://forum.brombra.net
#140382 - tuLL - Sat Sep 15, 2007 11:21 pm
I rarely change my brightness, and it's never the same as having a black background.
Hehe, I'm kind of a purist too, just the other way around:)
Keep up!
#140396 - rhaleblian - Sun Sep 16, 2007 2:37 am
thanks jetboy. colors is awesome!
_________________
[ http://rhaleblian.wordpress.com ]
#140400 - rhaleblian - Sun Sep 16, 2007 3:07 am
if anyone has problems getting the downloads from the new location in the top posting, let me know.
_________________
[ http://rhaleblian.wordpress.com ]
#140420 - jetboy - Sun Sep 16, 2007 8:08 am
rhaleblian wrote: |
thanks jetboy. colors is awesome! |
I'm only doing the web gallery, actual program is by Jesse with interface graphics by madwurmz.com
_________________
Colors! gallery -> http://colors.collectingsmiles.com
Any questions? Try http://colors.collectingsmiles.com/faq.php first, or official forums http://forum.brombra.net
#140528 - rhaleblian - Mon Sep 17, 2007 3:05 am
heh
see 0.2.3 at top of this topic for verson that displays inverted text.
_________________
[ http://rhaleblian.wordpress.com ]
#140532 - joedodgy - Mon Sep 17, 2007 3:27 am
Could someone upload this to a server like zshare or rapidshare. I can't seem to get to the file.
#140627 - jetboy - Tue Sep 18, 2007 3:51 pm
I could host the file if you can send it to me via email.
_________________
Colors! gallery -> http://colors.collectingsmiles.com
Any questions? Try http://colors.collectingsmiles.com/faq.php first, or official forums http://forum.brombra.net
#140655 - bobslack - Tue Sep 18, 2007 10:19 pm
You can feel free to upload to The Moon Books Project. Here is the link to the upload page http://moonbooks.net/moonbooks/upload.php
_________________
Brandon
Founder and WebMaster of The MoonBooks Project
Free classic literature and films on the Nintendo DS
http://moonbooks.net
#140684 - Mrshlee - Wed Sep 19, 2007 2:38 am
rhaleblian wrote: |
heh
see 0.2.3 at top of this topic for verson that displays inverted text. |
Ditto, does anyone have this file so I can mirror it?
_________________
MrShlee.com
Projects
Dev-Scene
MyTechpedia
#140685 - rhaleblian - Wed Sep 19, 2007 2:47 am
ai! you'd think that hosting a file on the internet would be a no-brainer :D
i sent 0.2.3 to bobslack to host over at Moon Books. thanks for caring!
_________________
[ http://rhaleblian.wordpress.com ]
#140693 - rhaleblian - Wed Sep 19, 2007 4:43 am
jetboy, thanks for the roman and cyrillic example files. after converting zneki.txt to XHTML with numeric attributes using Tidy, these characters display properly. zneki2.txt, which i presume is Cyrillic, does not display properly.
_________________
[ http://rhaleblian.wordpress.com ]
#140700 - takieda - Wed Sep 19, 2007 7:19 am
For those still fighting to find the file (I had to search a while to find it, incidentally it can be found also under the link for 0.2.1), I uploaded it to rapidshare. If the author wishes, I can remove it, if he only wants it on specific sites (and I apologize for not asking permission to post this).
http://rapidshare.com/files/56704591/dslibris-0.2.3.zip.html
_________________
Est Sularis Oth Mithas - My Honor is My Life
(\_/)
(o.o)
(> <) This is The Bunny. Copy The Bunny into your signature to help him on his way to world domination.
#140762 - rhaleblian - Wed Sep 19, 2007 6:48 pm
takieda, no problem, the Moon Books link should be stable and working and in the future that's where new releases will show up.
_________________
[ http://rhaleblian.wordpress.com ]
#140785 - jetboy - Wed Sep 19, 2007 8:11 pm
rhaleblian wrote: |
zneki2.txt, which i presume is Cyrillic, does not display properly. |
Yeh, i'm not expert if it comes to Cyrillic. What font do you use to display it with? Most of the fonts dont have Cyrillic built in, however Arial should.
_________________
Colors! gallery -> http://colors.collectingsmiles.com
Any questions? Try http://colors.collectingsmiles.com/faq.php first, or official forums http://forum.brombra.net
#140974 - aichpvee - Fri Sep 21, 2007 2:10 am
Hey, do you think you could add - as a line-breaking character? I was reading a book last night and it-had-this-really-long-string-of-words-connected-like-this and the line disappeared off the right side of the screen instead of wrapping so that I couldn't read it. Maybe there's a special case where using this would be a problem, but I haven't been able to think of one since last night.
Great app, btw. Easily the most readable book reader on DS!
#140988 - rhaleblian - Fri Sep 21, 2007 4:28 am
yes, that's a known problem - i don't break long words. URLs also wrap around on the same line and aren't readable. i'll try to fix that in the next release.
on a completely other note: what media card are you using? i want to know which ones work.
_________________
[ http://rhaleblian.wordpress.com ]
#140990 - rhaleblian - Fri Sep 21, 2007 4:29 am
jetboy, i'm using Frutiger, which has Cyrillic included. it's a bug in dslibris that i need to fix.
do books in your language work?
_________________
[ http://rhaleblian.wordpress.com ]
#141013 - jetboy - Fri Sep 21, 2007 9:09 am
rhaleblian wrote: |
jetboy, i'm using Frutiger, which has Cyrillic included. it's a bug in dslibris that i need to fix.
do books in your language work? |
Yes.
They work fine, except that sometimes words that have non asci character are not moved to next line while they should, so they are partialy out of screen.
Ayway, your reader handles polish texts the best from all readers avaliable on DS. Thank you.
_________________
Colors! gallery -> http://colors.collectingsmiles.com
Any questions? Try http://colors.collectingsmiles.com/faq.php first, or official forums http://forum.brombra.net
#141059 - rhaleblian - Fri Sep 21, 2007 5:28 pm
That's great! The word wrapping problem with non-ASCII characters is a known problem as well, I see the same problem with certain kinds of quotes.
_________________
[ http://rhaleblian.wordpress.com ]
#141068 - jetboy - Fri Sep 21, 2007 7:56 pm
rhaleblian wrote: |
That's great! The word wrapping problem with non-ASCII characters is a known problem as well, I see the same problem with certain kinds of quotes. |
If the first file i sent you display on the DS the same way as in attached image, you can be sure you handle all languages based on roman characters right. Good job.
_________________
Colors! gallery -> http://colors.collectingsmiles.com
Any questions? Try http://colors.collectingsmiles.com/faq.php first, or official forums http://forum.brombra.net
#141355 - rhaleblian - Mon Sep 24, 2007 2:01 pm
i've cleaned up the initial posting and fixed up all of the broken URLs.
_________________
[ http://rhaleblian.wordpress.com ]
#142234 - rhaleblian - Sat Oct 06, 2007 7:19 pm
New release 0.2.5 on Sourceforge. See the initial posting.
Future info will be on the Sourceforge project page.
_________________
[ http://rhaleblian.wordpress.com ]
#142263 - Galactic Lord Xenu - Sun Oct 07, 2007 5:15 am
rhaleblian wrote: |
New release 0.2.5 on Sourceforge. See the initial posting.
Future info will be on the Sourceforge project page. |
The archive appears to be corrupt. Might want to re-zip it.
#142278 - rhaleblian - Sun Oct 07, 2007 5:25 pm
hmm. fixed. i'm glad Galactic Overlords are around to check these things
_________________
[ http://rhaleblian.wordpress.com ]
#142292 - Pulstar_1 - Sun Oct 07, 2007 8:10 pm
Hello, I wonder does anyone know how to resize the font? Is there a tag for it in XHTML that I don't know about?
DSLibris is the best DS homebrew app for reading text, and now that font sizes are flexible I can't possibly ask for more :)
Edit - Pressing Start results in a fatal error on my R4DS. Perhaps a future revision is needed to resolve this error :( (assuming that Start is the button assigned to enlarging text)
Edit #2 - Should have checked the XML file on the SD first :D Great work Ray, will look forward to future iterations!
Edit #3 - Bookmarking is borked, at least with me. When forcing a value into DSLIBRIS.XML's bookmark tag, each time the device is rebooted the number is decremented by 1.
#142309 - XThe-R-ManX - Mon Oct 08, 2007 12:43 am
HTF
how do you veiw the books.
i downloaded some off of moonshell or what ever and i cant veiw them.
then i did that tidy crap and still cannot.
ive been going at this for like a good 3 hours and still dont know wtf to do.
Please somone help me.
tell me how to convert the files so that i may READ!
There in text document tell me how to make them so i can read on the dslibris
_________________
The wind blows, The moon howels, But atlas we must turn to the GOD BOX!
http://groups.myspace.com/DsHomebrewCommunity
Check This Out
http://www.freewebs.com/xndshomebrewx
#142345 - rhaleblian - Mon Oct 08, 2007 5:20 pm
rman, you are a trooper - 3 hours!?!
ok, so the moonbooks files won't work directly, since i saw they are .txt . i'll talk with Brandon about making XHTML versions of them.
Tidy will only do HTML to XHTML reliably. i explain the conversion at http://rhaleblian.wordpress.com (or better yet, Google 'dslibris tidy')
rman, if you post a book you're trying to prepare i'll look at it - i am curious
_________________
[ http://rhaleblian.wordpress.com ]
#142346 - rhaleblian - Mon Oct 08, 2007 5:23 pm
thanks for the info pulstar. bugs are collected on the Sourceforge page, but i'll note both of these to put in there.
i eventually want START to open the browser, and SELECT to go back to the R4's main menu, like moonshell does.
_________________
[ http://rhaleblian.wordpress.com ]
#142411 - XThe-R-ManX - Tue Oct 09, 2007 12:08 am
oh yeah and it works kinda on games n music.
lol ill try the tidy thing later tonight im like ubber swampd with work right now.
im trying to finish up a comp programming project for school so i dont have to worry about cramming the night before.
lol.
but yeah im using dsreader right now untill i figure out how to use the tidy.
ill post back once i figure it out.
_________________
The wind blows, The moon howels, But atlas we must turn to the GOD BOX!
http://groups.myspace.com/DsHomebrewCommunity
Check This Out
http://www.freewebs.com/xndshomebrewx
#142418 - XThe-R-ManX - Tue Oct 09, 2007 12:31 am
rhaleblian wrote: |
rman, you are a trooper - 3 hours!?!
ok, so the moonbooks files won't work directly, since i saw they are .txt . i'll talk with Brandon about making XHTML versions of them.
Tidy will only do HTML to XHTML reliably. i explain the conversion at http://rhaleblian.wordpress.com (or better yet, Google 'dslibris tidy')
rman, if you post a book you're trying to prepare i'll look at it - i am curious |
Mainly Hg wells
like the time machine or war of the worlds.
ill go read your thing and be back later.
small and i cant seem to read any of it.
lol sorry
i went to the site and like all the text is
_________________
The wind blows, The moon howels, But atlas we must turn to the GOD BOX!
http://groups.myspace.com/DsHomebrewCommunity
Check This Out
http://www.freewebs.com/xndshomebrewx
#142497 - Nosenoevil - Tue Oct 09, 2007 6:16 pm
Pulstar_1 wrote: |
Edit - Pressing Start results in a fatal error on my R4DS. Perhaps a future revision is needed to resolve this error :(
Edit #3 - Bookmarking is borked, at least with me. When forcing a value into DSLIBRIS.XML's bookmark tag, each time the device is rebooted the number is decremented by 1. |
I get both of these under 02.5 but not with 02.3 which works fine. 02.5 does not successfully create the bkm file. (I'm using a slot1 n-card clone)
The txt books from that moon site are formatted for a different line length for use with readers that don't wrap properly. Fixing that seemed like too much of a pain.
All the books are free on the web with normal line breaks anyway so I just grabbed a set of Jules Verne's books, and I had copies of all 13 books in David Weber's Honor Harrington series.
I then used Easy Text To HTML Converter (http://www.easyhtools.com/ethdescription.html) set to xhtml 1 standard, no template and using < br > and < p > ( just < p >, and < pre > are fine also but..) I found < br > looks the best in the end. 'Faaaar' less odd behaviour for line breaks.
and probably unnecessarily I then ran the resulting html books through tidy.
I'd be happy to upload the free books I've done so far.
I look forward to the next libris release. Stuck with 02.3 I can only use 8 books at a time...
#142712 - rhaleblian - Fri Oct 12, 2007 4:17 am
yiu're right, if you've saved to XHTML with another program you should be able to skip Tidy. others have said that saving from OpenOffice to XHTML works.
_________________
[ http://rhaleblian.wordpress.com ]
#142713 - rhaleblian - Fri Oct 12, 2007 4:18 am
0.2.5 doesn't read or write .bkm files anymore, all that data goes into dslibris.xml. i'll note this in the next release, which will fix the off-by-one problem with bookmarked pages.
_________________
[ http://rhaleblian.wordpress.com ]
#142778 - XThe-R-ManX - Sat Oct 13, 2007 3:36 am
can you make it read .txt files.
so i can read the ones ive already downloaded for ds reader since i could never figure out dslibris.
i love the way it displays the text though.
1 page per screen kinda thing. like a real book
_________________
The wind blows, The moon howels, But atlas we must turn to the GOD BOX!
http://groups.myspace.com/DsHomebrewCommunity
Check This Out
http://www.freewebs.com/xndshomebrewx
#144630 - Pulstar_1 - Mon Nov 05, 2007 12:23 am
Ray has released v1.0 of his great ebook reader.. I wonder why homebrew sites are slow to report such important updates.
#144649 - gyhelle - Mon Nov 05, 2007 11:01 am
Pulstar_1 wrote: |
I wonder why homebrew sites are slow to report such important updates. |
Maybe because the official site ittself is not updated.
#144661 - OSW - Mon Nov 05, 2007 1:36 pm
haha that is true.
using the latest version, all is working well. thanks for the work!
#144728 - Obi - Tue Nov 06, 2007 2:36 am
Where can you download this release?
_________________
Onyx DS Lite
R4 Revolution for DS
EZ Flash 5 3 In 1
2x 2GB Sandisk Micro SD
#144729 - XThe-R-ManX - Tue Nov 06, 2007 2:43 am
Obi wrote: |
Where can you download this release? |
yes where
_________________
The wind blows, The moon howels, But atlas we must turn to the GOD BOX!
http://groups.myspace.com/DsHomebrewCommunity
Check This Out
http://www.freewebs.com/xndshomebrewx
#144733 - rhaleblian - Tue Nov 06, 2007 4:10 am