DCEmulation

dreamcast development • homebrew software • hardware hacking • indie games • emulators • and more!
Back to main site
It is currently Wed Dec 17, 2014 12:53 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Comic Book Reader
PostPosted: Thu Sep 03, 2009 9:33 am 
Offline
Psychotic DCEmu
Psychotic DCEmu

Joined: Mon Aug 11, 2008 7:34 am
Posts: 577
Location: Nowhere U.S.A.
Would it be possible/simple to port a comic book archive reader to the Dreamcast?

Quote:
Image

Comic Book Archive files mainly consist of a series of image files, typically PNG (lossless compression) or JPEG (lossy compression) files, compressed using one of several popular methods. The file extension indicates the archive format used:
.cbr → RAR
.cbz → ZIP


One open source code I know of is the CDisplay offshoot, "CDisplayEx": http://en.wikipedia.org/wiki/CDisplayEx

_________________
ImageImageImageImage


Top
 Profile  
 
 Post subject: Re: Comic Book Reader
PostPosted: Thu Sep 03, 2009 11:51 am 
Offline
DCEmu Respected
DCEmu Respected

Joined: Tue Mar 16, 2004 5:59 pm
Posts: 312
I've always used Comical for comic books, it's great as a standalone app with CBR/CBZ archives on portable media.

_________________
The beauty of Facebook, Twitter and all the other online media distractions is that those who have no place in real society are kept occupied. In the meantime we useful people will continue to experience real life without the unnecessary hindrance of imbecilic attention.


Top
 Profile  
 
 Post subject: Re: Comic Book Reader
PostPosted: Thu Sep 03, 2009 1:22 pm 
Offline
Dream Coder
Dream Coder
User avatar

Joined: Tue Jul 30, 2002 10:14 pm
Posts: 7459
Location: Miami, FL
There are two problems I can think of.
1) Solid compression things like rar or 7z would be difficult because their nature typically requires you to extract everything at once. This is fine for a save file or a rom for an emulator, but not for 100 pics or so. cbz would be fine though, as with zip you can extract individual files.
2) I've not tried much with the DC in the way of picture slideshow and comics, but it would seem to me that 640x480 would be too low to be able to read the images.

_________________
"When you post fewer lines of text than your signature, consider not posting at all." - A Wise Man


Top
 Profile  
 
 Post subject: Re: Comic Book Reader
PostPosted: Thu Sep 03, 2009 4:09 pm 
Offline
DCEmu Respected
DCEmu Respected

Joined: Tue Mar 16, 2004 5:59 pm
Posts: 312
Quzar wrote:
it would seem to me that 640x480 would be too low to be able to read the images.

It is, the picture art is fine but the text (or speech bubble) is problematic, you'd need to zoom-in to each page to read the text displayed. Although it doesn't have all the features of Slideshow, I've found DCViewer to be the best comic reader on the Dreamcast, you do need to have the CBR/CBZ archive extracted into it's own directory though.

_________________
The beauty of Facebook, Twitter and all the other online media distractions is that those who have no place in real society are kept occupied. In the meantime we useful people will continue to experience real life without the unnecessary hindrance of imbecilic attention.


Top
 Profile  
 
 Post subject: Re: Comic Book Reader
PostPosted: Thu Feb 10, 2011 7:13 am 
Offline
Psychotic DCEmu
Psychotic DCEmu

Joined: Mon Aug 11, 2008 7:34 am
Posts: 577
Location: Nowhere U.S.A.
I take it then that this was infeasible, or would just be too time consuming?

Would zip/rar extraction along with jpeg rendering be possible within the limits of the DC's RAM?

_________________
ImageImageImageImage


Top
 Profile  
 
 Post subject: Re: Comic Book Reader
PostPosted: Thu Feb 10, 2011 10:11 pm 
Offline
DCEmu User with No Life
DCEmu User with No Life

Joined: Sat Feb 16, 2002 12:55 pm
Posts: 3641
Stryfe wrote:
I take it then that this was infeasible, or would just be too time consuming?

