> DMM and DLsite Book (.dmmb/.dlst) Image Ripper

 
post Oct 7 2012, 17:56
Post #1
wocle



Lurker
Group: Lurkers
Posts: 1
Joined: 12-April 09
Level 19 (Novice)


Turns out DLsite has their own version of the program DMM Viewer runs on, so this now works for .dlst files after a few minor changes. I've temporarily dubbed it the much less catchy ViewerRip. Also .jpg export has been added, as well as (hopefully) a few changes to make it more reliable.

Download: [mediafire.com] http://mediafire.com/download/c0g8zm44fitzcea

View source (written in C): [pastebin.com] http://pastebin.com/zpNccvwy (You'll still need FreeImage.dll from the download link if you want to be able to save as .jpg)

Instructions
1. Place viewerrip.exe in the folder where you want the ripped files to be saved.
2. Run dmmviewer.exe or dlsiteviewer.exe
3. Open the file you want to rip with dmmviewer/dlsiteviewer. Enter your login information if necessary.
4. Run viewerrip.exe and wait for it to finish. It will run in the background, so you can use other programs while you wait.

Known issues:
The program will only rip from the first instance of dmmviewer/dlsiteviewer, so make sure you only have one open at a time.
It may fail on small images. I don't know how small it would need to be exactly, so if you get garbage for any of your small images, let me know the dimensions.

What do I do if it doesn't work?
First, make sure you followed the instructions correctly and read the known issues. If your issue isn't resolved or addressed, run viewerrip_debug.bat (command line flag -d for those compiling from source with stdout and stderr piped to a file). Once it's done, open log.txt and send me the contents, as well as information about your version of Windows and anything else you feel might be relevant.

Changelog
2013/08/04
  • Added support for DLsite Viewer
  • Added support for .jpg export
  • Manually setting zoom to 100% is no longer necessary
  • Fixed only exporting the first image if started while viewing the last image
  • Possibly fixed "slanted" images
  • Slightly more debugging information
2012/10/07
  • Initial release

If you use it, let me know if it is/isn't successful so I can try to gauge how common problems are.

This post has been edited by wocle: Aug 5 2013, 16:32
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

11 Pages V « < 6 7 8 9 10 > »   
Reply to this topicStart new topic
Replies(140 - 159)
 
post Oct 11 2020, 23:59
Post #141
Nalien



Lurker
Group: Recruits
Posts: 9
Joined: 23-April 11
Level 6 (Beginner)


QUOTE(spyps @ Oct 4 2020, 02:48) *

I tried this method with [www.dlsite.com] https://www.dlsite.com/books/work/=/product_id/BJ255317.html, but it didn't work.
I got error message "Cannot read property 'toDataURL' of null"I

My guide was for DMM. I checked the DLSite browser viewer. There are 3 canvases for the current, previous and next pages, and the pages can be downloaded even while they aren't visible (unlike DMM). So you should execute
CODE
filename = 1
a = document.createElement('a')

function downloadCanvas() {
    canvases = document.querySelectorAll('canvas')
    for (canvas of [canvases[1], canvases[0], canvases[2]].filter(canvas => canvas)) {
        a.href = canvas.toDataURL('image/jpeg')
        a.download = filename++
        a.click()
    }
}

downloadCanvas()

after moving 1 page forward once, then
CODE
downloadCanvas()

every 3 pages. You will probably have to manually fix the numbers of the last pages if their count isn't a multiple of 3.

The device-mode trick isn't necessary here since canvases are drawn at a fixed size at any viewport dimensions, and later adapted to the viewport. But they have slightly smaller dimensions and bigger aspect ratio then the original images for some reason. On the manga I'm testing it the canvas is 740x1036 and the original images 768x1152. I wouldn't know how to make them exact.

But can't you rip DLsite images from the desktop application? That would be faster and accurate.

