
-----------------------------------
Raugrist
Sat Apr 03, 2004 8:50 am

[Source] My manga reader
-----------------------------------
A short time ago when I started reading downloaded manga, I found a program called "Manga Reader" or something that was supposed to be good for reading manga on your pc. But it sucked. So I started reading it using the windows picture and fax viewer program which was alright, but I didn't like having to zoom in all the time, and I didn't like having the window take up the whole screen.
So I made my own. This program is just a small window (you can set the size yourself in the first two lines), that loads in a list of JPG images in the same directory as the turing file. You can hold down the right mouse button and drag it away from the center of the window to scroll to that part of the picture, and hold down the left mouse button and drag either left or right to go to the previous or next page respectively. You can press 'q' to quit, and 'w' to type in a number for which page you want to skip to.

I keep thinking I'm forgetting something but I don't know what. If you have one chapter of a manga to read, this probably won't be terribly useful, but if you have a good ~33 volumes to read through (yay!) I think this program will come in handy. So try it out if you want and let me know what you think!

-----------------------------------
Paul
Sat Apr 03, 2004 10:31 am


-----------------------------------
looks really good, but when I tried it with mine, it went like:
illegal picID number '0' on

    if Pic.Width (picId) < winWidth then

I know it works cause when I opened it while it was in temp, it opened the pictures. Its just now I don't know why, I also set the width and height of the window to max.
Also, many of my manga chapters include .png files, will it read those?
+10 bits cause I'd like to see this develope further.

-----------------------------------
Raugrist
Sat Apr 03, 2004 10:45 am


-----------------------------------
looks really good, but when I tried it with mine, it went like:
illegal picID number '0' on

    if Pic.Width (picId) < winWidth then

I know it works cause when I opened it while it was in temp, it opened the pictures.

That's odd, I've never had that happen. Is the picture in the same directory as the turing file?

Its just now I don't know why, I also set the width and height of the window to max.

Are you saying you didn't have the problem until you set the width and height to max?


Also, many of my manga chapters include .png files, will it read those?
+10 bits cause I'd like to see this develope further.
I'm afraid not. Currently turing can only load bitmaps and jpg images (and I haven't seen any manga in bitmap format...). But if you have yours in .PNG you can use IrfanView to convert (batch convert) the images to jpg. That's what I have to do because turing won't load certain jpg files for some reason, so I just batch convert an entire volume from jpg to jpg and it works.
Yeah, I'd like to see it developed further too! I like making useful programs.   :wink:

-----------------------------------
Paul
Sat Apr 03, 2004 11:08 am