Would zip/rar extraction along with jpeg rendering be possible within the limits of the DC's RAM?
ZIP is reasonable, at least in principle. RAR is just a pain in the ass to deal with. The only reason anyone supports it is that RARLab provides a .DLL for decompressing it, and that's useless on Dreamcast. There's also source code, but it's packaged as a standalone utility (not a library) for Unix-like systems and is distributed under an obnoxious license. Even leaving that aside, RAR is a dictionary-based format that supports solid archives, which is not the best recipe for a RAM-limited platform with no standard mass storage.

_________________
"You know, I have a great, wonderful, really original method of teaching antitrust law, and it kept 80 percent of the students awake. They learned things. It was fabulous." -- Justice Stephen Breyer


Top
 Profile  
 
 Post subject: Re: Comic Book Reader
PostPosted: Mon Feb 14, 2011 11:59 am 
Offline
Moderator
Moderator
User avatar

Joined: Wed Aug 27, 2003 10:16 pm
Posts: 5846
Location: DCEvolution.net
From what I remember, DC Slideshow already does what you'd expect from a comic book viewer: http://www.dcevolution.net/index.php?id=slideshow

Decompress your CBR/CBZ files into a directory, convert to JPG if necessary and burn your CD.

_________________
Insane homebrew collector.


Top
 Profile  
 
 Post subject: Re: Comic Book Reader
PostPosted: Fri Feb 25, 2011 2:12 pm 
Offline
Insane DCEmu
Insane DCEmu
User avatar

Joined: Wed Mar 10, 2010 12:29 am
Posts: 108
Location: Fort Worth, Texas
Yeah, and me and a friend have already gotten the first issue of the US ODCM scanned and available on a CDI for you to read on your Dreamcast and TV. Such a great program too. There are 13 US ODCM mags that were made, and we have issue "0" released first, the other 12 magazines will get added when they are scanned.

http://www.dcisozone.com/downloads/2080 ... or-DC.html

Please leave comments.


Top
 Profile  
 
 Post subject: Re: Comic Book Reader
PostPosted: Sun May 22, 2011 10:30 am 
Offline
Mental DCEmu
Mental DCEmu
User avatar

Joined: Wed Mar 30, 2011 10:13 am
Posts: 314
I think if Dreamcast (i mean, KOS) have such type of libraries and sets of standarts functions, for example, reading or opening an 7z or zip files and\or read jpeg images i think there's no real problem. that's just needs work to do.

_________________
How do I try to build a Dreamcast toolchain:
Image


Top
 Profile  
 
 Post subject: Re: Comic Book Reader
PostPosted: Mon May 23, 2011 7:08 pm 
Offline
DC Developer
DC Developer
User avatar

Joined: Fri Jun 18, 2010 7:29 pm
Posts: 435
RyoDC wrote:
I think if Dreamcast (i mean, KOS) have such type of libraries and sets of standarts functions, for example, reading or opening an 7z or zip files and\or read jpeg images i think there's no real problem. that's just needs work to do.


The main problem, that Quzar pointed out, is that solid archives are a big problem for a system with 16mb main ram.

I dont think the current port of 7z would work for anything useful. You could try to compile the latest c++ version of the lib7z...


Top
 Profile  
 
 Post subject: Re: Comic Book Reader
PostPosted: Wed May 25, 2011 4:45 am 
Offline
Mental DCEmu
Mental DCEmu
User avatar

Joined: Wed Mar 30, 2011 10:13 am
Posts: 314
Yeah, I've pointed that too.
But we can write the bigger, not needed to work part of this decompressed archive to the dev\null, can we? Then decompress it again and take the next part that we need to work too, throwing away all another. Maybe that's not a solution but maybe it is.
I don't believe that there's no suitable ways to arrange this situation (instead of increasing the RAM size, of course).

_________________
How do I try to build a Dreamcast toolchain:
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group