CGView is currently being implemented in Go from scratch. See this page for the new version |
---|
CGView is an image viewer similar to Comix, with some nice features targetted towards viewing (H)CG archvies. It is written in python, and uses SDL through pygame.
Currently, the project is at an early alpha stage. There are some buggy functions and some don't work at all. If you want to try it nevertheless, you can get the current version here.
Windowed mode only:
Slideshow mode only:
This is just a design draft for the structure of cgview.txt. It is prone to go under heavy changes, so don't rely on it!
cgview.txt is the file where you define CG scene details for extra functionality. You can define which images belong to which character(s) and scene(s), define their contents and create image groups for toggling (such as “toggle bunnygirl/nurse/maid outfit”). CGView parses the file when the archive/directory has a file named cgview.txt, or a file (with an arbitrary name) is passed via -C.
cgview.txt is a Python ConfigParser file. Specific structuture of a cgview.txt is like this. You need to define characters involved in the game under a section “Characters” (yup, you cannot use this name for another section)
[Character] Mom = Mom Scene 1 : Mom Scene 2 Sis = Sis Scene 1 : Sis Scene 2 Mom and Sis = Mom & Sis Scene 1
A character block's content property applies to all scenes below it
Next to the character names are semi-colon seperated scene names. Definition of a scene involves semi-colon seperated image files that belong to the scene . If your image file contains a semi-colon, you need to type it's name using an escape sequence. So if you have a file named “Scene:Mom-01.jpg”, you need to type “Scene\:Mom-01.jpg”. (img)
NOTE: FILE NAMES SHOULD BE CASE-SENSITIVE
As an alternative to the semi-colon seperated list, you can use a regular expression to define the list (imgre). When both img and imgre are specfied, union of the lists they define is used.