gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS homebrew announcements > Bible text reader plugin for DSOrganize

#116548 - tyraen - Fri Jan 26, 2007 7:20 pm

I've been working on a plugin for DSOrganize for the last while, just a simple text reader basically. It will read in a file and create an index for it to get around faster.

It's pretty messy right now, lots of optimizing I need to do as well as just cleaning up the code. It's probably the closest to finishing a DS project I've been so far :), so with that in mind don't be too surprised if you're underwhelmed, heh.

Anyways, you can read some more and get links here: blog

#116549 - jbullfrog - Fri Jan 26, 2007 7:39 pm

currently, I view the KJV bible across dual screens using the latest Moonshell.

I divided each book of the Bible into one folder. With the bookmark function, it works great!

The only thing I don't have is a search function.

#116558 - tyraen - Fri Jan 26, 2007 9:28 pm

Yeah, that's about all mine is, a bookmarking program... currently. :) Maybe my controls are a little nicer... maybe not, I've never used Moonshell for text viewing. :)

#116563 - felix123 - Fri Jan 26, 2007 10:05 pm

How do you use it? After putting the plugin in the plugin folder, I opened KJV1_4.txt but there's no effect. It looks like any other text file.
_________________
Nintendo DS homebrew on Wikipedia

#116566 - tyraen - Fri Jan 26, 2007 10:43 pm

Haha, whoops, forgot to mention that. The file has to be named .bib, since there's built in .txt support.

Also, what's KJV1_4? As in the first book, 4th chapter or something? The idea is that this parses the entire KJV text file so you can browse it quickly. I'm not sure it will even work with just a chunk (actually, it did when I was testing way early on). But as I mentioned on my blog, the BBE version isn't working when it probably should be, so I may have recently broken something.

#116576 - felix123 - Sat Jan 27, 2007 1:00 am

Works now. This is a very cool concept and a software lots of people are waiting for. I hope you will keep on improving it.
_________________
Nintendo DS homebrew on Wikipedia

#116581 - DragonMinded - Sat Jan 27, 2007 2:23 am

Very interesting. Gave it a whirl, and have a few comments. First, you should get rid of that Do Nothing button, unless you are going to add functionality later ;P Simply put NULL instead of a string there. Second, the mini-icon and large icon should probably be changed to reflect your plugin. Generic icons shouldn't be used over and over. Also, may I suggest a little animation while it's loading? I thought it had crashed after ~2 minutes of caching and almost turned it off. Otherwise, good work and contrats on the first 3rd party plugin.
_________________
Enter the mind of the dragon.

http://dragonminded.blogspot.com

Seriously guys, how hard is it to simply TRY something yourself?

#116620 - tyraen - Sat Jan 27, 2007 1:49 pm

Thanks for the suggestions and feedback! I had a couple ideas for the buttons but am nowhere near doing anything with it. Is the icon format something standard where there exists a converter, or is it manual? :)

#116640 - DragonMinded - Sat Jan 27, 2007 6:17 pm

Well the readme states that they are standard libfb sprites. You could either dump raw 16bit information and put on a header of the sizes or you could use the libfb sprite creating tools.
_________________
Enter the mind of the dragon.

http://dragonminded.blogspot.com

Seriously guys, how hard is it to simply TRY something yourself?

#116831 - bobslack - Tue Jan 30, 2007 2:40 am

Moon Books has released the King James bible reformatted for use in Moon Shell. Also, some supplimental books have been released aswell. I am currently working on Matthew Henry's commentary.
_________________
Brandon
Founder and WebMaster of The MoonBooks Project
Free classic literature and films on the Nintendo DS
http://moonbooks.net

#116881 - tyraen - Tue Jan 30, 2007 5:26 pm

I must be stupid; I couldn't find the links on the MoonBooks site. :)

Anyways, I posted a new updated version; not too much different but it reads BBE now, code is cleaned up, disabled RTTI and exceptions, and added a progress indicator to the loading screens.

Links here

