dMagneticini(5)

NAME
dMagnetic.ini - Configuration file for dMagnetic.

SHORTCUT
Run dMagnetic -helpini to see an example.

SYNOPSIS
The configuration for dMagnetic(1) , and the location of the game binaries is stored in a .ini file.

ELEMENTS
The elements within the .ini files are

Sections
    Sections are in square brackets.

    [FILE]

    [DEFAULTGUI]

Entries
    entries have a = in them.

    rows=40

    pawnmag=/usr/local/share/games/magneticscrolls/pawn.mag

Comments
    ;This is a comment

    Comments start with a ;

    To use a ; in an entry, it has to be preceeded by a backslash \;
    Consequently, using a backslash requires preceeding it with a backslash as well. \\

SECTION [FILE]
Like any .ini file, it is broken down into sections, each section contains entries. One section has to be [FILES]. It should contain the names of the game binaries, so that the game engine can find them. For example:
[FILES]
pawnmag=/usr/local/share/games/magneticscrolls/pawn.mag
pawngfx=/home/games/magneticscrolls/pawn.gfx

The .mag and .gfx packages can be downloaded from https://msmemorial.if-legends.org/memorial.php, btw.

SECTION [DEFAULTGUI]
This section is configuring the default output Interface.

[DEFAULTGUI]
rows=40
columns=100
;align=left
align=block
;align=right
;mode=none
;mode=monochrome
;mode=low_ansi
mode=high_ansi
low_ansi_characters=\\/=|\;
monochrome_characters= .:-=+*x#@$X

Changing the numbers of rows will make pictures longer, changing the number of columns makes them wider. To change the output mode, comment it in, and comment the current one out.
The characters that will be used in the low ansi rendering mode can be configured with the low_ansi_characters entry. Note that the backslash and semicolon need to be escaped.
The monochrome_characters entry is a the actual shade that will be displayed. The leftmost part start with the lowest intensity, it goes up until the right.

EXAMPLE

;you can download the files from https://msmemorial.if-legends.org/magnetic.php
[FILES]
pawnmag=/usr/local/share/games/magneticscrolls/pawn.mag
pawngfx=/usr/local/share/games/magneticscrolls/pawn.gfx
guildmag=/usr/local/share/games/magneticscrolls/guild.mag
guildgfx=/usr/local/share/games/magneticscrolls/guild.gfx
jinxtermag=/usr/local/share/games/magneticscrolls/jinxter.mag
jinxtergfx=/usr/local/share/games/magneticscrolls/jinxter.gfx
corruptionmag=/usr/local/share/games/magneticscrolls/ccorrupt.mag
corruptiongfx=/usr/local/share/games/magneticscrolls/ccorrupt.gfx
fishmag=/usr/local/share/games/magneticscrolls/fish.mag
fishgfx=/usr/local/share/games/magneticscrolls/fish.gfx
mythmag=/usr/local/share/games/magneticscrolls/myth.mag
mythgfx=/usr/local/share/games/magneticscrolls/myth.gfx
wonderlandmag=/usr/local/share/games/magneticscrolls/wonder.mag
wonderlandgfx=/usr/local/share/games/magneticscrolls/wonder.gfx
[DEFAULTGUI]
rows=40
columns=120
;align=left
align=block
;align=right
;mode=none
;mode=monochrome
;mode=low_ansi
mode=high_ansi

BUGS
Report bugs to <dettus@dettus.net>. Make sure to include DMAGNETIC somewhere in the subject.

AUTHOR
Written by Thomas Dettbarn

SEE ALSO
dMagnetic(1)