Skip to content
juniorterinPublic

About

Linux arcade for CRT: Ubuntu 24.04 with a 15 kHz kernel, Switchres, GroovyMAME, RetroArch, frontends and a web panel to play from your phone. A PC alternative to GroovyArcade, Batocera, Recalbox, ReplayOS and RGB-Pi.

Topics

Resources

Stars

16 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,629 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixel art of a white arcade cabinet in a purple-lit room, a fighting game on its CRT and the PC beside it

FliperOS 0.31

Donate with Stripe

Arcade Linux. Built for CRT.
Ubuntu 24.04 for arcade cabinets with a 15 kHz tube, set up from the cabinet itself.

Latest release Downloads Stars Last commit

Ubuntu 24.04 Kernel 6.18 LTS 15 kHz Switchres AMD, NVIDIA and Intel amd64 Limine

Telegram group Website Wiki

Download · Website · Wiki · Changelog · Telegram
English · Português

Ubuntu 24.04 (amd64) for arcade cabinets with a CRT monitor, in the style of GroovyArcade: a 15 kHz kernel, Switchres, emulators and frontends ready to play, and a setup menu (fliperos-setup) made for the tube's screen. A PC alternative to GroovyArcade, Batocera, Recalbox, ReplayOS and RGB-Pi for 15 kHz arcade CRTs.

In development: 0.31 is tested in QEMU and on a 15 kHz CRT cabinet. Full documentation in the wiki. Website: fliperos.juniorter.in (source in website/). The Telegram group has questions, photos of cabinets and help from other users; each release is posted there with pictures and how the new features work.

New: FliperOS Matchmaker, online play (beta)

The FliperOS Matchmaker on a 320x240 screen: the game list with ONLINE NOW, the lobby of Street Fighter II, a duel card swiped to the right, DUEL! with two fists meeting, the game copied from the other cabinet, YOU WIN 5 to 3 and an X-Men party room counting down

Warning

Beta. The Matchmaker came in update 124 and is being tested between real cabinets now. A duel that loses sync counts nothing, and a game or emulator may still misbehave online. Tell us in the Telegram group what worked and what didn't, with the game and the time.

A frontend made for playing online with cabinets anywhere. It looks like the FliperOS frontend's list, with ONLINE NOW on top: the games people are playing right now, the players looking for a duel and the open parties. The cabinet is online only while it is open.

  • Duels by cards. Favourite a game with a scoreboard and pick the first to (FT3 to FT15). The players looking for a fight show as cards: left passes, right sends a fist, and two fists that meet start the duel. The result goes into a record signed by the server, with REMATCH (sides swapped) and REPORT.
  • Open parties of up to ten players, with QUICK JOIN and knock-to-join.
  • Rollback in GroovyMAME and HBGroovyMAME (a FliperOS patch), Flycast GGPO for Naomi, Atomiswave and Dreamcast, and RetroArch net play cores.
  • The game comes from the other cabinet when you don't have it: only the files that are missing, cabinet to cabinet, never through the server.
  • WireGuard per match, direct first, with a relay that carries only the inputs; FairPlay (same build on both sides, no cheats or save states, leaving loses); your NICK#tag in the cloud backup with a 6-digit PIN.
A Matchmaker duel card: MANGO#a7k2 on cable at 28 ms, 34 wins and 12 losses in Street Fighter II, PASS on the left and DUEL on the right
Duel cards: left passes, right sends a fist
The Matchmaker lobby of Street Fighter II: players LOOKING, PLAYING with the score and IN PARTY, each with cable or Wi-Fi and the ping
Lobby: who is looking, playing and in a party
The Matchmaker result: YOU WIN, 5 against 3 in a first to 5, counted in your record, with REMATCH, BACK and REPORT
Result: counted in your record, with REMATCH

Open it from Start Matchmaker in the FliperOS menu, or make it the frontend in Setup > Games > Frontend. Everything about it: the Matchmaker page of the website and the wiki.

FliperOS frontend in full screen: Aggressors of Dark Kombat with its video behind and its name, year and controls in front
Full screen: the game's video behind, its name and info in front
FliperOS frontend in grid view: six arcade games, three per row
Grid: three per row, every visible game playing its video
FliperOS frontend in list view: arcade game names on the left, the picture and info on the right
List: the games on the left, picture, logo and info on the right
FliperOS Setup carousel on Video Setup
Setup: every menu is an arcade carousel drawn at 320x240
Animation: a game card opens, Play is pressed and the game starts
Play: the card opens, Play, and the game is on the tube
Animation: the MAME ROM filter, the game count changing as tiles are set
ROM filter: games and size change with every tile you set

Real captures at 320x240, the way the tube shows them.

