Repository navigation
Web panel System
The System area of the web panel: the cabinet's status and logs, the whole Setup while you play, custom games, accounts, a terminal and lab mode.
| Tab | What it has |
|---|---|
| Status | The video mode, CPU, GPU, temperatures, memory, disks, network |
| Processes and logs | What uses the CPU, and every FliperOS log |
| Setup | The whole Setup of the cabinet, in the same order, and custom games |
| RetroAchievements | The account, achievements on/off, hardcore, the Web API Key |
| Cloud backup | The cloud account and syncing |
| Terminal | The cabinet's shell in the browser |
| Lab mode | A temporary internet address for remote help |
Refreshed every second:
- On the tube: the horizontal kHz on a display, then the band (15, 25 or 31 kHz), the mode, the vertical Hz, interlaced or progressive, the output and card, the driver in use, and the full modeline of each active output. Asked in Video Setup opens what Video Setup asks (monitor, frequency, resolution, connector, orientation).
- CPU: the total, the load and each core as a column of segments, like a VU meter.
- Memory and the swap; the GPU: its name and what the card reports (use, VRAM, clock, temperature, power).
- Temperatures: each sensor as a bar up to the part's limit (yellow near it, red at it).
- Disks and network: each mounted disk, each interface with its IPs, the traffic and the Wi-Fi signal.
The processes using the most CPU, and the logs: those of /opt/fliperos/logs (each emulator and frontend, the cloud backup, OpenBOR, DuckStation…), the Setup's and the updates'. The first place to look when a game doesn't open.
The same Setup as on the cabinet, as a list of settings like a phone's Settings: the seven groups in a column on the left (Video, Audio, Network, Games, Joysticks, System, Cloud backup, each with how many items it has here) and the open group on the right, with the same items in the same order. Each item is a section, one row per setting: the name on the left, the control on the right (a switch for on/off, side-by-side buttons for two or three short choices, a list for the rest, a slider for a number), and the explanation behind the ⓘ. Each change is saved and applied at once.
Search a setting, above the groups, looks in every group: a setting found can be changed right there, and an item without settings leads to its group. On a phone the groups are the first screen; a group opens in its place, with ‹ Setup to go back.
What can't be done from a phone (a test grid, the colour patterns, mapping the buttons, the gun targets) is a row marked on the cabinet: it asks first, then the screen opens on the tube in place of what is there, and when you leave it what was on screen comes back. Watch it live, in the same question, opens the live screen. Open the whole Setup on the cabinet, under the groups, does the same with the whole menu.
Video starts with the video card in use and its driver; with a card that takes two drivers (radeon or amdgpu, nouveau or NVIDIA's), change on the cabinet opens the choice on the tube, which goes back by itself if no picture comes. In Interlaced hacks, picking Filter for a program shows the filter level on the same row.
| Group | Here | On the cabinet |
|---|---|---|
| Video | Monitor type, Back to the previous monitor, orientation, boot resolution, geometry (typed) and its reset, multi-screen games, interlaced hacks, colour values, scanlines values, the on-screen menu | A custom resolution, the geometry grid, the monitors, the colour patterns, the scanlines picture, the output test, the video driver, low resolutions, the card firmware |
| Audio | The sound card, the volume, MAME audio latency, a test sound, menu sounds | AlsaMixer |
| Network | Wi-Fi (also a hidden network) and the connections; the live screen's sound and quality, the marquee for OBS | |
| Games | What starts at power on and custom frontends; custom games; Folders; AttractPlus ROM List; links to Emulators, Extras, Downloader, Cleaner and Scraper | |
| Joysticks | Bluetooth (pair, connect, forget), GunCon 2 values, Controller light | Button mapping, Buttons layout, the gun targets, wheel and pedals, LPT joysticks |
| System | Latency mode, services, Quirks, password, cabinet name, System Update, FliperOS version, what's new, debug mode, boot splash, restart and turn off | The latency check of the computer, the cartridge reader firmware |
Items that only some cabinets have show only there, as on the cabinet: scanlines at 31 kHz, the video driver with a card that has a choice, Bluetooth with an adapter.
A colour slider saves while it moves, so the game on screen changes with it; the − and + at its sides move it one step per tap. A new monitor or resolution counts after a restart, and the page offers to restart when it is saved.
- Video > On-screen menu: the switch, and the profiles saved in the on-screen menu with Save profile as: each one with its kind (game, core, emulator, resolution, default) and what it changes. The arrow opens its settings; the ✕ deletes it, and what it changed goes back to the profile below it from the next game. The default profile stays.
-
Audio > Menu sounds: the switch and the two sounds of the Setup's menu, When the cursor moves (
move.wav) and On Enter (select.wav): Send a.wav(or drop it on the row), play it in the browser, Replace or remove it. They are the files of thesounds/menufolder of the network share.
-
Folders: each folder of
~(and the folders inside them) can be a folder of another disk: Change opens the cabinet's folders and disks; Undo brings back the one used before. See ROMs. - Custom frontends: a name and the command that opens it, like the other frontends; edit or delete each one.
- Quirks: pick a USB device connected now and the fix (one device per player, no GET requests, always poll, UAS off for a disk), or type the code. They count after a restart. See Wheels and quirks.
- Bluetooth: turn it on, Look for controllers (15 seconds, with the controller in pairing mode), Pair. See Bluetooth.
- System Update and AttractPlus ROM List run as tasks, with the progress in the drawer.
The panel doesn't need the tube. From a phone, open Setup > Video and pick the right monitor or resolution, or press Back to the previous monitor: it brings back the monitor and resolution from before the last change, made here or in Setup > Video Setup. Pressed again, it goes back to the new one.
Setup > Games > Custom games: the games that are not a ROM (PC games for Windows or Linux, scripts, your own emulators), in groups that are systems in the frontends. The same as on the cabinet (Custom games), in three tabs (the one you used last opens again):
| Tab | What it has |
|---|---|
| Games | the groups and their games, Add a game, Add many games (the table), New group, the packed game folders |
| Install packages | the packages in ~/roms/custom-packages, with how many are waiting in the tab's name |
| Create package | a Windows or Linux game in a folder becomes a package in that folder |
Games:
-
The games: each group with its games, each with its picture: Open on the cabinet, Edit (video mode, category, players, buttons, controls, picture, video, text; the name, group and command too for a command), Make a package (into
~/roms/custom-packages), Delete. -
Delete the group: the bin at the end of the group's title. It says first what goes with it (its games, the other files in its folder), then asks whether the game folders and the packages in the group's folder go too; kept packages go to
~/roms/custom-packages. -
Add a game: a group, a name, the type (Windows, Linux or Command), the folder, the
.exeor the command, the mode and the rest, in one window. - Packed game folders: pack a game folder into squashfs, or unpack it.
Install packages: every zip of ~/roms/custom-packages (on the network, \\fliperos\roms\custom-packages), as cards like the frontend shows a game: the picture, the video (with the cursor, or a touch on the picture), the name running when it doesn't fit, the type, video mode, players, controls and buttons as icons, the category and the text scrolling slowly. Ten cards per page, with a search (name or category), a filter by state and by type, and the order (name, newest, biggest, new first); the filter and the order stay in the browser.
A new package has a group list (the last group used comes chosen) and Install; a changed one installs over the game in its group; an installed one says where, with Install again and Delete the package; one with problems lists every problem, each on its own line (a missing .cfg or game folder, no exe= or command=, files outside the structure...). Install all puts the new ones in one group. After installing, a question offers to delete the package (the game stays). Send packages uploads zips into the folder: a package is always named GAME.fliperos-customgame.zip, and a file with another name is refused before sending, with the name it should have.
Create package: the form of Add a game without the group, with Package structure (the files of a package, as an example with Street Fighter 4, and what goes in its .cfg). Next to Create the package:
- Preview shows the card the frontend will show, beside the form, and follows what you change.
-
Test on the cabinet opens the game there, from its folder, without installing it (
~/roms/custom/.test, hidden from the frontends). When the game shows on the screen, a panel says what to do if it doesn't take the controller (the on-screen menu opens by itself on Controller configuration, and the key map made there goes into the package) and offers Take a photo and Record 10 s: they capture the cabinet's screen while you play, and the photo and the video become the package's picture and video (they replace the ones above; a 640x240 screen comes out in 4:3). The video needsffmpegon the cabinet. Not seen in 2 minutes: the page points to its log. - The logo (
<game>.logo.png) is the fourth art slot, next to the picture, the video and the text.
Create the package checks the row, asks before replacing a zip of the same name, packs it, and opens Install packages with the new card marked.
Windows and Linux games are copied to ~/games/GROUP/NAME and packed in squashfs, like an installed package: the folder can be on a USB disk, in ~/games after sending it in Files, or on the network share. The first Windows game offers to download PortProton (about 3 GB).
A folder laid out like a package fills the row by itself when you pick it (or import its parent folder): the picture, video and text (GAME.jpg, GAME.mp4, GAME.txt), the controller map (GAME.key), PortProton's settings (GAME.ppdb) and what GAME.cfg says (the .exe or command, the mode, the category, players, buttons and controls).
Those files are found in the opened zip (pick the folder that holds GAME/ and the GAME.* files), next to the game folder, or as a picture or video with the game's name inside it (the rules). They show in the Art column with a purple border (From the game folder) and are copied from the cabinet when the row is saved, without uploading.
Add many games is a table, one game per row:
| Column | How |
|---|---|
| Group | A list of the groups, and + New group… |
| Name | Typed |
| Type | Windows, Linux or Command |
| Folder | Typed, or picked in the cabinet's folders |
| Executable / command | The .exe files found in the folder (installers left out), with what runs it below (PortProton, Wine or Wine Staging; PortProton by default), or the Linux programs; a command is typed |
| Video mode | 240p, 240p hack (Mugen: 640x240 on the tube, the game sees 640x480), 480i, or another (WIDTHxHEIGHT@HZ) |
| Category | MAME's categories (catver.ini) |
| Players, Buttons | A list |
| Controls | The 13 kinds, picked in a window |
| Art | A picture and a video, sent at once |
- + Row adds a row in the group chosen at the top; the copy button on a row duplicates it (without the name and the art).
-
Import from a folder: pick a folder with one subfolder per game (
~/games, a USB disk); each subfolder becomes a row, with its name, its type and its.exe. - Paste from a spreadsheet: copy rows in Excel, Google Sheets or LibreOffice and paste them in the window, or straight into the table. The columns are Name, Group, Type, Folder, Executable or command, Mode, Category, Players, Buttons, Controls; a first row with the column names can put them in any order.
- Check asks the Setup what is wrong: the cells in red say why, and the page says how much will be copied and how much is free. Save all checks again and adds them one by one: each row turns green or keeps its error, and the ones added leave the table.
The table stays in the browser until it is saved.
Sign in to your retroachievements.org account (or open the sign-up page in a new tab), turn the achievements and hardcore mode on or off, and paste the Web API Key for the badge in the game list; the tab links to the page where you copy it. See RetroAchievements.
Install rclone, sign in (Google Drive with a code, Dropbox at its site, WebDAV, SFTP or MEGA with a user and password), Sync now, Send or Get, sync by itself after each game, and choose what to sync. See Cloud backup.
The cabinet's shell in the browser, as the fliperos user, with its own zsh and the window's size: the same as SSH, without a program on the computer. In a lab session it is root.
Starts and stops a temporary internet address to the panel, for someone helping you from far away: Copy puts it on the clipboard, and the tab shows when it expires (after 4 hours). Read what it gives the other person before you send it: Remote access.
- The video status comes from DRM, through
fliperos-video-check. The volume goes throughfliperos-setup --volume up|down|mute|get|set N. - The Setup tree (
config/web/setup.js) has the ids of the Setup's menus; a test checks the two match. Settings go through the same functions as the Setup's screens:fliperos-setup --settingslists them and--setting KEY VALUEchanges one (settings_listinlib/system.sh).--setup-itemssays which items this cabinet has;--quirks,--folders,--frontends,--bluetooth,--system-updateand--attract-romlistdo the rest without a screen. - The on-screen menu profiles are the lines of
/etc/fliperos/osd-profiles.conf(scope<TAB>key<TAB>value, the filefliperos-osdwrites); deleting one rewrites the file without its lines. The menu sounds aremove.wavandselect.wavin/opt/fliperos/sounds/menu: a file sent is checked (a RIFF/WAVE file, 2 MB at most) and belongs to the player, like the ones sent over the network. -
Open on the cabinet writes the request to
fliperos-web-launch, like a game:fliperos-tty1runsfliperos-setup --screen NAME(only the names inscreens/panel.sh), and the video screens end like Video Setup (Xorg and the kernel line again). - Custom games go through
fliperos-setup --customgames(lib/customgames.sh):describe,check,bulk(one row per game, with an@row N ok|failline each),edit,delete,group-info,group-delete,media,install,install-all,package-delete,check-create,create,test,pack,squash. The cards come fromfliperos-customgame packages(JSON), and their pictures, videos and texts are read straight from the zips (/api/customgames/package-media, only inside~/roms/custom-packages). A folder is copied byfliperos-customgame add, andfliperos-customgame scanfinds the games of a folder and what came with each one in the package's structure; that art,.keyand.ppdbgo to the Setup by their path on the cabinet (/api/customgames/artshows the picture's thumbnail). The art of a row waits in/var/cache/fliperos-web/stageuntil the game is saved (a day at most);POST /api/customgames/capture?kind=snap|videoputs a photo or 10 s of video of the screen there (the layer's frame, or the X screen on the desktop, throughffmpeg), and/api/customgames/staged?id=shows it back. - The terminal is a login shell in a pseudo-terminal (
setsid -c, so Ctrl+C and job control work), at normal priority. The page talks to it over a WebSocket (/api/terminal) that only the panel's own page can open, after the login. The screen is drawn by xterm.js 5.5.0 with its fit addon (MIT), shipped inside the panel. - RetroAchievements and Cloud backup call the same programs as the Setup:
lib/cheevos.shandconfig/fliperos-cloud.
See also: Web panel, System Setup, Custom games.
Start here
The installed system
Frontends
Games
Emulators
Controls
Cabinet hardware
Network
For developers