{"by":"anajimi","descendants":52,"id":44854686,"kids":[44870689,44870123,44857886,44870640,44899983],"score":124,"text":"Hello everyone!<p>I&#x27;ve created a gameboy emulator to unlock my Wayland session and wanted to share this project to everyone here!<p>I&#x27;ve been a Linux enthusiast since I was a kid. What always captivated me was the freedom to customize my system exactly the way I wanted. With Wayland, we&#x27;ve reached an incredible level of performance. It&#x27;s like turning your operating system into a video game! I&#x27;ve always been fascinated by the blend of fun and the serious, technical nature of an OS. That’s what inspired me to create this project.<p>I started by studying Wayland, its protocol and how to build a compositor. Then I became particularly intrigued by the concept of a locker, which reminded me a bit of an escape game. That’s when I thought: how cool would it be to solve a puzzle to unlock your session, instead of just typing a password? Since I’ve worked with emulators in the past and I’m a huge Pokémon fan, the idea of building the puzzle around that game came to me instantly!<p>Technically, the locker code and the wayland protocol have been implemented from scratch ( using EGL and wl_keyboard_listeners ).\nMy locker runs a version of the gbcc emulator modded by myself. This emulator waits for one precise value to be set in a given memory address.<p>I have modded the Pokémon game to my needs: when the password is good, I put the good value in the good memory address so the emulator knows it needs to unlock the session.<p>Hope you will appreciate this project!","time":1754828101,"title":"Show HN: Play Pokémon to unlock your Wayland session","type":"story","url":"https://github.com/AdoPi/wlgblock"}