As for the quality: I don't notice any visible difference if I try to convert some original pngs anyway, so I don't mind downloading lighter images and save disk space. In fact, I save them as webp to save even more space (and there's no reason to use jpg, an encoding from 1992, other than compatibility with Internet Explorer and previous Safari versions). Though if you save them as webp you may want to try increasing the quality with the second argument of toDataURL:
CODE
toDataURL('image/webp', .85)

The defaults are .92 for jpeg and .8 webp.
Avoiding multiple compressions would be nice, but it's not worth manually screenshotting every page.
And it's not like DMM versions have perfect quality to begin with. I often find higher resolution versions on hitomi.la, not to mention the Fakku versions which look like way better.
But I can see how you'd want the best possibile quality if you plan to share them.

As for png compression: I recommend pngquant.

As for DRM-free DMM doujin: I don't get it, why don't you download the zip archives directly?

As for EPUB/dmmr files: I would also like to know. My image viewer guide was simply an adaption of [pastebin.com] https://pastebin.com/GNYZDAUy, but I haven't found anything for dmmr. For now I just saved every page of the ones I had bought as images which was painful, and I will see if an OCR application like tesseract can extract the text decently, but I don't think it works with furigana sad.gif.

For DMM/R18.com videos, I recommend [github.com] hlsdl.

This post has been edited by Nalien: Oct 12 2020, 17:22
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Nov 5 2020, 10:43
Post #142
himuratakeshi



Lurker
Group: Lurkers
Posts: 1
Joined: 5-November 20
Level 0 (Newbie)


Guys, im new here , i want to know if is possible to descensor a doujin with full censorship in white, , i have bought 2 work comic mujin, the file is dmmb, thks in advance.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Nov 11 2020, 14:48
Post #143
草头将



Lurker
Group: Gold Star Club
Posts: 3
Joined: 16-February 14
Level 26 (Apprentice)


Hello everyone, I get "Could not find a running supported viewer" when trying to rip contents from .dmmb file. I'm using DMM books 3.1.9 on Windows 10 x64. Any idea?

Appreciate your reply in advance.

Edit: nevermind, old version of DMM Reader still works.

This post has been edited by 草头将: Nov 11 2020, 15:13
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Nov 16 2020, 00:11
Post #144
ranfan



Why So Serious?
*****
Group: Members
Posts: 636
Joined: 8-January 12
Level 28 (Apprentice)


interesting technique. thanks!

This post has been edited by ranfan: Nov 16 2020, 06:53


--------------------
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Dec 2 2020, 18:05
Post #145
b51de



Newcomer
*
Group: Members
Posts: 26
Joined: 18-May 10
Level 10 (Novice)


Happy to say that this still worked with the outdated dmmviewer version, but the first page is all wonky/moired and a second blank page was generated somehow.
I could probably piece together a couple screenshots for it though if it's just the first page or two messing up.

This post has been edited by blind51de: Dec 3 2020, 13:36
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Dec 21 2020, 07:25
Post #146
okawabi



Newcomer
*
Group: Recruits
Posts: 11
Joined: 4-October 14
Level 7 (Beginner)


Thanks 城夜未央 for the old DLSITE viewer, does anyone have a the old DMMVIEWER by chance?
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Feb 13 2021, 23:41
Post #147
城夜未央



Newcomer
*
Group: Recruits
Posts: 10
Joined: 28-May 15
Level 44 (Novice)


QUOTE(okawabi @ Dec 21 2020, 05:25) *

Thanks 城夜未央 for the old DLSITE viewer, does anyone have a the old DMMVIEWER by chance?

DMM did not delete the old version of DMMVIEWER on the server.
The link below is a valid download of version 1.3.0.10a.
Note that the old version may not support the new file.
Download x86 [dl.aka.dmm.co.jp] http://dl.aka.dmm.co.jp/dmmviewer/DMMReade...2_1.3.0.10a.exe
Download x64:[dl.aka.dmm.co.jp] http://dl.aka.dmm.co.jp/dmmviewer/DMMReade...4_1.3.0.10a.exe

This post has been edited by 城夜未央: Feb 13 2021, 23:47
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Feb 21 2021, 15:16
Post #148
BiliPowerguy



Lurker
Group: Lurkers
Posts: 2
Joined: 4-August 16
Level 10 (Novice)


QUOTE(城夜未央 @ Feb 13 2021, 23:41) *

DMM did not delete the old version of DMMVIEWER on the server.
The link below is a valid download of version 1.3.0.10a.
Note that the old version may not support the new file.
Download x86 [dl.aka.dmm.co.jp] http://dl.aka.dmm.co.jp/dmmviewer/DMMReade...2_1.3.0.10a.exe
Download x64:[dl.aka.dmm.co.jp] http://dl.aka.dmm.co.jp/dmmviewer/DMMReade...4_1.3.0.10a.exe


Thanks for sharing. Does somebody happen to own the older version of DMM book viewer that support windows 7?Such as the version 3.1.7?
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Feb 24 2021, 12:59
Post #149
lbw0314



鳥の詩
********
Group: Gold Star Club
Posts: 3,649
Joined: 2-June 09
Level 500 (Ponyslayer)


QUOTE(城夜未央 @ Mar 21 2020, 17:49) *

Hi, I uploaded an old dlsite viewer, and remember to close the update prompt window. smile.gif
Download: [www.mediafire.com] http://www.mediafire.com/file/zehr14zvazic...erPack.exe/file

I download your old ver. But, I still can't use Image Ripper anime_cry.gif
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Feb 24 2021, 19:47
Post #150
娱乐城炸了



Lurker
Group: Recruits
Posts: 5
Joined: 20-February 16
Level 18 (Novice)


[bbs.pediy.com] https://bbs.pediy.com/thread-264220.htm
[mega.nz] https://mega.nz/file/sU1URAzb#HnFy1DDVDhAUo...0HotFyws-j5qjCA

Does anyone here still have dmmreadersetup X86 ver.3.1.7.0 or 3.1.9.0?
I found a dmmdecrypter on this chinese forum, it needs these to open .dmmb/.dmme file, but dmm has updated.
The topic starter also talk something about dlsite, but I can't even understand a word because I know nothing about programming cry.gif


User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Mar 4 2021, 01:59
Post #151
YukOnn



Lurker
Group: Lurkers
Posts: 2
Joined: 4-June 13
Level 0 (Newbie)


QUOTE(lbw0314 @ Feb 24 2021, 09:59) *

I download your old ver. But, I still can't use Image Ripper anime_cry.gif


I used this old version and it still work. (but the first page is corrupt lol)

What happen with yours?
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Mar 11 2021, 19:46
Post #152
城夜未央



Newcomer
*
Group: Recruits
Posts: 10
Joined: 28-May 15
Level 44 (Novice)


QUOTE(YukOnn @ Mar 3 2021, 23:59) *

I used this old version and it still work. (but the first page is corrupt lol)

What happen with yours?

Try different window sizes or zooms, it is recommended to start Ripper from the last page.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Mar 11 2021, 20:34
Post #153
城夜未央



Newcomer
*
Group: Recruits
Posts: 10
Joined: 28-May 15
Level 44 (Novice)


QUOTE(娱乐城炸了 @ Feb 24 2021, 17:47) *

[bbs.pediy.com] https://bbs.pediy.com/thread-264220.htm
[mega.nz] https://mega.nz/file/sU1URAzb#HnFy1DDVDhAUo...0HotFyws-j5qjCA

Does anyone here still have dmmreadersetup X86 ver.3.1.7.0 or 3.1.9.0?
I found a dmmdecrypter on this chinese forum, it needs these to open .dmmb/.dmme file, but dmm has updated.
The topic starter also talk something about dlsite, but I can't even understand a word because I know nothing about programming cry.gif

Here is the dmmviewer setup_ x86_ 3.1.7 download link, in addition to the hash value there is no difference between the two, you can choose any.
[dl.book.dmm.com] https://dl.book.dmm.com/download/win32/DMMV...p_x86_3.1.7.exe
[dl.aka.dmm.co.jp] http://dl.aka.dmm.co.jp/dmmviewer/DMMViewe...p_x86_3.1.7.exe

This post has been edited by 城夜未央: Mar 11 2021, 20:37
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Mar 16 2021, 17:31
Post #154
quazkov



Regular Poster
******
Group: Members
Posts: 927
Joined: 28-August 12
Level 335 (Godslayer)


DLSite updated (combined the English site with the main one) and the old reader version doesn't seem to work anymore. I mean the version posted here:

[www.mediafire.com] http://www.mediafire.com/file/zehr14zvazic...erPack.exe/file

Maybe it's my system breaking down. I'll try it on another computer. But if it it still can't work, the DLSite ripper needs an upgrade or something. Or we need a more recent compatible .exe.

Edit: Well it worked again. I dunno what happened.

This post has been edited by quazkov: Mar 21 2021, 20:00
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Mar 16 2021, 18:21
Post #155
Unumbium



Newcomer
**
Group: Members
Posts: 55
Joined: 6-March 19
Level 10 (Novice)


I'm kind of lost, could you guys please tell me which files need to be downloaded? I got the .dmmb file.

NVM, I read the guide, ty.

This post has been edited by Unumbium: Mar 20 2021, 05:11
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Mar 18 2021, 01:17
Post #156
gooeyslide21



Lurker
Group: Gold Star Club
Posts: 5
Joined: 10-February 11
Level 69 (Master)


I want to give a thank you for creating this, as it has been a godsend for getting past that damn DLC.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Mar 25 2021, 09:11
Post #157
Wappen



Lurker
Group: Lurkers
Posts: 1
Joined: 15-September 12
Level 43 (Journeyman)


I have made an update to DLSiteViewerDumper. A C# GUI conversion of our original typcn's DLSiteDumper after 5 years.

Download link is on github front page.

[github.com] https://github.com/wappenull/DLSiteDumperGUI

Here is my messy GUI.


It also has ability to generate HTML viewer after all rip.


This post has been edited by Wappen: Mar 25 2021, 09:14
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Apr 5 2021, 01:07
Post #158
ntsa



Veteran Poster
********
Group: Members
Posts: 2,623
Joined: 16-August 09
Level 450 (Dovahkiin)


QUOTE(Wappen @ Mar 24 2021, 23:11) *

I have made an update to DLSiteViewerDumper. A C# GUI conversion of our original typcn's DLSiteDumper after 5 years.

Download link is on github front page.

[github.com] https://github.com/wappenull/DLSiteDumperGUI


Thanks


--------------------
Posting for the sake of adding nothing to this shit.
Shit I uploaded
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Apr 19 2021, 17:08
Post #159
Exhausted



Newcomer
*
Group: Members
Posts: 24
Joined: 23-December 12
Level 65 (Master)


QUOTE(Nalien @ Oct 11 2020, 15:59) *

For DMM/R18.com videos, I recommend [github.com] hlsdl.

I'm sorry, my brain is very small, are there any resources an idiot could use to understand this program?
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Apr 29 2021, 02:29
Post #160
Msopopop



Lurker
Group: Gold Star Club
Posts: 6
Joined: 15-December 13
Level 15 (Novice)


QUOTE(Wappen @ Mar 25 2021, 07:11) *

[size=3]I have made an update to DLSiteViewerDumper. A C# GUI conversion of our original typcn's DLSiteDumper after 5 years.


Huge thanks for your masterpiece. It really helps a lot. biggrin.gif
Is there any chance to add multi-language support for this application? I can offer Chinese translation.


--------------------
[psnprofiles.com]
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post


11 Pages V « < 6 7 8 9 10 > » 
Fast ReplyReply to this topicStart new topic
1 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
1 Members: haetaehae

 


Lo-Fi Version Time is now: 21st October 2022 - 00:08