BootOpts.grfon

From MiniScript Wiki
Revision as of 23:10, 6 April 2020 by JoeStrout (talk | contribs) (Created page with "<c>bootOpts.grfon</c> is a file which Mini Micro looks for upon startup, which controls several options about the appearance and behavior of the machine. You may want to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

bootOpts.grfon is a file which Mini Micro looks for upon startup, which controls several options about the appearance and behavior of the machine. You may want to tweak and include this file when packaging your game for distribution.

The file is a plain text file in GRFON format, which basically means key:value pairs surrounded by whitespace and comments. Here are the keys supported.

Key Default Value Meaning
startupChime true Whether to play the startup chime when the machine boots
welcome true Whether to show the welcome text (including a handy tip!) on boot
queryCmd true Whether to allow a "cmd=" query parameter (web builds only)
controlC true Whether to allow control-C to interrupt a running program
diskSlots true Whether to show disk slots below the screen (desktop builds only)
logoSticker true Whether to show the "Mini Micro" sticker below the screen
hasBezel true Whether to have a bezel around the screen at all
bezelImage 3DBezel.png 3DBezel.png, FlatBezel.png, or the name of your own PNG file
bezelTint #FFFFFF tint color to apply to the bezel image (in HTML color format, no alpha)
loadingTint #FFFFFFFF color for the "loading, please wait image" (alpha OK)

A reasonable bootOpts.grfon file is included in the StreamingAssets folder of the WebGL template.