Config file

From Zaparoo Wiki

Revision as of 05:20, 16 December 2024 by Wizzo (talk | contribs) (Created page with "== Example file == <syntaxhighlight lang="toml" line="1"> audio_feedback = true debug_logging = false [insert_mode] enabled = true exit_delay = 3.0 ignore_system = [ "PC", MSX" ] [readers] auto_detect = true readers.connect driver = "pn532_uart" path = "/dev/ttyUSB0" readers.connect driver = "file" path = "/tmp/some_file" systems.default system = "SNES" launcher = "SindenSNES" [launchers] index_root = [ "/media/alt_mount/games" ] allow_file = [] [z...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Example file

audio_feedback = true
debug_logging = false

[insert_mode]
enabled = true
exit_delay = 3.0
ignore_system = [ "PC", MSX" ]

[readers]
auto_detect = true

[[readers.connect]]
driver = "pn532_uart"
path = "/dev/ttyUSB0"

[[readers.connect]]
driver = "file"
path = "/tmp/some_file"

[[systems.default]]
system = "SNES"
launcher = "SindenSNES"

[launchers]
index_root = [
    "/media/alt_mount/games"
]
allow_file = []

[zapscript]
allow_shell = [
    "/media/fat/linux/command.sh",
    "/media/fat/mplayer something.mp4"
]

[api]
port = 7497
allow_launch = []