Author Topic: [APP] Comic book viewer for small screens  (Read 6296 times)

a320.emulate.su (OP)

  • Posts: 13
[APP] Comic book viewer for small screens
« on: June 28, 2011, 07:49:57 pm »
Hi, Dingoonity!

I decided to release my comic book viewer for Dingux.
Here is the link to download: http://dl.openhandhelds.org/cgi-bin/dingoo.cgi?0,0,0,0,113,513
Please, read documentation inside archive. Anyway, I'm pasting it here :)

Quote
This is the initial release of Comic Book Viewer for Small Screens (CBZViewSS).

It's capable of viewing CBZ comic books with JPEG files (quite known format) on Dingux-based devices (320x240)

Supported formats
CBZ comic books with JPEG files. For other formats use Jomic - http://jomic.sourceforge.net/ - it supports conversion to CBZ with JPEG.

System requirements
Dingux device with 320x240 resolution. SWAP-enabled kernel and SWAP file for Dingoo A320 with 32mb ram. Didn't have any problems with 64mb A330, but anyway, consider using SWAP. Comix ARE HUGE.

Installing
Put CBZViewSS.dge to the desired folder of your SD card. Make a shortcut in gMenu/dMenu with ability to pick .cbz file.

Running

.cbz file name should be passed to a programm as a parameter. So, take care about correct gMenu/dMenu shortcut with ability to pick-up a target file.
After first run you will see some debug output in terminal, then program starts.
Attention: there is a known bug - first page is rendered incorrectly (black screen), so push d-pad left-right to refresh the screen.

Keys

D-Pad - movement
B-Page down
X-Page up
Y-"Line feed" - autoscroll down for a viewport height and move left (most comics have left-to-right reading order, aren't they ? and we had spare button :-))
A+DPad - pixel scroll
R-ZOOM
L-UNZOOM
Start+Select - Exit

Known bugs

Incorrect first page render. See "Running" section for workaround. Still cannot do anything about it.
Non-jpeg files inside cbz cause segfault. Workaround - remove them manually from archive (just delete with your favourite archiving program)

I also added src to the archive, so feel free to modify. Really doubt, that someday I'll get back to it - need more time for reviews :-)

Coccijoe

  • Posts: 366
    • Underground Portables
Re: [APP] Comic book viewer for small screens
« Reply #1 on: June 28, 2011, 09:02:40 pm »
 ;D very nice thanks !

edit: it work well! i'm reading walking dead on  my dingoo  ;D, i like these apps that make our dingoo a very multifunction device! thanks again
« Last Edit: June 28, 2011, 09:36:18 pm by Coccijoe »

a320.emulate.su (OP)

  • Posts: 13
Re: [APP] Comic book viewer for small screens
« Reply #2 on: June 28, 2011, 09:56:51 pm »
Good to hear it. By the way, I tried to compile it with 480x272 (just change the #defines) screen for "R480". Works flawlessly, except "first page render bug" and bigger screen really "delivers".

mgear25

  • Guest
Re: [APP] Comic book viewer for small screens
« Reply #3 on: July 02, 2011, 04:29:24 pm »
Thanks men im really apreciated(sorry for my bad english)  :o.

samir

  • Posts: 344
Re: [APP] Comic book viewer for small screens
« Reply #4 on: July 02, 2011, 07:37:29 pm »
Thanks!!!  ;D

Tetsuoo

  • Guest
Re: [APP] Comic book viewer for small screens
« Reply #5 on: July 04, 2011, 10:13:29 pm »
I don't have much comics so for testing purpose i just took some random ZIP manga and renamed it into CBR.
Not sure it was a good idea, as the pics show up in the wrong order and i couldn't find the logic of it. Oh well.
Quote
Y-"Line feed" - autoscroll down for a viewport height and move left (most comics have left-to-right reading order, aren't they ? and we had spare button :-))

The Y button makes the pictures scroll down but they stays at the left side. The pictures I have here are huge for a Dingoo (1105x1600 hahaha), so i guess that has something to do with it ^^;

The "by pixel move" is impressively smooth, even if i'm not sure i will ever use it.
Anyway that's a pretty good job i'd say, very fast viewer, little file size, and easy to use :)

Now i'll try with a "real" CBR comic book file, should be easy to find (i think i had some but since i discovered that CBR are just ZIP files with different extension name, i renamed/unzipped them all... ^^; )
« Last Edit: July 04, 2011, 10:37:51 pm by Tetsuoo »

Poligrafowicz

  • Posts: 213
Re: [APP] Comic book viewer for small screens
« Reply #6 on: July 05, 2011, 04:17:36 pm »
CBR are generally rar files, CBZ are zips. Make sure to have page numbers with 0 in it like :
001
002
003
...
010
011
...
100
101

Rather than :
1
2
3
...
10
11
...
100
101

Madrugaum

  • Guest
Re: [APP] Comic book viewer for small screens
« Reply #7 on: July 07, 2011, 11:16:15 pm »
I cant get this to work, I got A320, just did the swap procedure to 64mb, dunno if that worked tho..

When I try to open a file with the software, it just comes back to the menu.

I've edit the link, put selector directory and browser.

Didnt understand the parameter thing

Nice release btw!!! grats ;D

I can read in the output terminal

unable to open file (path and name of file I try to open)
« Last Edit: July 07, 2011, 11:18:10 pm by Madrugaum »

a320.emulate.su (OP)

  • Posts: 13
Re: [APP] Comic book viewer for small screens
« Reply #8 on: July 08, 2011, 08:26:12 pm »
It's probably a file issue.
Check, that it's a CBZ (a zip archive) - try to open in WinZip, for example
Check, that it's not corrupt
Check, that it contains jpegs.
Upload it to some file share and let the community check =)
Or, just pick another book =)