What's included

  • 📺 Video: 6.18 LTS kernel with the 15 kHz patches, boot at 15, 25 or 31 kHz or LCD, Switchres.
  • 🕹️ Emulators: GroovyMAME, RetroArch, Flycast, PCSX2 (and PCSX2x6 for Namco 246/256), Dolphin, Keisho (Model 2 and Model 3), Hypseus Singe and OpenBOR; Wine, Steam and Heroic through Setup > Games > Extras. Three are not in the image and install themselves when you open the first game: HBGroovyMAME (HBMAME with Switchres), Odin (Sega Hikaru and Gaelco 3D) and the AnyBOR core (OpenBOR inside RetroArch).
  • 🎮 Frontends: FliperOS's own frontend by default (in the look of the Setup menu: list, full screen with a wheel of logos, and grid; clones folded under each game; letter-by-letter scrolling; menu sounds and music), plus Attract-Mode Plus, EmulationStation (ES-DE) and Pegasus (built on the cabinet the first time you choose them) and Fightcade 2, whose online matches play in each game's native resolution on the tube.
  • 🔫 Light gun: GunCon 2 out of the box (driver via DKMS), calibrated for the tube in Setup > Joysticks. Wheels too.
  • ⚙️ Setup: video, geometry, audio (stereo or mono, menu sounds), network, scraper, ROM lists, MAME romset cleaning, controls (Map controllers with eight player slots) and latency.
  • 📁 Folders roms, bios, media, nvram, save, cheats and config in ~ and over the network (Samba); LXDE desktop with an app store.
  • 🔑 SSH on from the first boot (ssh fliperos@fliperos.local, password fliperos). Under the menus it's a regular Ubuntu, so an AI assistant can configure it over SSH.
Pixel art of four Super Street Fighter II cabinets joined by network cables
Linked cabinets
A network cable between cabinets: the four-cabinet Street Fighter tournament, races of up to eight, and party play on the local network.
Pixel art of a sit-down racing cabinet with three CRTs side by side
Two or three screens
Darius, Punch-Out!! and F355 Challenge, each screen on its own CRT.
Animation: the GunCon 2 calibration, shots at the corners and one in the center
Light gun on the tube
GunCon 2 with its driver built in and a calibration made for the CRT.
Animation: commercial mode, two coins adding minutes on screen
Commercial mode
Each coin adds minutes, and the game closes when they end.
Animation: gamma and colour changing on screen in the Setup
Colour and interlace
Gamma and colour change as you move them; interlaced games get a flicker filter.
Animation: Setup latency screen, Standard and Low latency modes
Low latency
1000 Hz USB, kernel preemption, frame delay and preemptive frames.

Web panel: the cabinet from your phone

Open http://fliperos.local on a phone or PC on the same network (user fliperos, password fliperos). Nothing to install. From the couch you can:

  • pick a game and play it on the tube, with the pictures, history and buttons of each arcade game from the Arcade Database;
  • watch the cabinet live in the browser, and put the live screen and the game's marquee in OBS;
  • change colour, Interlaced hacks and other settings while a game runs;
  • copy games, BIOS and artwork, filter a MAME romset and download only what suits your cabinet;
  • check the system (video mode and modeline, temperatures, logs), preview the marquee (Pixelcade or ZeDMD) with no hardware, or open a terminal.

Web panel in a browser: Street Fighter II playing now on the cabinet, at 15.688 kHz, with volume and the game's systems Web panel on a phone: now playing at 59.6 FPS and the game list with search

