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 Misc > CDisplay Comic Reader on DS??

#48910 - dirtmound - Sun Jul 24, 2005 1:55 am

I know that the GBA has severe limitations on it's ability to display colors and the resolution was pretty low, but could the DS be used with CDisplay to show archives of jpegs and pngs? I'm imagining a thumbnail of the image on the bottom screen with a box highlighting a zoomed in part of the image on the top screen. Dragging the stylus on the bottom, scrolls the zoomed area on the top.

Keeping in mind that most images are 500-700 KB and somewhere around 900 x 1400 dpi, how much zoom would have to be used to make the images readable and would the DS be able to keep up with the scrolling?

BTW, CDisplay is available at http://www.geocities.com/davidayton/CDisplay

#48919 - doublec - Sun Jul 24, 2005 4:50 am

I don't see why not. My tutorial on extended rotation backgrounds demonstrates decoding jpeg images on the screen, scrolling around them and zooming:

http://www.double.co.nz/nintendo_ds/nds_develop10.html

#48932 - Sintax - Sun Jul 24, 2005 8:12 am

The DS screens are 256x192 which is about a 5:1 ratio to the 1400x900 size you noted. I think the DS would definately be able to keep up with the scaling, scrolling, etc, but if the files are in an archive, I would think decoding them would be the hardest part.

#48944 - Mollusk - Sun Jul 24, 2005 3:26 pm

If you need decoding, the ram could be a limit, as 4Mo isn't much to decode large sized images...

#48946 - Kyoufu Kawa - Sun Jul 24, 2005 4:54 pm

dirtmound wrote:
I'm imagining a thumbnail of the image on the bottom screen with a box highlighting a zoomed in part of the image on the top screen. Dragging the stylus on the bottom, scrolls the zoomed area on the top.
You got my vote ;) Would you mind if I stole that for the highly theorethical Catnip Dreams 2?

#48955 - dirtmound - Sun Jul 24, 2005 7:06 pm

Kyoufu Kawa wrote:
You got my vote ;) Would you mind if I stole that for the highly theorethical Catnip Dreams 2?


Heh... by all means! Knock yourself out!

#49908 - dirtmound - Wed Aug 03, 2005 4:27 pm

doublec wrote:
I don't see why not. My tutorial on extended rotation backgrounds demonstrates decoding jpeg images on the screen, scrolling around them and zooming:

http://www.double.co.nz/nintendo_ds/nds_develop10.html


I can't get demo 10 to work on either my Supercard or GBAMP. I do have flashed firmware and have tried using WifiMe. Demo 1 worked without a problem. But when I try booting 10, I get a black top screen and the four values at the bottom stay at zero no matter what buttons I press or where I touch the screen. Would this need to be coded differently for use with the CF loaders I have?

#49914 - josath - Wed Aug 03, 2005 4:59 pm

dirtmound wrote:
doublec wrote:
I don't see why not. My tutorial on extended rotation backgrounds demonstrates decoding jpeg images on the screen, scrolling around them and zooming:

http://www.double.co.nz/nintendo_ds/nds_develop10.html


I can't get demo 10 to work on either my Supercard or GBAMP. I do have flashed firmware and have tried using WifiMe. Demo 1 worked without a problem. But when I try booting 10, I get a black top screen and the four values at the bottom stay at zero no matter what buttons I press or where I touch the screen. Would this need to be coded differently for use with the CF loaders I have?


I believe the way doublec uses gbfs will only work if it's booted from a flashcart. Neither CF nor WMB will work with it.

#49924 - alangerow - Wed Aug 03, 2005 6:38 pm

If someone is working on this, you should talk to natrium42. He has GPS working for the DS using GIF images from Google Maps. He's using the GBA MP and says the limit for the map images is the capacity of the CF card. It sounds like he's figured out how to bring in images on the fly. And his work supports zoom layers (seperate image sets, though). Seems like a short hop to a cDisplayer.

http://www.natrium42.com/blog/?p=31

#49928 - natrium42 - Wed Aug 03, 2005 6:56 pm

I just used GBAMP rotines made by chishm. They are available here: http://www.geocities.com/chishm1/gbamp/
_________________
www.natrium42.com

#104526 - darkbliss - Sat Sep 30, 2006 3:09 am

Hi guys!

I've been desperately trying to find a comic book reader since I setup my DS for homebrew and found this thread to realise that it hasn't been updated in a year!

I'm 100% incapable of coding this but would love to contribute via donating or something similar. 1000s of others and myself would love to see something like CDisplay on the DS lite/phat!

#104528 - ssj4android - Sat Sep 30, 2006 4:19 am

You can already extract and view the pictures with Moonshell.

#104563 - ?hr - Sat Sep 30, 2006 12:42 pm

ill donate 3? for a cdisplay port(or something very similiar) :)