#117123 - tyraen - Thu Feb 01, 2007 2:26 pm

Another new version with resume support and easy deletion of cache (woohoo...). Links on my site.

#117148 - felix123 - Thu Feb 01, 2007 10:55 pm

Nice job! For me, the small icon is very difficult to see. Can you please make the contrast between the colors better? I see you are trying to add sleep mode. That's great.

Thanks and keep up the good work.
_________________
Nintendo DS homebrew on Wikipedia

#117152 - tyraen - Thu Feb 01, 2007 11:32 pm

Yeah the small icon does suck. :) I'd like to make a large icon too but I can't seem to get it to work.

#117598 - bobslack - Mon Feb 05, 2007 10:45 pm

have you had any problem with dsorganize choking on loading large files?
_________________
Brandon
Founder and WebMaster of The MoonBooks Project
Free classic literature and films on the Nintendo DS
http://moonbooks.net

#117600 - tyraen - Mon Feb 05, 2007 10:52 pm

How big? This plugin handles it's own IO for the most part and works fine with 4MB files.

#117604 - bobslack - Mon Feb 05, 2007 11:08 pm

actually i am looking at the plugin right now. i am very impressed. would you be interested in working on a plugin for reading books from the moonbooks project? i have had trouble with 4 meg or so files with dsorganize, but you seem to have fixed that problem.

maybe something like you did with the bible, but instead of different books or verses something along the lines of different chapters. or, i could put all the books from a specific author in one file, and seperate them internally using the plugin.
_________________
Brandon
Founder and WebMaster of The MoonBooks Project
Free classic literature and films on the Nintendo DS
http://moonbooks.net

#117607 - bobslack - Mon Feb 05, 2007 11:11 pm

feel free to contact me at btmullins@gmail.com

also, i'm working on setting up a dsorganize homebrew server for moon books, if the books can be read within the same program, all the better. :)
_________________
Brandon
Founder and WebMaster of The MoonBooks Project
Free classic literature and films on the Nintendo DS
http://moonbooks.net

#117682 - tyraen - Tue Feb 06, 2007 4:41 pm

New version out! Sorry, still no sleep mode. That will be next. For now I added bookmark support, so that should be handy. You can only save 10 for now. Links on my website (click the WWW at the bottom of post).

#121507 - tyraen - Mon Mar 12, 2007 8:01 pm

Got it working with DSO 2.5, lost the loading screen and bookmarks. :) Sleep mode was added though. More info on my site, planning to release version .2 when those problems are fixed.

#121709 - felix123 - Wed Mar 14, 2007 4:41 am

Sleep mode finally! Thanks!
With the loading screen in the last version, it takes a few seconds to open the Bible. In this version, it is instantaneous, which is much better.

Do you plan on making it display multiple verses on the screen in a later version?
_________________
Nintendo DS homebrew on Wikipedia

#121728 - Wuschmaster - Wed Mar 14, 2007 10:53 am

Bible?
Religions are humbug, dudes.

#121731 - tyraen - Wed Mar 14, 2007 11:35 am

Wuschmaster wrote:
Bible?
Religions are humbug, dudes.

Thanks for the input. ;)

To answer felix, yes! Right now it's kinda lame eh, not very useful for just reading through. I have an interface in mind for it, just need to get some time to implement. :)

#122060 - tyraen - Fri Mar 16, 2007 8:20 pm

Version .2 released! Bookmark is working fully again.

Some features:
* Sleep mode
* Bookmarking
* Resume last position (if exited with B)

Details on my site!

Download: Here

#122065 - tepples - Fri Mar 16, 2007 9:10 pm

Wuschmaster wrote:
Bible?
Religions are humbug, dudes.

There are other texts that use a similar book-chapter-verse structure, such as any spec published by an international standards body.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#122688 - felix123 - Wed Mar 21, 2007 6:06 am

Thanks for the latest version. This finally makes it a usable program!
Suggestions:
Scroll less than one verse option
Use both screens