At the cabinet, hold Start and Down for a second in any game to open the on-screen menu: Interlaced filter, scanlines, geometry, colour and the GunCon 2, saved per game if you want, plus Media capture (a thumbnail of the screen or a 30 s preview video, saved as the game's art), the emulator's menu and Quit, over the running game.

Every page in detail: Web panel.

New: your controller on the stream

The stick and the buttons light up on your live stream while you press them on the cabinet, like the input displays of fighting game streams. It's a page for an OBS Browser Source, with a transparent background: copy its address from Live > Controller for OBS and paste it in OBS.

It reads the controls of Button mapping, joysticks and keyboard encoders alike, for one or two players. You restyle it in the panel, in a CSS editor with a live preview, and a saved style shows up in OBS at once. Step by step and CSS examples: Controller on the stream.

Animation: the Controller for OBS page, two players' sticks leaning and buttons lighting up while Street Fighter II is played on the cabinet

From zero to playing: step by step

This guide goes from an empty cabinet to a game on screen. Each step says what you will see and what to press. The details behind each screen are in the wiki pages linked along the way.

1. What you need

  • A PC (amd64) for the cabinet. For arcade games up to the 90s and consoles up to the PlayStation, a 2-core CPU, 4 GB of RAM and a 16 GB disk are enough. For PS2, Model 3 and Dreamcast, a 4-core CPU with AVX2 (Core i7-7700, Ryzen 5 3600 or newer), 16 GB and an SSD. The disk you install to is erased completely.
  • A graphics card with analog output. The best fit is an AMD Radeon with VGA or DVI-I from the HD 2000 series to the R7/R9 (GCN 1.0), which generates 15 kHz natively. Intel and NVIDIA work at 15 kHz with "super resolution" modes (an Intel HD of the first generation has only OpenGL 2.1: no EmulationStation-DE, no interlaced flicker filter, no Vulkan; see its limits in the wiki); an NVIDIA with VGA or DVI-I (GeForce 8 to GTX 900) gets native resolutions if it passes the low resolution test. Cards without an analog output need a DisplayPort/HDMI to VGA converter. The full list is in Video cards.
    • Intel HD: you need a monitor at a standard frequency first. The boot menu and the installation are drawn at 31 kHz, and an Intel card does not make low clocks. Install FliperOS and set the video with a regular VGA monitor (an LCD or a PC monitor), and only then power off and connect the CRT.
  • The monitor: an arcade CRT (15 kHz), a TV through a VGA to SCART/component adapter, or a 25/31 kHz monitor. An LCD also works.
  • A USB stick of 4 GB or more (it will be erased).
  • A USB keyboard for the installation. After that, the panel or a gamepad moves through all the menus.
  • A network connection (cable or Wi-Fi), to copy games from another computer and to receive updates. Optional, but it makes everything easier.
  • Another computer (Windows, Linux or macOS) to write the USB stick and, later, to copy the games over the network.

2. Download the ISO

  1. Open Releases and download fliperos-0.31.iso from the latest version (what changed is in CHANGELOG.md).
  2. If the release lists a SHA-256, compare it: sha256sum fliperos-0.31.iso on Linux, Get-FileHash fliperos-0.31.iso in Windows PowerShell.

3. Write the USB stick

The ISO must be written byte for byte. Programs that rebuild the stick's boot structure break it: Rufus in its default mode ("ISO image"), Ventoy and UNetbootin don't work.

  • Windows, macOS or Linux, the easiest: balenaEtcher. Flash from file > choose the ISO > Select target > the USB stick > Flash!.

  • Windows with Rufus: choose the stick and the ISO, click START and, when it asks, choose "Write in DD Image mode".

  • Linux: find the stick with lsblk (here /dev/sdX; the wrong device erases the wrong disk) and run:

    sudo dd if=fliperos-0.31.iso of=/dev/sdX bs=4M status=progress conv=fsync

4. Prepare the cabinet's BIOS

Enter the BIOS/UEFI setup (usually Del, F2 or F10 right after power-on) and:

  1. Disable Secure Boot: the 15 kHz kernel is custom and unsigned, and with Secure Boot on it doesn't start.
  2. SATA mode on AHCI (not RAID or Intel RST); otherwise the installer doesn't see the disk.
  3. Boot from the USB stick: put it first in the boot order, or use the one-time boot menu (often F8, F11 or F12). BIOS (legacy) and UEFI both work.

Save and exit with the stick plugged in.

With an Intel HD card, keep the regular monitor (standard frequency) connected through steps 5 and 6, and connect the CRT only after the installation.

5. Boot from the USB stick

  1. Wait about 10 seconds without pressing anything. The boot menu (15 kHz, 25 kHz, 31 kHz, LCD...) is drawn at 31 kHz, so it doesn't show on a 15 kHz tube. With no key pressed, the 15 kHz entry boots by itself, which is the safe one for a cabinet. On a PC monitor or an LCD, you can pick SVGA / LCD monitor in the menu instead.
  2. The FliperOS splash appears, already at 15 kHz.
  3. Output test. FliperOS turns on one video output at a time and a voice says "Testing output VGA 1. If you can see this screen, press Enter." When the text "If you can see this screen clearly, press ENTER" is readable on your monitor, press Enter. Without Enter it moves on to the next output and repeats the round up to three times.
  4. Testing Results shows the card, the output, the mode and the frequency. Choose Validate settings (or Repeat test).
  5. Monitor type: choose your monitor from the list (for example generic_15 for a common arcade monitor or TV, arcade_15, ntsc, pal, or a specific model). The list opens on the suggestion for the boot entry. The full table of boot entries is in Install.

6. Install to the disk

The FliperOS Setup menu opens (Install to HD/SSD, Recovery Mode, Terminal, Shutdown). The arrows move, Enter confirms and Esc goes back.

  1. Choose Install to HD/SSD.

  2. Do you want to configure video? Choose Yes to adjust it now (you can also do it later in Setup > Video Setup):

    • Monitor Type: the same monitor as in the test;
    • Monitor Orientation: horizontal, or vertical for a rotated monitor (vertical games);
    • Resolution: the modes your monitor and card accept (the suggestion is fine);
    • Geometry: a grid to center the picture and fit its size on the tube. Use the arrows to adjust and Enter to save.

    Right after the video comes Sound: stereo or mono?: Stereo (two speakers, left and right apart) or Mono (one speaker: both channels mixed and played on both outputs). Change it later in Setup > Audio Setup.

  3. Automatically Partition: choose the disk by model, size and type (USB/NVMe/SATA). If yours isn't listed, My drive is not listed (details) explains why (usually the SATA mode, step 4).

  4. WARNING: it shows the disk that will be completely erased. Check it and confirm (No goes back to the list).

  5. Installing FliperOS: a progress bar with the current step. It takes a few minutes.

  6. Installation completed successfully: remove the USB stick and choose Reboot now. On an Intel HD, power off instead: move the cable from the regular monitor to the CRT, then turn the cabinet on.

Animation: the installation on the tube, picking the monitor and the disk, then the progress bar
The installation on the tube (2x speed).

7. First boot of the installed system

  1. The cabinet boots straight to the splash, without text.
  2. Nothing to choose for what opens at power on: it is the FliperOS frontend (change it later in Setup > Games > Frontend). A short wizard gets the cabinet ready: Wi-Fi (only when the network cable brings no internet and there is a Wi-Fi adapter), controls (the Button mapping of step 8) and the live screen of the web panel.
  3. When you leave the frontend (Esc), the FliperOS menu appears: Start frontend, Start desktop, RetroAchievements, Setup, Exit to shell, Shutdown / Reboot. The title shows the cabinet's IP address. Every item is explained in The menus, item by item.
  4. Network: a network cable works by itself. For Wi-Fi: Setup > Network Setup, choose the network and type the password. Once connected, the IP appears in the menu title.
  5. Updates: at each boot with internet, if there is a FliperOS update, a screen describes it and asks Apply now or Not now.

The FliperOS menu: Start frontend selected in the carousel, the network address and disk use at the top
The FliperOS menu, with the cabinet's IP address at the top.

8. Set up the controls

In the menus, the panel or a gamepad already acts as the keyboard: directions = arrows, button 1 = Enter, button 2 = Esc.

  1. Setup > Joysticks > Controllers / Arcade panel > Map controllers (the first boot already offers it; this is how to redo it). It shows eight player slots: hold a button on a controller for about a second and it takes the slot.
  2. Open the card of a controller and choose Map all buttons: press what it asks for, in order: up, down, left, right, buttons 1 to 8 in panel order (1 2 3 in the top row, 4 5 6 in the bottom row, and so on), Start and Coin. With nothing pressed for 8 seconds, that input is skipped. A joypad FliperOS already knows can keep its own layout with nothing to press. Test controller lights every button live.
  3. The mapping goes to every emulator at once (GroovyMAME, RetroArch, Flycast, PCSX2, Dolphin, Keisho, Hypseus, Odin and OpenBOR).
  4. Light gun (GunCon 2), wheel and pedals have their own calibrators in the same menu, and Setup > System > Quirks fixes USB devices that arrive wrong (for example a dual encoder showing up as a single player). See Controls.

Animation: Button mapping, how many players, then each button asked for in turn
Button mapping: press each button when asked; the layout follows your panel.

9. Copy your games

Use only games you have the right to use (your own dumps, or the free homebrew from Setup > Games > Downloader > Free games).

Use the LXDE desktop. Plug a USB mouse and keyboard into the cabinet and choose Start desktop in the FliperOS menu. It is a regular desktop, and it makes all the work with games easier:

  • Folders: the file manager opens your home folder, with roms, bios, media, nvram, save, cheats and config. You see where each file goes and can create, rename and move files with the mouse.
  • Browser: Falkon (browser) in the desktop menu, to search for the torrents of your games.
  • Torrents: Transmission (torrent) opens the .torrent files and magnet links from the browser. When the download finishes, move the files from Downloads to the right folder in roms.
  • External storage: plug in a USB stick or an external disk. It is mounted by itself and gets an icon on the desktop: open it, copy the files and paste them into the right folder in roms (or bios).
  • To go back to the games: Logout in the desktop menu > back to the FliperOS menu.

The LXDE desktop with the Dracula theme and a pixel-art city wallpaper
The LXDE desktop: Dracula theme, Games menu, app store and an icon for each disk.

Over the network, from another computer on the same network:

  • Windows: in File Explorer's address bar type \\fliperos\roms (or \\IP-of-the-cabinet\roms) and press Enter. If it asks for a login: user fliperos, password fliperos.
  • macOS: Finder > Go > Connect to Server > smb://fliperos.local/roms.
  • Linux: smb://fliperos.local/roms in the file manager.
  • Also available: \\fliperos\bios (BIOS files), \\fliperos\media (artwork) and \\fliperos\config (emulator settings).

SFTP also works: fliperos@fliperos.local, password fliperos.

Each emulator has its folder in roms. Copy the files as they come: MAME sets stay zipped and are never renamed (sf2ce.zip, not Street Fighter II.zip).

Folder Games Emulator
mame Arcade: MAME sets (.zip, .7z) and their CHD folders GroovyMAME
naomi, naomi2, atomiswave Sega Naomi and Sammy Atomiswave sets Flycast
model3 Sega Model 3 sets Model 3 (Keisho)
model2 Sega Model 2 sets Model 2 (Keisho)
dreamcast .gdi, .cdi, .chd Flycast
ps2 .iso, .chd, .cso PCSX2
dolphin GameCube and Wii (.iso, .rvz, .wbfs) Dolphin
retroarch/<core> Consoles and computers; the _info.txt in each folder lists the extensions RetroArch
hbmame HBMAME homebrew and hacks (.zip), with their clones HBGroovyMAME
odin Sega Hikaru and Gaelco 3D sets Odin
chihiro Sega Chihiro: the game disc (.7z, .cue, .gdi, .chd), converted on first open, or a netboot .bin xemu
namco2x6 Namco System 246 and 256 PCSX2x6
openbor/Paks OpenBOR games (.pak); openbor is a shortcut to retroarch/anybor AnyBOR core in RetroArch

BIOS come by themselves: Setup > Games > Downloader > Download BIOS brings the ones your games lack. Ones you bring yourself go in bios, never in a games folder: bios/mame for MAME (neogeo.zip, qsound.zip...), bios/dc for Flycast (naomi.zip, awbios.zip, dc_boot.bin), bios/ps2 for PCSX2, and the bios folder itself for the RetroArch cores.

Has a full MAME romset? Setup > Games > Cleaner > MAME ROM Cleaner keeps only the games that work and suit your cabinet (horizontal or vertical, the controls you have) and puts them in the right emulator's folder. More in ROMs, BIOS and artwork.

10. Make the frontend show the games

  1. The FliperOS frontend makes its lists by itself. When it opens, and whenever a games folder changes, it redoes them in the background. Arcade games get their real name (Street Fighter II instead of sf2), year, manufacturer and clones from MAME's data; a new set may take about a minute the first time.
  2. Artwork (screenshots, logos, videos, descriptions): the frontend fetches what a game lacks when the cursor stays on it for 2 seconds, and keeps fetching in the background while it is open. To do it all at once, use Setup > Games > Scraper, which needs internet. See Scraper.
  3. If you use Attract-Mode Plus instead: Setup > Games > Frontend > choose it (the Setup creates a system for each folder that has games; do it again every time a folder gets its first games) and run Setup > Games > AttractPlus ROM List for the real names. For games added later, run the ROM List or the Scraper again.

Details in Frontends and Adding games.

Animation: a game's card in the frontend (Play, favourite, more), then its page with buttons, pictures and history
Each game's page: its buttons on your panel, pictures and history.

11. Play

  1. In the FliperOS menu choose Start frontend (or just turn the cabinet on: the default launcher opens by itself).
  2. In the FliperOS frontend: up/down move through the games (hold to jump letter by letter), left/right change the game list (each folder, and Arcade with all the arcade folders together) and Start switches between list, full screen and grid. Button 4 marks a favourite and button 5 opens the filters; Tab opens the options. (In Attract-Mode Plus, left/right change the system and up/down move through the games; Tab opens its configuration, where Controls binds buttons to change filters and anything else.)
  3. Press button 1 (or Enter) on a game and choose Play. The screen goes black for a moment while Switchres sets the video mode for that game, and the game starts.
  4. Insert a credit with Coin and start with Start.
  5. Leaving the game: hold Coin + Start for a second, in any emulator. Coin + button 1 opens the emulator's own menu, and Start + Down the FliperOS on-screen menu, which also has Quit. You go back to the game list. The shortcuts can be changed in the frontend's Tab > Frontend controls (Frontend controls).
  6. Button 2 in the game list (or Esc, and confirming) leaves the frontend and returns to the FliperOS menu, where Shutdown / Reboot turns the cabinet off safely.
  7. The cabinet's power button (a short press): with a game open, it closes the game and returns to the game list; in the game list, it turns the cabinet off safely. So from inside a game it takes two presses to power off: wait for the list to show before the second one.

12. If something goes wrong

  • No picture at boot: wait 10 seconds (the menu doesn't show at 15 kHz). On a 15 kHz-only tube, connect an LCD temporarily to choose another boot entry.
  • The installer doesn't list the disk: SATA mode on AHCI in the BIOS. My drive is not listed (details) shows what Linux sees.
  • The picture is off-center or too big: Setup > Video Setup > Geometry.
  • Two or three monitors (Darius, Punch-Out!!, F355 Challenge): Setup > Video Setup > Multiple Monitors, see Multiple monitors.
  • A system doesn't appear in the frontend: the folder needs at least one game file (the _info.txt doesn't count); then choose the frontend again in Setup > Games > Frontend.
  • A game doesn't open: turn on Setup > System > Debug mode to see the emulator's messages on screen; without it they are saved in /opt/fliperos/logs. A missing BIOS: Setup > Games > Downloader > Download BIOS.
  • No sound: Setup > Audio Setup chooses the card and the volume and plays a test.
  • Something the menus don't cover: over SSH (ssh fliperos@fliperos.local, password fliperos) it's a regular Ubuntu 24.04, and an AI assistant with terminal access can configure it for you. On a network you don't control, change the password with passwd.

More in Installed system, Frontends and Latency.

The menus, item by item

Everything in the menus, in the order it appears on screen. In any menu: arrows move, Enter confirms, Esc goes back (or choose Return). The panel or a gamepad works too: directions = arrows, button 1 = Enter, button 2 = Esc, button 3 = Space (marks items in lists with checkboxes).

FliperOS Setup (on the USB stick)

The menu that opens when you boot from the USB stick, before installing.

  • Install to HD/SSD: installs FliperOS on a disk, as in step 6. It asks for the video settings, the disk (which will be completely erased) and shows the progress.
  • Recovery Mode: repairs a FliperOS already installed on this computer, without installing again. It looks for the installation and offers:
    • Open a terminal in the installed system: a command line inside the installed system, to fix something by hand;
    • Reinstall the bootloader: puts Limine back on the disk when the computer no longer boots FliperOS (after installing Windows on another disk, for example);
    • Apply this session's video settings (new video card): changed the video card or the monitor? Boot from the USB stick, adjust the video and bring those settings into the installed system;
    • Restore system files (keeps ROMs and settings): puts the original FliperOS files back, keeping your games, saves and settings.
  • Terminal: a command line on the USB stick itself.
  • Shutdown: power off or reboot.

FliperOS menu (installed system)

It appears when you leave the frontend (Esc). The title shows the cabinet's name, its IP address and how full the disk is, and next to FliperOS its version and the last update applied (0.28, u100).

  • Start frontend: opens the default launcher (Attract-Mode Plus, for example). When you leave it, you come back to this menu.
  • RetroAchievements: signs in to your retroachievements.org account to earn achievements in RetroArch and other emulators.
  • Setup: all the settings, explained below.
  • Start desktop: opens LXDE, a regular desktop with a mouse, file manager, browser (Falkon), torrent client (Transmission) and app store. It is the easiest way to organize folders and copy games (step 9). To leave: Logout in the desktop menu, which opens a small menu: back to the FliperOS menu, reboot, power off or cancel.
  • Exit to shell: a full-screen command line. Type fliperos-menu to return to the menu.
  • Shutdown / Reboot: Power off or Reboot, always asking first. Use it instead of switching the cabinet off at the wall. The cabinet's power button does the same without asking, and with a game open it only closes the game.

Setup

The items come in the order of setting up a cabinet: picture, sound, network, controls, games and the rest of the system. Under the list, a balloon says what the item under the cursor is for.

Setup, Video Setup menu
Video Setup: monitor type, orientation, resolution and geometry
Setup, Joysticks menu
Joysticks: button mapping, layout, GunCon 2 and the other controls
Setup, Games menu
Games: frontend, emulators, folders, downloader and scraper
  • Video Setup: how the picture comes out on the monitor. The top of the screen shows what is set now.

    • Monitor Type: the kind of monitor (arcade CRT 15 kHz, 25 kHz, 31 kHz, TV, LCD...). It decides which video modes are allowed;

    • Monitor Orientation: horizontal, or vertical (rotated clockwise or counterclockwise) for vertical games;

    • Resolution: the resolution of the menus and the frontend;

    • Geometry: a grid to center the picture and fit its size on the tube; the arrows adjust and Enter saves;

    • Reset Geometry: goes back to the monitor's default geometry;

    • Multiple Monitors: a second and a third arcade monitor, for games with 2 or 3 screens (Darius, Punch-Out!!, F355 Challenge).

      Inside: Monitor 2 and Monitor 3 (which video output each one uses), Multi-Screen Games (one screen per monitor, or everything on monitor 1), Game Screen Order (which monitor shows each screen) and Identify Monitors (turns each monitor off for 3 seconds, in order). See Multiple monitors.

    When you leave Video Setup with something changed, it saves the boot settings and offers to reboot.

  • Audio Setup: the sound.

    • Default card: which sound card the system and every emulator use;
    • Volume: from 0 to 100 (the keyboard's volume keys also work, anywhere);
    • Stereo or mono: Mono mixes both channels and plays the same sound on both outputs, for a cabinet with a single speaker (the default is stereo; the installer asks it too);
    • AlsaMixer: the full mixer, channel by channel;
    • MAME audio latency: from 0.0 to 50.0 (0 = default). Lower responds faster; raise it if the sound crackles in GroovyMAME;
    • Test sound: plays a sound to check the speakers;
    • Menu sounds: six sounds like a game's select screen (the cursor moving, Enter, Back, a game opening, a game closing and an alert), each with its own file and volume. FliperOS comes with a retrowave set; pick another WAV, OGG, MP3 or FLAC in the file picker, or turn them all off. The frontend uses the same six (Tab > Frontend sounds) and adds music with a now-playing bar. See Audio and Network Setup.
  • Network Setup: the network cable works by itself; this is for Wi-Fi.

    • Connect to a Wi-Fi network: the list of networks with their signal; choose one and type the password;
    • Connect to a hidden network: for a network that doesn't appear in the list;
    • Network status: the connection and the IP address.
  • Joysticks:

    • Controllers / Arcade panel: a menu for everything about the players' controls (step 8):
      • Map controllers: eight player slots, two per line, each a card with the drawing of its controller. Hold a button on a controller to give it the slot; opening a card sets its player, type (arcade panel or joypad), visual layout, button mapping (once for every emulator), Buttons layout (where the buttons of a game of 1 to 5 buttons go on the panel) and a live Test controller. Flycast and Odin follow your players too: the USB controllers are put in player order when a game opens;
      • Keyboard encoder: players 1 and 2 on a USB encoder that sends the MAME keys, with nothing to map;
      • Add LPT joysticks: old controllers on the parallel port: gamepad adapter (NES, SNES, N64, PlayStation), DB9 adapter (Atari, Amiga, Sega) or TurboGraFX interface (up to 7 joysticks);
      • Haptic events: the vibration of the joypads in the games;
      • Lights: the colour of the joypad lights.
    • Bluetooth (only with an adapter): pair, connect and forget Bluetooth controllers;
    • GunCon 2 (light gun): calibration (shoot the top-left and bottom-right targets, then the center one to check), screen flash and how the gun reads dark parts;
    • Wheels, pedals and analog sticks: the limits and center of each axis.

    See Button mapping.

  • Games: what puts games in the cabinet, in the order you use it.

    • Frontend: what opens every time the cabinet is turned on: the FliperOS frontend, Attract-Mode Plus, EmulationStation (ES-DE), Pegasus, RetroArch, the LXDE desktop or the FliperOS Setup itself. What isn't installed is installed (or downloaded) from here; ES-DE and Pegasus are built on the cabinet, which needs the network and some time. A choice the video card can't run (ES-DE without OpenGL 3, for example) gets a red X and a question before it opens.

      Choosing a frontend also puts every game folder into it, so choose it again whenever a folder gets its first games. Add a custom frontend adds another program by its command, and Edit or delete a custom frontend changes or removes it. See Frontends.

    • Extras: programs left out of the ISO to keep the download small, installed over the internet: Wine (needed by some Fightcade 2 emulators), Steam and Heroic (GOG games), Pixelcade, ZeDMD and game output tools.

    • Game Packages: PC Games (PC games, scripts and your own emulators, which the frontends show as systems, installed from packages or made on the cabinet; see Custom games), ROMs (ROM packages, TITLE.fliperos-EMULATOR.zip such as FightingGames.fliperos-mame.zip or Shmups.fliperos-retroarch-fbneo.zip: the games of one emulator or core with their BIOS and parent sets, art, NVRAM, saves, cheats and per-game settings, each file installed back in the same folder) and Create package, for either kind. A double-click on a package on the desktop installs it.

    • Emulators & Games: the emulators of the desktop menu, each marked installed or not installed. Restore FliperOS settings puts an emulator's settings back to the FliperOS ones (the current ones are kept in ~/config-backup).

      Choose one that is not installed to install it: Fightcade 2 (downloaded from its site) and KOF Final Attack on Ikemen GO in 4:3 at 320x240: you point to the folder of the original game (the one with Final Attack.exe, on a USB disk or the network) and it downloads the 4:3 patch and Ikemen GO and makes a converted copy. HBGroovyMAME, Odin and the AnyBOR core are not in the image either: they install themselves when the first game of their folder (hbmame, odin, openbor) opens, or from here. The others come in the image.

    • Folders, in two parts:

      • Folder shortcuts (called Link before): the folders FliperOS uses (roms, bios, media, nvram, save, cheats, splashscreen) and the ones inside them: each emulator, each RetroArch core, each type of art. Choose one and Point it to a folder on another disk to use another folder in its place, for when the ROMs or the art are on external storage (a USB disk, a second drive): ~/roms/mame becomes a shortcut to it and the folder used until then is kept as ~/roms/old-mame. Each folder can point to a different place. Remove the shortcut brings the previous one back.
      • External storage: a whole disk. FliperOS folders makes the folder structure on a second disk and can use it for everything, or format the disk (ext4 or exFAT). Batocera filesystem uses a disk that already keeps its games in Batocera's folders (batocera/roms/snes, megadrive...): each console becomes a system, with the core you choose for it. Plug such a disk in and the frontend asks once whether to use it. More in External storage.
    • Downloader:

      • ROM/CHD MAME torrent: you paste the magnet link of a romset (and one of CHDs) and it downloads, through Transmission, only the games the ROM Cleaner filter chooses, straight into the emulator's folder. The MAME version of the romset must match the emulator;
      • Free games (open-source homebrew): downloads free homebrew games to the RetroArch folders, so the frontend has something to show.
    • Cleaner: for those who have a full romset.

      • MAME ROM Cleaner: you say where the romset is (a folder, USB disk or network share) and which emulator it is for (GroovyMAME, Flycast, Model 2, Model 3, MAME 2010...).

        It keeps only the games that work and suit your cabinet (horizontal or vertical, players, buttons and controls you have, categories, with or without clones, bootlegs, prototypes and adult games), shows how many and how much space, and copies or moves them to the right folder. See the list shows the games, Change the parameters changes the filter;

      • MAME CHD Cleaner: brings the CHDs (the disk images some games need) of only the games that stayed.

      See ROMs, BIOS and artwork.

    • Scraper: downloads screenshots, covers, logos, videos and descriptions for the games found in roms. You choose the systems (or all of them), the provider (ScreenScraper, TheGamesDB, ArcadeDB, progetto-SNAPS, MobyGames, IGDB or OpenRetro, with the login saved for the ones that ask) and the kinds of media.

      Art packs by torrent brings logos and videos only for the ROMs you have. An interrupted scrape can be resumed later. Needs internet. See Scraper.

    • AttractPlus ROM List: makes the Attract-Mode Plus game lists of the arcade folders with each game's real name, year and manufacturer (Street Fighter II instead of sf2), clones included. Works offline. Mark the folders and confirm.

  • System: the rest.

    • Latency: shows the CPU, memory, video card and analog output of this computer.
      • Standard (any hardware): the default, works on any machine;
      • Low latency (modern CPUs): less delay between the button and the picture, for recent CPUs. If the computer is below the recommendation, it says what is missing;
      • Check this computer: compares this machine with the recommendation;
      • Recommended hardware: the list of ideal parts. See Latency.
    • Services: SSH, the network share, fliperos.local, the Wi-Fi radio, waiting for the network and the web panel, each one at boot, after boot or off.
    • Quirks (USB device fixes): fixes for USB devices that arrive wrong (a dual encoder showing up as a single player, a controller that freezes). Add a quirk asks for a name and a code; USB devices connected now shows the codes of what is plugged in; choosing a quirk in the list deletes it. Applies after a reboot. See Controls.
    • Password: the password of the fliperos user (login, SSH and the network share).
    • System Update: downloads and installs the updates of every Ubuntu package. The FliperOS updates themselves are offered at boot (step 7).
    • What's new: the updates installed on this machine and the changelog of each version.
    • Debug mode (on/off): off (the default), the boot shows only the splash and the messages of frontends and emulators are saved in /opt/fliperos/logs. On, every text appears on screen: the boot menu, the system messages and the emulator errors. Turn it on when a game doesn't open, to see why. Emulators follow it right away; the boot, after a reboot.
    • Lab mode (on/off): remote help. A temporary internet address to the web panel, with a terminal, for someone far away to look at a problem; it ends after 4 hours, at power off, or here.
    • Splash screen: the picture shown while the cabinet boots. Choose a theme to see a 10-second Preview or to Use at boot. Themes are folders in ~/splashscreen (the splashscreen share on the network); more on Gnome-look.

Build and tests

Always in Docker (CLAUDE.md explains why).

docker build -f Dockerfile.fliperos -t fliperos-builder .
docker run --rm --privileged --mount "type=bind,source=$PWD/output,target=/output" fliperos-builder bash /build/fliperos-mkiso.sh --output /output/fliperos-0.31.iso

docker build -t fliperos-tests -f tests/Dockerfile tests
docker run --rm -v "${PWD}:/w" -w /w fliperos-tests python3 tests/test_setup.py
docker run --rm -v "${PWD}:/w" -w /w fliperos-tests python3 tests/test_build.py

Documentation

Using it: Video cards · Monitors · Install · Black screen · Installed system · Frontends · ROMs, BIOS and artwork · Emulators · Controls · LED displays · Multiple monitors · DIY hardware · Latency · Web panel · Linked cabinets

Hacking on it: Development · 15 kHz kernel · Build and tests · Architecture · Sources

Each of these pages opens with a table of its subpages (the Setup screen by screen, the web panel by area, each frontend, the Pixelcade and the ZeDMD…), and the wiki's sidebar lists them all. The pages live in docs/wiki and go to the wiki with bash tools/wiki-publish.sh. fliperos-doc.html is all of it in one file (tools/render-docs.py).

Contributors

People who helped FliperOS with code, tests on their own hardware or ideas:


ultimatevga-dot

theblackk62

neo-tokio

Credits

The songs that play in the FliperOS frontend, from Pixabay under the Pixabay Content License:

The songs come with FliperOS, distributed with the authors' authorization, and are copied to ~/media/fliperos-sounds/music the first time (a song you delete does not come back). The menu and frontend sounds that FliperOS comes with are made by tools/make-default-sounds.py.

FliperOS logo: a pixel-art arcade cabinet in a small isometric room
Free, with no account: the code and every ISO are on GitHub.

About

Linux arcade for CRT: Ubuntu 24.04 with a 15 kHz kernel, Switchres, GroovyMAME, RetroArch, frontends and a web panel to play from your phone. A PC alternative to GroovyArcade, Batocera, Recalbox, ReplayOS and RGB-Pi.

Topics

Resources

Stars

16 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages