Show HN: Play Pokémon to unlock your Wayland session
14 days ago
- #Gameboy
- #Linux
- #Wayland
- Replaces password screen with a Gameboy emulator running a patched Pokémon game for unlocking sessions.
- Inspired by the blend of fun and technical customization in Linux, especially with Wayland.
- Uses the ext-session-lock-v1 protocol; requires a compatible compositor like Sway.
- Project is experimental and should be used at your own risk.
- Requires a patched Pokémon Crystal game from a specific commit (961fad9e1).
- Custom patch modifies the game to include password logic and session unlocking mechanism.
- Built using Nix for development environment setup.
- Implements a low-level Wayland window (EGL + keyboard listeners) without higher-level GUI frameworks.
- Emulator hacked to listen for a specific RAM address value to unlock the session.
- Dual-licensed: original code under MIT, modifications under GPLv3.