There's one more fundamental "bug": when I pulled out my DS in Sunday school, everyone looked at me funny. :) The interesting thing is that another guy in my class uses a Palm to read the Bible and no one paid much attention to him.
_________________
Nintendo DS homebrew on Wikipedia

#122704 - HyperHacker - Wed Mar 21, 2007 10:47 am

The Palm wasn't designed to play video games. ;-)
_________________
I'm a PSP hacker now, but I still <3 DS.

#122711 - tyraen - Wed Mar 21, 2007 12:20 pm

I like those suggestions. :) Let me see what I can do! By less than one verse I assume you mean like line by line?

#122739 - Darkflame - Wed Mar 21, 2007 4:57 pm

This is quite a nice plugin :)
Usefull far outside the bible too.

Wuschmaster wrote:
Bible?
Religions are humbug, dudes.


Yeah.
Religoen is against my faith.
Organised religoen anyway.
_________________
Darkflames Reviews --
Make your own at;
Rateoholic:Reviews for anything, by anyone.

#122758 - Sweater Fish Deluxe - Wed Mar 21, 2007 8:42 pm

Wuschmaster wrote:
Bible?
Religions are humbug, dudes.

You don't have to be religious to read the Bible.

It's like saying you have to be British to read Shakespeare or you have to be a scientist to read A Brief History Of Time.

The Bible is a book full of great wisdom poetry and storytelling.

Perhaps more importantly, though, it has been and remains the most influential text ever written--certainly in the West, but probably in all of world history. For better as well as worse. A good understanding of the Bible is necessary to understand the courses history has taken as well as the present condition of our society.


...word is bondage...

#122809 - Darkflame - Thu Mar 22, 2007 11:27 am

Sweater Fish Deluxe wrote:
Wuschmaster wrote:
Bible?
Religions are humbug, dudes.

You don't have to be religious to read the Bible.

It's like saying you have to be British to read Shakespeare or you have to be a scientist to read A Brief History Of Time.

The Bible is a book full of great wisdom poetry and storytelling.

Perhaps more importantly, though, it has been and remains the most influential text ever written--certainly in the West, but probably in all of world history. For better as well as worse. A good understanding of the Bible is necessary to understand the courses history has taken as well as the present condition of our society.


...word is bondage...


Actualy pretty wise words, you seldom hear.
Normaly its a case that either
a) The bible is the define word of God you can not question in any way.
or
b) Its a load of old rubbish with no worth whatsoever.

Its refreshing to see people with inbetween views exist.
_________________
Darkflames Reviews --
Make your own at;
Rateoholic:Reviews for anything, by anyone.

#122840 - felix123 - Thu Mar 22, 2007 8:43 pm

And it is crucial in the development of the English language.
_________________
Nintendo DS homebrew on Wikipedia

#123340 - felix123 - Tue Mar 27, 2007 12:02 pm

version 0.2199
The dual screen mode is coming along nicely. It makes it easier to read.
When you scroll to the end of a chapter, most of the screen will be blank. Is it possible to load the next chapter earlier?

Keep up the good work!
_________________
Nintendo DS homebrew on Wikipedia

#123341 - tyraen - Tue Mar 27, 2007 12:09 pm

Bah, it was so much more work to have it not load the next chapter. :D I can have it just keep loading, heh. I don't really want to check if it's the next book though...

#123370 - tyraen - Tue Mar 27, 2007 6:48 pm

I just uploaded version 0.22. Details and such on my site, but a quick rundown:

* Controls have been redesigned. The touch screen is now used extensively for navigation, with the D-pad and shoulders doing verse-by-verse scrolling in various forms.
* More bookmarks! Should now be able to store 50 bookmarks. The only reason there is a limit is to watch out for memory usage, I'm not sure it's really an issue though.

Coming up (hopefully):

* Navigating by specific books and chapters (as opposed to scrolling through)
* Less file mess (parse file and bookmarks combined)
* Uh, maybe other stuff I've talked about before

I probably ended up writing more here than is on my site. :)