Repository navigation
Technical Details
Kazeta is based on the technology developed for ChimeraOS, namely frzr, a system for building and deploying immutable operating systems. Like ChimeraOS, Kazeta is immutable. However, Kazeta takes this immutability even further.
In addition to the system files stored under /usr being read-only, with Kazeta, /home and /etc are also read-only. The only place where writing data is possible is /var.
Kazeta stores all of its system specific data under /var/kazeta.
Save data, for example, is stored under /var/kazeta/saves. Other than game save data, Kazeta stores almost nothing else. This makes the operating system extremely stable over time.
When accessing the terminal/tty, the default username and password is gamer. Because /etc is read-only, this password cannot be changed.
At the moment, there is no official way to update the operating system. Part of the appeal is that you never have to update. Not updating will ensure that your system and games will continue to work indefinitely.
If you do want to update, there are a few ways to do so.
Despite Kazeta not having any networking capabilities, you can connect to the internet via wired Ethernet and manually running the command: sudo ethernet-connect.
Once connected, you can run sudo frzr-deploy to update the operating system. Once complete, reboot the system.
If you run the installation media, the installer will detect an existing installation and offer to do a "repair" install which will preserve your data. You can use this option to update the operating system.
You can also copy all your save data to external media and do a full re-install, then copy the save data back.
Kazeta's cartridge based system is what makes it unique. Here is how it works.
When the system boots, all storage media is mounted automatically. The system then checks all storage media for the existence of a file with the .kzi (Kazeta Info) extension. This file defines how to launch a game. If this file is found, it is parsed and the game is started using gamescope. If not found, the "bios" menu is started instead.
The cartridge itself is never written to. This is to ensure the game data remains pristine, and to prevent wear on the storage media itself. To capture any changes, such as game save data, a writable overlay filesystem is applied on top of the cartridge. The contents of the overlay/save data are stored on the systems internal storage.
Kazeta also includes the concept of runtimes. A runtime is a single file which contains everything that is needed for a non-native game to run on Kazeta. Runtimes are disk images with the extension .kzr (Kazeta Runtime). The runtime must be included on the cart along with the game and the .kzi file must include the directive Runtime telling the system which runtime should be used.
There are currently three available runtimes: Windows, Linux, and "None".
The Linux runtime uses umu launcher and runs games using the Steam runtime for increased compatibility.
The Windows runtime uses umu launcher, the Steam runtime, and GE Proton to run Windows games.
The "None" runtime is the default built-in runtime used when no runtime is specified, it is an empty runtime and runs games directly against the system libraries.
The runtime disk image is mounted first, below the game contents on the cartridge. So, the overall picture of the data layers looks like:
| Game specific save data (read-write) |
| Game data (read only) |
| Runtime data (read only) |
So, first the .kzr runtime file is mounted read only from the game cartridge or from the system if "None". Then on top of that, the game data from the cartridge is mounted read only, and finally the game specific writable save overlay is mounted to capture any file changes made by the game, including game progress. The overlay save data is stored at and mounted from /var/kazeta/saves/default/<game id>.