Generate images/certificates defined in names.txt
into outputs/
folder, and then compresses the folder into a .7z
file.
-
Install 7z and add it to path.
On Windows, it's
7z
.On MacOS, it's
7zz
. -
v install sdl
- Install dependencies. -
Create file
names.txt
. The first line should be the output file name.For example, if the file contains this:
my output file Name My Name Mister Your Name
The program will generate a
my output file.7z
file. -
v run main.v
- Render and export images tooutputs/
, and then compresses it into a.7z
file.
Copy these .dll
s into the project folder:
- libfreetype-6.dll
- libjpeg-9.dll
- libpng16-16.dll
- SDL2.dll
- SDL2_image.dll
- SDL2_ttf.dll
Instructions can be found in https://github.com/vlang/sdl/tree/master#windows
brew install sdl2 sdl2_gfx sdl2_ttf sdl2_mixer sdl2_image sdl2_net
Instructions can be found in https://github.com/vlang/sdl/tree/master#macos