A simple .laf player files for Windows.
__ _____ _____
| | | _ | __|
| |__| | __|
|_____|__|__|__|
A LAF file is just a special format for storing ascii frames. Images, videos, gifs or even bitmaps has it's own header to distinguish between them. This in order to detect which file are you dealing with.
Numbers are represented in hexadecimal.
LAFWWWHHHFF| where:
LAFthe header tag saying "Heey, I'm a LAF file!"WWWis the width of each frame.HHHis the height of each frame.FFis the framerate (the default is 4 if 0 is provided).|is the end of the header.
Flags are options that can be used to customize the behaviour of the LAF file.
This flags goes before end of header and after framerate value.
This flags are the default ones and can be changed by providing command line arguments (See laf.exe --help).
F: Sets the window console to fullscreen (maybe fails if using a special terminal).R: Repeats backwards after last frame.S: Stops when reached the end.