eggnogg on the pi zero 2w !
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

vor 1 Jahr
vor 1 Jahr
vor 1 Jahr
vor 1 Jahr
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # eggnoggpi
  2. eggnogg on the pi zero 2w !
  3. # Description
  4. For all of you who need to run eggnoggplus on a raspberry pi to get frenzied parties, eggnoggpi is the right project.
  5. In this readme, I'll teach you how to setup a pi to autostart with eggnoggpi, so you only need to connect 2 controller, and a screen, power on the pi, and play !
  6. # Installation
  7. ## Installation of raspbian lite 64 bit
  8. First thing first, you'll need to install raspbian lite on your pi, you can do this just by downloading rpi-image from the official raspberry pi website https://www.raspberrypi.com/software/
  9. You'll then only need a minimum of 4Gb µsd card, and install raspbian lite 64 bit on it
  10. ## Setup box64
  11. Sadly, eggnogg is a x86_64 program only on linux, and we do not have access to the sources, so well need a little help from an emulator to get it working.
  12. Box64 is a simple x86_64 emulator for other architecture like arm64, it can detect wether you want to start a x86_64 linux elf, and start translating the binary for you, if you need external libraries that exists on arm64, it'll use them so it won't have to translate it, you'll get more performance, very usefull on low power arm cpu like the one on the pi.
  13. sudo wget https://ryanfortner.github.io/box64-debs/box64.list -O /etc/apt/sources.list.d/box64.list
  14. wget -qO- https://ryanfortner.github.io/box64-debs/KEY.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg
  15. sudo apt update && sudo apt install box64-arm64 -y
  16. ## Setup the screen
  17. Since we installed raspbian lite on the pi, we'll need to install xorg and set it to auto login on boot, to achieve that, we'll install nodm and xutils
  18. sudo apt install nodm xserver-xorg-utils
  19. You can then configure nodm or just use the configuration file with this repo
  20. cp files/etc/default/* /etc/default/
  21. ## Download eggnoggplus
  22. To be continued
  23. Then copy the setting file
  24. cp -R files/home/pi/.madgarden /home/pi/
  25. ## Install the service
  26. To allow eggnogg to start on boot, we install it as a systemd service, you can write your own or just use the one with this repos
  27. cp files/etc/systemd/system/eggnoggpi.service /etc/systemd/system/eggnoggpi.service
  28. systemctl daemon-reload
  29. systemctl enable eggnoggpi
  30. systemctl start eggnoggpi
  31. If eggnoggpi doesn't start with the pi, add this little hack too
  32. echo "@reboot root /sbin/service eggnoggpi start" >> /etc/crontab