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/c0g8zm44fitzceaView 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
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