btw, moonshell supports 2 display-pictures, but its still shitty for comics and mangas :(
i allways read my naruto mangas with cdisplay

#104587 - OOPMan - Sat Sep 30, 2006 6:00 pm

Is CDisplay open-source?

The archive decoding won't be such an issue, since the images are usually already stored in a compressed format...

Also, the memory limit can be worked around. I think 32mb+4mb would be more than enough to handle generally speedy viewing...
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI

You can find my NDS homebrew projects here...

#104590 - darkbliss - Sat Sep 30, 2006 6:17 pm

ssj4android wrote:
You can already extract and view the pictures with Moonshell.


But like ohr noted, it's very impractical. It would be great if there was something dedicated to reading comics!

What i'm imagining is something similar to how the DS Opera works where you have the DS held like in Brain Age, non-touch screen to display comic panal and touch screen to zoom in on comic panal.

Quote:
CDisplay is no longer actively maintained by the original author, and the open source CDisplayEx has been adopted by many users in its place due to its greater speed and stability, along with its ongoing development.


http://sourceforge.net/projects/cdisplayex

#104591 - Nintendo Maniac 64 - Sat Sep 30, 2006 6:38 pm

darkbliss wrote:
ssj4android wrote:
You can already extract and view the pictures with Moonshell.


But like ohr noted, it's very impractical. It would be great if there was something dedicated to reading comics!

What i'm imagining is something similar to how the DS Opera works where you have the DS held like in Brain Age, non-touch screen to display comic panal and touch screen to zoom in on comic panal.

Quote:
CDisplay is no longer actively maintained by the original author, and the open source CDisplayEx has been adopted by many users in its place due to its greater speed and stability, along with its ongoing development.


http://sourceforge.net/projects/cdisplayex


Well, DSOrganize views images with a thumbnail on the bottom and you drag a viwing square around for the top screen. The problem is that you can't rotate the image 90 degrees for a more native comic/manga shape, and maybe some good scaling would be nice...

#104592 - ?hr - Sat Sep 30, 2006 6:39 pm

OOPMan wrote:
Also, the memory limit can be worked around. I think 32mb+4mb would be more than enough to handle generally speedy viewing...

theres a problem:
theres no code of using the m3/sc 32MB ram in the libnds and before this isnt done, its nearly impossible to use the extra ram...

#104597 - Firon - Sat Sep 30, 2006 7:35 pm

Well, Moonshell figured it out, as did DSLinux. Wouldn't call it impossible.

#104634 - josath - Sun Oct 01, 2006 12:22 am

Using the extra RAM is quite simple.

1. Use the magic unlock code.
2. Write to 0x8000000 as if it were just regular memory! (only issue is you must write in 16bits or greater, however the same limitiation occurs with VRAM, so it's not too big of a deal.)

Here are the magic unlock codes for M3, and Supercard:
http://www.dslinux.org/blogs/pepsiman/?p=22

#104647 - Mr. Picklesworth - Sun Oct 01, 2006 3:55 am

Hmm... is this what you were looking for?
http://gnese.free.fr/NDS/ComicBookDS/

It was just posted on DrunkenCoders :)

Looks rather beautiful. That may just be the bright and clear screenshots posted on top of nice looking DS-Lite trick, though.

Unfortunately, it doesn't stream from FAT; it just has a PC program which turns a comic book file into an NDS file.
I'm hoping upgrades to that will follow...
_________________
Thanks!
MKDS Friend Code: 511165-679586
MP:H Friend Code: 2105 2377 6896


Last edited by Mr. Picklesworth on Sun Oct 01, 2006 5:41 pm; edited 2 times in total

#104649 - darkbliss - Sun Oct 01, 2006 4:45 am

That looks perfect!

Thanks for the link! Can't wait until he gets v1 up and running, very very excited now :D

A PC program that converts the comic book files to .NDS is fine, we can't have everything perfect ;D

#104693 - Darkflame - Sun Oct 01, 2006 4:57 pm

Firon wrote:
Well, Moonshell figured it out, as did DSLinux. Wouldn't call it impossible.


Are you sure?
Moonshell works perfectly fine, all features, on my GBAMP and that dosnt have any ram.
_________________
Darkflames Reviews --
Make your own at;
Rateoholic:Reviews for anything, by anyone.

#104700 - Lick - Sun Oct 01, 2006 5:39 pm

That it CAN on some cards, doesn't mean it crashes on other cards. Although I haven't heard that Moonshell uses the extra RAM available, either.
_________________
http://licklick.wordpress.com

#104701 - OOPMan - Sun Oct 01, 2006 5:43 pm

Tested out the demo of the reader posted above. Looks great and works pretty well. I think the keys need same changing, but overall it's looking very very good...
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI

You can find my NDS homebrew projects here...

#104746 - Firon - Mon Oct 02, 2006 8:40 am

Darkflame wrote:
Are you sure?
Moonshell works perfectly fine, all features, on my GBAMP and that dosnt have any ram.

It uses the extra RAM IF available to decode very large JPEGs and PNGs. If not available, then very large images just won't decode.

#104788 - issinoho - Mon Oct 02, 2006 5:26 pm

WOW!
ComicBookDS is fantastic. When this is released this will overnight become the single most used app on my DS.
Plaudits to the author for a great bit of coding.

Counting the days until v1.

#105148 - darkbliss - Fri Oct 06, 2006 12:28 pm

http://gnese.free.fr/NDS/ComicBookDS/?language=en

It's out guys! I'll test it and report bck asap.

#105252 - darkbliss - Sat Oct 07, 2006 12:56 am

I've only tried it with a few comics so far and I am EXTREMELY surprised at the quality and simplicity of this application.


I have yet to encounter any bugs or major problems except I have a few things that could be improved on

- Needs an ability to zoom in (even further) because for double page comic scans I am unable to read it due to the low resolution that the PC program converts it to

- When making .nds files, have an option to just choose which format you'd like and not create all of them (.sc.nds, .nds, .nds.gba)

9.5/10 :D