CAIP v1.2 Docs - 2020-06-20
Table of contents
Created by Christopher Ying. | Itch.io Page | My Website | CGames Website |
Introduction
CAIP uses the Turing programming language. It is a Pascal-like interpreted programming language and was mostly used in high schools in Canada. For more information about Turing, click here.
It is easy to customise CAIP. No programming knowledge is required to customise the program.
Configuration File Layout
The configuration file can be customized to your liking. This file is named launch.CAIP12. It is a simple list, with options separated by a new line. I recommend using Notepad++ to edit the configuration file.
DO NOT change any names before the “:=” in the configuration file.
Line Number | Name | Possible Entries |
---|---|---|
1 | Program (Name) | Anything in a string variable type. Use “_” to denote spaces in your custom name. |
2 | Text (Colour) | Any number ID in the colour chart below. |
3 | Background (Colour) | Any number ID in the colour chart below. |
4 | Execute (File/URI) | Local File (With file extension in the entry), or URI (http(s)://, steam://, etc.) |
Configuring Launch Settings
Changing the program name of CAIP
To change and customize the name of your program, enter your title in the first line (program) of the launch.CAIP12 file. Anything is allowed as the first line is mostly treated as a string type variable. Use “_” (An underscore) to denote the placement of spaces in your program name entry.
Changing the text and background colours
New in CAIP 1.2
The available colours has been expanded to 16 colours.
Colours | |||
0 | 1 | 2 | 3 |
White | Black | Light Grey | Dark Grey |
To change the text colour for CAIP, enter a number corresponding to the colour you want in the second line of the configuration file. To change the background colour for CAIP, enter a number corresponding to the colour you want in the third line of the configuration file.
Changing the executed file / URI
New in CAIP 1.2
The
execType
option in previous versions of Turing CAIP has been deprecated, as it is no longer needed to determine the execution type in CAIP.
To change what will get executed in CAIP just enter the file name/URI in the fourth line of the launch.CAIP12. If your file is in a sub-directory, follow the guide below.
Let’s say you want to launch the docs.html file from the CAIP directory. CAIP 1.2/docs/docs.html
You would enter in the fourth line of your launch.CAIP12 file: "docs/docs.html"
The file would be entered in this format from the origin directory: sub-directory/sub-directory/filename.extension