Free Hero Mesh

Changes To .heromeshrc
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.

Changes to ".heromeshrc" between 2018-04-13 06:15:14 and 2018-04-13 06:19:10

1
2
3
4
5
6
7
8
9
10
11
12
13




14
15
16
17
18
19
20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24













+
+
+
+







This document describes the current plan (part of which is implemented), and may be altered if it changes.

The <tt>.heromeshrc</tt> file is a file in [https://tronche.com/gui/x/xlib/resource-manager/file-syntax.html|X resource manager] format, except that <tt>#include</tt> isn't (currently) implemented. It should be placed in your home directory. If the environment variable <tt>HOME</tt> is not set, the current directory is used. (Note: The X server is not queried for resources, nor are any other files queried; this resource database is entirely local to Free Hero Mesh.)

The first component if all resource settings is the puzzle set name, ignoring any directory path components. If the puzzle set includes a <tt>.name</tt> file, its contents are used as the puzzle set name for this purpose.

Some options are boolean. In this case, a true value is anything that starts with "t", "T", "y", "Y", or "1", while a false value is anything that starts with "f", "F", "n", "N", or "0". If neither is the case, the default setting is used.

<h2>altImage</h2>
A nonnegative integer (default zero). If more than one picture is available of the selected picture size, this is used to determine which one to load.

For example, it can be used to select which player character you want (e.g. male or female or whatever).

<h2>class</h2>
Define overrides for classes. The next component is the class name (without the initial <tt>$</tt>), and the next component after that is the option to set. So far the only option is:
  *  <tt>quiz</tt>: If true, hides the MiscVars of objects of this class from the player. The default setting is defined by the puzzle set.

<h2>gamma</h2>
If set, all colours in the palette are modified by raising them to the given exponent (which is a positive number given in decimal notation, which does not need to be an integer).

<h2>imageSize</h2>
Specify picture size. This should be one to thirty-two integers in the range from 1 to 255. The pictures are always square. It tries to use the picture sizes with the first number given first priority. It will terminate with the puzzle set does not contain any pictures of the specified sizes and the pictures cannot be integer scaled to meet the given sizes either.

Sometimes a puzzle set may contain multiple pictures of the same size in a picture set. In this case, use the <tt>altImage</tt> setting to select which one you want.