Extracting CGs from games is surprisingly easy once you have the right tools, so I figured I'd share some tips and secrets =)
(Mods, is this the right forum for this, or should it go in BL Guides?)
CG Extraction Tools
Here's a list of tools you'll need, and where to find them. (Will be updated later as I add to the guide.)
Crass
ExtractData
MultiExtractor
ONScripter Tools
unrpa (also requires Python 2.7.2)
XnConvert
Game Engines I Can Work With
Some common game engines that I know how to extract CGs from:
KiriKiri (instructions below) - common for Japanese commercial and doujin games
LiveMaker
NScripter
Ren'Py - more common in the English and Russian visual novel communities, but sometimes used for Japanese games
SaiSys - Marine Heart & Ferret games
Yuuki!Novel
Scenario-kun
(I'll add more to this list as I update the guide.)
General Setup/Getting Started
Before you start, make sure your computer is set to show file name extensions. This will save you trouble when you're looking for particular file types.
Also, when working with Japanese games, it's always a good idea to install Japanese language support. Image file names sometimes contain Japanese characters, and I don't know if they'll extract properly if your computer's set to another language.
Game Engines I Don't Know How to Work With
This isn't a comprehensive list, but I figured I'd list engines I can't rip CGs from so people don't their hopes up, and also in case someone else has tips they can share.
Lanovee - commercial Japanese visual novel engine. The only game I've seen use it is Mou, Eewa... Suki ni Shite.
*****
KiriKiri
KiriKiri games either have all the resources packed in an .EXE file, like so:
capture_002_26032014_150743.png
Or have a separate .EXE file to launch the game, with data packed in .XP3 files:
capture_001_26032014_150617.png
Usually there's only DATA.XP3, but some games will have different .XP3 files for each media type, and/or patch files (PATCH#.XP3).
Either way, the file description of the game's .EXE will say TVP(KIRIKIRI) 2 core / Scripting Platform for Win32.
KiriKiri is one of the most common visual novel engines, so there are many tools for extracting resources. However, some methods will extract the images as .TLG files, which require an additional step using Japanese image editing software, so that's kind of a pain.
I've found the easiest program to use is ExtractData, as it will extract .BMPs even if the images are in .TLG format within the game archive.
Open the game .XP3 or .EXE file in ExtractData to see a list of the archive contents:
capture_007_26032014_151446.png
You can ctrl+click to select files, then click the floppy disc icon to just extract those files, or click the multiple floppy disc icon to extract the whole archive. I find it a lot less hassle to just extract the whole archive, then delete BGM and other unneeded contents aftewards, rather than digging through a list of files. Whichever option you choose, you just need to input a file path and then click OK.
Some KiriKiri games, however, are encrypted and can't be fully ripped with ExtractData. The program can detect the file structure and extract files with the correct names and everything, but if you try to open the files in an image editor, you'll get an error.
If this happens, you'll need to extract the game archive with Crass. This is a bit more complicated, but as long as you run CrageGUI, at least you won't have to deal with command line stuff.
First, click "Show Adv." to show more options.
Check the "Source File" box, then browse for the .XP3 or .EXE file you want to extract.
In the same folder, you should find a .TPM file:
25052014_194105_capture_002.png
This contains encryption information for the game archive.
In CrageGUI, check the "Param" box and type tpm1=, then copy and paste the file path to the .TPM file, in quotes. It should look like this:
25052014_194430_capture_003.png
Click Execute. If this doesn't work, replace tpm1= with tpm2= and try again, which usually fixes the problem.
By default, Crass will extract the game archive into a new folder wherever you have Crass saved, but you can also set your own extract path by checking "Dest. Path" and browsing for another folder location.
That seems like enough for a starting post! I'll tackle NScripter and Ren'Py next.
Please let me know if this guide is unclear or needs more detail! I may have assumed some computer knowledge that you don't already have.
And have fun extracting your KiriKiri games =D