-----------------------------------
no I set the screen size to max to see if it works, yea I saved it in the same directory. it should work cause it worked in the temp folder :(

-----------------------------------
Raugrist
Sat Apr 03, 2004 1:18 pm


-----------------------------------
I can't see what's causing the problem. If you're running the program in the same folder as the pics, this shouldn't happen. Try changing the Dir.Current to the full path to the picture files (put the path in quotes).

-----------------------------------
Paul
Sat Apr 03, 2004 1:28 pm


-----------------------------------
nope still doesn't work, gj anyway though.

-----------------------------------
Raugrist
Sat Apr 03, 2004 1:30 pm


-----------------------------------
Anybody else try it out?

-----------------------------------
the_short1
Sat Apr 03, 2004 2:35 pm


-----------------------------------
YAY!!! another irfanview fan... converts anything..... batch convert and rename is WICKED!>>>.... this seems like a very nice and handy app... but what is manga or w/e????

-----------------------------------
Paul
Sat Apr 03, 2004 3:27 pm


-----------------------------------
its a waffle....
no.. its japanese graphic novels...

-----------------------------------
the_short1
Sat Apr 03, 2004 4:07 pm


-----------------------------------
ahh.... i see  i see... 
NOTE: It did work.... Good job... (i downloaded to temp and their was a couple pics in there)

-----------------------------------
recneps
Sat Apr 03, 2004 8:07 pm


-----------------------------------
Nice job. I love manga. And yes, manga is japanese anime comics basically (manga means picture story i believe)

-----------------------------------
Raugrist
Wed Apr 07, 2004 7:02 am


-----------------------------------
Just a little update, I added some scrollbar-ish things to the sides of the window that show up when the current page is larger than the window (this happens sometimes, and there are occassions when you wouldn't realize it until you actually scroll over). The bars aren't used for scrolling, they're just there so you know where you are on the page, you still scroll by dragging the mouse around in relation to the middle of the window.
I also added a line from the middle of the screen to the mouse when you're right-clicking, it's kind of like the popup radial menu from NWN now (minus the menu).

Now all there is to do, I think, is write up a small folder browser to let you pick the folder where the manga is located and then I'll compile and distribute...

[url=http://raugrist.dyndns.org/manga.txt]Anyways...

-----------------------------------
white_dragon
Wed Apr 07, 2004 3:56 pm


-----------------------------------
tat's awesome! i dunno wat da hell manga is but good job anyways! 
oh n paul...


ur da only one who got tat

-----------------------------------
white_dragon
Wed Apr 07, 2004 3:57 pm


-----------------------------------
lol i found out wat manga is.  wierd anime stuff

-----------------------------------
Paul
Wed Apr 07, 2004 4:00 pm


-----------------------------------
nope, it only worked for me in the temp folder. And didn't work for my real manga.

-----------------------------------
Raugrist
Wed Apr 07, 2004 5:29 pm


-----------------------------------
nope, it only worked for me in the temp folder. And didn't work for my real manga.
That's still weird. And what do you mean it didn't work for your 'real' manga? You aren't secretly stockpiling fake manga to sell on the black market are you? Or are you referring to manga in book form? In which case you wouldn't need this program...

-----------------------------------
Paul
Wed Apr 07, 2004 6:14 pm


-----------------------------------
lol, the pics in temp aren't manga. While the 655mb of naruto I have on my computer is.

-----------------------------------
Raugrist
Wed Apr 07, 2004 8:40 pm


-----------------------------------
lol, the pics in temp aren't manga. While the 655mb of naruto I have on my computer is.
Naruto manga? *sigh*

Is it at least in JPG format? And if so, do you get any problems while trying to load the image in a turing program of your own?

-----------------------------------
Paul
Wed Apr 07, 2004 9:52 pm


-----------------------------------
well unless Im doing something wrong here:

var pic: int:=Pic.FileNew("naruto_v01.jpg")
Pic.Draw (pic, maxx div 2, maxy div 2, picCopy)

I saved it in the same folder.
So its not your programs fault, your program works great. Its just holtsoft's anti naruto conspiracy.

-----------------------------------
Raugrist
Thu Apr 08, 2004 6:49 am


-----------------------------------
well unless Im doing something wrong here:

var pic: int:=Pic.FileNew("naruto_v01.jpg")
Pic.Draw (pic, maxx div 2, maxy div 2, picCopy)

I saved it in the same folder.
So its not your programs fault, your program works great. Its just holtsoft's anti naruto conspiracy.
I had similar problems with other manga. It works fine anywhere but turing. That's when I used IrfanView to convert them all to .jpg (yes, I know they were already in that format). Then it worked alright.

-----------------------------------
the_short1
Thu Apr 08, 2004 11:17 am


-----------------------------------
maybe turing hates the undersciores... try to rename all with irganview... without any underscores... i know it dobnt work iwth spoaces...

-----------------------------------
white_dragon
Wed Apr 14, 2004 4:13 pm


-----------------------------------
[quote="the_short1"]maybe turing hates the undersciores... try to rename all with irganview... without any underscores... i know it dobnt work iwth spoaces...[/quote]

wat is irganview?!!?!?!?!?? is it a new command?

-----------------------------------
Raugrist
Wed Apr 14, 2004 5:34 pm


-----------------------------------
maybe turing hates the undersciores... try to rename all with irganview... without any underscores... i know it dobnt work iwth spoaces...

wat is irganview?!!?!?!?!?? is it a new command?
Underscores are not the problem. If the_short1 knew how to type, he would've suggested renaming (most likely batch rename) the files with irfanview. But again, that wouldn't have helped. Though if you batch convert them with irfanview (convert them all to .jpg, even if they already are in that format) it should work. Of course I already have a better version of this to use, in the submissions section.

-----------------------------------
the_short1
Wed Apr 14, 2004 7:41 pm


-----------------------------------
yea.... sorry for my bad spelling on that one...


GO IRFANVIEW!!!!! ITS DA BEST!!!!

cool... i will check out ur new viewer soon...
