Recipes
These are complete .kiln.toml files for common setups. Replace the
addresses and folder names with your own.
Web server at home
Kiln reads the file list page of Apache, nginx and lighttpd. In nginx,
autoindex on turns that page on for a folder:
location /gba/ {
root /srv/games;
autoindex on;
}
Roms/GBA/.kiln.toml:
format = 1
[[source]]
url = "http://192.168.1.10/gba/"
include = ["*.zip", "*.gba"]
NAS over SMB
Roms/MD/.kiln.toml, for the share Games of a NAS:
format = 1
[[source]]
id = "nas-md"
url = "smb://nas.local/Games/Mega%20Drive/"
include = ["*.zip"]
The login, in App/Kiln/credentials.toml on the Miyoo or
Kiln/credentials.toml on the RG35XXSP:
["smb://nas.local"]
user = "games"
password = "secret"
Nextcloud over WebDAV
Roms/SFC/.kiln.toml:
format = 1
[[source]]
url = "webdavs://cloud.example.org/remote.php/dav/files/alice/Games/SNES/"
credentials.toml, with an app password from Nextcloud’s security
settings:
["webdavs://cloud.example.org"]
user = "alice"
password = "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
Single file
A source whose URL does not end with / is one file. This
Roms/PICO/.kiln.toml adds a cart that is not in the BBS’s featured
list:
format = 1
[[source]]
url = "lexaloffle-bbs:featured"
[[source]]
url = "https://example.org/carts/my-game.p8.png"
label = "Mine"
Subfolders of a torrent
This torrent has one subfolder per system, and the Game Boy Color folder reads two of them:
format = 1
[[source]]
url = "torrent://example.org/sets/Big%20Collection.torrent"
path = "Nintendo - Game Boy Color/"
include = ["*.zip"]
exclude = ["*(Beta*", "*(Proto*", "*(Demo)*"]
[[source]]
url = "torrent://example.org/sets/Big%20Collection.torrent"
path = "Nintendo - Game Boy Color (Aftermarket)/"
label = "Aftermarket"
Both sources use the same torrent, and Kiln reads its file list once.
CD games in zips
Roms/PS/.kiln.toml, for zips that each contain a .cue file and its
tracks:
format = 1
[[source]]
url = "https://example.org/psx/"
include = ["*.zip"]
install = "extract"
Zip of many games
Kiln downloads one game at a time from this large zip on a web server:
format = 1
[[source]]
url = "https://example.org/collections/atari-2600.zip"
as = "archive"
The same zip, as a file inside a torrent:
format = 1
[[source]]
url = "torrent://example.org/collections.torrent"
as = "archive"
archive = "Atari/atari-2600.zip"
Arcade games for FinalBurn Neo
Roms/ARCADE/.kiln.toml on Onion:
format = 1
[[source]]
url = "torrent://example.org/fbneo.torrent"
path = "FinalBurn Neo/arcade/"
include = ["*.zip"]
core = "fbneo_libretro"
sets = "fbneo-arcade"
With sets, Kiln shows the full titles of the games, and queues the
parent and BIOS zips that each game needs. See Set lists.
Patch files named after their games
Roms/GBA/.kiln.toml, with the patch files on the same server as the
games. Each patch file has the name of its game:
format = 1
[[source]]
url = "http://192.168.1.10/gba/"
include = ["*.zip"]
[[patches]]
url = "http://192.168.1.10/gba-patches/"
include = ["*.ips", "*.ups", "*.bps", "*.zip"]
BIOS folder
BIOS/.kiln.toml, for the BIOS files of the emulators. Kiln lists this
folder in Home, Downloads, under “Folders”:
format = 1
[[source]]
url = "smb://nas.local/Games/BIOS/"
Index file
For files on several servers, write an
index file, and use its URL with as = "index":
format = 1
[[source]]
url = "https://example.org/homebrew/gb-index.tsv"
as = "index"
Folder with its own systems
Roms/HACKS/.kiln.toml, for a folder of Mega Drive hacks that Onion’s
Mega Drive emulator starts:
format = 1
systems = [1]
emulator = "Emu/MD"
[[source]]
url = "https://example.org/md-hacks/"
1 is the ScreenScraper id of the Mega Drive. See Folders and system ids.