Emulators and ROM folders
Emulated games come from ROM folders: folders you point Lattis at, one or more per platform. Lattis finds the games in them by itself and launches each with the platform's emulator.
Platforms
A platform (Switch, 3DS, GameCube…) is a button in the rail and a group in the game list. Settings → Platforms lists them in rail order.
- Add platform, give it a name, then add its emulators and its ROM folders.
- Drag a platform by the dots at its left end, or type a place in the box (marked #), to change its place in the rail; holding it near the top or bottom of the list scrolls it. The move can be undone from the message that follows. Ctrl+2, Ctrl+3… jump to the platforms in that order.
- A platform shows in the rail once it has games. Open a platform and turn off Show in the rail, or right-click its button in the rail and choose Hide from the rail, to hide its button (
in_rail = falseinplatforms.toml); its games still show in All games, and Ctrl+2, Ctrl+3… skip it. - Behind each platform's name is an id made from it (
switch,3ds). Games refer to their platform by this id, so it can't change once games use it; the name can. - Remove platform keeps its games in the library, with their favorites and play time. Add a platform with the same id to show them again.
Default platforms and emulators that arrive in an update (Switch 2, Lichii on Switch, Eden on Switch, then SNES, NES, Game Boy Color, Game Boy, Dreamcast, Genesis, Master System, Game Gear and Arcade) are added to your platforms once, on the first start of that version: a new platform goes after the closest default before it (SNES after Nintendo 64, Dreamcast after Game Boy, Arcade last), and a new emulator goes where the defaults have it: before the first default listed after it, else at the end. Eden goes before Ryubing this way, but launching uses the first one that is installed, so Ryubing keeps launching your games until you install Eden. If you remove one, it stays removed. platforms.toml keeps the ids it has already offered in an offered line at its top; delete an id from that line to have it offered again.
Steam, Proton and Linux are platforms too. Lattis adds them by itself when they're needed, at the top of the rail in that order, and you can rename or move them like any other.
Emulators
Lattis knows twenty emulators out of the box, among them Eden, Ryubing and Lichii (Switch; Lichii also runs Switch 2), Azahar (3DS), Dolphin (GameCube and Wii), Cemu (Wii U), PCSX2 (PS2), RPCS3 (PS3), shadPS4 (PS4), PPSSPP (PSP), melonDS (DS) and mGBA (Game Boy Advance, Game Boy and Game Boy Color). The older systems have one each: puNES (NES), Snes9x (SNES), BlastEm (Genesis), ares (Master System and Game Gear), Flycast (Dreamcast) and MAME (arcade). Settings → Emulators lists them all. Eden is the Switch emulator Lattis offers first; Ryubing is no longer developed, but an existing Ryubing install is still found and launches your Switch games when Eden isn't installed.
Installed emulators are found by themselves. Lattis looks for each one as a Flatpak, as a program on your PATH, or as an AppImage in ~/Applications or ~/AppImages. If yours is somewhere else, choose its program with Browse; Detect automatically goes back to finding it. "(portable)" after an install means the emulator keeps its data beside its program.
Arguments added on an emulator's row go to every game it runs, like --fullscreen. A single game can have its own arguments too, in its Properties.
Save folders on an emulator's row are where backups look for its saves. The built-in emulators come with the folders they save in; if you moved them, Add folder adds yours, the folder button opens one, the cross removes one, and Reset goes back to the built-in ones. The list applies to the program and Flatpak installs alike.
Screenshot folders on an emulator's row are where its game pages look for the screenshots it took. The built-in emulators come with the folders they save in by default. If you changed the folder in the emulator's own settings, or keep screenshots somewhere else too, Add folder adds it, the folder button opens one, the cross removes one, and Reset goes back to the built-in ones. Lattis still matches each file to its game the same way, by the game's ID or title in the file name; for an emulator that names its screenshots only by time (or one you added yourself), a screenshot shows on the page of the game you were playing from Lattis when it was taken.
Installing an emulator
A built-in emulator that isn't found says "Not found" on its row, which is normal on a fresh system. Open the row to install it: the card offers one tile for each way to install it, with Install AppImage and Install Flatpak buttons. The AppImage is the project's build from its release page, put in ~/Applications (or ~/AppImages if that's the one you have). It also gets an entry in your applications menu, like Gear Lever makes, and Uninstall removes it. Dolphin publishes no AppImage of its own, so its AppImage is a community build (pkgforge-dev's), tagged Unofficial, and the Flatpak is the recommended one. Ryubing has no download source left for its AppImage, so only its Flatpak is offered. Without Flatpak on your system only the AppImage is offered. If you already have the emulator somewhere else, choose its program under "Already have it somewhere else?".
- AppImage (recommended, except where it's unofficial): the project's newest build, checked against the checksum the release page gives. It can read your ROM folders wherever they are.
- Flatpak: updated by your system (its software centre, or
flatpak update), installed for your user only. A Flatpak may need access to ROM folders outside your home; Lattis warns you when it can't read one.
While it installs, the row shows a small progress bar and the step, and the open card shows the step in full with a bigger bar and Cancel, which stops it and deletes what was downloaded. You can close Settings meanwhile: the install carries on. If it fails, the row says "Install failed" and the card shows the reason with Try again and Dismiss; the install tiles stay below it, so you can try the other route.
An emulator Lattis installed shows its route and version in the row, and its card says where it came from and when. Lattis checks whether a newer release is out once a day while it runs (when Check for updates is on in Settings → General) and when the Emulators page opens (at most once an hour per emulator). When one is out, the logo gets a small dot and the app menu an Update
Uninstall, at the bottom of the card, moves an AppImage to the trash or removes a Flatpak. Your saves and keys stay. Close a game running in that emulator before updating or uninstalling it. Emulators you installed yourself have no Uninstall; remove them the way you installed them.
If the flatpak command isn't on your system, only the AppImage is offered.
Lichii is a very experimental Switch and Switch 2 emulator, so expect games that don't run. It has no Flatpak, only the AppImage, and Lattis downloads it only from the project's GitHub releases: other sites that call themselves Lichii's are not the project's, and one has been reported to carry malware. It publishes a new build several times a day, and its early builds were all marked pre-release, so Lattis installs and updates it to the newest build, pre-release or not, and the card says "pre-release" after the version when it is one. Any emulator can do the same: set release_prereleases = "true" on it in library/emulators.toml (GitHub releases only). Lichii keeps its data in its own lichii folder; older builds shared Eden's, and newer ones can import from Eden.
The setup guide's Emulators step offers the same install. Its Install an emulator list has a row for each platform whose emulator is missing, tagged Install; open it for the same tiles, progress and error boxes as here, and for Already have it somewhere else? to choose the program yourself. Once the emulator is found, the platform moves up to Ready, where you add its ROM folders. You can go on to the next step while an install runs.
The older systems each come with one emulator, picked because it's easy to install. Install offers the Flatpak for all six, and an AppImage for puNES, Snes9x and Flycast; BlastEm, ares and MAME have none. puNES, Snes9x and ares also open zipped ROMs, so a .zip or .7z there is a game too. If you prefer another emulator, add it as your own and put it first on the platform.
Several platforms, one emulator. mGBA runs Game Boy and Game Boy Color as well as Game Boy Advance, and ares runs Master System and Game Gear. Each platform picks up only its own files (.gb, .gbc, .gba; .sms, .gg), so a folder shared by two of them still sorts itself out.
Arcade is different. MAME doesn't open a file: it takes a machine name (sf2) and looks for a zip of that name on its ROM path. Lattis starts it with the game's folder as the ROM path, so each zip must keep the name MAME gives it (sf2.zip, not Street Fighter II.zip) and be the set your MAME version expects.
A platform's emulators
On Settings → Platforms, Add emulator gives a platform an emulator. A platform can have several, in order of preference: a game launches in the first one that's installed. So you can list an AppImage first and a Flatpak second, and the Flatpak is used only when the AppImage is gone. One emulator can serve several platforms (Dolphin runs both GameCube and Wii).
A single game can be pinned to another emulator in its Properties (Launch tab). Saves stay in each emulator's own folders, so moving a game you've played to another emulator doesn't bring its saves along; Lattis warns you when you do this.
Adding an emulator Lattis doesn't know
On Settings → Emulators, Add emulator asks for a name and what to start from:
- Blank, for an emulator unlike the built-in ones. You fill in the rest on its row.
- A built-in emulator, for a fork of it, like Citra from Azahar. The copy takes its platforms, ROM extensions, command and arguments, but not where it's installed (it would find the original) or where it keeps saves and keys (a fork uses its own folders).
The new emulator is added last to each of its platforms' emulators, so it's used only when the ones before it aren't installed. Change that order on Settings → Platforms.
Its row, under Yours, sets:
- Name. The emulator's id is made from the name when you add it and doesn't change after; the name can.
- Platforms it runs games for. Adding a platform here doesn't add the emulator to that platform's list; Settings → Platforms does.
- ROM extensions: the files in ROM folders that are its games, like
3ds cci cxi. - Program, with Browse, or its Flatpak app id, like
org.citra_emu.citra. - Command: how it's started.
{exe}is the program,{args}the arguments,{rom}the game's file,{romdir}the folder it's in. Most emulators take{exe} {args} {rom}, the default. - Arguments and Screenshot folders, as for the built-in ones.
- Save folders, as for the built-in ones.
Remove emulator takes it off every platform. Games pinned to it use their platform's emulators instead, and get their pin back if you add the emulator again under the same name.
Saves and keys can't be set in the app. Until they are, a backup skips the emulator's saves (saves kept next to the ROM excepted) and says so. Set them in library/emulators.toml (Open emulators.toml on its row): emulators.reference.toml, next to it, shows every key, with the built-in emulators as examples.
The file is also another way to add an emulator. A minimal one:
[[emulator]]
id = "citra"
name = "Citra"
platforms = ["3ds"]
path = "~/Applications/citra-qt.AppImage"
command = ["{exe}", "{args}", "{rom}"]
extensions = ["3ds", "cci", "cxi", "3dsx"]{exe} is the program, {args} the arguments, {rom} the game's file, {romdir} the folder it's in (MAME's command is ["{exe}", "{args}", "-rompath", "{romdir}", "{rom}"]). Save the file and the emulator shows up on the Emulators page.
An emulator that runs several platforms, with games of different types, can say which files belong to which platform in emulators.toml: platform_extensions = { gba = ["gba"], gb = ["gb", "gbc"] }. Each platform then picks up only its own files; a platform not listed uses extensions, which should hold them all. The Emulators page doesn't edit this; a copy of a built-in emulator keeps it.
ROM folders
On Settings → Platforms, Add folder under a platform adds a ROM folder. Its games, subfolders included, are found right away and at every start. Scan now (or "Scan ROM folders now" in the app menu) looks again whenever you've added files.
- Scanning is quick even for large folders and network drives: a file Lattis already knows is never opened again. Only a file new to the library is looked into, and only for its name (a few kilobytes at most, never the whole game).
- Real names come from the games that carry one: 3DS (
.3ds,.cci,.cxi,.cia,.3dsx; not encrypted dumps), DS, PSP (.iso,.pbp), PS3 and PS4 games. So0699 - Professor Layton vs Phoenix Wright - Ace attorney.3dsbecomes "Professor Layton vs Phoenix Wright: Ace Attorney", the name the game itself carries. Games that carry only an ID or nothing useful (Switch.nsp, 3DS dumps that are encrypted, DS, GameCube and Wii discs, PS1 and PS2 discs, GBA, Nintendo 64, NES, SNES, Genesis, Game Boy, Game Boy Color, Master System and Game Gear ROMs, arcade zips) are named from known game lists, looked up by the game's ID, serial, checksum or, for arcade, the zip's name: Lattis downloads a list for a platform the first time it needs it (about 25 KB to 2 MB; only when "Look up new games" is on, or when you press Update names) and keeps it. Without the list, or for a game it doesn't know, and for files Lattis can't read at all (compressed.chd,.cso, Wii U), the file name is used. Update names, above a platform's ROM folders, reads every game's name again (for games added before, whose files weren't readable then, or that an older version named less well) and shows how many it renamed, with Undo. A game you renamed yourself keeps its name. - Cartridge ROMs are named by their checksum, so a game keeps its real name whatever the file is called. A zip holding one ROM is looked up by the checksum the zip stores, without unpacking it; a zip of several ROMs and a
.7zget their file name, and so does a zipped dump whose checksum the lists don't have (an NES dump with its header, or a SNES one with a copier header, inside a zip). Dreamcast games are named from the file name. - Arcade zips are named from MAME's list:
sf2.zipbecomes "Street Fighter II: The World Warrior". BIOS and device zips (neogeo.zip,qsound.zip) are skipped, so they don't show up as games; leave them beside the games, where MAME looks for them. A zip the list doesn't know is a game named by its file name. Without the list, the BIOS zips can't be told apart and show up as games. - Otherwise titles come from the file names, cleaned up:
Mario Kart 8 Deluxe [0100152000022000][v0].nspbecomes "Mario Kart 8 Deluxe", andMONSTER HUNTER RISEbecomes "Monster Hunter Rise". Dump and language tags at the end (-decrypted,Multi5,En,Fr,De,USA) are dropped, a leading release number on 3DS and DS games (0699 - …) too,, Themoves back to the front, and the first-becomes a colon:Legend of Zelda - TriForce Heroes, The Multi5 Decrypted.3dsbecomes "The Legend of Zelda: TriForce Heroes". Fix a title in the game's Properties, or look the game up (see Game info and art). - Switch updates and DLC aren't games, and neither are PS4 update folders; they're skipped. Install them in the emulator.
- Renamed or moved files keep their game, with its favorites, tags and play time, when Lattis can tell it's the same file. When it can't, the file shows up as a new game; open the old game's Properties and use Locate to point it at the file, which merges the two.
- A missing file leaves its game in the library, dimmed, with "ROM not found" in place of Launch. Put the file back and the game is as it was. An unplugged drive works the same way.
- To stop scanning a folder, remove it from the platform. Its games stay in the library.
Finding all your folders at once
If your ROMs are sorted into one folder per platform, the setup guide's Find from one folder, beside its Ready heading, matches the subfolders to platforms by name (switch, 3ds, gamecube, ps2, snes, Mega Drive, Game Boy Color, arcade…) and adds them all. It lists the folders it couldn't match, to add by hand.
Removing a game
Deleting a ROM's file doesn't remove its game: it stays as "ROM not found", so a drive that isn't plugged in doesn't empty your library. To remove a game, hide it (see Adding and editing games).