Madrugaum

  • Guest
Re: [APP] Comic book viewer for small screens
« Reply #9 on: July 09, 2011, 06:54:57 pm »
Alright man..

Uploaded for you guys to check the file, there goes the link:
http://www.mediafire.com/?yywwglqh912tm9n

It was a .cbr file, I just renamed to .cbz and tried to open with the software. I know that the files inside are all .jpeg.

Dunno if the .cbz and .cbr files has special properties or attributes. I've read that they are compacted like .rar or .zip so anyway.

Thanks for the reply.  :)

Coccijoe

  • Posts: 366
    • Underground Portables
Re: [APP] Comic book viewer for small screens
« Reply #10 on: July 09, 2011, 09:12:36 pm »
i don't think you can just renamme cbr to cbz, try to renamme your ".cbr" to ".rar" extract it, then compress the folder to ".zip" and renamme it to ".cbz" that should work.

Madrugaum

  • Guest
Re: [APP] Comic book viewer for small screens
« Reply #11 on: July 09, 2011, 11:16:57 pm »
I did what Cocci said and it didnt work..

Same error and message, Zipped image files previously extracted and renamed from .zip to .cbz


a320.emulate.su (OP)

  • Posts: 13
Re: [APP] Comic book viewer for small screens
« Reply #12 on: July 10, 2011, 12:08:09 pm »
Alright man..

Uploaded for you guys to check the file, there goes the link:
http://www.mediafire.com/?yywwglqh912tm9n

It was a .cbr file, I just renamed to .cbz and tried to open with the software. I know that the files inside are all .jpeg.

Dunno if the .cbz and .cbr files has special properties or attributes. I've read that they are compacted like .rar or .zip so anyway.

Thanks for the reply.  :)

Hmm... My english may be too bad.
As I told, you CAN NOT use CBR files. Even renaming them to CBZ =).
I've downloaded file, you attached, and tried to check - it's a STILL a RAR archive.
I opened it in Jomic (see link above) and converted to CBZ. The resulting file was opened successfully.
Again, CBR files are RAR archives, this app supports only ZIP. RAR and ZIP structures are different.
Here is the link to your file, _converted_ into CBZ, not renamed:

http://mir.cr/1BETXGKH

Hope, it will help.

Madrugaum

  • Guest
Re: [APP] Comic book viewer for small screens
« Reply #13 on: July 11, 2011, 08:15:41 pm »
Ok, sorry for the CBZ trouble.

But I must say that I've downloaded the file you have converted and it doesnt work as well  :(

Guess I did something wrong in the installation maybe??

a320.emulate.su (OP)

  • Posts: 13
Re: [APP] Comic book viewer for small screens
« Reply #14 on: July 16, 2011, 03:59:50 pm »
Make sure, your swap works.
Use telnet to test the application - put the file in the same dir and run like:
CBZViewSS.dge <file_name> in command line.
See the output.
It should start to fill with some debug info, then complain about "cannot open screen" or something similiar - because you are in telnet.
Actually, then check your installation.

zear

  • * Moderator
  • Posts: 2381
Re: [APP] Comic book viewer for small screens
« Reply #15 on: July 16, 2011, 08:35:35 pm »
I think it's enough to enable gmenu2x logging and then read back the log.

 

Post a new topic