Skip to content

adrianparvino/ASCIIVN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASCIIVN: An ASCII art visual novel engine written in C

https://builtwithnix.org/badge.svg

With Nix

nix-build will produce the wrapper script, bin/run-asciivn

Without Nix

Dependencies

libpng
For loading of PNG files into imagebuffers.

Compiling

Use cmake to generate the Makefiles.

cmake -H. -Bbuild                                    # Make separate build directory to have a clean repository
bash -c "cd build && make VERBOSE=1 && cp ./asciivn" # Build under a bash subprocess in order to preserve pwd.

Running

./asciivn accepts the following flags:

--benchmark
Skips through all the choices; picking the first choice
--file FILE
Changes all foreground images to the provided FILE

NB: The binaries and the images should be in the same location. This is an architectural mishap and should be fixed once getopt is implemented or ported to Rust.