CG Converter

Extract text from shader files (CG)


Drop or upload your .CG file

How to extract text from your CG file

  1. Click the "Select File" button above, and choose your CG file.
  2. You’ll see a preview, if available.
  3. Click the "Convert file to..." button to extract text information.

Convert CG to another file type

To convert CG shaders to another format, you need KiriKiri or other Game software.

Convert a file to CG

To convert other file formats to the "Game Graphics Archive" file type, you need software like KiriKiri or a similar tool.


About CG files

A .CG file primarily serves as a compressed graphics archive for visual novel game engines, specifically KiriKiri and NScripter. Alternatively, it functions as a C for Graphics shader source code file developed by NVIDIA, or an accounting database utilizing standard JetDB for software like Conti-Express or Tango Gestión. Occasionally, it stores chromatography signal data for Agilent ChemStation.

These files are highly proprietary, ambiguous, and context-dependent. A .CG graphics archive is tightly packed to save space, meaning standard image viewers cannot read it. It requires specialized extraction tools like BMP Cutter3 to access the raw images. NVIDIA shader files are raw text but require compilation via the deprecated Cg Toolkit to function in graphics pipelines. The database and chromatography variants are heavily locked into their respective closed software ecosystems, making external access a significant challenge.

Users typically need to convert .CG game archives to extract the underlying PNG, BMP, or JPG images for modding, preservation, or external viewing. Developers working with older .CG shader files often migrate them to GLSL or HLSL due to NVIDIA abandoning the Cg language.

Because they rely on engine-specific compression or proprietary data structures, these formats are notoriously difficult to convert. Standard online converters fail to process them. Even if the file is a closed proprietary format, our analysis can often detect embedded text or underlying media, allowing you to inspect the data when normal tools fail.

Convert.Guru analyzes your CG file, detects the exact format, and lets you read the text inside.

Users also converted CG4, CGC, PNG, P7S, JPG, MP4, DAT, TVP, ZT, NVU, G, MG and CV files.


FAQ

If you want to convert CG file to G, MG, CV, DAG, OBJ, FBX, DAE, 3DS, MAX, BLEND, MA or MB, you can use KiriKiri or similar software from the "Game Graphics & Shader Storage" category. In the File menu, look for Save As… or Export….

To convert DWG, DAE, X3D, IGES, WRL, JT, SKP, 3DS, 3DM, OBJ, STEP or FBX files to CG, try KiriKiri or another comparable tool in the "Game Graphics & Shader Storage" category.



The CG Converter Story

The history of Convert.Guru began over 25 years ago in California with Tom Simondi’s file-format database. A former contributor to Space Shuttle development and a software pioneer of the 1980s, Simondi established a trusted resource for file type analysis that was even referenced by Microsoft Windows XP. Today, we use modern technology to process and convert thousands of file formats while continually improving our CG converter.